/* ============================================================
   soord landing · Basis-Styles (alle Varianten)
   ============================================================ */

:root {
  /* ----------------------------------------------------------------
     soord-Markenwelt (Phase 1, 09.09.2026)

     Leitidee: "soord macht verborgene Dinge sichtbar." Deshalb zwei
     Gegenspieler statt einer Grauskala -- eine tiefe Markenflaeche, aus der
     das Produkt herausleuchtet, und ein warmer Amberton, der AUSSCHLIESSLICH
     Fundorte und Belege markiert. Amber ist damit ein Bedeutungstraeger, kein
     Dekor: Wo er auftaucht, geht es um "hier liegt es" oder "hier ist der
     Nachweis".

     Alle Paarungen sind gerechnet, nicht geschaetzt (WCAG-Kontrast):
       Haupttext auf heller Flaeche   16,8      Weiss auf Enzianblau      6,2
       Sekundaertext auf hell          7,2      Weiss auf Blau-Schwarz   18,7
       Enzianblau als Text auf Weiss   6,2      Amber auf Blau-Schwarz   10,2
       gedaempfter Text auf dunkel     9,2      Hellblau auf dunkel      16,6

     ⚠️ Enzianblau auf Blau-Schwarz erreicht nur 3,0 -- fuer Text zu wenig.
     Auf dunklem Grund gilt deshalb `--lp-blue-bright` (7,0).
     ---------------------------------------------------------------- */

  /* Marke */
  --lp-ink:         #0B1220;   /* tiefes Blau-Schwarz, grosse Markenflaechen */
  --lp-ink-soft:    #14203A;   /* abgesetzte Flaechen darauf */
  --lp-blue:        #075FBD;   /* Enzianblau -- die soord-Farbe */
  --lp-blue-hover:  #0A4E9B;
  --lp-blue-bright: #4DA3F5;   /* Enzianblau fuer DUNKLEN Grund */
  --lp-blue-light:  #E8F2FF;   /* ruhige blaue Flaeche */
  --lp-amber:       #FFB020;   /* nur Fundort, Beleg, wichtige Markierung */
  --lp-amber-soft:  #FFF3DC;

  /* Flaechen und Linien */
  --lp-bg:        #ffffff;
  --lp-bg-soft:   #F7F9FC;
  --lp-bg-tint:   #EDF2F9;
  --lp-surface:   #ffffff;
  --lp-border:    #DFE6F0;
  --lp-border-strong: #C3D0E2;

  /* Text */
  --lp-text:      #111827;
  --lp-text-muted:#4B5563;
  --lp-text-soft: #6B7280;
  --lp-on-ink:        #ffffff;
  --lp-on-ink-muted:  #A9B7CC;

  /* Rueckwaertskompatibel: die Entwuerfe A und B benutzen diese Namen. */
  --lp-primary:       var(--lp-blue);
  --lp-primary-hover: var(--lp-blue-hover);
  --lp-accent:        var(--lp-blue);
  --lp-accent-hover:  var(--lp-blue-hover);

  --lp-radius:    10px;
  --lp-radius-lg: 16px;
  --lp-radius-xl: 22px;
  --lp-shadow-sm: 0 1px 2px rgba(11,18,32,.06);
  --lp-shadow:    0 8px 30px rgba(11,18,32,.08);
  --lp-shadow-lg: 0 30px 70px rgba(11,18,32,.35);
  --lp-maxw:      1180px;
  --lp-maxw-narrow: 720px;
  --lp-gap:       clamp(16px, 2vw, 28px);
  --lp-section-y: clamp(56px, 8vw, 112px);

  /* Schrift: KEIN externer Dienst. Das Projekt bringt keine Markenschrift mit
     (nur Font Awesome als Icons), und einen Font-Anbieter einzubinden waere
     eine ungefragte Fremdverbindung. Genommen wird deshalb die beste
     Groteske, die das jeweilige System schon hat -- unter Windows die
     Variable-Fassung von Segoe UI, unter macOS/iOS San Francisco. */
  --lp-font: "Segoe UI Variable Display", "Segoe UI Variable Text",
             -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
             Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo,
                  Consolas, monospace;
}

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

html, body { margin: 0; padding: 0; }

body.landing {
  font-family: var(--lp-font);
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

.lp-container {
  max-width: var(--lp-maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}
.lp-container--narrow { max-width: var(--lp-maxw-narrow); }

.lp-center { text-align: center; }

/* ============================================================
   Typografie
   ============================================================ */
.lp-h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 20px;
  text-wrap: balance;
}

.lp-h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

.lp-lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--lp-text-muted);
  max-width: 46rem;
  margin: 0 0 28px;
}

.lp-para { color: var(--lp-text-muted); font-size: 17px; }

.lp-rule {
  border: 0;
  border-top: 1px solid var(--lp-border);
  margin: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 44 px ist die Untergrenze fuer ein Touch-Ziel -- deshalb ist das hier
     die KLEINE Groesse und nicht 42. */
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--lp-radius);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.lp-btn--lg { min-height: 52px; padding: 0 26px; font-size: 17px; }

.lp-btn--primary {
  background: var(--lp-blue);
  color: #fff;
}
.lp-btn--primary:hover { background: var(--lp-blue-hover); }

.lp-btn--ghost {
  background: transparent;
  color: var(--lp-text);
  border-color: var(--lp-border-strong);
}
.lp-btn--ghost:hover { background: var(--lp-bg-tint); }

