/* ==========================================================================
   arianuschriesner.at – Impact & Tales e.U.
   Nachbau der früheren Sitejet-Seite in schlichtem HTML + CSS.

   Farben und Schrift an EINER Stelle ändern: die Variablen gleich unten.
   ========================================================================== */

/* ---------- Schrift: Poppins, liegt selbst auf dem Server (kein Google) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(fonts/poppins-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(fonts/poppins-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Farben & Maße ---------- */
:root {
  --navy: #23273d;        /* dunkelblau: Hintergrund dunkler Abschnitte, Text auf hell */
  --sky: #7ac2ea;         /* hellblau: Hintergrund heller Abschnitte, Text auf dunkel */
  --max: 1280px;          /* maximale Inhaltsbreite */
  --pad-x: 24px;          /* Abstand links/rechts */
  --section-y: 176px;     /* Abstand oben/unten bei großen Abschnitten (Handy: 80px) */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--sky);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 24px; }               /* Leerzeile zwischen Absätzen (wie im Original) */
a { color: inherit; }
strong { font-weight: 700; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 10; background: var(--navy); color: var(--sky); padding: 8px 12px; }

/* ---------- Abschnitte ---------- */
.section { padding: var(--section-y) var(--pad-x); }
.section > .wrap, .wrap { max-width: var(--max); margin: 0 auto; }
.is-dark  { background: var(--navy); color: var(--sky); }
.is-light { background: var(--sky);  color: var(--navy); }

.section-title { font-size: 48px; line-height: 1.2; font-weight: 700; text-align: center; margin-bottom: 24px; }
.section-lead  { text-align: center; margin-top: 0; }

/* ---------- Kopf: großes Impact-&-Tales-Banner ---------- */
.site-header { background: var(--navy); padding: 0; }
.site-header a { display: block; }
.site-header img { display: block; margin: 0 auto; width: 100%; max-width: 1600px; height: auto; }

/* ---------- Zwei Spalten (Intro, Workshop, Geschichte) ---------- */
.columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 100px; align-items: center; }

/* Intro "Hi, ich bin Ari" */
.intro { padding: 64px var(--pad-x) 176px; }
.intro h1 { font-size: 32px; line-height: 1.2; font-weight: 700; margin-bottom: 0; }
.intro .intro-text { margin-top: 16px; }
.intro .intro-text p + p { margin-top: 0; }
.intro .intro-text .button { margin-top: 16px; }
.intro .actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.photo-frame { box-shadow: -24px -24px 0 0 var(--navy); width: 316px; }

/* ---------- Knöpfe ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 48px; padding: 12px 16px;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: opacity .2s;
}
.button:hover { opacity: .85; }
.button--dark    { background: var(--navy); color: var(--sky); box-shadow: 2px 2px 4px 0 var(--navy); }
.button--light   { background: var(--sky);  color: var(--navy); }
.button--outline { background: var(--sky);  color: var(--navy); border: 5px solid var(--navy); min-height: 58px; }
.button-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 24px; }

/* Social-Icons */
.social { display: flex; gap: 16px; }
.social a { display: inline-flex; align-items: center; justify-content: center; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social--boxed a { width: 48px; height: 48px; background: var(--navy); color: var(--sky); box-shadow: 2px 2px 4px 0 var(--navy); }
.social--boxed svg { width: 20px; height: 20px; }
.social--plain { justify-content: center; gap: 48px; }
.social--plain a { color: var(--sky); width: 24px; height: 24px; }

/* ---------- Medienhexe: drei helle Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.card { background: var(--sky); color: var(--navy); padding: 16px; }
.card-icon { width: 177px; margin: 0 auto; }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 700; text-align: center; margin: 16px 0 20px; }
.card p + p { margin-top: 24px; }
.card audio { width: 100%; height: 44px; margin-top: 24px; background: var(--navy); color-scheme: dark; border-radius: 0; }

/* Eigener Audio-Player: eckig, dunkelblau mit hellblauen Elementen (Skript: assets/player.js) */
.player { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 8px 16px 8px 8px; min-height: 48px;
  background: var(--navy); color: var(--sky); border-radius: 0; box-shadow: 2px 2px 4px 0 var(--navy); }
.player-btn { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  background: var(--sky); color: var(--navy); display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s; }
.player-btn:hover { opacity: .85; }
.player-btn svg { width: 16px; height: 16px; fill: currentColor; }
.player-btn:focus-visible, .player-bar:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.player-time { flex: none; font-size: 13px; font-weight: 400; letter-spacing: .5px; font-variant-numeric: tabular-nums; }

.player-bar { --p: 0%; flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; border-radius: 0; }
.player-bar::-webkit-slider-runnable-track { height: 6px; border: 1px solid var(--sky); border-radius: 0;
  background: linear-gradient(to right, var(--sky) var(--p), transparent var(--p)); }
.player-bar::-moz-range-track { height: 6px; border: 1px solid var(--sky); border-radius: 0;
  background: linear-gradient(to right, var(--sky) var(--p), transparent var(--p)); }
.player-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 20px; margin-top: -8px;
  background: var(--sky); border: 0; border-radius: 0; }
