@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --red: #e31e24;
  --navy: #07365b;
  --blue: #07518a;
  --ink: #132d3e;
  --muted: #647783;
  --paper: #f5f7f8;
  --white: #fff;
  --line: #dfe5e8;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.topbar {
  background: var(--navy);
  color: white;
  font-size: 12px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  gap: 18px;
}
.topbar a {
  font-weight: 700;
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 16px #092c4510;
}
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  max-width: 310px;
}
.logo img {
  display: block;
  width: 280px;
  max-height: 65px;
  object-fit: contain;
  object-position: left center;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 700;
}
.navlinks a:hover {
  color: var(--red);
}
.navlinks .cta {
  background: var(--red);
  color: white;
  padding: 12px 17px;
  border-radius: 3px;
}
.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--navy);
}
.hero {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 31, 52, 0.86), rgba(4, 31, 52, 0.45) 52%, rgba(4, 31, 52, 0.08)),
    url("assets/header.webp") center 48% / cover no-repeat;
}
.hero .wrap {
  position: relative;
  padding: 80px 0 95px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}
h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  max-width: 740px;
  margin: 22px 0;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--red);
}
.hero p {
  max-width: 560px;
  color: #e4edf3;
  font-size: 16px;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 19px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: #bd171d;
}
.btn-outline {
  border-color: #ffffff9c;
  color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--navy);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 55px;
  font-size: 12px;
}
.badge-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  font-size: 18px;
}
.hero-badge strong,
.hero-badge small {
  display: block;
}
.hero-badge small {
  color: #d8e4eb;
  font-size: 11px;
}
.section {
  padding: 90px 0;
}
.soft {
  background: var(--paper);
}
.section-title {
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 12px 0 0;
}
.kicker {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.lead {
  font:
    600 20px/1.55 Manrope,
    sans-serif;
  letter-spacing: -0.025em;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.underlink {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 2px solid var(--red);
  padding: 7px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px #0b2d4210;
  display: flex;
  flex-direction: column;
}
.card-img {
  height: 170px;
  background: linear-gradient(135deg, #0c527f, #8fb6cb);
  position: relative;
  overflow: hidden;
}
.card-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #07365b44, #e31e2440);
}
.card-img.group {
  background-image: url("assets/gruppenkurse.jpg");
  background-size: cover;
  background-position: center;
}
.card-img.private {
  background-image: url("assets/privatkurse.jpg");
  background-size: cover;
  background-position: 60% 60%;
}
.card-img.best {
  background-image:  url("assets/best-learn.png");
  background-size: cover;
  background-position: 20% 50%;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
.card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  flex: 1;
}
.card-body .underlink {
  align-self: flex-start;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: white;
}
.feature-photo {
  min-height: 360px;
  background: url("assets/gruppenfoto-optimiert.png") center/cover;
}
.feature-copy {
  padding: 60px clamp(28px, 6vw, 85px);
  align-self: center;
}
.feature-copy p {
  color: #d0dce4;
  font-size: 14px;
  line-height: 1.8;
}
.feature-copy .section-title {
  margin-bottom: 18px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}
.contact-box {
  background: white;
  padding: 30px;
  border: 1px solid var(--line);
}
.contact-box a {
  display: block;
  font-weight: 700;
  margin: 13px 0;
}
.contact-box span {
  display: block;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.footer {
  background: #061f34;
  color: white;
  padding: 30px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer img {
  width: 220px;
  max-height: 55px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.footer small {
  color: #b7c8d4;
}
.subhero {
  background:
    linear-gradient(100deg, #062b48ed, #062b4866),
    url("assets/header.webp") center/cover;
  color: white;
  padding: 76px 0 70px;
}
.subhero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 14px 0;
}
.subhero p {
  max-width: 620px;
  color: #e0e9ef;
}
.crumb {
  font-size: 11px;
  color: #d2e0e9;
}
.booking-section {
  padding: 65px 0 90px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 55px;
  align-items: start;
}
.booking-grid h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 10px 0 16px;
}
.booking-grid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.iframe-shell {
  min-height: 420px;
  border: 2px dashed #b9c8d1;
  background: #f6f8f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px;
}
.iframe-shell .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fee7e8;
  color: var(--red);
  font-size: 25px;
}
.iframe-shell h3 {
  margin: 18px 0 6px;
}
.iframe-shell p {
  max-width: 420px;
  margin: 0;
}
.iframe-note {
  font-size: 11px !important;
  color: #7b8c96 !important;
  margin-top: 18px;
}
.iframe-shell iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
}
@media (max-width: 900px) {
  .navlinks {
    gap: 14px;
  }
  .logo img {
    width: 230px;
  }
  .intro-grid,
  .contact-grid,
  .booking-grid {
    gap: 35px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .cards .card:last-child {
    grid-column: auto;
  }
  .hero {
    min-height: 570px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 34px);
  }
  .topbar .wrap {
    font-size: 10px;
  }
  .topbar .wrap span:first-child {
    max-width: 52%;
  }
  .nav {
    min-height: 72px;
  }
  .logo img {
    width: 205px;
    max-height: 54px;
  }
  .menu {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px 22px;
    box-shadow: 0 12px 20px #062b4820;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navlinks.open {
    display: flex;
  }
  .navlinks a {
    padding: 12px 4px;
  }
  .navlinks .cta {
    text-align: center;
    margin-top: 8px;
  }
  .hero {
    min-height: 610px;
  }
  .hero .wrap {
    padding: 70px 0;
  }
  .hero:before {
    background-position: 58% center;
  }
  .hero p {
    font-size: 14px;
  }
  .section {
    padding: 65px 0;
  }
  .intro-grid,
  .contact-grid,
  .booking-grid,
  .feature {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card-img {
    height: 190px;
  }
  .feature-photo {
    min-height: 240px;
  }
  .feature-copy {
    padding: 42px 24px;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .subhero {
    padding: 58px 0;
  }
  .booking-section {
    padding: 45px 0 65px;
  }
  .iframe-shell {
    min-height: 350px;
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Primary navigation and always-available burger menu */
.nav {
  position: relative;
  gap: 18px;
}
.navlinks {
  gap: clamp(10px, 1.5vw, 22px);
  font-size: 12px;
}
.navlinks a {
  white-space: nowrap;
}
.burger-wrap {
  position: relative;
  flex: 0 0 auto;
}
.menu {
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 11px;
  cursor: pointer;
  line-height: 1;
}
.burger-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px #062b4820;
  padding: 8px;
  z-index: 20;
}
.burger-panel.open {
  display: flex;
  flex-direction: column;
}
.burger-panel a {
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 700;
}
.burger-panel a:hover {
  background: var(--paper);
  color: var(--red);
}
.faq-wrap {
  max-width: 850px;
}
.faq-list {
  margin: 32px 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 0;
  color: var(--red);
  font-size: 22px;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 740px;
}
.faq-list details a {
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 1100px) {
  .nav {
    gap: 12px;
  }
  .logo img {
    width: 205px;
  }
  .navlinks {
    gap: 12px;
    font-size: 11px;
  }
}
@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .navlinks {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 0 0 5px;
    gap: 18px;
  }
  .navlinks a {
    font-size: 12px;
  }
  .logo {
    margin-right: auto;
  }
  .burger-wrap {
    order: 2;
  }
  .menu {
    display: block;
  }
}
@media (max-width: 680px) {
  .nav {
    min-height: 72px;
    flex-wrap: nowrap;
    padding: 0;
  }
  .navlinks {
    order: initial;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: white;
    padding: 12px 20px 18px;
    box-shadow: 0 12px 20px #062b4820;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
  }
  .navlinks.mobile-open {
    display: flex;
  }
  .navlinks.mobile-open {
    display: flex;
  }
  .navlinks a {
    padding: 12px 4px;
    font-size: 13px;
  }
  .burger-wrap {
    order: initial;
  }
  .burger-panel {
    top: calc(100% + 12px);
  }
  .faq-wrap {
    width: calc(100% - 34px);
  }
}

/* Navigation: all links visible, no burger menu, booking CTA at the end */
.nav {
  position: relative;
  gap: 24px;
}
.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(8px, 1.1vw, 17px);
  font-size: 12px;
}
.navlinks a {
  white-space: nowrap;
}
.navlinks .cta {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  border-radius: 3px;
  font-weight: 800;
}
.navlinks .cta:hover {
  background: #bd171d;
  color: #fff;
}
.burger-wrap,
.menu,
.burger-panel {
  display: none !important;
}
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .logo {
    flex: 0 0 auto;
  }
  .logo img {
    width: 205px;
  }
  .navlinks {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    gap: 18px;
    scrollbar-width: thin;
  }
  .navlinks a {
    flex: 0 0 auto;
  }
}
@media (max-width: 680px) {
  .nav {
    min-height: 0;
    gap: 8px;
    padding: 10px 0 4px;
  }
  .logo img {
    width: 190px;
    max-height: 52px;
  }
  .navlinks {
    gap: 16px;
    padding: 8px 0 12px;
    font-size: 12px;
  }
  .navlinks a {
    padding: 6px 0;
  }
  .navlinks .cta {
    padding: 9px 13px;
  }
}






/* ========================================
   KORREKTUR DROPDOWN KURSANGEBOT
======================================== */

.header .navlinks .dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.header .navlinks .dropdown-menu {
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    top: calc(100% + 15px);
    left: 0;
    min-width: 230px;
    padding: 8px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease,
                transform 0.2s ease,
                visibility 0.2s ease;
}

.header .navlinks .dropdown:hover .dropdown-menu,
.header .navlinks .dropdown:focus-within .dropdown-menu,
.header .navlinks .dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header .navlinks .dropdown-menu a {
    display: block !important;
    width: 100%;
    padding: 12px 20px;
    white-space: nowrap;
    color: #222;
    text-decoration: none;
}

.header .navlinks .dropdown-menu a:hover {
    background: #f5f5f5;
    color: #e31e24;
}

/* Mobile */
@media (max-width: 900px) {
    .header .navlinks .dropdown {
        display: block;
    }

    .header .navlinks .dropdown-menu {
        position: static !important;
        display: none !important;
        box-shadow: none;
        transform: none;
        padding-left: 15px;
    }

    .header .navlinks .dropdown.open .dropdown-menu {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}


/* =====================================================
   NAVIGATION – finale, einheitliche Dropdown-Regeln
   Diese Regeln überschreiben ältere Menüdefinitionen.
===================================================== */
.header .nav {
    position: relative;
}

/* Desktop */
.header .navlinks {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow: visible;
    width: auto;
    gap: clamp(12px, 1.5vw, 25px);
}

.header .menu {
    display: none !important;
}

.header .navlinks .dropdown {
    position: relative;
    display: block;
    flex: 0 0 auto;
}

.header .navlinks .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
}

.header .navlinks .dropdown-toggle .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.header .navlinks .dropdown:hover .arrow,
.header .navlinks .dropdown:focus-within .arrow,
.header .navlinks .dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Wichtig: Untermenü ist standardmäßig vollständig ausgeblendet. */
.header .navlinks .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    flex-direction: column !important;
    min-width: 230px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(6, 31, 52, 0.14);
    z-index: 1000;
}

.header .navlinks .dropdown:hover > .dropdown-menu,
.header .navlinks .dropdown:focus-within > .dropdown-menu,
.header .navlinks .dropdown.open > .dropdown-menu {
    display: flex !important;
}

.header .navlinks .dropdown-menu a {
    display: block !important;
    width: 100%;
    padding: 11px 18px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.header .navlinks .dropdown-menu a:hover,
.header .navlinks .dropdown-menu a:focus {
    background: var(--paper);
    color: var(--red);
}

/* Tablet und Smartphone: Burger-Menü und Dropdown per Klick */
@media (max-width: 900px) {
    .header .nav {
        flex-wrap: nowrap;
        min-height: 72px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header .menu {
        display: block !important;
        flex: 0 0 auto;
        border: 1px solid var(--line);
        border-radius: 3px;
        padding: 8px 11px;
        cursor: pointer;
        line-height: 1;
        background: #fff;
    }

    .header .navlinks {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        padding: 12px 20px 18px;
        background: #fff;
        box-shadow: 0 12px 20px rgba(6, 43, 72, 0.12);
        z-index: 1001;
    }

    .header .navlinks.mobile-open,
    .header .navlinks.active {
        display: flex !important;
    }

    .header .navlinks > a {
        display: block;
        width: 100%;
        padding: 12px 4px;
        white-space: normal;
    }

    .header .navlinks .dropdown {
        display: block;
        width: 100%;
    }

    .header .navlinks .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 12px 4px;
    }

    .header .navlinks .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 5px 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .header .navlinks .dropdown.open > .dropdown-menu {
        display: flex !important;
    }

    .header .navlinks .dropdown-menu a {
        padding: 10px 12px;
        white-space: normal;
    }

    .header .navlinks .cta {
        margin-top: 8px;
        padding: 12px 16px;
        text-align: center;
    }
}
