/* ============================================================================
   DEUTSCHKURSE KREUZLINGEN – Warm Premium Design v3
   ============================================================================
   Warm, premium palette derived from the logo:
   - Sage green  (#84A98C) from logo mark
   - Warm tan    (#C6A97B) from logo mark
   - Charcoal    (#2C2C2C) from logo wordmark
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colours (from logo) */
  --sage:        #84A98C;
  --sage-light:  #A3C4AB;
  --sage-dark:   #5E7F65;
  --tan:         #C6A97B;
  --tan-light:   #DCC9A4;
  --tan-dark:    #A68A58;

  /* Semantic aliases */
  --primary:       var(--tan);
  --primary-light:  var(--tan-light);
  --primary-dark:   var(--tan-dark);
  --secondary:      var(--sage);
  --secondary-light:var(--sage-light);
  --secondary-dark: var(--sage-dark);

  /* Neutrals */
  --bg:            #FFFFFF;
  --bg-soft:       #FAF8F5;
  --bg-warm:       #F5F0E8;
  --text:          #2C2C2C;
  --text-secondary:#5C5C5C;
  --text-muted:    #999;
  --border:        #E6E0D8;
  --border-light:  #F0EBE5;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-full: 999px;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 6px 18px rgba(0,0,0,.09);
  --sh-lg: 0 12px 32px rgba(0,0,0,.12);

  /* Fonts */
  --ff-display: 'Outfit', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;
}

/* ===== RESET ===== */

*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color .15s;
}
a:hover { color: var(--sage-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; }
p  { margin: 0; }

/* ===== LAYOUT ===== */

.container {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
}

.section { padding: 4.5rem 0; }

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.6rem;
  border-radius: var(--r-full);
  font-family: inherit;
  font-weight: 600;
  font-size: .92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--sh-sm);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-ghost:hover {
  background: rgba(198,169,123,.08);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-whatsapp {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-whatsapp:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--sh-sm);
  color: #fff;
}

.btn-ghost-on-dark {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost-on-dark:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  color: #fff;
}

.btn .btn-icon-svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* ============================================================================
   HEADER

   The logo image already contains "DEUTSCHKURSE KREUZLINGEN",
   so .brand-text is hidden to avoid duplication.
   The nav is compact; Kurse lives behind a hover-dropdown.
============================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  gap: 1rem;
}

/* Brand / logo — text is hidden; logo says it all */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-text,
.brand-mark { display: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Nav – centred, compact */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .88rem;
}

.main-nav > a,
.main-nav .nav-dropdown-toggle {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: .2rem 0;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .2s;
}
.main-nav > a:hover::after { width: 100%; }

/* Nav dropdowns */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .15em;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.dd-arrow {
  font-size: .7em;
  transition: transform .2s;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%; transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: .5rem 0;
  padding-top: .8rem;
  min-width: 210px;
  z-index: 300;
  flex-direction: column;
}

/* Invisible bridge so mouse can travel from trigger to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -.5rem;
  left: 0; right: 0;
  height: .5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown:hover .dd-arrow,
.nav-dropdown.open .dd-arrow { transform: rotate(180deg); }

.nav-dropdown-menu a {
  display: block;
  padding: .45rem 1.1rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-warm);
  color: var(--primary-dark);
  text-decoration: none;
}
.nav-dropdown-menu a::after { display: none; }

/* Language switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-current {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .35rem .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.lang-current::after { content: "▾"; font-size: .6em; margin-left: .1em; }
.lang-current:hover { background: var(--bg-soft); color: var(--text); }

.lang-menu {
  display: none;
  position: absolute; top: calc(100% + 4px); right: 0;
  list-style: none; margin: 0; padding: .25rem 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-md);
  z-index: 1000; min-width: 3rem;
}
.lang-switcher.open .lang-menu { display: block; }

.lang-menu li { list-style: none; margin: 0; padding: 0; }
.lang-menu a {
  display: block; padding: .35rem .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-muted); text-align: center;
  transition: background .12s, color .12s;
}
.lang-menu a:hover {
  background: var(--bg-soft); color: var(--primary-dark);
  text-decoration: none;
}
.lang-menu a.active { color: var(--primary-dark); font-weight: 700; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none; border: none;
  padding: .35rem; cursor: pointer;
  position: relative;
  z-index: 201;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  border-radius: 999px; background: var(--text);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay behind slide-in nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 198;
}
.nav-overlay.visible { display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 80vw);
    flex-direction: column;
    align-items: stretch;
    padding: 4.5rem 1.5rem 2rem;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 199;
    overflow-y: auto;
    gap: 0;
  }
  .main-nav.open { transform: translateX(0); }

  .main-nav > a {
    padding: .7rem 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav > .nav-dropdown {
    padding: 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav .nav-dropdown-toggle {
    padding: .7rem 0;
    font-size: .95rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .main-nav .dd-arrow {
    font-size: .85em;
  }
  .nav-dropdown:hover .dd-arrow { transform: none; }
  .nav-dropdown.open .dd-arrow { transform: rotate(180deg); }
  .main-nav > a::after { display: none; }

  .nav-toggle { display: inline-flex; z-index: 201; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static; transform: none;
    box-shadow: none; border: none;
    border-radius: 0; padding: 0 0 0 1rem;
    background: transparent; min-width: auto;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    display: flex;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 500px; }
  .nav-dropdown-menu a {
    padding: .4rem 0;
    font-size: .88rem;
    border-bottom: none;
  }

  .header-inner > .lang-switcher { display: none; }
  .main-nav .lang-switcher {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
}

/* ===== HERO ===== */

