/* Vertrauen, Inhalte, Bestellung und Kontakt: Preiszusatz der Tarifkarten,
   Vorteile („Warum Hartmann“), Tarifvergleich, Bestellablauf, Kontaktformular,
   FAQ, Status, Über uns und Sicherheit. Ergänzt site.css; eigene Klassen mit
   Präfix v-, dazu .tarif-zusatz und .preishinweis aus den Tarifkarten. */

.v-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- Tarifkarten */
.tarif .preis { margin-bottom: 10px; }
.tarif-zusatz { font-size: 13.5px; line-height: 1.45; color: var(--text-2); max-width: 270px; min-height: 2.9em; margin: 0 auto 22px; }
.preishinweis { text-align: center; color: var(--text-2); font-size: 14.5px; max-width: 720px; margin: 28px auto 0; }

/* ---------------------------------------------------------------- Abschnitte */
.v-abschnitt { padding-top: clamp(56px, 8vw, 96px); }
.v-kopf { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.v-kopf h2 { margin-bottom: 10px; }
.v-kopf p { color: var(--text-2); margin: 0; }

.v-icon {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 12px; background: #e8eff8; color: var(--blau);
}
.v-icon .icon { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- Vorteile */
.v-vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.v-vorteile-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v-vorteile li { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 24px; }
.v-vorteile .v-icon { margin-bottom: 18px; }
.v-vorteile h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 8px; }
.v-vorteile p { color: var(--text-2); font-size: 15.5px; margin: 0; }

/* ---------------------------------------------------------------- Transparenz (Fläche mit Liste) */
.v-transparenz {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--flaeche); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
}
.v-transparenz-text p { color: var(--text-2); }
.v-transparenz .knoepfe { margin-top: 20px; }
.v-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.v-liste li { display: flex; gap: 14px; align-items: flex-start; }
.v-liste .icon { flex-shrink: 0; width: 26px; height: 26px; color: var(--blau); margin-top: 2px; }
.v-liste strong { display: block; font: 700 1.05rem/1.3 var(--titel); margin-bottom: 2px; }
.v-liste span { color: var(--text-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- Bestellablauf */
.v-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: schritt; }
.v-schritte li { counter-increment: schritt; background: var(--flaeche); border-radius: var(--radius); padding: 24px 22px; }
.v-schritte li::before {
  content: counter(schritt); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--blau); color: #fff; font: 700 16px/1 var(--titel);
}
.v-schritte strong { display: block; font: 700 1.08rem/1.3 var(--titel); margin-bottom: 6px; }
.v-schritte span { display: block; color: var(--text-2); font-size: 15px; }

