/*
 * Glasfaser-Testzugang – Captive Portal
 * Corporate Design: Energie Steiermark Breitband (steiermark.e-breitband.at)
 *   Grün #82c828 · Text #333 · Flächen #f2f2f2 · Fuß #424242 · VAG Rounded Light/Bold
 * Alles lokal eingebunden: im Captive-Netz sind fremde Server nicht erreichbar.
 */

@font-face {
  font-family: "VAG Rounded";
  src: url("../fonts/vagrounded-light.woff") format("woff");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VAG Rounded";
  src: url("../fonts/vagrounded-bold.woff") format("woff");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #82c828;
  --green-deep: #437328;   /* Grün für kleine Schrift auf Weiß (Kontrast 5,6:1) */
  --green-mid: #559333;
  --green-wash: #e7f4df;
  --ink: #333333;
  --mid: #6b6b6b;
  --soft: #b4b4b4;
  --line: #e5e5e5;
  --mist: #f2f2f2;
  --foot: #424242;
  --red: #d22626;
  --red-wash: #fbeaea;
  --white: #ffffff;

  --r-card: 24px;
  --r-tile: 18px;
  --shadow-bar: 0 10px 18px rgba(0, 0, 0, .1);
  --shadow-deck: 0 18px 44px rgba(34, 52, 12, .16);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "VAG Rounded", "Arial Rounded MT Bold", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: .025em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; }
small { font-size: .82em; }
address { font-style: normal; }

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px dotted var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.muted { color: var(--mid); }
.num { font-variant-numeric: tabular-nums; }
.code, code {
  font-family: "VAG Rounded", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .09em;
  font-variant-numeric: tabular-nums;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--white); padding: .7em 1.2em; border-radius: 100px;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ Kopfleiste */
.demo-bar {
  background: var(--ink); color: var(--white);
  text-align: center; font-size: .82rem; padding: .35em 1em; letter-spacing: .06em;
}

.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  box-shadow: var(--shadow-bar);
}
.bar__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
}
/* Das Logo hängt wie auf e-breitband.at über die Leiste hinaus. */
.bar__logo {
  flex: none; display: block; align-self: flex-start; position: relative; z-index: 1;
  margin-left: -10px; padding: 10px 10px 9px;
  background: var(--white); border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 16px -8px rgba(0, 0, 0, .16);
}
.bar__logo img { height: 78px; width: auto; }
@media (min-width: 860px) { .bar__logo img { height: 92px; } }

.bar__nav { display: none; gap: clamp(18px, 2.6vw, 40px); }
.bar__nav a {
  color: var(--ink); text-decoration: none; text-transform: uppercase;
  letter-spacing: .16em; font-size: .88rem; padding: .6em 0;
  border-bottom: 4px solid transparent;
}
.bar__nav a:hover { color: var(--green-deep); border-bottom-color: var(--green); }

.bar__side { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang { display: flex; border: 1px solid var(--soft); border-radius: 100px; overflow: hidden; }
.lang a {
  padding: .32em .8em; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-decoration: none; color: var(--mid);
}
.lang a[aria-current] { background: var(--green); color: var(--white); }
.lang a:focus-visible { outline-offset: -3px; }

.bar__call {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--green-deep); text-decoration: none; font-weight: 700; white-space: nowrap;
}
.bar__call span { display: none; }
.bar__call .ico {
  width: 40px; height: 40px; padding: 9px; border-radius: 50%;
  background: var(--green); color: var(--white);
}

@media (min-width: 860px) {
  :root { --bar-h: 76px; }
  .bar__nav { display: flex; }
  .bar__call span { display: inline; }
  .bar__call .ico { width: 1.2em; height: 1.2em; padding: 0; background: none; color: var(--green-deep); }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; isolation: isolate;
  height: clamp(300px, 40vw, 500px);
  background: #d2d3d3;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;
}
.hero img { object-fit: cover; object-position: 50% 58%; }
.hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(20, 32, 6, .62) 0%, rgba(20, 32, 6, .28) 42%, rgba(20, 32, 6, 0) 70%);
}
.hero--expired img, .hero--blocked img { filter: saturate(.45); }

