/* Self-hosted, the same variable files the app ships (@fontsource-variable, SIL OFL 1.1). Weight axis only. */
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/archivo.woff2") format("woff2-variations"),url("/assets/fonts/archivo.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:200 900;font-display:swap;src:url("/assets/fonts/source-sans-3.woff2") format("woff2-variations"),url("/assets/fonts/source-sans-3.woff2") format("woff2")}

/* Values from entwurf/DESIGN.md, set once here. */
:root{
  --nacht:#081a2c;--navy:#0d375c;--orange:#ff6900;--auf-orange:#2b1400;--orange-text:#b34a00;--orange-hell:#ffb27a;
  --weiss:#fff;--gedaempft:#dbe4ec;--hell:#f6f8fa;--text-hell:#33506b;--linie-hell:#c9d3dc;--linie-dunkel:#3d6a92;
  --feldrand:#6f8296;--ziffer:#7d8fa1;
  --schrift-titel:"Archivo",Arial,sans-serif;--schrift-text:"Source Sans 3","Segoe UI",Arial,sans-serif;
  --h1:clamp(39px,5.8vw,96px);--h2:clamp(28px,1.4vw + 22px,44px);--h3:clamp(20px,.45vw + 18.2px,24px);
  --text:clamp(17px,.11vw + 16.5px,18px);--sub:clamp(16px,.34vw + 14.6px,19px);
  --rand:20px;--abschnitt:64px;--breit:1344px;--radius:3px;
}
@media (min-width:768px){:root{--rand:48px;--abschnitt:96px}}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--hell);color:var(--navy);font-family:var(--schrift-text);font-size:var(--text);line-height:1.5;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
a{color:var(--orange-text)}a:hover{color:var(--navy)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.dunkel :focus-visible,.kopf :focus-visible,.hero :focus-visible{outline-color:var(--orange)}
h1,h2,h3{font-family:var(--schrift-titel);font-weight:700;letter-spacing:-.02em;margin:0}
h2{font-size:var(--h2);line-height:1.1}
h3{font-size:var(--h3);line-height:1.2}
p{margin:0}
.dunkel{color:var(--weiss)}
.dunkel a{color:var(--weiss)}.dunkel a:hover{color:var(--orange-hell)}
.dunkel p{color:var(--gedaempft)}
.innen{max-width:var(--breit);margin:0 auto;padding:var(--abschnitt) var(--rand)}
.knopf{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 30px;border:0;border-radius:var(--radius);background:var(--orange);color:var(--auf-orange);font:inherit;font-weight:700;font-size:18px;text-decoration:none;cursor:pointer}
.knopf:hover{color:var(--auf-orange);background:#ff7a1f}
.dunkel .knopf{color:var(--auf-orange)}

/* Header, shared by every page */
.kopf{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:14px var(--rand);min-height:76px;color:var(--weiss)}
.kopf a{color:var(--weiss);text-decoration:none}.kopf a:hover{color:var(--orange-hell)}
.marke{display:flex;align-items:center;gap:12px}
.marke img{width:44px;height:auto}
.marke span{font-family:var(--schrift-titel);font-weight:700;font-size:24px;letter-spacing:-.01em}
.kopf nav{display:flex;gap:22px 36px;font-size:16px;font-weight:600;flex-wrap:wrap}
.sprache{display:flex;gap:14px;font-size:15px;font-weight:700}
.sprache [aria-current]{text-decoration:underline;text-underline-offset:4px}
.sprache a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.kopf-flaeche{background:var(--nacht)}
@media (max-width:767px){
  .marke img{width:36px}.marke span{font-size:21px}
  .kopf nav{order:3;width:100%;gap:22px;font-size:15px}
  .sprache{font-size:14px}
  .kopf nav a,.marke,.fuss nav a,.hero-unten .mail{display:inline-flex;align-items:center;min-height:44px}
  .kopf nav{gap:0 22px}
}

/* Hero */
.hero{position:relative;overflow:hidden;background:var(--nacht);color:var(--weiss);height:clamp(640px,100svh,1000px)}
@media (max-width:767px){.hero{height:auto;min-height:max(100svh,700px)}}
.hero picture,.hero-bild{position:absolute;inset:0;width:100%;height:100%}
.hero-bild{object-fit:cover;object-position:50% 40%}
.hero .kopf{position:relative;z-index:1}
.hero-oben{text-align:center;padding:14px var(--rand) 0}
.hero h1{position:relative;font-size:var(--h1);line-height:.95;text-transform:uppercase}
.hero-sub{font-size:var(--sub);line-height:1.4;color:var(--gedaempft);max-width:440px;text-align:left;position:absolute;left:var(--rand);bottom:116px}
.hero-unten{position:absolute;left:var(--rand);right:var(--rand);bottom:44px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.hero-unten .mail{padding-bottom:16px;color:var(--gedaempft)}
@media (max-width:767px){
  .hero-oben{padding-top:24px}
  .hero h1{max-width:360px;margin:0 auto;line-height:.98}
  .hero-sub{position:relative;left:auto;bottom:auto;text-align:center;margin:12px auto 0;max-width:360px}
  .hero-unten{bottom:22px;flex-direction:column;align-items:stretch;text-align:center}
  .hero-unten .mail{padding:2px 0}
}

/* Section: lesson flow with the one interaction */
.ablauf .innen{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}
.ablauf-text{display:flex;flex-direction:column;gap:28px}
.schritte{display:flex;flex-direction:column;border-bottom:1px solid var(--linie-hell)}
.schritt{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;width:100%;padding:18px 20px 18px 0;border:0;border-top:1px solid var(--linie-hell);background:none;text-align:left;font:inherit;color:var(--navy);cursor:pointer}
.schritt .nr{font-family:var(--schrift-titel);font-weight:700;font-size:24px;line-height:1.2;color:var(--ziffer)}
.schritt .titel{display:block;font-family:var(--schrift-titel);font-weight:700;font-size:var(--h3);line-height:1.2;letter-spacing:-.02em;color:var(--text-hell)}
.schritt .erkl{display:block;margin-top:6px;color:var(--text-hell)}
.schritt[aria-pressed="true"] .nr{color:var(--orange-text)}
.schritt[aria-pressed="true"] .titel,.schritt:hover .titel{color:var(--navy)}
.hinweis{font-size:15px;color:var(--text-hell)}
.buehne{position:relative;aspect-ratio:16/10;background:var(--nacht)}
.buehne img{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .18s ease-out}
.buehne img.an{opacity:1}
@media (prefers-reduced-motion:reduce){.buehne img{transition:none}}
.ablauf-status{margin-top:10px;font-size:15px;color:var(--text-hell)}
@media (max-width:899px){
  .ablauf .innen{grid-template-columns:1fr;gap:28px}
  .ablauf-text{display:contents}
  .ablauf h2{order:1}.ablauf-bild{order:2}.schritte{order:3}.hinweis{order:4}
  .schritt{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:16px 0}
  .schritt .nr{font-size:20px}
}

/* Section: quick actions */
.schnell{background:var(--nacht)}
.schnell .innen{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"bild text";gap:64px;align-items:center}
.schnell-bild{grid-area:bild}
.schnell-text{grid-area:text;display:flex;flex-direction:column;gap:28px}
.liste{display:flex;flex-direction:column;border-bottom:1px solid var(--linie-dunkel)}
.liste>div{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-top:1px solid var(--linie-dunkel)}
@media (max-width:899px){
  .schnell .innen{display:flex;flex-direction:column;gap:28px}
  .schnell-text{display:contents}
  .schnell h2{order:1}.schnell-bild{order:2}.liste{order:3}
}

/* Section: school IT */
.schul-it .innen{display:flex;flex-direction:column;gap:48px}
.it-raster{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:48px;align-items:start}
.it-spalte{display:flex;flex-direction:column;gap:32px}
.it-spalte>div{display:flex;flex-direction:column;gap:8px}
@media (max-width:1099px){.it-raster{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.it-raster>img{grid-column:1 / -1}}
@media (max-width:767px){.it-raster{grid-template-columns:1fr;gap:28px}.it-spalte{gap:28px}}

/* Section: requirements and data protection */
.voraus{background:var(--navy)}
.voraus .innen{display:flex;flex-direction:column;gap:64px}
.voraus-block{display:flex;flex-direction:column;gap:36px}
.vier{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.vier>*{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--linie-dunkel);padding-top:20px}
@media (max-width:1099px){.vier{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.voraus .innen{gap:48px}.voraus-block{gap:24px}.vier{grid-template-columns:1fr;gap:24px}}

/* Section: demo request */
.demo .innen{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px}
.demo-text{display:flex;flex-direction:column;gap:20px}
.formular{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 24px;align-content:start}
.formular label{display:flex;flex-direction:column;gap:6px;font-size:16px;font-weight:600}
.formular .zustimmung{flex-direction:row;align-items:flex-start;gap:0;font-weight:400;font-size:15px;line-height:1.4}
.formular .zustimmung input{appearance:none;-webkit-appearance:none;flex-shrink:0;width:44px;height:44px;margin:-11px 0 -11px -11px;cursor:pointer;
  background:linear-gradient(var(--weiss),var(--weiss)) center/18px 18px no-repeat,linear-gradient(var(--feldrand),var(--feldrand)) center/22px 22px no-repeat}
.formular .zustimmung input:checked{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect width='22' height='22' rx='3' fill='%230d375c'/%3E%3Cpath d='M5 11.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3C/svg%3E") center/22px 22px no-repeat}
.formular .zustimmung input:focus-visible{outline-offset:-8px}
.formular .breit{grid-column:1 / -1}
.formular input[type=text],.formular input[type=email],.formular textarea{min-height:48px;border:1px solid var(--feldrand);border-radius:var(--radius);background:var(--weiss);padding:0 14px;font:inherit;font-weight:400;font-size:17px;color:var(--navy)}
.formular textarea{min-height:120px;padding-top:12px;resize:vertical}
.formular .knopf{justify-self:start}
.formular-status{font-size:16px}
.formular [aria-invalid="true"]{border-color:var(--orange-text);border-width:2px}
.ziel{display:none;font-weight:600}.ziel:target{display:block}
.falle{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media (max-width:899px){.demo .innen{grid-template-columns:1fr;gap:28px}.formular{grid-template-columns:1fr}.formular .knopf{justify-self:stretch}}

/* Footer */
.fuss{background:var(--nacht);color:var(--gedaempft);font-size:15px}
.fuss .innen{padding-top:56px;padding-bottom:56px;display:flex;flex-direction:column;gap:40px}
.fuss-zeile{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.fuss a{color:var(--weiss)}.fuss a:hover{color:var(--orange-hell)}
.fuss .marke{color:var(--weiss);text-decoration:none}
.fuss .marke span{font-size:22px}
.fuss nav{display:flex;gap:0 28px;font-size:16px;flex-wrap:wrap}
@media (max-width:767px){.fuss .innen{padding-top:40px;padding-bottom:40px;gap:20px}.fuss-zeile{flex-direction:column;align-items:flex-start}}

/* Legal pages, main taken from entwurf/phase-6-unterseiten */
.recht{max-width:856px;padding:80px var(--rand) 96px;display:flex;flex-direction:column;gap:32px}
.recht .t,.recht>h1{font-family:var(--schrift-titel);font-weight:700;font-size:var(--h2);line-height:1.1;letter-spacing:-.02em;margin:0}
.recht .b{display:flex;flex-direction:column;gap:10px;padding-top:24px;border-top:1px solid var(--linie-hell)}
.recht .h3{font-size:var(--h3)}
.recht .ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:4px}
.recht .gap{padding:10px 14px;background:#fff3e8;border:1px dashed var(--orange-text);font-size:16px}
@media (max-width:767px){.recht{padding:48px var(--rand) 64px;gap:24px}}

.recht p:has(a[href^="tel:"]){line-height:2}

/* Image zoom, pairs with image-zoom.js. Fixed colours: the view is always dark. */
.image-zoom-target{cursor:zoom-in}
.image-zoom-target:focus-visible{outline:3px solid currentColor;outline-offset:4px}
html.image-zoom-open{overflow:hidden}
.image-zoom{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;display:none;align-items:center;justify-content:center;overscroll-behavior:contain}
.image-zoom[open]{display:flex}
.image-zoom::backdrop{background:rgba(6,9,14,.96)}
.image-zoom img{display:block;max-width:calc(100vw - 32px);max-height:calc(100dvh - 112px);width:auto;height:auto;object-fit:contain;border-radius:4px;cursor:default}
.image-zoom-close{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:48px;height:48px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.16);cursor:pointer}
.image-zoom-close::before,.image-zoom-close::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:2px;border-radius:1px;background:#fff;transform:translate(-50%,-50%) rotate(45deg)}
.image-zoom-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.image-zoom-close:hover{background:rgba(255,255,255,.28)}
.image-zoom-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media (prefers-reduced-motion:no-preference){
.image-zoom[open] img{animation:image-zoom-in .26s cubic-bezier(.23,1,.32,1)}
.image-zoom[open]::backdrop{animation:image-zoom-fade .2s ease-out}
}
@keyframes image-zoom-in{from{opacity:0;transform:scale(.96)}}
@keyframes image-zoom-fade{from{opacity:0}}
