/* =============================================================================
   styles.css — Emir Sultan Moschee Darmstadt
   Gemeinsame Styles für alle Seiten. BEM-Namensgebung.
   Fonts werden lokal aus /fonts/ geladen (kein Google Fonts CDN).
   ============================================================================= */


/* =============================================================================
   FONTS — @font-face (lokal, DSGVO-konform)
   ============================================================================= */

/* Cormorant Garamond — latin-ext (für türkische Zeichen: ş, ğ) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Light-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Regular-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Medium-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-SemiBold-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Bold-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-RegularItalic-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-SemiBoldItalic-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond — latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Light.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Medium.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/CormorantGaramond-Bold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/CormorantGaramond-RegularItalic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/CormorantGaramond-SemiBoldItalic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans — latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Light-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Regular-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Medium-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-SemiBold-latext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans — latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Light.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Medium.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =============================================================================
   BASE — Reset, CSS Custom Properties, html, body
   ============================================================================= */

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

:root {
  /* Farben */
  --green-deep:  #1B3A2D;
  --green-mid:   #2A5240;
  --green-light: #3D7A5C;
  --gold:        #C8943F;
  --gold-light:  #E4BC7A;
  --gold-pale:   #F3E6C8;
  --cream:       #F7F3EC;
  --cream-dark:  #EDE5D8;
  --white:       #FEFCF8;
  --charcoal:    #1A1A1A;
  --text:        #2C2C2C;
  --text-muted:  #6B6B6B;
  --border:      #D9D0C0;

  /* Typografie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Abstände */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Easing */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out:    cubic-bezier(0.45, 0, 0.55, 1);

  /* Aliases für Abwärtskompatibilität */
  --ease-out: var(--ease-out-expo);
  --font-head: var(--font-display);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}


/* =============================================================================
   SKIP LINK — Barrierefreiheit
   ============================================================================= */

.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--green-deep);
  color: var(--white);
  padding: 8px 16px;
  font-size: 14px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { top: 0; }


/* =============================================================================
   NAV — Navigation (BEM)
   ============================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(20px, 6vw, 80px);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition:
    top 0.45s var(--ease-out-expo),
    width 0.45s var(--ease-out-expo),
    max-width 0.45s var(--ease-out-expo),
    height 0.4s var(--ease-out-expo),
    padding 0.4s var(--ease-out-expo),
    background 0.35s ease,
    border-color 0.35s ease,
    border-radius 0.45s var(--ease-out-expo),
    box-shadow 0.35s ease;
}

.nav--scrolled:not(.nav--open) {
  top: 14px;
  width: calc(100% - 40px);
  max-width: 1280px;
  height: 68px;
  padding: 0 20px;
  background: rgba(247, 243, 236, 0.96);
  border-color: var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(27,58,45,0.09), 0 1px 0 rgba(200,148,63,0.1) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav--open {
  background: rgba(247, 243, 236, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav__logo-icon img { width: 72px; height: 72px; object-fit: contain; }
.nav__logo:hover .nav__logo-icon { transform: rotate(12deg) scale(1.05); }
.nav--scrolled .nav__logo-icon { width: 44px; height: 44px; }
.nav--scrolled .nav__logo-icon img { width: 44px; height: 44px; }
.nav__logo-text { line-height: 1.2; }
.nav__logo-title {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  color: var(--green-deep);
  display: block;
}
.nav__logo-sub {
  font-size: 11.5px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
}

/* Desktop Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--green-deep); background: var(--cream-dark); }
.nav__links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav__dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav__dropdown:hover > a::after,
.nav__dropdown:focus-within > a::after { transform: rotate(-135deg) translateY(-2px); }

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 8px 32px rgba(27,58,45,0.12);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s var(--ease-out-expo);
  list-style: none;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown-menu a:hover { background: var(--cream); color: var(--green-deep); }

/* Sprachumschalter */
.nav__lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav__lang-btn {
  padding: 5px 9px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.nav__lang-btn:hover { color: var(--green-deep); background: var(--cream-dark); }
.nav__lang-btn.is-active { color: var(--green-deep); border-color: var(--border); background: var(--cream-dark); }
.nav__lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Hamburger Toggle */
.nav__toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--charcoal);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nav__toggle:hover { background: var(--cream-dark); border-color: var(--text-muted); }
.nav__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav__toggle-icon {
  width: 20px; height: 20px;
  overflow: visible;
}
.nav__bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 280ms var(--ease-out-expo), opacity 200ms ease;
}
.nav__toggle[aria-expanded="true"] .nav__bar--1 { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar--2 { transform: scaleX(0); opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar--3 { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--cream);
  border-top: 1px solid var(--border);
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 20px 40px;
  overflow-y: auto;
  gap: 16px;
}
.nav-overlay--open {
  display: flex;
  animation: overlayIn 0.28s var(--ease-out-expo);
}

@keyframes overlayIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Links container */
.nav-overlay__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Top-level direct links (e.g. Aktuelles, Galerie, Kontakt) */
.nav-overlay__links > li > a {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  font-size: 17px; font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-md);
  min-height: 52px;
  transition: background 0.15s, color 0.15s;
}
.nav-overlay__links > li > a:hover { background: var(--cream-dark); color: var(--green-deep); }

