/* outlander-lb.com – Neubau 2026-12 (Eitri nach Hnoss, Gestaltung Neubau 02.12.2026)
   Eine Datei, alle Werte als Tokens. Keine Schatten, keine Verlaeufe, keine Skripte. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #091e28;
  --olive: #595b4d;
  --sand: #cfcab4;
  --sand-light: #e3d7bc;
  --stone: #374243;
  --link: #05202d;
  --white: #ffffff;
  --line: #b7b19a;

  --bg: var(--sand);
  --panel: var(--sand-light);
  --ink: var(--navy);
  --ink-soft: var(--stone);

  --r-btn: 10px;
  --r-card: 14px;
  --r-pill: 20px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad-x: 24px;
  --sec-y: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; height: auto; }

h1, h2, h3 { font-weight: 600; margin: 0 0 12px; }
h1 { font-size: clamp(1.75rem, 4.5vw + .5rem, 2.75rem); line-height: 1.15; }
h2 { font-size: 1.5rem; line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 16px; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
}
.label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.small { font-size: .875rem; color: var(--ink-soft); }
.lesespalte { max-width: 68ch; }

/* Skip-Link */
.skip {
  position: absolute; left: 8px; top: -100px; z-index: 10;
  background: var(--white); color: var(--navy);
  padding: 12px 16px; border-radius: var(--r-btn); font-weight: 600;
}
.skip:focus { top: 8px; outline: 3px solid var(--navy); outline-offset: 2px; }

/* Kopf */
.kopf { background: var(--navy); color: var(--white); }
.kopf .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 12px; padding-bottom: 12px;
  padding-top: max(12px, env(safe-area-inset-top));
}
.logo { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.logo img { display: block; width: 160px; height: auto; }
.kopf a { color: var(--white); }
.kopf a:focus-visible, .kopf summary:focus-visible,
.fuss a:focus-visible, .hero a:focus-visible { outline-color: var(--sand-light); }

.nav-desk ul, .menue ul { list-style: none; margin: 0; padding: 0; }
.nav-desk ul { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-desk a, .menue a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 500; border-radius: var(--r-btn);
}
.nav-desk a[aria-current="page"], .menue a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.rechts { display: flex; align-items: center; gap: 8px; }

/* Sprachumschalter */
.sprache { display: flex; align-items: center; gap: 2px; font-weight: 600; }
.sprache a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--r-btn);
  text-decoration: none;
}
.sprache a[aria-current="true"] { background: var(--sand-light); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.sprache .trenn { opacity: .8; }

/* Handy-Menue ohne Skript (details/summary) */
.menue { display: none; width: 100%; }
.menue summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--white); border-radius: var(--r-btn); cursor: pointer; font-weight: 600;
  list-style: none;
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary::after { content: " +"; white-space: pre; }
.menue[open] summary::after { content: " \2212"; }
.menue ul { padding: 8px 0 4px; }
.menue li a { display: flex; width: 100%; }

@media (max-width: 759px) {
  .nav-desk { display: none; }
  .menue { display: block; order: 3; }
  .logo img { width: 140px; }
}

