/* BR.os Startseite (br-os.at). Hell, Weiß/Rot, Handy zuerst. Keine externen Schriften oder Skripte (CSP). */
:root {
  --rot: #D91E2A; --rot-dunkel: #B3121D; --rot-hell: #FDECEE; --text: #111827; --leise: #4B5563; --rand: #E5E7EB; --weiss: #fff;
  --grund: #FFF7F7; --schatten: 0 10px 30px rgba(17, 24, 39, .08); --radius: 16px; --breite: 1180px;
  --schrift: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; font-family: var(--schrift); color: var(--text); background: #fff; line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-dunkel); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.rot { color: var(--rot); }
.leise { color: var(--leise); }
.wrap { width: min(var(--breite), 100% - 32px); margin-inline: auto; }
.klein { font-size: .9rem; }
.fokus-sichtbar:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; border-radius: 8px; }
.sprung { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.sprung:focus { left: 8px; top: 8px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(229, 231, 235, .7); }
.kopf .wrap { width: min(1360px, 100% - 32px); display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.menue { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.menue a { display: block; padding: 8px 12px; text-decoration: none; color: var(--text); font-size: .95rem; border-radius: 999px; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--rot-dunkel); background: var(--rot-hell); }
.kopf-aktion { display: flex; align-items: center; gap: 10px; }
.anmelden-link { font-size: .92rem; color: var(--text); text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.anmelden-link:hover { color: var(--rot-dunkel); text-decoration: underline; }
.menue-knopf { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--rand); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { display: block; width: 20px; height: 2px; background: var(--text); content: ""; position: relative; }
.menue-knopf span::before { position: absolute; top: -6px; }
.menue-knopf span::after { position: absolute; top: 6px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--rot); background: var(--rot); color: #fff; font: 600 .95rem var(--schrift); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); transform: translateY(-1px); }
.btn.hell { background: #fff; color: var(--rot-dunkel); }
.btn.hell:hover { background: var(--rot-hell); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.gross { padding: 14px 24px; font-size: 1.05rem; }
.cta-karte { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; text-decoration: none; border: 2px solid var(--rot); background: var(--rot); color: #fff; min-width: 0; flex: 1 1 220px; transition: transform .15s, box-shadow .15s; }
.cta-karte:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(217, 30, 42, .25); }
.cta-karte svg { width: 38px; height: 38px; flex: none; }
.cta-karte b { display: block; font-size: 1.1rem; }
.cta-karte small { display: block; opacity: .9; font-size: .82rem; }
.cta-karte.hell { background: #fff; color: var(--rot-dunkel); }
.cta-karte.hell:hover { box-shadow: 0 12px 24px rgba(17, 24, 39, .12); }

/* Held */
.held { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 0%, #ffd9d4 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fff4f3, #fff); }
.held::before { content: ""; position: absolute; inset: 0; background: url(/img/skyline.webp) right bottom / min(900px, 90%) no-repeat; opacity: .13; pointer-events: none; }
.held .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; padding: 54px 0 56px; align-items: center; }
.held h1 { font-size: clamp(1.9rem, 3.3vw, 2.9rem); }
.eyebrow { color: var(--rot); font-weight: 700; letter-spacing: .14em; font-size: .78rem; text-transform: uppercase; margin-bottom: 18px; }
.held p.lead { font-size: 1.08rem; max-width: 34em; color: #1f2937; }
.held-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.haken { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 26px; justify-content: start; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: #1f2937; }
.haken li { display: flex; align-items: center; gap: 8px; }
.haken svg { width: 18px; height: 18px; color: var(--rot); flex: none; }
.held-bild { position: relative; min-height: 360px; }
.laptop { border-radius: 14px 14px 4px 4px; background: #111; padding: 9px 9px 12px; box-shadow: 0 30px 60px rgba(17, 24, 39, .28); width: 100%; }
.laptop img { border-radius: 6px; width: 100%; }
.laptop-fuss { height: 12px; margin: 0 -4%; background: linear-gradient(#d8dbe0, #b9bec6); border-radius: 0 0 14px 14px; box-shadow: 0 8px 14px rgba(0, 0, 0, .18); }
.handy { position: absolute; right: -10px; bottom: -22px; width: 27%; min-width: 120px; border-radius: 22px; background: #111; padding: 6px; box-shadow: 0 24px 44px rgba(17, 24, 39, .35); }
.handy img { border-radius: 17px; width: 100%; }

/* Vertrauensleiste */
.vertrauen { background: #fff; border-bottom: 1px solid var(--rand); }
.vertrauen ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0 auto; padding: 0; width: min(var(--breite), 100% - 32px); }
.vertrauen li { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-right: 1px solid var(--rand); }
.vertrauen li:last-child { border-right: 0; }
.vertrauen svg { width: 40px; height: 40px; color: var(--rot); flex: none; }
.vertrauen b { display: block; font-size: .95rem; }
.vertrauen span { font-size: .84rem; color: var(--leise); display: block; line-height: 1.35; }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt.grund { background: var(--grund); }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.abschnitt-kopf p { max-width: 34em; margin: 0; color: var(--leise); }
.raster3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.raster4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 12px; }
.karte h3 { display: flex; gap: 12px; align-items: center; margin: 0; }
.nummer { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--rot); color: #fff; display: grid; place-items: center; font-weight: 700; }
.karte .unter { color: var(--leise); font-weight: 400; font-size: .92rem; display: block; }
.karte .text { color: var(--leise); font-size: .93rem; margin: 0; }
.mini { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 12px; font-size: .84rem; display: grid; gap: 8px; min-height: 150px; align-content: start; }
.mini .zeile { display: flex; gap: 10px; align-items: flex-start; }
.mini .zeile svg { width: 20px; height: 20px; flex: none; color: var(--rot); margin-top: 1px; }
.mini .warn { background: var(--rot-hell); border-radius: 8px; padding: 8px 10px; }
.mini .ok { color: #166534; }
.mini .gelb { color: #b45309; }
.mini .chip { display: inline-block; border: 1px solid var(--rand); border-radius: 6px; padding: 2px 8px; font-size: .75rem; color: var(--leise); }
.mini .blase { background: #E8F0FE; border-radius: 12px; padding: 8px 10px; justify-self: end; max-width: 85%; }
.mini .balken { height: 8px; border-radius: 99px; background: var(--rand); overflow: hidden; }
.mini .balken i { display: block; height: 100%; width: 40%; background: #14b8a6; }
.mini .gantt { display: grid; gap: 5px; }
.mini .gantt i { display: block; height: 8px; border-radius: 99px; background: #5eead4; }
.mini .gantt i:nth-child(2) { background: #fca5a5; margin-left: 20%; width: 60%; }
.mini .gantt i:nth-child(3) { background: #86efac; margin-left: 45%; width: 40%; }
.karte .btn { align-self: flex-start; padding: 8px 16px; font-size: .88rem; }
.kacheln { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.kachel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 8px; background: #fff; border: 1px solid var(--rand); border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .85rem; transition: box-shadow .15s, transform .15s; }
.kachel:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.kachel svg { width: 28px; height: 28px; color: var(--rot); }
.kachel small { font-weight: 400; color: var(--leise); font-size: .74rem; line-height: 1.25; }
.mehr { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px; box-shadow: var(--schatten); }
.mehr .abschnitt-kopf { margin-bottom: 14px; }
.mehr h2 { font-size: 1.25rem; margin: 0; }

/* Schlussband */
.band { position: relative; color: #fff; text-align: center; padding: 56px 16px; background: linear-gradient(180deg, rgba(190, 18, 30, .92), rgba(217, 30, 42, .9)), url(/img/skyline.webp) center bottom / cover; overflow: hidden; }
.band h2 { color: #fff; }
.band p { opacity: .95; }
.band .btn { background: #fff; color: var(--rot-dunkel); border-color: #fff; }
.band .btn:hover { background: var(--rot-hell); }
.band .notiz { font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive; font-size: 1.1rem; margin-top: 14px; transform: rotate(-3deg); display: inline-block; }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; }
.zahl { display: flex; gap: 14px; align-items: center; }
.zahl svg { width: 44px; height: 44px; color: var(--rot); flex: none; }
.zahl b { font-size: 1.9rem; line-height: 1; display: block; }
.zahl span { font-size: .85rem; color: var(--leise); }

/* Fuß */
.fuss { border-top: 1px solid var(--rand); padding: 30px 0 22px; background: #fff; }
.fuss .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.fuss .logo img { height: 36px; }
.fuss .logo small { display: block; font-style: italic; font-size: .72rem; color: var(--leise); }
.fuss nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .92rem; }
.fuss nav a { color: var(--text); text-decoration: none; }
.fuss nav a:hover { color: var(--rot-dunkel); text-decoration: underline; }
.fuss .rechts { display: flex; gap: 10px; flex-wrap: wrap; }
.fuss .klein-zeile { width: 100%; font-size: .8rem; color: var(--leise); display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--rand); padding-top: 14px; }
.fuss .klein-zeile a { color: var(--leise); }

/* Unterseiten */
.seitenkopf { background: linear-gradient(180deg, #fff1f0, #fff); border-bottom: 1px solid var(--rand); padding: 46px 0 36px; }
.seitenkopf p { max-width: 40em; color: #1f2937; font-size: 1.08rem; margin: 0; }
.inhalt { padding: 42px 0 64px; }
.inhalt h2 { margin-top: 1.6em; font-size: 1.6rem; }
.inhalt h2:first-child { margin-top: 0; }
.modul { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--schatten); scroll-margin-top: 90px; }
.modul h3 { display: flex; gap: 10px; align-items: center; }
.modul h3 svg { width: 24px; height: 24px; color: var(--rot); }
.modul ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--leise); font-size: .95rem; }
.modul li { margin: 4px 0; }
.schritte { counter-reset: s; display: grid; gap: 16px; padding: 0; list-style: none; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--schatten); }
.schritte li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--rot); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }
.schritte h3 { margin: 0 0 4px; }
.schritte p { margin: 0; color: var(--leise); }
.hinweis { border-left: 4px solid var(--rot); background: var(--rot-hell); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 22px 0; }
.platzhalter { border: 2px dashed #f3b4b8; background: #fff8f8; border-radius: var(--radius); padding: 22px; color: var(--leise); }
.faq details { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--rot); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--leise); }
.cta-zeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Handy */
.menue a { white-space: nowrap; }
.kopf .btn { padding: 9px 16px; font-size: .9rem; }
@media (max-width: 1240px) {
  .menue-knopf { display: flex; }
  .kopf .wrap { flex-wrap: wrap; }
  .menue, .kopf-aktion { display: none; width: 100%; }
  .kopf.offen .menue { display: flex; flex-direction: column; margin: 0; padding-bottom: 4px; }
  .kopf.offen .kopf-aktion { display: flex; flex-wrap: wrap; padding-bottom: 14px; }
  .menue a { padding: 12px 10px; font-size: 1.05rem; }
}
@media (max-width: 1000px) {
  .held .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .held-bild { max-width: 620px; margin: 10px auto 24px; min-height: 0; }
  .handy { right: -6px; bottom: -16px; }
  .vertrauen ul { grid-template-columns: repeat(2, 1fr); }
  .vertrauen li:nth-child(2) { border-right: 0; }
  .vertrauen li:nth-child(-n+2) { border-bottom: 1px solid var(--rand); }
  .raster3, .raster4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; justify-content: center; }
  .btn.gross { padding: 12px 18px; font-size: 1rem; }
  .cta-zeile .btn, .band .btn { width: 100%; max-width: 420px; }
  .abschnitt-kopf .btn { width: 100%; }
  .laptop, .laptop-fuss { display: none; }
  .held-bild { max-width: none; margin: 4px 0 24px; }
  .handy { position: relative; right: auto; bottom: auto; width: min(300px, 78%); margin: 0 auto; border-radius: 30px; padding: 8px; }
  .handy img { border-radius: 23px; }
  .abschnitt { padding: 44px 0; }
  .raster2, .raster3, .raster4 { grid-template-columns: 1fr; }
  .haken { grid-template-columns: 1fr; }
  .held-cta .cta-karte { flex-basis: 100%; }
  .vertrauen ul { grid-template-columns: 1fr; }
  .vertrauen li { border-right: 0; border-bottom: 1px solid var(--rand); padding: 14px 6px; }
  .vertrauen li:last-child { border-bottom: 0; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abschnitt-kopf { align-items: start; }
  .abschnitt-kopf .btn { width: 100%; justify-content: center; }
  .schritte li { grid-template-columns: 1fr; }
  .fuss .wrap { flex-direction: column; align-items: flex-start; }
  .fuss .rechts { width: 100%; }
  .fuss .rechts .btn { flex: 1; justify-content: center; padding-inline: 12px; }
  .kopf .wrap { min-height: 60px; }
  .logo img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