/* Auf dunklem Grund: heller Rahmen statt heller Flaeche -- eine zweite
   Vollflaeche neben dem Primaerknopf nimmt diesem die Fuehrung. */
.lp-btn--onink {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.lp-btn--onink:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.55); }

.lp-link {
  font-weight: 600;
  color: var(--lp-text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.lp-link--muted { color: var(--lp-text-soft); border-bottom-color: transparent; }
.lp-link--muted:hover { color: var(--lp-text); }
.lp-link--arrow::after { content: ""; }

/* ============================================================
   Fokus, Bewegung, Sprungmarke
   ============================================================ */
/* `:focus-visible` statt `:focus`: Der Rahmen erscheint bei Tastatur-
   bedienung, nicht bei jedem Mausklick. */
:focus-visible {
  outline: 3px solid var(--lp-blue);
  outline-offset: 2px;
  border-radius: 6px;
}
.lp-on-ink :focus-visible,
.lp-hero :focus-visible { outline-color: var(--lp-blue-bright); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.lp-skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--lp-text);
  padding: 12px 18px;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

/* Nur fuer Screenreader -- sichtbar, sobald das Element den Fokus bekommt. */
.lp-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Nav  (Phase 1 neu, 09.09.2026)
   ============================================================ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Weich hinterlegt statt durchsichtig: Beim Scrollen ueber die dunkle
     Heroflaeche muss die Leiste lesbar bleiben. */
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-nav__inner {
  max-width: var(--lp-maxw);
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

/* --- Wortmarke ---
   Klein geschrieben, das `d` in Enzianblau, das ® dezent hochgestellt.
   KEIN Punkt und kein Symbol dahinter -- damit `soord` nicht als `sooro`
   gelesen werden kann. */
.lp-nav__brand {
  display: inline-flex;
  align-items: flex-start;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1;
  padding: 6px 2px;
}
.lp-brand__d { color: var(--lp-blue); }
.lp-brand__tm {
  font-size: .42em;
  line-height: 1;
  margin-left: 3px;
  transform: translateY(.15em);
  color: var(--lp-text-soft);
  font-weight: 600;
}
.lp-on-ink .lp-brand__d,
.lp-nav__panel .lp-brand__d { color: var(--lp-blue-bright); }

.lp-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 16px;
  color: var(--lp-text-muted);
}
.lp-nav__links a {
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
}
.lp-nav__links a:hover { color: var(--lp-text); border-bottom-color: var(--lp-blue); }

.lp-nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-nav__login { font-weight: 600; padding: 12px 8px; color: var(--lp-text); }
.lp-nav__login:hover { color: var(--lp-blue); }

/* --- Menueknopf (nur mobil sichtbar) --- */
.lp-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--lp-border-strong);
  border-radius: var(--lp-radius);
  cursor: pointer;
  color: var(--lp-text);
}
.lp-nav__burger, .lp-nav__burger::before, .lp-nav__burger::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.lp-nav__burger::before, .lp-nav__burger::after { content: ""; position: absolute; }
.lp-nav__burger::before { transform: translateY(-6px); }
.lp-nav__burger::after  { transform: translateY(6px); }
.lp-nav__toggle[aria-expanded="true"] .lp-nav__burger { background: transparent; }
.lp-nav__toggle[aria-expanded="true"] .lp-nav__burger::before { transform: rotate(45deg); }
.lp-nav__toggle[aria-expanded="true"] .lp-nav__burger::after  { transform: rotate(-45deg); }

/* --- Mobiles Menue --- */
.lp-nav__panel { display: none; }

@media (max-width: 900px) {
  .lp-nav__links { display: none; }
  .lp-nav__toggle { display: inline-flex; }
  /* Der Primaerknopf bleibt IMMER sichtbar -- auch ohne JavaScript ist die
     wichtigste Aktion damit erreichbar. */
  .lp-nav__login { display: none; }

  .lp-nav__panel {
    display: block;
    border-top: 1px solid var(--lp-border);
    background: rgba(255,255,255,.98);
  }
  .lp-nav__panel[hidden] { display: none; }
  .lp-nav__panel ul {
    list-style: none;
    margin: 0;
    padding: 8px clamp(16px, 3vw, 32px) 18px;
    display: grid;
    gap: 2px;
  }
  .lp-nav__panel a {
    display: block;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid var(--lp-border);
  }
  .lp-nav__panel li:last-child a { border-bottom: 0; }
}

@media (min-width: 901px) {
  /* Ueber der Umbruchbreite gibt es kein Menue -- der Knopf waere dort ein
     Bedienelement ohne Funktion und wird deshalb auch nicht vorgelesen. */
  .lp-nav__panel { display: none !important; }
}

/* ============================================================
   Footer  (neu 09.09.2026)
   ============================================================ */
.lp-footer {
  background: var(--lp-ink);
  color: var(--lp-on-ink-muted);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}
.lp-footer__inner {
  max-width: var(--lp-maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .lp-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.lp-footer__mark {
  display: inline-flex;
  align-items: flex-start;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  line-height: 1;
}
.lp-footer__tagline { margin: 12px 0 0; font-size: 15px; max-width: 30ch; }

.lp-footer__nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.lp-footer__nav a { padding: 6px 0; }
.lp-footer__nav a:hover { color: #fff; }

.lp-footer__meta {
  max-width: var(--lp-maxw);
  margin: 36px auto 0;
  padding: 22px clamp(16px, 3vw, 32px) 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 14px;
}
.lp-footer__meta p { margin: 0; }

/* ============================================================
   Hero · allgemein
   ============================================================ */
.lp-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.lp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
