/* ==========================================================================
   LSV Steiermark – SiP-Anmeldung
   Farben, Schriften und Formen nach dem LSV-Branding:
   Tannengrün, Signalgrün, Weiß, Anthrazit · Archivo Expanded nur für
   Headlines (Versalien), Nunito Sans für alles andere · keine Verläufe,
   Schatten, Rundungen oder Icons · eine linke Satzkante.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  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: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  font-stretch: 75% 125%;
  src: url("fonts/nunito-sans-latin-ext-standard-normal.woff2") format("woff2-variations");
  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: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  font-stretch: 75% 125%;
  src: url("fonts/nunito-sans-latin-standard-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --tanne: #0A3D2E;      /* Tannengrün – Fläche, Headlines */
  --tief: #06271D;       /* primary-deep – Fläche wie das Cover des Markenhandbuchs */
  --panther: #29453C;    /* Panther: Weiß 14 % auf primary-deep, deckend gemischt (Cover) */
  --signal: #028546;     /* Signalgrün – Aktion, Linie, Fortschritt */
  --soft: #12513C;       /* primary-soft (abgeleitet) */
  --anthrazit: #292929;  /* Fließtext */
  --grau: rgba(41,41,41,.74);   /* Anthrazit gedimmt für Hinweise, kein eigener Farbton */
  --linie: #7E8783;      /* Feldrahmen: 3,7:1 auf Weiß (WCAG 1.4.11) */
  --linie-hell: rgba(41,41,41,.16);  /* line-dark */
  --nebel: #F4F2ED;      /* paper – helle Dokumentflächen */
  --weiss: #FFFFFF;
  --fehler: #B8301F;     /* Korrekturrot laut Handbuch */
  --fehler-flaeche: #FBEEEB;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --feld: 54px;
  --fokus-farbe: var(--tanne);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.web { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; color: var(--anthrazit); background: var(--weiss); -webkit-font-smoothing: antialiased; }
.web a { color: var(--tanne); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.web a:hover { text-decoration-thickness: 2.5px; }
.web :focus-visible { outline: 2px solid var(--tanne); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--tanne); color: var(--weiss) !important; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.eyebrow { margin: 0; font-family: var(--display); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.72); }

/* ------------------------------------------------ Startseite: Cover */
.cover { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; background: var(--tief); color: var(--weiss); }
.cover :focus-visible { outline-color: var(--weiss); }
.cover__panther {
  position: absolute; z-index: 0; top: -8%; left: 46%;
  height: 116%; aspect-ratio: 2796 / 3544; background: var(--panther);
  -webkit-mask: url("img/panther.svg") no-repeat center / contain; mask: url("img/panther.svg") no-repeat center / contain;
  pointer-events: none;
}
@media (min-width: 900px) { .cover__panther { left: 53%; top: -6%; height: 112%; } }
.cover__inner { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: clamp(24px, 6vh, 64px) clamp(22px, 7vw, 112px) clamp(20px, 4vh, 40px); }
.cover__top { display: flex; justify-content: space-between; gap: 16px; }
.cover__main { margin-top: auto; padding-top: 18vh; container-type: inline-size; }
.cover__title {
  margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  --fs: clamp(3.25rem, 11vw, 11rem);
  font-size: var(--fs); line-height: .86; letter-spacing: -0.03em; max-width: 8em;
  overflow-wrap: anywhere;   /* letzte Sicherung: lieber umbrechen als abschneiden */
}
/* Titel: so groß wie im Design, aber das längste Wort passt immer in die Spalte
   (--fit als Klasse fit-N von render.py, 100cqi = Breite von .cover__main) */
@supports (width: 1cqi) {
  .cover__title { font-size: clamp(1.25rem, 100cqi / var(--fit, 1), var(--fs)); max-width: max(8em, var(--fit, 0) * 1em); }
}
/* Umlaut oder Akzent ab dem 2. Wort: Bei Zeilenabstand .86 stoßen die Punkte sonst an die Zeile
   darüber (wie bei H2, die deshalb .94 hat). */
.cover__title.fit-akzent { line-height: .94; }
/* Stufen für .fit-N (vom Server, pretix_sip/titlefit.py): Breite des längsten Worts in em.
   Erzeugt mit „python3 pretix_sip/titlefit.py“ – nicht von Hand ändern. */