.hero__text {
  position: absolute; z-index: 2; left: 0; right: 0;
  bottom: clamp(92px, 12vw, 132px);
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
.hero__kicker {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  letter-spacing: .04em;
  margin-bottom: .15em;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 3.25rem);
  line-height: 1.16;
  letter-spacing: .02em;
  max-width: 17em;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ Status-Deck */
.deck { position: relative; z-index: 3; margin-top: clamp(-104px, -9vw, -68px); padding-bottom: clamp(40px, 6vw, 72px); }

.deck__grid { display: grid; gap: clamp(16px, 2.4vw, 28px); align-items: start; }
@media (min-width: 900px) {
  .deck__grid { grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); }
}
/* In den letzten Tagen steht die Restlaufzeit am Handy ganz oben. */
@media (max-width: 899px) { .deck__grid--warn .card--trial { order: -1; } }

.card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-deck);
  padding: clamp(20px, 3.2vw, 36px);
}
.card > * + * { margin-top: 1.1rem; }
.card__title {
  color: var(--green-mid);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: .04em;
}
.card h3 { font-size: 1rem; font-weight: 700; margin-top: 1.7rem; }

.flash {
  display: flex; align-items: flex-start; gap: .7em;
  border-radius: 18px; padding: .95em 1.2em; margin-bottom: 16px;
  background: var(--white); box-shadow: var(--shadow-deck);
  font-weight: 700;
}
.flash .ico { margin-top: .12em; }
.flash--success { background: var(--green-wash); color: #2f5a17; }
.flash--error { background: var(--red-wash); color: #96181a; }
.flash--info { background: var(--white); color: var(--ink); }
.flash--info .ico { color: var(--green); }

/* Tachometer */
.gauge { max-width: 400px; margin-inline: auto; text-align: center; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: #ececec; stroke-width: 18; stroke-linecap: round; }
.gauge__track--in { stroke-width: 9; }
.gauge__val {
  fill: none; stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1);
}
.gauge__val--down { stroke: var(--green); stroke-width: 18; }
.gauge__val--up { stroke: var(--green-deep); stroke-width: 9; }
.gauge__needle {
  transform-box: view-box; transform-origin: 160px 150px;
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.gauge__needle path { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; fill: none; }
.gauge__needle .gauge__needle-halo { stroke: var(--white); stroke-width: 13; }
.gauge__num { font-size: 58px; font-weight: 700; fill: var(--ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.gauge__unit { font-size: 15px; fill: var(--mid); letter-spacing: .08em; }
.gauge__end { font-size: 12px; fill: var(--mid); }
.gauge--idle .gauge__val { stroke: transparent; }
.gauge--idle .gauge__num { fill: var(--soft); }
.gauge--idle .gauge__needle path:not(.gauge__needle-halo) { stroke: var(--soft); }

.gauge__label { color: var(--mid); font-size: .92rem; margin-top: .2rem; }
.gauge__legend { display: flex; justify-content: center; gap: clamp(18px, 5vw, 44px); margin-top: .8rem; }
.gauge__key dt {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  color: var(--mid); font-size: .86rem;
}
.gauge__key dt::before { content: ""; width: 18px; height: 8px; border-radius: 8px; background: var(--green); }
.gauge__key--up dt::before { background: var(--green-deep); height: 5px; }
.gauge__key dd { font-size: 1.05rem; }
.gauge__key b { font-size: 1.4rem; font-variant-numeric: tabular-nums; }

/* Faktenliste */
.facts > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2em;
  padding: .72em 0; border-top: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mid); flex: 0 0 auto; max-width: 62%; -webkit-hyphens: auto; hyphens: auto; }
.facts dd { text-align: right; font-weight: 700; min-width: 0; }
.facts--box { background: var(--mist); border-radius: 16px; padding: .3em 1.1em; }
.facts--box > div:first-child { border-top: 0; }
.facts--box > div:last-child { border-bottom: 0; }
.facts--plain { margin-top: .4rem; font-size: .95rem; }
.facts--plain dd { font-weight: 400; }
.facts--plain .code { font-weight: 700; font-size: .9em; }

.dot {
  display: inline-block; width: .62em; height: .62em; border-radius: 50%;
  margin-right: .55em; vertical-align: .06em; background: var(--soft);
}
.dot--on { background: var(--green); box-shadow: 0 0 0 4px rgba(130, 200, 40, .22); }
.dot--off { background: var(--red); box-shadow: 0 0 0 4px rgba(210, 38, 38, .16); }
.dot--wait { background: var(--soft); box-shadow: 0 0 0 4px rgba(180, 180, 180, .25); }

.state { display: flex; align-items: center; gap: .6em; font-size: 1.15rem; }
.state--off { color: #96181a; }

/* Aktionsbereich */
.go { margin-top: 1.5rem; text-align: center; }
.go .form__hint { margin-top: .7rem; }
.go--online, .go--expired {
  text-align: left; border-radius: 18px; padding: 1.1em 1.3em;
  background: var(--green-wash); color: #2f5a17;
  display: flex; flex-wrap: wrap; align-items: center; gap: .9em 1.4em;
}
.go--online p, .go--expired p { flex: 1 1 16em; }
.go--expired { background: var(--mist); color: var(--ink); }

.note { color: var(--mid); font-size: .88rem; line-height: 1.5; }

/* Buttons – Pillenform mit grünem Pfeil-Feld wie auf e-breitband.at */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  min-height: 48px;
  padding: .5em .6em .5em 1.3em;
  border: 1px solid var(--soft); border-radius: 100px;
  background: #f6f6f6; color: var(--ink);
  font: inherit; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .12s ease;
}
.btn::after {
  content: ""; flex: none; width: 2.7em; height: 1.9em; border-radius: 100px;
  background: var(--green) center / 1.15em no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.btn:hover { background: #eceaea; border-color: var(--green); color: var(--ink); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green); border-color: var(--green); color: var(--white); text-shadow: 0 1px 0 rgba(48, 84, 10, .35); }
.btn--primary::after {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382c828' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.btn--primary:hover { background: #74b620; border-color: #74b620; color: var(--white); }
.btn--big { font-size: 1.16rem; min-height: 60px; padding-left: 1.6em; width: 100%; max-width: 26em; }

.linklike {
  background: none; border: 0; padding: .3em 0; font: inherit; font-size: .9rem;
  color: var(--mid); text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.linklike:hover { color: var(--ink); }
.inline-form { text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 40px;
  border: 1px solid var(--soft); border-radius: 100px; background: var(--white);
  padding: .3em 1em; font: inherit; font-size: .88rem; font-weight: 700; color: var(--green-deep); cursor: pointer;
}
.chip:hover { border-color: var(--green); }
.chip.is-done { background: var(--green); border-color: var(--green); color: var(--white); }

/* Formulare */
.form > * + * { margin-top: .9rem; }
.form label { display: block; font-weight: 700; margin-bottom: .35em; }
.input {
  width: 100%; min-height: 54px; padding: .6em 1em;
  border: 2px solid var(--soft); border-radius: 16px; background: var(--white);
  font: inherit; color: var(--ink);
}
.input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(130, 200, 40, .28); }
.input--code { font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; }
.form__hint { color: var(--mid); font-size: .88rem; line-height: 1.5; }
.form__row { display: grid; gap: .9rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1.4fr 1fr; } }

.check { display: flex !important; align-items: flex-start; gap: .8em; font-weight: 400 !important; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 28px; height: 28px; margin: .05em 0 0; border: 2px solid var(--soft); border-radius: 9px;
  background: var(--white) center / 0 no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  cursor: pointer; transition: background-size .15s ease;
}
.check input:checked { background-color: var(--green); border-color: var(--green); background-size: 78%; }

/* Listen mit Häkchen */
.ticks li { position: relative; padding-left: 2em; }
.ticks li + li { margin-top: .6em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.25em; height: 1.25em; border-radius: 50%;
  background: var(--green) center / 68% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ticks--small { font-size: .93rem; margin-top: .7rem !important; }
.ticks--num { counter-reset: tick; }
.ticks--num li { counter-increment: tick; }
.ticks--num li::before {
  content: counter(tick); background: var(--green); color: var(--white);
  font-weight: 700; font-size: .8em; line-height: 1.6; text-align: center; width: 1.6em; height: 1.6em; top: .12em;
  border-radius: 30%;
}

.oto { width: 100%; max-width: 300px; margin-inline: auto; font-family: inherit; }

/* Testphase */
.count { display: flex; align-items: center; gap: .55em; }
.count__n {
  font-size: clamp(4rem, 9vw, 5.6rem); line-height: .9; color: var(--green);
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.count__t { font-size: 1.35rem; line-height: 1.25; }
.count__t small { display: block; color: var(--mid); font-size: 1rem; }

.tiles { display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(3px, .9vw, 5px); }
@media (max-width: 339px) { .tiles { grid-template-columns: repeat(10, 1fr); } }
.tile { border-radius: 30%; background: var(--green); }
.tile::before { content: ""; display: block; padding-top: 100%; } /* quadratisch auch ohne aspect-ratio */
.tile--used { background: #e2e2e2; }
.tile--today { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--green-deep); }

.is-warn .count__n { color: var(--red); }
.is-expired .count__n { color: var(--soft); }
.is-warn .tile--left { background: var(--red); animation: tile-pulse 1.6s ease-in-out infinite; }
.is-warn .tile--today { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #96181a; }
@keyframes tile-pulse { 50% { opacity: .42; } }

.trial__ends { color: var(--mid); }

.warnbox {
  display: grid; grid-template-columns: auto 1fr; gap: .6em .8em; align-items: start;
  background: var(--red-wash); color: #96181a; border-radius: 18px; padding: 1em 1.2em; font-weight: 700;
}
.warnbox .ico { margin-top: .15em; }
.warnbox .btn { grid-column: 1 / -1; justify-self: start; }

.oaid { margin-top: 1.6rem !important; padding: 1em 1.2em 1.1em; background: var(--mist); border-radius: 18px; }
.oaid h3 { margin: 0 0 .35rem; color: var(--mid); font-weight: 400; font-size: .92rem; }
.oaid__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6em 1em; margin-bottom: .5rem; }
.oaid code { font-size: clamp(1.15rem, 3.4vw, 1.45rem); word-break: break-all; }

details.more { border-top: 1px solid var(--line); margin-top: 1.4rem; }
details.more > summary, .faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
  cursor: pointer; list-style: none;
}
details.more > summary { padding: .9em 0 .2em; color: var(--green-deep); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform .2s ease; }
details[open] > summary .ico { transform: rotate(180deg); }

/* ------------------------------------------------------------------ Bänder */
.band { padding-block: clamp(48px, 7vw, 92px); }
.band--mist { background: var(--mist); }
.band h2 {
  color: var(--green-mid);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: .04em;
  margin-bottom: .55em;
  text-wrap: balance;
}
.lead { font-size: 1.12rem; max-width: 46em; }

/* Anbieter */
.isps {
  display: grid; gap: clamp(10px, 1.6vw, 18px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(24px, 3.4vw, 44px);
}
@media (min-width: 620px) { .isps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .isps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .isps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.isp {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 2px solid transparent; border-radius: var(--r-tile);
  text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.isp:hover, .isp:focus-visible { border-color: var(--green); color: var(--ink); transform: translateY(-3px); }
.isp__logo {
  display: grid; place-items: center; height: clamp(96px, 13vw, 128px);
  padding: 18px clamp(14px, 2.4vw, 26px) 8px;
}
.isp__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.isp__logo b { font-size: 1.15rem; text-align: center; line-height: 1.2; }
.isp__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .6em;
  padding: 10px 12px 12px 16px; margin-top: auto;
}
.isp__name { font-size: .86rem; color: var(--mid); line-height: 1.25; min-width: 0; }
.isp__name small { display: block; color: var(--green-deep); font-weight: 700; font-size: 1em; }
.isp__go {
  flex: none; display: grid; place-items: center; width: 44px; height: 30px; border-radius: 100px;
  background: var(--green); color: var(--white);
}
.isp__go .ico { width: 18px; height: 18px; stroke-width: 2.6; }

.isps__notes { margin-top: 1.6rem; color: var(--mid); font-size: .95rem; max-width: 52em; }
.isps__notes p + p { margin-top: .3em; }
.empty { margin-top: 1.4rem; }

/* Schritte */
.steps {
  counter-reset: step; display: grid; gap: 28px clamp(18px, 2.6vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: clamp(24px, 3.4vw, 44px);
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 26%;
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: 1.6rem; line-height: 1; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .25em; }
.steps p { color: #4a4a4a; font-size: .98rem; }

/* FAQ – nach dem Muster der FAQ auf e-breitband.at */
.band--faq { padding-top: 0; }
.faq { border-top: 1px solid var(--line); margin-top: clamp(18px, 2.6vw, 30px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1em .2em; font-size: 1.12rem; line-height: 1.35; }
.faq summary:hover span, .faq details[open] > summary span { color: var(--green-deep); }
.faq details[open] > summary { border-bottom: 1px solid var(--green); }
.faq summary .ico { color: var(--ink); }
.faq details[open] > summary .ico { color: var(--green); }
.faq__a { padding: 1.1em .2em 1.5em; max-width: 44em; }
.faq__more { margin-top: 2rem; }

/* Kontakt */
.band--contact { background: var(--mist); }
.contact { display: grid; gap: 28px; }
@media (min-width: 800px) { .contact { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.contact address { display: grid; gap: .9rem; font-size: 1.1rem; }
.contact__line { display: flex; align-items: center; gap: .9em; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.contact__line:hover { color: var(--green-deep); }
.contact__line .ico { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--green); color: var(--white); }
.contact__line small { display: block; font-weight: 400; color: var(--mid); font-size: .86rem; }

/* Fuß */
.foot { background: var(--foot); color: var(--white); font-size: .9rem; }
.foot__in {
  max-width: var(--wrap); margin-inline: auto; padding: 34px var(--gutter) 40px;
  display: grid; gap: 22px;
}
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr auto; align-items: start; } .foot__addr { text-align: right; } }
.foot__nav { display: flex; flex-wrap: wrap; gap: .5em 2em; }
.foot a { color: var(--white); text-decoration: none; letter-spacing: .05em; }
.foot a:hover { text-decoration: underline; }
.foot :focus-visible { outline-color: var(--white); }

/* ------------------------------------------------------------------ Textseiten */
.page { padding-block: clamp(36px, 6vw, 72px); }
.page h1 { color: var(--green-mid); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.16; margin-bottom: .6em; text-wrap: balance; }
.page h2 { font-size: 1.2rem; font-weight: 700; margin: 1.8em 0 .4em; }
.page p + p, .page ul + p, .page p + ul { margin-top: .8em; }
.page ul { list-style: disc; padding-left: 1.3em; }
.page li + li { margin-top: .3em; }
.page .draft { display: inline-block; background: var(--red-wash); color: #96181a; border-radius: 100px; padding: .3em 1em; font-size: .86rem; font-weight: 700; margin-bottom: 1.4em; }
.page__back { margin-top: 2.4rem; }

/* Zwischenseite beim Wechsel zum Anbieter */
.leaving { min-height: 60vh; display: grid; place-items: center; padding: 48px var(--gutter); text-align: center; background: var(--mist); }
.leaving .card { max-width: 34em; box-shadow: var(--shadow-deck); }
.leaving img { max-height: 80px; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .bar, .hero picture, .foot, .btn, .demo-bar { display: none !important; }
  .deck { margin-top: 0; }
  .card { box-shadow: none; border: 1px solid var(--line); }
}
