@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}

:root {
  --bg: #f4f7f9;
  --bg-tief: #eaf0f4;
  --ink: #173247;
  --ink-schwach: #52677a;
  --akzent: #0c7d72;
  --akzent-rein: #11a999;
  --linie: #cfdae3;
  --raster: rgba(23, 50, 71, 0.055);
  --karte: rgba(255, 255, 255, 0.72);
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f2233;
    --bg-tief: #0b1a28;
    --ink: #e9f1f6;
    --ink-schwach: #93a9ba;
    --akzent: #2ec4b2;
    --akzent-rein: #11a999;
    --linie: rgba(233, 241, 246, 0.14);
    --raster: rgba(233, 241, 246, 0.05);
    --karte: rgba(233, 241, 246, 0.04);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Das angeschnittene Delta darf die Seitenbreite nicht sprengen */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  /* Hairline-Raster wie auf einer technischen Zeichnung */
  background-image:
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px;
  background-position: center top;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

.huelle {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

/* ---------- Kopf ---------- */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: linear-gradient(180deg, var(--bg) 60%, transparent);
}
.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.marke img { display: block; height: 30px; width: auto; }
.marke .logo-dunkel { display: none; }
@media (prefers-color-scheme: dark) {
  .marke .logo-hell { display: none; }
  .marke .logo-dunkel { display: block; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-schwach);
  white-space: nowrap;
}
.punkt {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--akzent-rein);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent-rein) 22%, transparent);
}

/* ---------- Held ---------- */
main { flex: 1 0 auto; position: relative; }

.held { position: relative; padding: clamp(3.5rem, 11vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem); }