/* Inhalt */
main { display: block; }
.abschnitt { padding: var(--sec-y) 0; }
.hero { background: var(--olive); color: var(--white); padding: 56px 0; }
.hero p { max-width: 60ch; font-size: 1.125rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-hell { background: var(--sand-light); color: var(--navy); border-color: var(--sand-light); }
.btn-rand { background: transparent; color: var(--white); border-color: var(--white); }
.btn-dunkel { background: var(--navy); color: var(--white); border-color: var(--stone); }

.gitter { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gitter { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gitter-3 { grid-template-columns: repeat(3, 1fr); } }

.karte {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column;
}
.karte > :last-child { margin-bottom: 0; }
.karte .zusatz { color: var(--ink-soft); }
.app-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.app-kopf h2 { margin: 0; font-size: 1.375rem; }
.app-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.linkliste { list-style: none; padding: 0; margin: 8px 0 0; }
.linkliste li { margin: 0; }
.linkliste a { display: inline-flex; align-items: center; min-height: 44px; }
.badge { display: inline-block; line-height: 0; margin: 12px 0 0; padding: 0; border-radius: 8px; }
.badge img { display: block; height: 48px; width: auto; }
.badge-zeile { margin-top: auto; padding-top: 12px; }

.hinweis { background: var(--panel); border: 1px solid var(--olive); border-radius: var(--r-btn); padding: 16px; margin-top: 24px; }

/* Team */
.team { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 32px; }
.person {
  display: grid; grid-template-columns: 112px 1fr; gap: 12px 16px; align-items: start;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.person img {
  width: 112px; height: 140px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--r-card); display: block; background: var(--panel);
}
.person h2 { font-size: 1.25rem; margin: 0 0 4px; }
.person .rolle { color: var(--ink-soft); font-size: .875rem; margin: 0; }
.person .text { grid-column: 1 / -1; max-width: 68ch; }
@media (min-width: 600px) {
  .person { grid-template-columns: 200px 1fr; gap: 24px; }
  .person img { width: 200px; height: 250px; grid-row: 1 / span 2; }
  .person .text { grid-column: 2; }
}

/* Kontakt */
.kontakt dl { margin: 0; }
.kontakt dt { font-weight: 600; margin-top: 12px; }
.kontakt dt:first-child { margin-top: 0; }
.kontakt dd { margin: 0; }
.kontakt dd a { display: inline-flex; align-items: center; min-height: 44px; }
address { font-style: normal; }

/* Rechtstexte */
.recht h2 { margin-top: 32px; }
.recht h1 + p, .recht .stand { color: var(--ink-soft); }

/* Fuss */
.fuss { background: var(--stone); color: var(--white); padding: 24px 0; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.fuss a { color: var(--sand-light); }
.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.fuss li a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss .sprache a { color: var(--white); }
.fuss .sprache a[aria-current="true"] { color: var(--navy); }
.fuss .marke { flex-basis: 100%; font-size: .75rem; margin: 0; color: var(--white); }
.fuss .copy { margin: 0; font-size: .875rem; }

@media (max-width: 599px) {
  :root { --pad-x: 16px; --sec-y: 32px; }
  .hero { padding: 40px 0; }
  .knoepfe .btn { width: 100%; }
  .karte { padding: 16px; }
  .fuss .wrap { flex-direction: column; align-items: flex-start; }
}

@media (hover: hover) {
  .btn-dunkel:hover { background: var(--stone); }
  .btn-hell:hover { background: var(--white); }
  .nav-desk a:hover, .menue a:hover { text-decoration: underline; }
  a, .btn { transition: background-color .16s, color .16s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.nach-karten { margin-top: 24px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
@media (min-width: 600px) { .person { grid-template-rows: auto 1fr; } .person .text { margin-top: 0; } }

/* Runde 2 (Hnoss, Sif T2) */
.hinweiszeile { margin-top: 24px; }
.karte .mehr { margin-top: auto; margin-bottom: 0; }
.karte .mehr a { display: inline-flex; align-items: center; min-height: 44px; }

/* Banner (Alexander 02.12.2026: Canva-KI-Bilder C Start, B Ueber uns; Hnoss-Regel "kein Bild im Hero"
   fuer diesen Einbau gelockert). Bild = Schmuck hinter HTML-Text, Verlauf im Bild, Rueckfarbe Olive.
   Kennzeichnung "Bild KI-generiert" als HTML-Text am Bild (Forseti). */
.hero-bild {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(33.334vw, 640px);
  padding-bottom: 64px;
}
.hero-bild > .wrap { width: 100%; }
.banner-foto {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 0% 50%;
}
.ki-hinweis {
  position: absolute; bottom: 8px; right: max(8px, env(safe-area-inset-right));
  margin: 0; padding: 2px 8px; border-radius: 6px;
  font-size: .75rem; line-height: 1.4;
  background: var(--navy); color: var(--sand-light);
}
.team-nach-kopf { margin-top: 0; }
/* Lesbarkeit nur wo noetig (Messung 02.12.: Handy >= 10:1 ohne Flaeche, Desktop ohne Flaeche < 4,5):
   halbtransparente Navy-Flaeche nur direkt hinter dem Textblock; Deckkraft .62 haelt 4,5:1 auch auf reinem Weiss. */
@media (min-width: 600px) {
  .hero-text {
    width: fit-content; max-width: 40rem;
    padding: 24px; border-radius: var(--r-card);
    background: rgba(9, 30, 40, .62);
  }
  .hero-text > :last-child { margin-bottom: 0; }
  .hero-text .knoepfe { margin-top: 24px; }
}
@media (max-width: 599px) {
  .hero-bild { padding-bottom: 56px; }
}

/* Store-Abzeichen nebeneinander (HuntersMapp 2.0: Apple + Google Play, Alexander 02.12.2026).
   Google-PNG unveraendert; Anzeigehoehe so, dass das sichtbare Abzeichen >= 48 px (= Apple) ist.
   Freiraum zwischen den Abzeichen 12 px = ein Viertel der Abzeichenhoehe. */
.badge-zeile { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.badge img.badge-google-de { height: 63px; }
.badge img.badge-google-en { height: 72px; }