/* ---------------------------------------------------------------- Tarifvergleich */
.v-tabelle-rahmen { max-width: 960px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); }
.v-vergleich { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.v-vergleich th, .v-vergleich td { padding: 14px 18px; border-bottom: 1px solid var(--linie); text-align: center; vertical-align: middle; }
.v-vergleich thead th { font: 700 1.1rem/1.2 var(--titel); padding-top: 20px; padding-bottom: 20px; }
.v-vergleich tbody th { text-align: left; font-weight: 600; }
.v-vergleich tbody tr:last-child th, .v-vergleich tbody tr:last-child td { border-bottom: 0; }
.v-vergleich .v-top { background: var(--flaeche); }
.v-vergleich thead .v-top { color: var(--blau); }
.v-ja { display: inline-grid; place-items: center; color: var(--blau); }
.v-ja .icon { width: 20px; height: 20px; }
.v-nein { color: #8a9096; }
.v-preiszeile strong { display: block; font: 700 1.5rem/1.1 var(--titel); letter-spacing: -.02em; }
.v-preiszeile td span { font-size: 13.5px; color: var(--text-2); }

/* site.css setzt .wrap auf dem Handy auf padding: 0 16px; der Abstand über
   Domain-Hinweis und Add-ons-Knopf auf /hosting/ soll bleiben. */
.wrap.hinweis-zentriert { padding-top: 48px; }

/* ---------------------------------------------------------------- Hinweiskarte (Umzug, Danke, Sicherheit) */
.v-hinweis-karte { display: flex; align-items: center; gap: 24px; border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 32px; }
.v-hinweis-text { flex: 1 1 auto; min-width: 0; }
.v-hinweis-text h2 { font-size: 1.4rem; margin-bottom: 6px; }
.v-hinweis-text p { margin: 0; color: var(--text-2); }
.v-hinweis-karte > .btn { flex-shrink: 0; }

/* ---------------------------------------------------------------- Meldungen */
.v-meldung { border: 1px solid; border-radius: 12px; padding: 14px 18px; margin: 0 0 22px; font-size: 15.5px; line-height: 1.5; }
.v-meldung-fehler { background: #fdf1f1; border-color: #f0c4c4; color: #7c1d1d; }
.v-meldung-ok { background: #eef7ef; border-color: #c3e3c6; color: #1c5424; }
.v-meldung-info { background: #eef4fb; border-color: #c9dbf0; color: #0f3563; }
.v-meldung a { color: inherit; font-weight: 600; }

/* ---------------------------------------------------------------- Kontaktformular */
.v-formular-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.v-formular { border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.v-formular h2 { font-size: 1.6rem; }
.v-feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.v-feld label { font: 600 15px/1.3 var(--titel); }
.v-optional { font-weight: 400; color: var(--text-2); }
.v-feld input, .v-feld textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); background: #fff;
  border: 1.5px solid #c5cad0; border-radius: 10px; padding: 12px 14px;
}
.v-feld textarea { min-height: 180px; resize: vertical; }
.v-feld input:hover, .v-feld textarea:hover { border-color: #979ea6; }
.v-feld input:focus, .v-feld textarea:focus { border-color: var(--blau); outline: 3px solid rgba(0, 80, 157, .28); outline-offset: 0; }
/* Honigtopf: für Menschen unsichtbar, für Formular-Roboter ein normales Feld. */
.v-honig { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.v-formular .btn { margin-top: 6px; }
.v-formular-seite { background: var(--flaeche); border-radius: var(--radius); padding: 28px; }
.v-formular-seite h2 { font-size: 1.35rem; }
.v-formular-seite h3 { font-size: 1.05rem; margin-top: 1.4em; }
.v-punkte { padding-left: 1.2em; margin: 0; color: var(--text-2); font-size: 15.5px; }
.v-punkte li { margin: 8px 0; }
/* Übergang (Schalter FORMULARE_IM_PORTAL in src/index.ts): Der Worker setzt
   <p class="hinweis"> vor das Formular und sperrt den Absendeknopf. Der
   Hinweis läuft über die volle Breite, statt eine Rasterspalte zu belegen. */
.v-formular-raster > .hinweis {
  grid-column: 1 / -1; margin: 0; padding: 16px 20px; font-size: 15.5px; line-height: 1.5;
  background: #eef4fb; border: 1px solid #c9dbf0; border-radius: 12px; color: #0f3563;
}
.v-formular-raster > .hinweis a { color: inherit; font-weight: 600; }
.v-formular .btn[disabled] { opacity: .45; cursor: not-allowed; }
.v-formular .btn[disabled]:hover { background: var(--blau); }

/* ---------------------------------------------------------------- FAQ */
.v-faq-bereich { max-width: 860px; }
.v-faq-inhalt { display: flex; flex-wrap: wrap; gap: 10px; }
.v-faq-inhalt a { padding: 8px 14px; border-radius: 999px; background: var(--flaeche); color: var(--text); text-decoration: none; font: 600 14.5px/1.2 var(--titel); }
.v-faq-inhalt a:hover { background: #e8eff8; color: var(--blau); }
.v-faq-gruppe { padding-top: 44px; }
.v-faq-gruppe h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 10px; }
.v-faq { border-top: 1px solid var(--linie); }
.v-faq details { border-bottom: 1px solid var(--linie); }
.v-faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 48px 18px 0; font: 600 1.08rem/1.4 var(--titel); }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--blau); border-bottom: 2.5px solid var(--blau);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.v-faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.v-faq summary:hover { color: var(--blau); }
.v-antwort { padding: 0 0 20px; color: var(--text-2); }
.v-antwort p { margin: 0 0 .7em; }
.v-antwort p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- Über uns, Sicherheit */
.v-zwei { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.v-fliesstext h2 { font-size: 1.5rem; }
.v-fliesstext h2:not(:first-child) { margin-top: 1.4em; }
.v-fliesstext p { color: var(--text-2); }
.v-fliesstext .knoepfe { margin-top: 20px; }
.v-daten { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; width: 100%; margin: 0 0 18px; font-size: 15.5px; }
.v-daten dt { font-weight: 600; color: var(--text); }
.v-daten dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.v-daten-eng { margin: 0; }
.v-daten-karte .klein { margin: 0; }
.v-karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* Fünf Karten (Über uns, Sicherheit): drei Spalten statt einer einzelnen Karte in der zweiten Reihe */
.v-karten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v-karten .karte { padding: 28px 24px; }
.v-karten .karte h3 { font-size: 1.2rem; margin: 16px 0 6px; }
.v-karten .karte p { font-size: 15.5px; }
.v-link-karte { color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.v-link-karte:hover { color: var(--text); border-color: var(--blau); box-shadow: var(--schatten); }
.v-mehr { margin-top: auto; color: var(--blau); font-weight: 600; }
.v-standort .v-ort { font: 600 15px/1.3 var(--titel); color: var(--blau); margin: 0 0 8px; }

/* ---------------------------------------------------------------- Status */
.v-status { max-width: 860px; }
.v-status-gesamt { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius); padding: 24px 28px; margin-bottom: 24px; }
.v-status-gesamt.v-ok { background: #eef7ef; }
.v-status-gesamt.v-stoerung { background: #fdf1f1; }
.v-status-gesamt h2 { font-size: 1.35rem; margin: 0 0 4px; }
.v-status-gesamt p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.v-status-gesamt .v-punkt { width: 16px; height: 16px; margin-top: 6px; }
.v-punkt { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: #8a9096; }
.v-ok .v-punkt { background: #1e8a3a; box-shadow: 0 0 0 4px rgba(30, 138, 58, .15); }
.v-stoerung .v-punkt { background: #c62828; box-shadow: 0 0 0 4px rgba(198, 40, 40, .15); }
.v-status-liste { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--linie); border-radius: var(--radius); }
.v-status-liste li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--linie); }
.v-status-liste li:last-child { border-bottom: 0; }
.v-status-liste strong { display: block; font: 700 1.08rem/1.3 var(--titel); }
.v-status-liste li > div span { color: var(--text-2); font-size: 15px; }
.v-status-wert { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--titel); white-space: nowrap; }
.v-ok .v-status-wert { color: #1e6e33; }
.v-stoerung .v-status-wert { color: #a32020; }
.v-status-hinweis { margin-top: 18px; }
.v-status-knoepfe { margin: 0; }

/* ---------------------------------------------------------------- Mobil */
@media (max-width: 920px) {
  .v-vorteile, .v-schritte, .v-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-vorteile-3 { grid-template-columns: 1fr; }
  .v-transparenz, .v-zwei, .v-formular-raster { grid-template-columns: 1fr; }
  .tarif-zusatz { min-height: 0; }
}
@media (max-width: 720px) {
  .v-hinweis-karte { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .v-hinweis-karte > .btn { width: 100%; }
}
@media (max-width: 560px) {
  .v-vorteile, .v-schritte, .v-karten { grid-template-columns: 1fr; }
  /* Vergleich passt ohne Scrollen auf 375 px: feste Spaltenbreiten, kleinere Schrift. */
  .v-vergleich { table-layout: fixed; font-size: 13px; }
  .v-vergleich th, .v-vergleich td { padding: 10px 4px; }
  .v-vergleich thead th { font-size: .88rem; padding-top: 14px; padding-bottom: 14px; }
  .v-vergleich thead th:first-child { width: 33%; }
  .v-vergleich tbody th { padding-left: 10px; hyphens: auto; }
  .v-preiszeile strong { font-size: 1.1rem; }
  .v-formular .btn { width: 100%; }
  .v-formular-seite { padding: 22px 20px; }
  .v-daten { grid-template-columns: 1fr; gap: 2px; }
  .v-daten dd { margin-bottom: 10px; }
  .v-status-gesamt { padding: 20px; }
  .v-status-liste li { flex-direction: column; align-items: flex-start; gap: 8px; }
}