/* Delta als Messmarke, angeschnitten */
.delta {
  position: absolute;
  top: clamp(1rem, 4vh, 3rem);
  right: clamp(-5rem, -6vw, -2rem);
  width: clamp(240px, 38vw, 470px);
  color: var(--akzent-rein);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
@media (prefers-color-scheme: dark) { .delta { opacity: 0.16; } }
.delta svg { display: block; width: 100%; height: auto; }
/* Auf schmalen Schirmen tritt die Messmarke hinter den Text zurück */
@media (max-width: 720px) {
  .delta { width: 200px; right: -3.25rem; top: 0.25rem; opacity: 0.09; }
}

.held > *:not(.delta) { position: relative; z-index: 1; }

.augenbraue {
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.augenbraue::after {
  content: '';
  flex: 0 1 88px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7.4vw, 5rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.033em;
  max-width: 15ch;
}
h1 .zeile2 { color: var(--ink-schwach); display: block; }

.lead {
  margin: 1.8rem 0 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-schwach);
}
.lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Merkmale ---------- */
.merkmale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: clamp(2rem, 5vh, 3rem) 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
@media (max-width: 720px) {
  .merkmale { grid-template-columns: 1fr; gap: 1.75rem; }
}
.merkmal h2 {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.nr { color: var(--akzent); font-weight: 400; }
.merkmal p { margin: 0; font-size: 0.94rem; color: var(--ink-schwach); }

/* ---------- Ausblick / Kontakt ---------- */
.ausblick {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2.25rem, 5vh, 3.25rem) 0 clamp(3rem, 7vh, 4.5rem);
}
@media (max-width: 720px) {
  .ausblick { grid-template-columns: 1fr; gap: 1.75rem; }
}
.ausblick h2 {
  margin: 0 0 0.7rem;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ausblick p { margin: 0; color: var(--ink-schwach); font-size: 0.97rem; max-width: 52ch; }

.kontakt {
  border: 1px solid var(--linie);
  border-left: 2px solid var(--akzent-rein);
  background: var(--karte);
  border-radius: 3px;
  padding: 1.25rem 1.35rem;
}
.kontakt .label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-schwach);
  display: block;
  margin-bottom: 0.5rem;
}
.kontakt a {
  color: var(--akzent);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.02rem;
  border-bottom: 1px solid color-mix(in srgb, var(--akzent) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color 0.18s ease, color 0.18s ease;
  word-break: break-word;
}
.kontakt a:hover, .kontakt a:focus-visible { border-bottom-color: currentColor; }
.kontakt a:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Fuss ---------- */
.fuss {
  flex-shrink: 0;
  border-top: 1px solid var(--linie);
  background: var(--bg-tief);
  font-size: 0.83rem;
  color: var(--ink-schwach);
}
.fuss .huelle { padding-top: 2rem; padding-bottom: 2.25rem; }
.fuss p { margin: 0 0 0.5rem; }
.fuss a { color: var(--akzent); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
/* Steht neu als erstes Element im Fuss, daher ohne obere Trennlinie */
.hinweis {
  margin: 0;
  font-size: 0.79rem;
  max-width: 76ch;
}

/* ---------- Auftritt ---------- */
@media (prefers-reduced-motion: no-preference) {
  .auf {
    opacity: 0;
    transform: translateY(14px);
    animation: auf 0.68s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .v1 { animation-delay: 0.05s; }
  .v2 { animation-delay: 0.14s; }
  .v3 { animation-delay: 0.23s; }
  .v4 { animation-delay: 0.32s; }
  .v5 { animation-delay: 0.41s; }
  .delta { animation: deltaauf 1.5s ease-out 0.2s backwards; }
  @keyframes auf { to { opacity: 1; transform: none; } }
  @keyframes deltaauf { from { opacity: 0; transform: translateY(24px); } }
}

/* ---------- Fusszeilen-Links (alle Seiten) ---------- */
.fuss-links {
margin-top: 1.35rem;
padding-top: 1.15rem;
border-top: 1px solid var(--linie);
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem 1rem;
font-size: 0.82rem;
}
.fuss-links a { color: var(--akzent); text-decoration: none; }
.fuss-links a:hover { text-decoration: underline; }
.fuss-links .trenner { color: var(--linie-stark, var(--ink-schwach)); opacity: 0.6; }
.fuss-links .betreiber { color: var(--ink-schwach); }
.fuss-links .produkt { margin-left: auto; color: var(--ink-schwach); }
@media (max-width: 720px) { .fuss-links .produkt { margin-left: 0; } }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.rechtsseite { padding: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(2.5rem, 6vh, 4rem); max-width: 74ch; }
.rechtsseite h1 {
font-size: clamp(1.9rem, 4.2vw, 2.7rem);
font-weight: 600;
line-height: 1.08;
letter-spacing: -0.022em;
margin: 0 0 0.55rem;
max-width: none;
}
.rechtsseite .stand {
font-family: var(--mono);
font-size: 0.72rem;
letter-spacing: 0.13em;
text-transform: uppercase;
color: var(--ink-schwach);
margin: 0 0 2.25rem;
}
.rechtsseite h2 {
font-size: 1.06rem;
font-weight: 600;
letter-spacing: -0.005em;
margin: 2.1rem 0 0.5rem;
padding-top: 1.1rem;
border-top: 1px solid var(--linie);
}
.rechtsseite h2:first-of-type { margin-top: 0; }
.rechtsseite p { margin: 0 0 0.85rem; color: var(--ink-schwach); }
.rechtsseite p.betont { color: var(--ink); }
.rechtsseite a { color: var(--akzent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--akzent) 35%, transparent); }
.rechtsseite a:hover { border-bottom-color: currentColor; }
.rechtsseite ul { margin: 0 0 0.9rem; padding-left: 1.15rem; color: var(--ink-schwach); }
.rechtsseite li { margin-bottom: 0.35rem; }
.rechtsseite li::marker { color: var(--akzent); }
.rechtsseite .kasten {
border: 1px solid var(--linie);
border-left: 2px solid var(--akzent-rein);
background: var(--karte);
border-radius: 3px;
padding: 1rem 1.2rem;
margin: 1.5rem 0 0;
font-size: 0.93rem;
}
.rechtsseite .kasten p:last-child { margin-bottom: 0; }
.zurueck {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--mono);
font-size: 0.72rem;
letter-spacing: 0.13em;
text-transform: uppercase;
color: var(--ink-schwach);
text-decoration: none;
margin-bottom: 2rem;
}
.zurueck:hover { color: var(--akzent); }

/* Marke wird auf Unterseiten als Link verwendet */
.marke { display: inline-flex; align-items: center; text-decoration: none; }