/* Dropdown section wrapper */
.nav-overlay__dropdown { display: flex; flex-direction: column; gap: 2px; }

/* Dropdown parent label — now a clickable <a> tag */
.nav-overlay__links .nav-overlay__dropdown-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 17px; font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-md);
  min-height: 52px;
  transition: background 0.15s, color 0.15s;
}
.nav-overlay__links .nav-overlay__dropdown-label::after {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8B8A0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s var(--ease-out-expo);
}
.nav-overlay__links .nav-overlay__dropdown-label:hover { background: var(--cream-dark); color: var(--green-deep); }
.nav-overlay__links .nav-overlay__dropdown-label:hover::after { transform: translateX(3px); }

/* Sub-navigation items */
.nav-overlay__dropdown-sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0 0 6px 20px;
  border-left: 2px solid var(--border);
  margin-left: 20px;
}
.nav-overlay__dropdown-sub a {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--green-deep);
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: background 0.15s, color 0.15s;
}
.nav-overlay__dropdown-sub a:hover { background: var(--cream-dark); color: var(--green-deep); }

/* Language switcher — Segmented Control mit Slide-Animation */
.nav-overlay__lang {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
/* Sliding thumb */
.nav-overlay__lang::before {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  background: var(--cream);
  border-radius: calc(var(--radius-md) - 3px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease-out-expo);
  pointer-events: none;
}
.nav-overlay__lang[data-active="tr"]::before {
  transform: translateX(calc(100% + 4px));
}
.nav-overlay__lang-btn {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-overlay__lang-btn:hover:not(.is-active) { color: var(--text); }
.nav-overlay__lang-btn.is-active { color: var(--green-deep); font-weight: 700; }

/* Bottom CTA */
.nav-overlay__bottom { display: flex; flex-direction: column; gap: 10px; }
.nav-overlay__cta {
  display: flex;
  align-items: center; justify-content: center;
  padding: 14px 24px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-overlay__cta--outline {
  background: var(--green-deep);
  border: 1px solid transparent;
  color: var(--cream);
}
.nav-overlay__cta--outline:hover { background: var(--green-mid); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__lang-toggle { display: none; }
  .nav__toggle { display: flex; }
}


/* =============================================================================
   PAGE HERO — Seitenheader mit grünem Hintergrund
   ============================================================================= */

.page-hero {
  padding: 160px clamp(20px,5vw,60px) 80px;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.page-hero__pattern {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23F3E6C8' stroke-width='0.6'%3E%3Cpolygon points='40,4 52,14 62,14 72,24 72,36 62,46 62,58 52,68 40,68 28,58 18,58 8,48 8,36 18,26 18,14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.page-hero__inner { max-width: 1280px; margin: 0 auto; position: relative; }
.page-hero__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.page-hero__label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px,7vw,88px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
}
.page-hero__title em { font-style: italic; color: var(--gold-light); }
.page-hero__sub {
  font-size: clamp(15px,1.5vw,18px);
  color: rgba(247,243,236,0.65);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 20px;
  font-weight: 300;
}


/* =============================================================================
   SECTION UTILITIES
   ============================================================================= */

.section__inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,60px); }

.section__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section__label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px,5vw,56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--green-deep);
}
.section__title em { font-style: italic; color: var(--gold); }


