/*
  website-neu: Rahmen der neuen Seite (Kopf und Fuss auf allen Seiten).
  Werte aus den Tokens src/styles/tokens.css (Grey Skala, Almost Black, Rot, Radius 8/10 px, Bewegung 120/200/400 ms);
  Gestaltung nach dem Mockup features/website-mockup und dem Designsystem brand.ailean.re. Keine neuen Farben:
  --emerald, --whatsapp und --orange sind die Funktionsfarben des Designsystems für das Produkt UI (Chat, Board).
  Statische Datei, siehe src/lib/neu/assets.ts (nicht durch die Astro Pipeline).
*/
:root {
  --neu-emerald: oklch(0.696 0.17 162.48);
  --neu-whatsapp: oklch(0.62 0.16 150);
  --neu-orange: oklch(0.705 0.19 47.6);
  --neu-ease: cubic-bezier(.4, 0, .2, 1);
  --neu-nav-h: 56px;
}

.neu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.neu-skip {
  position: absolute; top: -4rem; left: 1rem; z-index: 100; background: var(--white); color: var(--almost-black);
  padding: .75rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: .875rem; text-decoration: none;
  border: 1px solid var(--grey-200); transition: top 120ms var(--neu-ease);
}
.neu-skip:focus-visible { top: 1rem; outline: 2px solid var(--almost-black); outline-offset: 2px; }

/* Kopf: Almost Black, Logo weiss, sticky 56 px */
.neu-nav { position: sticky; top: 0; z-index: 40; background: var(--almost-black); color: var(--white); border-bottom: 1px solid var(--grey-800); }
.neu-nav-wrap {
  max-width: 1320px; margin-inline: auto; padding-inline: 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; min-height: var(--neu-nav-h);
}
.neu-logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--white); }
.neu-logo-svg { display: block; height: 28px; width: auto; max-width: none; }
.neu-nav nav { display: contents; }
.neu-nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.neu-nav ul a { text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--grey-300); transition: color 120ms var(--neu-ease); }
.neu-nav ul a:hover, .neu-nav ul a[aria-current='page'] { color: var(--white); }
.neu-nav ul a.neu-cta { background: var(--white); color: var(--almost-black); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; min-height: 40px; }
.neu-nav ul a.neu-cta:hover { color: var(--almost-black); opacity: .9; }
.neu-nav a:focus-visible, .neu-nav button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 4px; }
.neu-nav-sprache { display: flex; align-items: center; gap: .5rem; }
.neu-nav-sprache-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.neu-sprachen { display: inline-flex; align-items: center; gap: .25rem; }
.neu-sprachen a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0 .375rem; border-radius: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.neu-sprachen a[aria-current='true'] { color: var(--white); background: var(--grey-800); }
.neu-nav-mobil { display: none; }

@media (max-width: 900px) {
  .neu-nav-wrap { gap: .75rem; }
  .neu-nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); border-bottom: 1px solid var(--grey-200);
  }
  .neu-nav.offen ul { display: flex; }
  .neu-nav ul li { border-top: 1px solid var(--grey-100); }
  .neu-nav ul li:first-child { border-top: 0; }
  .neu-nav ul li.neu-nav-termin { display: none; }
  .neu-nav ul a { display: flex; align-items: center; min-height: 48px; padding: 0 1rem; font-size: .95rem; color: var(--almost-black); }
  .neu-nav ul a:hover, .neu-nav ul a[aria-current='page'] { color: var(--almost-black); background: var(--grey-50); }
  .neu-nav ul li.neu-nav-sprache { padding: 0 .5rem 0 1rem; min-height: 48px; justify-content: space-between; }
  .neu-nav-sprache-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .8rem; color: var(--grey-500); }
  .neu-sprachen { gap: 0; }
  .neu-sprachen a { min-width: 44px; min-height: 44px; padding: 0; justify-content: center; font-size: .8rem; color: var(--grey-600); }
  .neu-sprachen a[aria-current='true'] { color: var(--almost-black); background: var(--grey-100); }
  .neu-nav-mobil { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
  .neu-nav-termin-mobil {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; background: var(--white); color: var(--almost-black);
    border-radius: 8px; font-weight: 600; font-size: .875rem; text-decoration: none;
  }
  .neu-menu-knopf { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 8px; color: var(--white); cursor: pointer; }
  .neu-menu-knopf svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 520px) { .neu-nav-wrap { padding-inline: 16px; } }

/* Fuss: heller Grund (Grey 50), Logo Almost Black, vier Gruppen */
.neu-fuss { background: var(--grey-50); color: var(--grey-700); border-top: 1px solid var(--grey-100); padding: 3rem 0 2rem; font-size: .875rem; }
.neu-fuss-wrap { max-width: 1320px; margin-inline: auto; padding-inline: 24px; display: grid; gap: 2rem; }
@media (min-width: 640px) { .neu-fuss-wrap { padding-inline: 32px; } }
@media (min-width: 1024px) { .neu-fuss-wrap { padding-inline: 64px; } }
.neu-fuss-logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--almost-black); }
.neu-fuss-logo-svg { display: block; height: 24px; width: auto; max-width: none; }
.neu-fuss-adresse { margin: .75rem 0 0; color: var(--grey-600); }
.neu-fuss-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 1.5rem; }
.neu-fuss-titel { font-size: .875rem; font-weight: 700; color: var(--almost-black); margin: 0 0 .75rem; letter-spacing: normal; line-height: 1.4; }
.neu-fuss nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .125rem; }
.neu-fuss nav a { display: flex; align-items: center; width: 100%; min-height: 32px; text-decoration: none; color: var(--grey-700); font-weight: 500; }
.neu-fuss nav a:hover { color: var(--almost-black); text-decoration: underline; }
.neu-fuss a:focus-visible { outline: 2px solid var(--almost-black); outline-offset: 2px; border-radius: 4px; }
.neu-fuss-klein { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--grey-200); font-size: .75rem; color: var(--grey-500); }
@media (max-width: 700px) {
  .neu-fuss nav a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .neu-nav *, .neu-skip { transition: none !important; }
}
