/* ==========================================================
   ODD · odd-design.eu · odd.css · v1.4 · 20.08.2026
   CI: Weiss/Schwarz. Koralle tief #c4491c als Textakzent auf Weiss
   (Claim, kursive Woerter, Labels, Nummern), Koralle hell #ff8559 auf Schwarz.
   Koralle als Flaeche (Header + Hero) liegt als Variablen-Satz bereit, siehe CHANGELOG.
   Echtes Logo als Mask, Noto Sans (Variable, selbst gehostet) fuer alles.
   Schalter: alle Farben und Schriften unten als Variablen.
   Verlauf: siehe CHANGELOG.md im Download (nicht im Repo).
   ========================================================== */

@font-face {
  font-family: 'Noto Sans V';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/noto-sans-latin-wght-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Noto Sans V';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/noto-sans-latin-wght-italic.woff2) format('woff2-variations');
}

:root {
  /* Farben. Koi-Palette = diese Werte tauschen, sonst nichts. */
  --bg: #ffffff;
  --bg-soft: #f4f4f5;
  --ink: #000000;
  --mute: #525252;
  --mute-on-dark: #a3a3a3;
  --line: #d4d4d8;
  --line-dark: #2a2a2a;
  --accent: #c4491c;          /* Koralle tief: Textakzent auf Weiss (4,9:1) */
  --accent-bright: #ff8559;   /* Koralle: Akzent auf Schwarz (6,8:1) */

  /* Flaechen. Hero und Kontakt koennen eine eigene Farbe tragen. */
  --hero-bg: #ffffff;          /* Flaechen-Variante Koralle: #ff8559 */
  --hero-ink: #000000;
  --hero-accent: var(--accent); /* Claim-Zeile im Hero. Flaechen-Variante: #000000 */
  --header-bg: rgba(255,255,255,0.95);  /* Flaechen-Variante: rgba(255,133,89,0.95) */
  --header-line: var(--line);           /* Flaechen-Variante: rgba(0,0,0,0.14) */
  --dark-bg: #000000;
  --dark-ink: #ffffff;

  /* Schriften. Entscheidung 20.08.: Noto Sans fuer alles (Titel 800, Text 400, Akzentzeilen kursiv 300). */
  --font-display: 'Noto Sans V', system-ui, sans-serif;
  --font-body: 'Noto Sans V', system-ui, sans-serif;

  --wrap: 80rem;
  --gutter: 1.25rem;
}
@media (min-width: 48rem) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--mute);
}
.on-dark .eyebrow { color: var(--mute-on-dark); }
.eyebrow.accent { color: var(--accent); }
.on-dark .eyebrow.accent { color: var(--accent-bright); }
.it {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.on-dark .it { color: var(--accent-bright); }
.lead { font-size: 1.25rem; line-height: 1.55; }
@media (min-width: 48rem) { .lead { font-size: 1.4rem; } }
.small { font-size: 0.95rem; color: var(--mute); }
.on-dark .small { color: var(--mute-on-dark); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .section { padding: 7.5rem 0; } }
.section.soft { background: var(--bg-soft); }
.section.on-dark { background: var(--dark-bg); color: var(--dark-ink); border-top-color: var(--dark-bg); }
.section-head { max-width: 46rem; }
.section-head h2 { margin-top: 1rem; font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) {
  .split { grid-template-columns: 4fr 1fr 7fr; }
  .split > :first-child { grid-column: 1; }
  .split > :last-child { grid-column: 3; }
}
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Logo ---------- */
.brand {
  display: block;
  aspect-ratio: 1171.85 / 482.89;
  background-color: currentColor;
  -webkit-mask: url(odd-logo.svg) no-repeat center / contain;
          mask: url(odd-logo.svg) no-repeat center / contain;
}
.logo .brand { width: 4.6rem; }
.hero .brand { width: clamp(14rem, 52vw, 40rem); margin-top: 1.5rem; }
.contact-mark .brand { width: clamp(10rem, 36vw, 26rem); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: inline-flex; align-items: flex-end; gap: 0.5rem; text-decoration: none; color: var(--ink); }
.logo .display { font-size: 1.5rem; line-height: 1; }
.site-nav { display: none; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; color: var(--ink); transition: color .15s; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; }
.site-nav .sep { color: var(--mute); }
.site-nav a.quiet { color: var(--mute); }
.site-nav a.quiet:hover { color: var(--ink); }
@media (min-width: 60rem) { .site-nav { display: flex; } }
.nav-cta { text-decoration: none; border: 1px solid var(--ink); color: var(--ink); padding: 0.45rem 0.8rem; }
@media (min-width: 60rem) { .nav-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.on-dark .btn { border-color: #fff; color: #fff; }
.on-dark .btn:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 0.15rem; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 5rem; background: var(--hero-bg); color: var(--hero-ink); }
@media (min-width: 48rem) { .hero { padding: 6rem 0 8rem; } }
.hero .eyebrow { color: inherit; opacity: 0.7; }
.hero .it { color: var(--hero-accent); }
.hero .btn { border-color: currentColor; color: inherit; }
.hero .btn:hover { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero-bg); }
.hero .btn.primary { background: var(--hero-ink); color: var(--hero-bg); border-color: var(--hero-ink); }
.hero .btn.primary:hover { background: #fff; border-color: var(--hero-ink); color: var(--hero-ink); }
.hero :focus-visible { outline-color: var(--hero-ink); }
.hero h1 { margin-top: 3rem; font-size: clamp(2rem, 5.6vw, 4.5rem); max-width: 56rem; }
@media (min-width: 48rem) { .hero h1 { margin-top: 4rem; } }
.hero .lead { margin-top: 2rem; max-width: 38rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-media { margin: 4rem calc(-1 * var(--gutter)) 0; }
@media (min-width: 48rem) { .hero-media { margin-left: 0; margin-right: 0; } }
.hero-media:not(.has-media) { display: none; }
.hero-media img, .hero-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 47.99rem) { .hero-media img, .hero-media video { aspect-ratio: 4 / 5; } }

/* ---------- Kacheln ---------- */
.tiles { margin-top: 3.5rem; display: grid; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--bg); display: flex; flex-direction: column; }
.tile-media { margin: 0; aspect-ratio: 4 / 5; background: var(--bg-soft); position: relative; overflow: hidden; }
.tile-media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.tile-media.has-media::before { display: none; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-ph { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; font-size: clamp(1.5rem, 2vw, 2.1rem); overflow-wrap: anywhere; }
.tile-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 48rem) { .tile-body { padding: 1.75rem 1.75rem 2rem; } }
.tile-body h3 { margin-top: 0.6rem; font-size: 1.5rem; }
.tile-body .fact { margin-top: 0.9rem; font-weight: 600; }
.tile-body .more { margin-top: 0.75rem; color: var(--mute); }
.tile-body .cta { margin-top: auto; padding-top: 1.5rem; }
.tile-body .cta .small { margin-top: 0.6rem; }

/* ---------- Haltung ---------- */
.trio { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .trio { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }
.trio .num { display: block; font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; color: var(--accent); }
.trio h3 { margin-top: 1rem; font-size: 1.45rem; }
.trio p { margin-top: 0.75rem; }

/* ---------- Team ---------- */
.people { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .people { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.person-media { margin: 0 0 1.25rem; max-width: 22rem; aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.person-media:not(.has-media) { display: none; }
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.7rem; }
.person .eyebrow { display: block; margin-top: 0.35rem; }
.person p { margin-top: 0.75rem; max-width: 30rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.2rem 2.5rem 1.2rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1.05rem;
  font-size: 1.5rem; line-height: 1; color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 1.4rem; max-width: 46rem; }

/* ---------- Kontakt ---------- */
.contact-mark { margin-top: 1.5rem; }
.contact-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-grid a.display { display: block; margin-top: 0.75rem; font-size: clamp(1.35rem, 3vw, 1.9rem); color: inherit; text-decoration: none; word-break: break-all; }
.contact-grid a.display:hover { color: var(--accent-bright); }
.contact-grid p { margin-top: 0.75rem; font-size: 1.1rem; }
.site-footer { border-top: 1px solid rgba(255,255,255,0.15); background: var(--dark-bg); color: var(--dark-ink); }
.site-footer .wrap { opacity: 0.75; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-footer a { text-decoration: none; color: inherit; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .links { display: flex; gap: 1.5rem; }

/* ---------- Rechtliches ---------- */
.legal { padding: 4rem 0 6rem; }
.legal h1 { margin-top: 1rem; font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.legal h2 { margin-top: 3rem; font-size: 1.5rem; }
.legal p { margin-top: 1rem; max-width: 46rem; line-height: 1.7; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
