@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #76b767;
  --green-dark: #5c9f50;
  --navy: #012c6d;
  --ink: #2d1d54;
  --muted: #6c83a2;
  --orange: #ff8700;
  --yellow: #f6b71e;
  --blue: #1170f7;
  --cream: #f7f6f9;
  --dark: #231834;
  --white: #fff;
  --shadow: 0 18px 48px rgba(35, 24, 52, 0.14);
  --radius: 5px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--muted);
  background: var(--white);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body,
button {
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #e46f00;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.55em;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.25rem;
}

ul {
  margin: 0 0 1.25rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

.site-header {
  min-height: 162px;
  border-bottom: 1px solid rgba(118, 183, 103, 0.4);
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.header-inner {
  min-height: 162px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: min(309px, 100%);
  border-radius: 0;
}

.header-contacts {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 26px;
}

.contact-summary {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.contact-summary:hover,
.contact-summary:focus-visible {
  color: var(--navy);
}

.contact-summary svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 3px;
  fill: #c2cbd2;
}

.contact-summary span {
  min-width: 0;
}

.contact-summary strong,
.contact-summary small {
  display: block;
}

.contact-summary strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-summary small {
  margin-top: 9px;
  color: #8a8a8a;
  font-size: 0.8rem;
}

.main-nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 56px;
  background: var(--navy);
  box-shadow: 0 5px 18px rgba(1, 44, 109, 0.18);
}

.nav-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 0 18px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 24px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 66vh;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: -3;
  background-position: center;
  background-size: cover;
  animation: hero-crossfade 18s infinite ease-in-out;
  will-change: opacity, transform;
}

.hero-slide-one {
  background-image: url("../images/hero-1.jpg");
}

.hero-slide-two {
  background-image: url("../images/hero-2.jpg");
  animation-delay: -9s;
}

.hero-shade {
  z-index: -1;
  background: rgba(0, 0, 0, 0.34);
}