.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative circle */
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(132,169,140,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow,
.eyebrow {
  font-family: var(--ff-display);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: .8rem; display: block;
}

.hero-content h1 { margin-bottom: 1rem; }

.hero-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  line-height: 1.7;
  max-width: 34rem;
}

.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero-image img {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

@media (max-width: 900px) {
  .hero { padding: 3.5rem 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ===== SECTION HELPERS ===== */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-header h2 { margin-bottom: .5rem; }
.section-header p  { color: var(--text-muted); font-size: .98rem; }

.section-accent {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
}
.section-accent h2 { color: #fff; }
.section-accent p  { color: rgba(255,255,255,.88); }
.section-accent a  { color: var(--tan-light); }
.section-accent a:hover { color: #fff; }

.section-warm {
  background: var(--bg-warm);
}

.section-soft {
  background: var(--bg-soft);
}

/* ===== ABOUT ===== */

#about {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
}
#about h2 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
#about p  { color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: .8rem; }
#about a  { color: var(--tan-light); }

.image-stack { display: none; }

/* ===== GRAMMAR ===== */

#grammar { background: var(--bg-warm); }
.grammar-grid {}
.grammar-image img {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

/* ===== CARDS (generic) ===== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--primary);
}

.card h3 { color: var(--sage-dark); margin-bottom: .6rem; }

.card ul {
  list-style: none; margin: 0 0 .8rem; padding: 0;
  font-size: .88rem; color: var(--text-secondary);
}
.card ul li + li { margin-top: .2rem; }

.card-link {
  font-size: .88rem; font-weight: 600;
  color: var(--primary-dark);
  margin-top: auto;
}
.card-link::after { content: " →"; }
.card-link-whatsapp {
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.card-link-whatsapp::after { content: none; }
.card-link-whatsapp:hover { color: var(--primary); }
.card-link-whatsapp .card-link-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ===== COURSES ===== */

#courses { background: var(--bg-soft); }

#courses .cards-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  #courses .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  #courses .cards-grid { grid-template-columns: 1fr; }
}

#courses .card {
  background: #fff;
}
#courses .card h3 {
  color: var(--sage-dark);
  min-height: 2.4em;
  display: flex; align-items: center;
}
#courses .card ul {
  flex: 1;
  display: grid; grid-template-columns: 1fr; gap: .3rem;
  align-content: start;
}
#courses .card ul li {
  display: flex; gap: .35rem; line-height: 1.45;
}
#courses .card ul li strong {
  white-space: nowrap; width: 5.5em; flex-shrink: 0;
}
#courses .card .card-link {
  margin-top: auto; padding-top: .6rem;
}

/* ===== TEACHERS ===== */

#teachers { background: var(--bg); }

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.teacher-card {
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
}
.teacher-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.teacher-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--tan-light);
  transition: transform .3s;
}
.teacher-card:hover .teacher-photo { transform: scale(1.04); }