.fit-0{--fit:1.6} .fit-1{--fit:1.664} .fit-2{--fit:1.731} .fit-3{--fit:1.8} .fit-4{--fit:1.872} .fit-5{--fit:1.947}
.fit-6{--fit:2.025} .fit-7{--fit:2.105} .fit-8{--fit:2.19} .fit-9{--fit:2.277} .fit-10{--fit:2.368} .fit-11{--fit:2.463}
.fit-12{--fit:2.562} .fit-13{--fit:2.664} .fit-14{--fit:2.771} .fit-15{--fit:2.882} .fit-16{--fit:2.997} .fit-17{--fit:3.117}
.fit-18{--fit:3.241} .fit-19{--fit:3.371} .fit-20{--fit:3.506} .fit-21{--fit:3.646} .fit-22{--fit:3.792} .fit-23{--fit:3.944}
.fit-24{--fit:4.101} .fit-25{--fit:4.265} .fit-26{--fit:4.436} .fit-27{--fit:4.613} .fit-28{--fit:4.798} .fit-29{--fit:4.99}
.fit-30{--fit:5.189} .fit-31{--fit:5.397} .fit-32{--fit:5.613} .fit-33{--fit:5.837} .fit-34{--fit:6.071} .fit-35{--fit:6.314}
.fit-36{--fit:6.566} .fit-37{--fit:6.829} .fit-38{--fit:7.102} .fit-39{--fit:7.386} .fit-40{--fit:7.682} .fit-41{--fit:7.989}
.fit-42{--fit:8.308} .fit-43{--fit:8.641} .fit-44{--fit:8.986} .fit-45{--fit:9.346} .fit-46{--fit:9.72} .fit-47{--fit:10.109}
.fit-48{--fit:10.513} .fit-49{--fit:10.933} .fit-50{--fit:11.371} .fit-51{--fit:11.826} .fit-52{--fit:12.299} .fit-53{--fit:12.79}
.fit-54{--fit:13.302} .fit-55{--fit:13.834} .fit-56{--fit:14.388} .fit-57{--fit:14.963} .fit-58{--fit:15.562} .fit-59{--fit:16.184}
.fit-60{--fit:16.831} .fit-61{--fit:17.505} .fit-62{--fit:18.205} .fit-63{--fit:18.933} .fit-64{--fit:19.69} .fit-65{--fit:20.478}
.fit-66{--fit:21.297} .fit-67{--fit:22.149} .fit-68{--fit:23.035} .fit-69{--fit:23.956} .fit-70{--fit:24.915} .fit-71{--fit:25.911}
.fit-72{--fit:26.948}
/* Ende fit-Stufen */
.cover__facts { margin: clamp(22px, 3.5vh, 36px) 0 0; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 300; line-height: 1.5; }
.cover__facts strong { font-weight: 600; }
.cover__facts a { color: #fff; }
.nw { white-space: nowrap; }
.cover__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(26px, 4.5vh, 44px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px;
  font: inherit; font-size: 1.125rem; font-weight: 800; color: var(--weiss) !important; background: var(--signal);
  border: 0; border-radius: 0; text-decoration: none !important; transition: background-color .15s;
}
.btn:hover { background: var(--soft); }
.cover__note { margin: 0; font-size: .9375rem; color: rgba(255,255,255,.82); }
.cover__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  margin-top: clamp(32px, 6vh, 64px); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
}
.cover__mark img { display: block; width: clamp(76px, 7vw, 104px); height: auto; }
.cover__nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.cover__nav a { color: rgba(255,255,255,.78); text-decoration: none; }
.cover__nav a:hover { color: var(--weiss); text-decoration: underline; }

/* ------------------------------------------------ Startseite: Infos */
.info { padding: clamp(56px, 10vh, 112px) clamp(22px, 7vw, 112px) 40px; }
.info__grid { display: grid; gap: 44px; max-width: 1200px; }
@media (min-width: 900px) { .info__grid { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.info__item { border-top: 2px solid var(--signal); padding-top: 22px; }
.info__title { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 2vw, 2rem); line-height: 1.1; color: var(--tanne); }
.info__item p { margin: 0; max-width: 34em; }
.info__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(56px, 10vh, 96px); padding-top: 18px; border-top: 1px solid var(--linie-hell); font-size: .8125rem; color: var(--grau); }

/* ------------------------------------------------ Dokumentseiten */
.band { position: relative; overflow: hidden; background: var(--tief); color: var(--weiss); }
.band__panther {
  position: absolute; z-index: 0; top: -55%; left: 58%; height: 260%; aspect-ratio: 2796 / 3544; background: var(--panther);
  -webkit-mask: url("img/panther.svg") no-repeat center / contain; mask: url("img/panther.svg") no-repeat center / contain;
}
.band__inner { position: relative; z-index: 1; padding: 22px clamp(22px, 7vw, 112px) clamp(36px, 6vh, 64px); }
.band__back { display: inline-block; margin-bottom: clamp(36px, 7vh, 72px); color: rgba(255,255,255,.82) !important; font-size: .9375rem; font-weight: 600; }
.band__title { margin: 14px 0 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 7vw, 6rem); line-height: .9; letter-spacing: -0.02em; hyphens: manual; }
.doc { max-width: 68ch; padding: clamp(36px, 7vh, 72px) clamp(22px, 7vw, 112px) 24px; box-sizing: content-box; }
.doc h2 { margin: 44px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; color: var(--tanne); }
.doc > h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding: 0; list-style: none; }
.doc li { position: relative; padding-left: 22px; margin: 0 0 10px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--signal); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .9375rem; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--linie-hell); }
.doc th { font-weight: 700; font-size: .8125rem; letter-spacing: .02em; border-bottom-color: var(--anthrazit); }
@media (max-width: 640px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { padding: 12px 0; border-bottom: 1px solid var(--linie-hell); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 700; color: var(--tanne); }
}
.doc .note { padding: 14px 18px; background: var(--nebel); font-size: .9375rem; }
.doc .basis { margin-top: -6px; font-size: .8125rem; line-height: 1.5; color: var(--grau); }
.doc .stand { margin-top: 44px; font-size: .8125rem; color: var(--grau); }
.doc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin: 48px clamp(22px, 7vw, 112px) 0; padding: 20px 0 36px; border-top: 1px solid var(--linie-hell); }
.doc__foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .8125rem; font-weight: 600; }
.doc__foot nav a { color: var(--grau); text-decoration: none; }
.doc__foot nav a:hover { color: var(--tanne); text-decoration: underline; }
.doc__foot img { display: block; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .cover__panther, .band__panther { display: none; } .band, .cover { background: none; color: #000; } }