/* =============================================================================
   BUTTONS — .btn Block mit Modifikatoren
   ============================================================================= */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-out-expo);
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--primary { background: var(--gold); color: var(--green-deep); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,148,63,0.35); }

.btn--outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(247,243,236,0.4); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,148,63,0.08); }


/* =============================================================================
   FOOTER — Gemeinsamer Footer (BEM)
   ============================================================================= */

.footer { background: var(--green-deep); color: rgba(247,243,236,0.7); padding: 80px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}
.footer__logo-icon {
  width: 44px; height: 44px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer__logo-icon img { width: 44px; height: 44px; object-fit: contain; }
.footer__logo-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.footer__logo-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--cream);
  display: block; line-height: 1.2;
}
.footer__logo-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,243,236,0.45);
}
.footer__desc {
  font-size: 13.5px; line-height: 1.7;
  color: rgba(247,243,236,0.55);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__contact {
  font-size: 13.5px;
  color: rgba(247,243,236,0.55);
  display: flex; gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer__contact:hover { color: var(--gold-light); }
.footer__contact svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 13.5px;
  color: rgba(247,243,236,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--gold-light); }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 12.5px; color: rgba(247,243,236,0.35); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-size: 12.5px;
  color: rgba(247,243,236,0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__legal a:hover { color: rgba(247,243,236,0.7); }

/* Minimalvariante — datenschutz.html, impressum.html */
.footer__bottom--simple {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(20px,5vw,60px) 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}


/* =============================================================================
   REVEAL — Scroll-Animationen
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal--visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* =============================================================================
   BACKWARD COMPAT — Alte Klassen (werden schrittweise entfernt)
   Ermöglicht sanfte Migration ohne sofortige Regression.
   ============================================================================= */

/* Section Utilities */
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,60px); }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-family: var(--font-display); font-size: clamp(32px,5vw,56px); font-weight: 400; line-height: 1.1; color: var(--green-deep); }
.section-title em { font-style: italic; color: var(--gold); }

/* Page Hero (alte Klassen) */
.page-hero-pattern { position: absolute; inset: 0; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23F3E6C8' stroke-width='0.6'%3E%3Cpolygon points='40,4 52,14 62,14 72,24 72,36 62,46 62,58 52,68 40,68 28,58 18,58 8,48 8,36 18,26 18,14'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px 80px; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.page-hero-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.page-hero-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(40px,7vw,88px); font-weight: 300; color: var(--cream); line-height: 1.05; }
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub { font-size: clamp(15px,1.5vw,18px); color: rgba(247,243,236,0.65); max-width: 560px; line-height: 1.7; margin-top: 20px; font-weight: 300; }

/* Buttons (alte Klassen) */
.btn-primary { background: var(--gold); color: var(--green-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,148,63,0.35); }
.btn-outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(247,243,236,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,148,63,0.08); }

/* Footer (alte Klassen) */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 20px; }
.footer-logo-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer-logo-icon img { width: 44px; height: 44px; object-fit: contain; }
.footer-logo-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.footer-logo-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--cream); display: block; line-height: 1.2; }
.footer-logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(247,243,236,0.45); }
.footer-desc { font-size: 13.5px; line-height: 1.7; color: rgba(247,243,236,0.55); margin-bottom: 24px; max-width: 280px; }
.footer-contact-item { font-size: 13.5px; color: rgba(247,243,236,0.55); display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; text-decoration: none; transition: color 0.15s; }
.footer-contact-item:hover { color: var(--gold-light); }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.footer-col-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--cream); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(247,243,236,0.55); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12.5px; color: rgba(247,243,236,0.35); }
.footer-legal { display: flex; gap: 20px; align-items: center; }
.footer-legal a { font-size: 12.5px; color: rgba(247,243,236,0.35); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(247,243,236,0.7); }
.footer-cookie-btn { background: none; border: none; cursor: pointer; padding: 0; font-family: var(--font-body); font-size: 12.5px; color: rgba(247,243,236,0.35); transition: color 0.15s; }
.footer-cookie-btn:hover { color: rgba(247,243,236,0.7); }
.footer-bottom-simple { max-width: 1280px; margin: 0 auto; padding: 24px clamp(20px,5vw,60px) 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,0.08); }