.teacher-role {
  margin: 0 0 .5rem;
  font-size: .88rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.teacher-details {
  list-style: none; margin: 0; padding: 0;
  font-size: .88rem; color: var(--text-secondary);
}
.teacher-details li + li { margin-top: .2rem; }

/* ===== GALLERY ===== */

#gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.gallery-grid img {
  width: 100%; height: 220px;
  object-fit: cover;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--sh-md);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }
}

/* ===== LIGHTBOX ===== */

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: 85vw; max-height: 85vh;
  border-radius: var(--r-md);
  object-fit: contain; user-select: none;
}

.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  color: #fff; font-size: 2.2rem;
  cursor: pointer; line-height: 1; padding: .2rem .5rem;
}
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer;
  padding: .6rem .9rem; border-radius: 50%; line-height: 1;
  transition: background .15s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

.lightbox-counter {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem;
}

/* ===== OFFER / KURSANGEBOT ===== */

#offer {
  background: var(--bg-warm);
}

#offer .section-header h2 { color: var(--text); }
#offer .section-header p  { color: var(--text-muted); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .offer-grid { grid-template-columns: 1fr; }
}

/* Alle Offer-Kacheln klickbar & gleich hoch */
.offer-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.offer-card-link:hover { text-decoration: none; }

.offer-grid .card.mini-card {
  padding: 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.offer-grid .mini-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: .8rem;
}

.offer-grid .mini-card h3 {
  font-size: .95rem;
  line-height: 1.3;
  margin-bottom: .4rem;
  min-height: 0;
  color: var(--text);
}

.offer-grid .mini-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: .2rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  flex: 1;
}

.offer-grid .mini-card .card-link {
  margin-top: auto;
  padding-top: .6rem;
}

/* ===== BEWERTUNGEN / REVIEWS ===== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: .1rem;
  margin-bottom: .8rem;
}

.review-text {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}

.review-name {
  font-weight: 600;
  color: var(--sage-dark);
}

.review-source {
  color: var(--text-secondary);
  font-size: .78rem;
}

/* ===== CONTACT ===== */

#contact { background: var(--bg-soft); }

.contact-grid { align-items: flex-start; }

.contact-list {
  list-style: none; padding: 0;
  margin: 1rem 0 1.2rem; font-size: .92rem;
}
.contact-list li + li { margin-top: .18rem; }
.contact-list a { color: var(--primary-dark); font-weight: 600; }

/* Social links – clean text pills */
.social-links {
  display: flex; flex-wrap: wrap; gap: .5rem;
}

.social-links a {
  font-size: .85rem;
  padding: .35rem .8rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all .15s;
}
.social-links a:hover {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
  text-decoration: none;
}

.contact-map-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color .15s;
}
.contact-map-link:hover {
  color: var(--sage-dark);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .9rem;
}

.form-group {
  display: flex; flex-direction: column; gap: .3rem;
  margin-bottom: .8rem;
}

label {
  font-size: .86rem; font-weight: 500; color: var(--sage-dark);
}

input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: .6rem .9rem;
  font-family: inherit; font-size: .92rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: var(--bg-soft);
}
textarea { border-radius: var(--r-md); resize: vertical; min-height: 100px; }

input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(198,169,123,.15);
  background: #fff;
}

.form-check-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .35rem .8rem;
  margin-top: .15rem;
}
.form-check-group--inline {
  grid-template-columns: repeat(4, auto);
  justify-content: start;
}
.form-check-label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 400; color: var(--text);
  cursor: pointer;
}
.form-check-label input[type="checkbox"],
.form-check-label input[type="radio"] {
  width: .95rem; height: .95rem;
  accent-color: var(--primary);
  margin: 0; padding: 0;
  flex-shrink: 0;
}
.form-check-standalone {
  font-size: .84rem; color: var(--text-muted);
}

.form-submit {
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.8rem;
  border: none;
  border-radius: var(--r-full);
  font-weight: 600; font-size: .92rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}

.form-hint {
  margin-top: .6rem; font-size: .8rem; color: var(--text-muted);
}
.form-feedback {
  margin-top: .8rem; font-size: .9rem; font-weight: 500;
  padding: .75rem 1rem; border-radius: var(--r-md);
}
.form-feedback-success {
  background: var(--bg-soft); color: var(--sage-dark); border: 1px solid var(--sage-light);
}
.form-feedback-error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}

@media (max-width: 800px) {
  .form-row { grid-template-columns: 1fr; }
  .form-check-group { grid-template-columns: 1fr; }
  .form-check-group--inline { grid-template-columns: repeat(4, auto); }
}