@keyframes hero-crossfade {
  0%, 42% {
    opacity: 1;
    transform: scale(1);
  }
  50%, 92% {
    opacity: 0;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-inner {
  display: flex;
  align-items: center;
}

.hero-panel {
  width: min(68%, 760px);
  padding: 28px 45px 25px;
  border-radius: var(--radius);
  background: rgba(118, 183, 103, 0.62);
}

.hero-panel h1 {
  color: var(--white);
}

.scroll-down {
  display: inline-flex;
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.7;
}

.scroll-down:hover,
.scroll-down:focus-visible {
  color: var(--white);
  transform: translateY(3px);
}

.services {
  position: relative;
  z-index: 3;
  padding: 50px 0 40px;
  background: var(--dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 260px;
  padding: 64px 28px 28px;
  border-top: 15px solid;
  border-bottom: 6px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card h2 {
  font-size: 1.35rem;
}

.service-card h2 a {
  color: var(--navy);
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.service-blue { border-color: var(--blue); }
.service-green { border-color: #5fb364; }
.service-yellow { border-color: var(--yellow); }
.service-orange { border-color: var(--orange); }

.more-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.more-row a {
  padding: 12px 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 700;
}

.more-row span {
  margin-left: 32px;
  font-size: 1.3rem;
}

.feature-intro {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-card {
  padding: 30px 34px 38px;
  border-radius: var(--radius);
  box-shadow: 0 6px 26px rgba(45, 29, 84, 0.12);
  text-align: center;
}

.feature-card img {
  width: 231px;
  aspect-ratio: 1;
  margin: 0 auto 28px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card h2 {
  font-size: 1.55rem;
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.tutoring {
  padding-top: 55px;
  background: var(--white);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 65px;
}

.section-heading h2 {
  margin-bottom: 0.55em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center h3 {
  font-size: 1.35rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #b9dfb1;
}

.content-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 70px;
}

.content-split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.content-copy h3 {
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
}

.content-copy p:last-child {
  margin-bottom: 0;
}

.wide-image {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(45, 29, 84, 0.11);
}

.image-stack .wide-image {
  margin-bottom: 12px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.section-subpart {
  margin-top: 100px;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 19px;
  height: 19px;
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.check-list-colors li:nth-child(2)::before { background: var(--blue); }
.check-list-colors li:nth-child(3)::before { background: var(--yellow); }
.check-list-colors li:nth-child(4)::before { background: var(--orange); }
.check-list-colors li:nth-child(5)::before { background: var(--ink); }

.section-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 55px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 9px 24px rgba(255, 135, 0, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: #ff6c00;
  transform: translateY(-2px);
}

.button-large {
  min-height: 58px;
  padding-inline: 32px;
}

.parents {
  padding-bottom: 100px;
  background: var(--cream);
}

.parents-heading {
  padding: 90px 0 135px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.parents-heading .container {
  max-width: 900px;
  text-align: center;
}

.parents-heading h2 {
  color: var(--white);
}

.parents-heading p:last-child {
  margin-bottom: 0;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -75px;
}

.parent-grid article {
  position: relative;
  padding: 55px 34px 35px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.parent-grid article:nth-child(1) { border-top: 7px solid var(--blue); }
.parent-grid article:nth-child(2) { border-top: 7px solid var(--green); }
.parent-grid article:nth-child(3) { border-top: 7px solid var(--orange); }

.parent-grid h3 {
  font-size: 1.55rem;
}

.parent-grid p,
.parent-grid li {
  font-size: 0.92rem;
}

.parent-grid p:last-child {
  margin-bottom: 0;
}

.card-number {
  position: absolute;
  top: 12px;
  right: 24px;
  color: rgba(108, 131, 162, 0.16);
  font-size: 2rem;
  font-weight: 900;
}

.pricing {
  padding-bottom: 100px;
  background: var(--white);
}

.pricing-banner {
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 75px 0 95px;
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(rgba(1, 44, 109, 0.82), rgba(35, 24, 52, 0.82)),
    url("../images/hero-2.jpg") center 45% / cover;
}

.pricing-banner h2 {
  margin-bottom: 0;
  color: var(--white);
}

.pricing-content {
  margin-top: -48px;
}

.price-group {
  margin-bottom: 35px;
  padding: 45px 55px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-group h3 {
  font-size: 1.65rem;
}

.price-list {
  margin-top: 30px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 23px 0;
  border-top: 1px solid rgba(108, 131, 162, 0.24);
}

.price-row h4 {
  margin-bottom: 4px;
  color: var(--navy);
}

.price-row p {
  margin-bottom: 0;
}

.price-row > strong {
  color: var(--orange);
  font-size: 1.25rem;
  white-space: nowrap;
}

.price-row-featured {
  padding-bottom: 0;
}

.price-row-featured .check-list {
  margin-top: 18px;
}

.price-course {
  background: var(--cream);
}

.pricing .section-cta {
  margin-top: 15px;
}

.adults {
  background: var(--white);
}

.adult-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.adult-card {
  padding: 45px;
  border-radius: var(--radius);
  background: var(--cream);
}

.adult-card h3 {
  font-size: 1.75rem;
}

.round-icon {
  width: 68px;
  height: 68px;
  display: grid;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 7px 18px rgba(118, 183, 103, 0.28);
  font-size: 1.45rem;
  font-weight: 900;
}

.adult-card:nth-child(2) .round-icon {
  background: var(--navy);
  box-shadow: 0 7px 18px rgba(1, 44, 109, 0.22);
}

.language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  list-style: none;
}

.language-list li {
  position: relative;
  padding: 12px 42px 12px 16px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.language-list li::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  content: "✓";
  font-size: 0.7rem;
  transform: translateY(-50%);
}

.contact-section {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: stretch;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  max-height: 790px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.contact-content {
  padding: 25px 0;
}

.contact-details {
  display: grid;
  gap: 13px;
  margin: 35px 0 50px;
}

.contact-details a,
.contact-detail {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(45, 29, 84, 0.07);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--navy);
  transform: translateX(3px);
}

.contact-details svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: var(--green);
}

.contact-details strong,
.contact-details small {
  display: block;
}

.contact-details strong {
  color: var(--navy);
  font-size: 1rem;
}

.contact-details small {
  margin-top: 3px;
  font-size: 0.82rem;
}

.mail-cta {
  padding: 36px;
  border-left: 7px solid var(--orange);
  border-radius: var(--radius);
  background: var(--white);
}

.mail-cta h3 {
  font-size: 1.65rem;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 16px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(1, 44, 109, 0.28);
  font-size: 1.35rem;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--white);
  background: #0b4da7;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.footer-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--white);
}

/* Rechtliche Unterseiten */
.legal-page {
  background: var(--cream);
}

.legal-page .site-header {
  min-height: 120px;
}

.legal-page .header-inner {
  min-height: 120px;
}

.legal-main {
  padding: 80px 0 100px;
}

.legal-card {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 72px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 1em;
}

.legal-card h2,
.legal-card h3,
.legal-card h4 {
  margin-top: 1.7em;
}

.legal-card h2 {
  font-size: 1.7rem;
}

.legal-card h3,
.legal-card h4 {
  font-size: 1.25rem;
}

.legal-card a {
  overflow-wrap: anywhere;
}

.legal-home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 28px;
  }

  .header-contacts {
    gap: 14px;
  }

  .contact-summary {
    gap: 9px;
  }

  .nav-links a {
    padding-inline: 11px;
    font-size: 0.72rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 56px;
  }

  .site-header,
  .header-inner {
    min-height: 112px;
  }

  .header-contacts {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .nav-inner {
    position: relative;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    left: -20px;
    right: -20px;
    max-height: 0;
    display: grid;
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 16px 28px rgba(1, 44, 109, 0.22);
    transition: max-height 0.25s ease;
  }

  .nav-links.is-open {
    max-height: 430px;
  }

  .nav-links a {
    min-height: 49px;
    padding-inline: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 520px;
  }

  .hero-panel {
    width: min(90%, 660px);
  }

  .feature-grid,
  .content-split,
  .content-split-reverse,
  .adult-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-split {
    gap: 36px;
  }

  .content-split-reverse .content-copy {
    order: 2;
  }

  .content-split-reverse > img {
    order: 1;
  }

  .parent-grid {
    grid-template-columns: 1fr;
  }

  .parent-grid article {
    max-width: 720px;
    margin-inline: auto;
  }

  .contact-photo {
    max-height: 560px;
    overflow: hidden;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .site-header,
  .header-inner {
    min-height: 90px;
  }

  .brand img {
    width: 260px;
  }

  .nav-links {
    left: -14px;
    right: -14px;
  }

  .hero {
    min-height: 450px;
  }

  .hero-panel {
    width: 100%;
    padding: 24px;
  }

  .hero-panel h1 {
    font-size: clamp(2.1rem, 11vw, 2.7rem);
  }

  .services {
    padding: 36px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 35px 25px 30px;
  }

  .more-row {
    justify-content: stretch;
  }

  .more-row a {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-card {
    padding-inline: 22px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-subpart {
    margin-top: 70px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    aspect-ratio: 1.5;
  }

  .section-cta {
    justify-content: stretch;
  }

  .section-cta .button {
    width: 100%;
  }

  .parents-heading {
    padding: 68px 0 120px;
  }

  .parent-grid article {
    padding: 47px 24px 30px;
  }

  .pricing-banner {
    min-height: 250px;
    padding: 65px 0 80px;
  }

  .price-group {
    padding: 30px 22px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-row > strong {
    white-space: normal;
  }

  .adult-card {
    padding: 32px 23px;
  }

  .language-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 68px 0;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact-photo {
    max-height: 460px;
  }

  .contact-details a {
    align-items: flex-start;
    padding-inline: 15px;
  }

  .mail-cta {
    padding: 28px 22px;
  }

  .mail-cta .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-main {
    padding: 42px 0 68px;
  }

  .legal-card {
    padding: 27px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide-two {
    display: none;
  }
}