.player-bar::-moz-range-thumb { width: 10px; height: 20px; background: var(--sky); border: 0; border-radius: 0; }

@media (max-width: 480px) {
  .player { gap: 10px; padding-right: 10px; }
  .player-time { font-size: 12px; }
}

/* ---------- Formate: drei dunkle Bildkarten ---------- */
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.format-card { background: var(--navy); color: var(--sky); }
.format-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.format-card .body { padding: 32px 24px 32px; }
.format-card h3 { font-size: 32px; line-height: 1.2; font-weight: 700; text-align: center; }
.format-card h3 + p { margin-top: 20px; }
.format-card p + p { margin-top: 24px; }

/* Formate und Workshop sind beide hell und stehen direkt untereinander: Abstand dazwischen halbiert */
#formate { padding-bottom: calc(var(--section-y) / 2); }
.workshop { padding-top: calc(var(--section-y) / 2); }

/* ---------- Workshop ---------- */
.workshop .columns { margin-top: 0; align-items: center; }
.workshop .workshop-img { width: 405px; }
.workshop h3 { font-size: 30px; line-height: 1.3; font-weight: 700; text-align: center; margin-top: 12px; }
.workshop .text h3 + p { margin-top: 24px; }

/* ---------- Meine Geschichte ---------- */
.story .columns { align-items: start; margin-top: 24px; }
.story .story-img { width: 405px; }
.story .button { margin-top: 24px; }
.story .sources { margin-top: 32px; font-size: 14px; }
.story .sources p + p { margin-top: 12px; }
.story .sources .sources-title:not(:first-child) { margin-top: 40px; }
.story .sources a { color: var(--sky); font-weight: 700; text-decoration: underline; }

/* ---------- Impact & Tales Team ---------- */
.team .columns { align-items: start; margin-top: 24px; }
.team .team-img { width: 405px; }
.team h3 { font-size: 30px; line-height: 1.3; font-weight: 700; }
.team .role { font-weight: 700; margin-top: 8px; }
.team .text p + p { margin-top: 16px; }
.team .button { margin-top: 24px; }

/* ---------- Partner ---------- */
.team { padding-bottom: calc(var(--section-y) / 2); }
.partner { padding-top: calc(var(--section-y) / 2); }
.partner .logos { display: grid; grid-template-columns: repeat(5, minmax(0, 208px)); gap: 40px; justify-content: center; margin-top: 48px; }
.partner .logo-tile { display: block; aspect-ratio: 1 / 1; background: var(--navy); }
.partner .logo-tile:hover { opacity: .85; }
.partner .logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { padding: 64px var(--pad-x) 176px; }
.legal h1 { font-size: 64px; line-height: 1.2; font-weight: 700; color: var(--navy); margin-bottom: 64px; }
.legal h2 { font-size: 32px; line-height: 1.2; font-weight: 700; margin: 48px 0 24px; }
.legal p { font-size: 16px; }
.legal p + p { margin-top: 16px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy); color: var(--sky); text-align: center; padding: 100px var(--pad-x) 120px; }
.site-footer img { width: 580px; margin: 0 auto; }
.site-footer .claim { max-width: 470px; margin: 32px auto 40px; }
.site-footer .copy { margin-top: 40px; font-size: 14px; }
.site-footer .legal-links { font-size: 14px; text-transform: uppercase; margin-top: 0; }
.site-footer .legal-links a { text-decoration: none; }
.site-footer .legal-links a:hover { text-decoration: underline; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .columns { column-gap: 48px; }
  .cards, .format-cards { gap: 24px; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  :root { --section-y: 80px; }
  .section-title { font-size: 40px; }
  .columns { grid-template-columns: 1fr; row-gap: 48px; }
  .intro { padding: 72px var(--pad-x) 80px; }
  .intro .photo-col { order: -1; display: flex; justify-content: center; }   /* Foto über dem Text */
  .cards, .format-cards { grid-template-columns: 1fr; }
  .workshop .workshop-img, .story .story-img, .team .team-img { width: 100%; max-width: 405px; margin: 0 auto; }
  .workshop h3 { font-size: 24px; line-height: 1.4; }
  .partner .logos { grid-template-columns: minmax(0, 240px); gap: 32px; }
  .legal h1 { font-size: 40px; }
  .site-footer { padding: 64px var(--pad-x) 80px; }
}