/* ===== FOOTER ===== */

.site-footer {
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex; flex-wrap: wrap; gap: .9rem;
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--text-muted);
}

.footer-links { display: flex; gap: .9rem; }
.footer-links a { color: var(--text-muted); font-weight: 500; font-size: .85rem; }
.footer-links a:hover { color: var(--primary-dark); }

/* ===== BREADCRUMBS ===== */

.breadcrumbs { padding: 1rem 0 .5rem; font-size: .82rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-dark); text-decoration: underline; }
.breadcrumbs span { color: var(--text); }

/* ===== LANDING PAGES ===== */

.landing-hero {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
}
.landing-hero h1 { font-size: clamp(2rem,3.5vw,2.6rem); color: #fff; margin: 0 0 1rem; }
.landing-intro { max-width: 46rem; font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 1.5rem; line-height: 1.6; }
.landing-intro-sub { font-size: .95rem; opacity: .85; margin-bottom: .5rem; }
.landing-hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

.landing-content { padding: 3rem 0; }
.content-block { margin-bottom: 2.5rem; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 { font-size: 1.35rem; color: var(--sage-dark); margin-bottom: .8rem; }
.content-block ul { padding-left: 1.2rem; margin: .6rem 0; }
.content-block li { margin-bottom: .35rem; line-height: 1.55; }
.content-block p { margin-bottom: .8rem; line-height: 1.65; }

.related-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.2rem; margin-top: 1.5rem;
}
.related-card {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.3rem 1.4rem;
  transition: box-shadow .2s, transform .15s; text-decoration: none;
}
.related-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); text-decoration: none; }
.related-card h3, .related-card h4 { color: var(--sage-dark); font-size: 1rem; margin: 0 0 .4rem; }
.related-card p { color: var(--text-muted); font-size: .88rem; margin: 0; line-height: 1.45; }