/* Reveal (alte Klassen) */
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================================================
   COOKIE BANNER (cookie-consent.js)
   ============================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 9000;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2.5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(27,58,45,0.13), 0 2px 12px rgba(27,58,45,0.07);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}
.cookie-banner--visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner--hidden  { transform: translateX(-50%) translateY(0); opacity: 0; pointer-events: none; }

.cookie-banner__main { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-banner__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.cookie-banner__icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cookie-banner__body { flex: 1; min-width: 180px; }
.cookie-banner__title { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--green-deep); margin: 0 0 3px; }
.cookie-banner__text { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0; }
.cookie-banner__text a { color: var(--green-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; transition: color 0.15s; }
.cookie-banner__text a:hover { color: var(--gold); }
.cookie-banner__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
  white-space: nowrap;
  line-height: 1;
}
/* =============================================================================
   BACK TO TOP — Scroll-Button
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--green-deep);
  border: none;
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(247, 243, 236, 0.25);
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo),
    visibility 0.25s,
    background 0.2s;
}
.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--green-mid); }
.back-to-top:active { transform: scale(0.93); }
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.15s, visibility 0.15s; transform: none !important; }
}
@media (max-width: 640px) {
  .back-to-top { bottom: 20px; right: 20px; }
}

.cookie-btn:active { transform: scale(0.97); }
.cookie-btn--accept { background: var(--green-deep); color: var(--white); border: 1.5px solid var(--green-deep); }
.cookie-btn--accept:hover { background: #243f31; border-color: #243f31; }
.cookie-btn--decline { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.cookie-btn--decline:hover { border-color: var(--charcoal); color: var(--text); }
.cookie-btn--settings { background: transparent; color: var(--green-deep); border: none; padding: 9px 10px; text-decoration: underline; text-underline-offset: 2px; }
.cookie-btn--settings:hover { color: var(--gold); }

/* Settings Panel */
.cookie-settings { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--cream-dark); }
.cookie-settings[hidden] { display: none; }
.cookie-settings__grid { display: flex; flex-direction: column; }
.cookie-settings__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cookie-settings__item:last-child { border-bottom: none; }
.cookie-settings__info { flex: 1; }
.cookie-settings__name { font-size: 13px; font-weight: 600; color: var(--text); display: block; margin-bottom: 2px; }
.cookie-settings__desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; }
.cookie-settings__footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* Toggle Switch */
.cookie-toggle { display: inline-flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.cookie-toggle__input { position: absolute; width: 0; height: 0; opacity: 0; }
.cookie-toggle__rail {
  position: relative;
  width: 40px; height: 22px;
  background: var(--border);
  border-radius: 11px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-toggle__rail::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
.cookie-toggle__input:checked ~ .cookie-toggle__rail { background: var(--green-deep); }
.cookie-toggle__input:checked ~ .cookie-toggle__rail::after { transform: translateX(18px); }
.cookie-toggle__input:focus-visible ~ .cookie-toggle__rail { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 11px; }
.cookie-toggle--disabled { opacity: 0.45; cursor: not-allowed; }
.cookie-toggle--disabled .cookie-toggle__rail { background: var(--green-deep); }
.cookie-toggle--disabled .cookie-toggle__rail::after { transform: translateX(18px); }

@media (max-width: 640px) {
  .cookie-banner { bottom: 16px; width: calc(100% - 32px); padding: 16px 18px; }
  .cookie-banner__icon { display: none; }
  .cookie-banner__actions { width: 100%; flex-wrap: wrap; }
  .cookie-btn--accept, .cookie-btn--decline { flex: 1; text-align: center; justify-content: center; }
  .cookie-btn--settings { width: 100%; text-align: center; order: 3; padding-top: 2px; }
  .cookie-settings__footer { flex-direction: column; }
  .cookie-settings__footer .cookie-btn { width: 100%; text-align: center; }
}
