/* Athena -- nach "Athena - Styleguide v1.0": Papier und Schreibmaschine, nur der Cursor blinkt,
   Tinte statt Farbe, Akzent nur fuer Interaktion. Schriften lokal (OFL), keine externen Aufrufe. */
@font-face { font-family: 'Special Elite'; font-weight: 400; font-display: swap; src: url('fonts/special-elite-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 400; font-display: swap; src: url('fonts/courier-prime-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 700; font-display: swap; src: url('fonts/courier-prime-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/courier-prime-latin-400-italic.woff2') format('woff2'); }

:root {
  --athena-paper:      #F0EDE6;
  --athena-ink:        #1A1A18;
  --athena-ink-faded:  #4A4A44;
  --athena-ink-ghost:  #8A8A82;
  --athena-accent:     #C4391A;
  --athena-type:    'Courier Prime', 'Courier New', monospace;
  --athena-display: 'Special Elite', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; }
html, body { overflow-x: clip; }
body {
  font-family: var(--athena-type);
  color: var(--athena-ink);
  background: var(--athena-paper) url('bilder/papier.webp') repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
a { color: var(--athena-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--athena-accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--athena-accent); outline-offset: 3px; }
img, video { max-width: 100%; height: auto; display: block; }

/* ── Kopf ─────────────────────────────────────────────────── */
.kopf { background: rgba(26, 26, 24, 0.88); color: var(--athena-paper); position: sticky; top: 0; z-index: 10; }
.kopf-innen { max-width: 1040px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.kopf .marke { font-family: var(--athena-display); font-size: 1.25rem; color: var(--athena-paper); text-decoration: none; white-space: nowrap; }
.kopf .marke .cursor { border-color: var(--athena-paper); vertical-align: -0.12em; }
.menue { display: flex; align-items: center; gap: 4px 22px; list-style: none; flex-wrap: wrap; }
.menue a { color: var(--athena-paper); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.08em; }
.menue a:hover, .menue a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.menue-knopf { display: none; }

/* ── Typografie ───────────────────────────────────────────── */
h1, h2, h3, .anzeige { font-family: var(--athena-display); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); margin-bottom: 28px; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 40px 0 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
p { margin-bottom: 1em; max-width: 68ch; }
.etikett { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--athena-ink-ghost); margin-bottom: 14px; display: block; }
.leise { color: var(--athena-ink-faded); }
ul.liste { margin: 0 0 1em 1.2em; }
ul.liste li { margin-bottom: 4px; }
blockquote { border-left: 2px solid var(--athena-ink); padding: 4px 0 4px 18px; margin: 18px 0; font-style: italic; color: var(--athena-ink-faded); max-width: 68ch; }

/* Cursor -- einzige Animation (Styleguide: 1100 ms, step-end, Farbe fest) */
/* Oberkante auf Hoehe der Grossbuchstaben, unten etwas unter die Grundlinie verlaengert (Daniel 2026-10-25) */
.cursor { display: inline-block; width: 0.46em; height: 0.84em; margin-left: 0.08em; border: 0.075em solid #1A1A18; vertical-align: -0.085em; animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

/* ── Startseite ───────────────────────────────────────────── */
.held { text-align: center; padding: 40px 0 44px; border-bottom: 2px solid var(--athena-ink); margin-bottom: 44px; }
.held .etikett { margin-bottom: 18px; }
.wortmarke { font-family: var(--athena-display); font-size: clamp(3.6rem, 13vw, 7rem); line-height: 1; white-space: nowrap; }
.held .oberzeile { font-family: var(--athena-display); font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: 14px; }
.held .unterzeile { font-family: var(--athena-display); font-size: clamp(1.2rem, 3vw, 1.6rem); margin-top: 18px; }
.einleitung { font-size: 1.12rem; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.karte { border: 1px solid var(--athena-ink); border-radius: 2px; padding: 20px; background: rgba(240, 237, 230, 0.6); }
.karte p { margin-bottom: 0; font-size: 0.95rem; }
.weiter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.knopf { display: inline-block; font-family: var(--athena-type); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; padding: 10px 18px; border: 1px solid var(--athena-ink); border-radius: 2px; color: var(--athena-ink); }
.knopf:hover { background: var(--athena-ink); color: var(--athena-paper); }

/* ── Funktionen ───────────────────────────────────────────── */
.funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin-top: 36px; }
.funktion img { height: 110px; width: auto; margin: 0 auto 14px; }
.funktion h3 { text-align: center; }
.funktion p, .funktion li { font-size: 0.9rem; }

/* ── Team ─────────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 24px; margin-top: 32px; }
.person { border: 1px solid var(--athena-ink); border-radius: 2px; background: rgba(240, 237, 230, 0.7); }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person div { padding: 16px 18px 18px; }
.person h3 { margin-bottom: 8px; }
.person ul { font-size: 0.85rem; margin-left: 1.1em; }
.person .linkedin { display: inline-flex; margin-top: 12px; }
.person .linkedin svg { width: 22px; height: 22px; fill: var(--athena-ink); }
.person .linkedin:hover svg { fill: var(--athena-accent); }

/* ── Technik / Showcase ───────────────────────────────────── */
.abbildung { margin: 24px 0; border: 1px solid var(--athena-ink); border-radius: 2px; background: #fff; }
.powered { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 18px 0 28px; }
.powered img { height: 34px; width: auto; }
.video { max-width: 360px; margin: 24px auto; border: 1px solid var(--athena-ink); border-radius: 2px; background: #000; }

/* ── Inhaltsseiten ─────────────────────────────────────────── */
.zweispaltig { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: start; }
.zweispaltig img { width: 100%; }
.schritte { list-style: none; counter-reset: schritt; display: grid; gap: 14px; margin: 18px 0 28px; }
.schritte li { counter-increment: schritt; border-left: 2px solid var(--athena-ink); padding: 2px 0 2px 16px; }
.schritte li::before { content: counter(schritt) ". "; font-family: var(--athena-display); }
.etiketten { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; list-style: none; }
.etiketten li { font-size: 0.78rem; letter-spacing: 0.06em; border: 1px solid var(--athena-ink); border-radius: 2px; padding: 3px 10px; }
.kanaele { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 10px 0 24px; list-style: none; }
.karte a.mehr { display: inline-block; margin-top: 12px; font-size: 0.85rem; }
.karte img { height: 90px; width: auto; margin-bottom: 12px; }

/* Ablauf-Grafik (Technik) -- statt Bild, nach Styleguide: Linien, kaum Farbe */
.ablauf { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; margin: 18px 0 10px; }
.stufe { border: 1px solid var(--athena-ink); border-radius: 2px; padding: 14px; background: rgba(240, 237, 230, 0.7); }
.stufe .etikett { margin-bottom: 6px; font-size: 0.66rem; }
.stufe h3 { margin-bottom: 6px; }
.stufe p { font-size: 0.82rem; margin: 0; line-height: 1.45; }
.pfeil { align-self: center; font-family: var(--athena-display); font-size: 1.4rem; }
.ergebnisse { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 28px; padding-top: 10px; border-top: 1px dashed var(--athena-ink-ghost); }

/* ── Fuss ─────────────────────────────────────────────────── */
.fuss { border-top: 1px solid var(--athena-ink-ghost); padding: 22px 24px; font-size: 0.78rem; color: var(--athena-ink-faded); text-align: center; letter-spacing: 0.05em; }
.fuss a { color: inherit; }

/* ── Handy ────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .drei, .funktionen, .zweispaltig, .ergebnisse { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; }
  .pfeil { justify-self: center; transform: rotate(90deg); }
  .zweispaltig img { max-width: 220px; }
  .team { grid-template-columns: 1fr; }
  .menue-knopf { display: block; }
  .menue-knopf summary { list-style: none; color: var(--athena-paper); font-size: 0.85rem; letter-spacing: 0.12em; cursor: pointer; padding: 16px 0; }
  .menue-knopf summary::-webkit-details-marker { display: none; }
  .kopf-innen { flex-wrap: wrap; }
  .menue { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 4px 0 18px; }
  .menue-knopf[open] ~ .menue { display: flex; }
      main { padding: 36px 16px 60px; }
  .kopf-innen { padding: 0 16px; }
}