.landing-cta {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff; text-align: center;
}
.landing-cta h2 { color: #fff; margin-bottom: .6rem; }
.landing-cta p { color: rgba(255,255,255,.88); max-width: 32rem; margin: 0 auto 1.5rem; }
.landing-cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== FAQ ===== */

.faq-section { max-width: 740px; margin: 0 auto; }
.faq-heading { text-align: center; margin-bottom: 1.8rem; color: var(--sage-dark); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 500;
  color: var(--text); text-align: left; line-height: 1.45;
  transition: color .15s;
}
.faq-question::after {
  content: "+"; font-size: 1.4rem; font-weight: 300;
  color: var(--text-muted); flex-shrink: 0; margin-left: 1rem;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-question:hover { color: var(--sage-dark); }
.faq-answer { display: none; padding: 0 0 1rem; color: var(--text-secondary); font-size: .95rem; line-height: 1.6; }
.faq-item.open .faq-answer { display: block; }

/* ===== LEGAL PAGES ===== */

.legal-main { background: var(--bg-soft); }
.legal-hero { padding: 4rem 0 2rem; background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); color: #fff; }
.legal-hero h1 { margin: 0; font-size: clamp(2rem,3.2vw,2.4rem); font-weight: 500; }
.legal-hero p { margin-top: .6rem; max-width: 36rem; color: #f5f5f5; font-size: .98rem; }
.legal-content { padding: 3rem 0 4rem; }
.legal-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: 2rem 2.2rem; }
.legal-card h2 { margin-top: 1.8rem; font-size: 1.1rem; color: var(--sage-dark); }
.legal-card h2:first-of-type { margin-top: .5rem; }

/* ===== BLOG ===== */

.blog-main { background: var(--bg-soft); min-height: 60vh; }
.blog-article { padding: 0 0 4rem; }
.blog-container { max-width: 740px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 2.5rem; margin-top: 1rem; }
.blog-header { margin-bottom: 2rem; }
.blog-header h1 { font-size: clamp(1.6rem,3vw,2.1rem); color: var(--sage-dark); margin: 0 0 .6rem; line-height: 1.25; }
.blog-meta { display: flex; gap: 1.2rem; font-size: .85rem; color: var(--text-muted); }
.blog-meta time, .blog-meta .reading-time { display: inline-flex; align-items: center; gap: .3rem; }
.blog-intro { font-size: 1.05rem; color: var(--text); line-height: 1.65; margin-bottom: 2rem; }
.blog-section { margin-bottom: 2rem; }
.blog-section h2 { font-size: 1.25rem; color: var(--sage-dark); margin-bottom: .7rem; }
.blog-section p { margin-bottom: .8rem; line-height: 1.65; }
.blog-section ul, .blog-section ol { padding-left: 1.2rem; margin: .6rem 0; }
.blog-section li { margin-bottom: .3rem; line-height: 1.55; }
.blog-cta-box { background: var(--bg-warm); border-radius: var(--r-md); padding: 1.5rem; margin: 2.5rem 0; }
.blog-cta-box h3 { font-size: 1.05rem; margin: 0 0 .8rem; color: var(--sage-dark); }
.blog-cta-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.blog-related { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.blog-related h3 { font-size: 1.1rem; color: var(--sage-dark); margin-bottom: 1rem; }

.blog-overview-hero { padding: 3rem 0 2rem; background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%); color: #fff; }
.blog-overview-hero h1 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.8rem,3vw,2.3rem); }
.blog-overview-hero p { color: rgba(255,255,255,.88); max-width: 36rem; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; padding: 2.5rem 0 4rem; }
.blog-card { display: block; background: #fff; border-radius: var(--r-lg); padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm); border: 1px solid var(--border); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); text-decoration: none; }
.blog-card h2 { font-size: 1.1rem; color: var(--sage-dark); margin: 0 0 .4rem; line-height: 1.35; }
.blog-card .blog-card-date { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

@media (max-width: 600px) {
  .container { width: min(100% - 1.5rem, 640px); }
  .section { padding: 3rem 0; }
  .blog-container { padding: 1.5rem 1.2rem 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .landing-cta-buttons { flex-direction: column; align-items: stretch; }
  .landing-hero-buttons { flex-direction: column; align-items: stretch; }
}

/* ===== NIVEAU-CHECK ===== */

.niveaucheck-section {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
}
.niveaucheck-section h2 { color: #fff; }
.niveaucheck-section .section-header p { color: rgba(255,255,255,.88); }

.niveaucheck-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.niveaucheck-inner p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.8rem;
}
.niveaucheck-inner .btn {
  font-size: 1rem;
  padding: .85rem 2rem;
}

/* ===== NIVEAU-KACHELN ===== */

#niveaus { background: var(--bg); }

.niveau-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .niveau-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .niveau-grid { grid-template-columns: 1fr; }
}

.niveau-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.niveau-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--sage);
  text-decoration: none;
}
.niveau-card h3 {
  font-size: 1.1rem;
  color: var(--sage-dark);
  margin-bottom: .5rem;
}
.niveau-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: .8rem;
}
.niveau-card .niveau-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: auto;
}
.niveau-card .niveau-link::after { content: " →"; }

/* ===== PREISE & KURSFORMEN ===== */

#preise { background: var(--bg-soft); }

.preise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 900px) {
  .preise-grid { grid-template-columns: 1fr; }
}

.preis-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.preis-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--primary);
}
.preis-card h3 {
  font-size: 1.05rem;
  color: var(--sage-dark);
  margin-bottom: .8rem;
}
.preis-card .preis-amount {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.preis-card .preis-amount-sub {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
}
.preis-card .preis-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: .4rem;
}
.preis-card .preis-example {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border-light);
}

/* ===== TOP NOTICE (Unterseiten A1-B2) ===== */

.top-notice {
  background: var(--bg-warm);
  border: 1px solid var(--tan-light);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.top-notice a {
  color: var(--primary-dark);
  font-weight: 600;
}
.top-notice a:hover {
  color: var(--sage-dark);
}

/* ===== VERTRAUEN: PRESSE & ANERKENNUNG ===== */

.presse-section {
  background: var(--bg-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
@media (max-width: 700px) {
  .trust-grid { grid-template-columns: 1fr; }
}

.trust-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.trust-card h3 {
  font-size: 1.05rem;
  color: var(--sage-dark);
  margin-bottom: .8rem;
}

.trust-card p {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  flex: 1;
}

.trust-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color .15s;
  margin-top: auto;
}
.trust-link:hover {
  color: var(--sage-dark);
  text-decoration: none;
}

/* ===== LANDING CTA INLINE (auf Unterseiten nach Intro) ===== */

.landing-cta-inline {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 .4rem;
}

/* ===== Cookie Banner ===== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 1.2rem 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.cookie-banner-text a {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}


