/* Werbeseite Wohnungsübergabe24 – ein kleines Stylesheet, keine Schriften/Skripte von außen.
   Schrift: IBM Plex Sans (SIL Open Font License, siehe assets/schrift/OFL-IBM-Plex-Sans.txt), selbst gehostet. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/schrift/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); 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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url("/assets/schrift/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); 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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url("/assets/schrift/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); 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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/schrift/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); 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: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url("/assets/schrift/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); 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; }
:root {
  --teal: #1677a8;
  --teal-dunkel: #125f87;
  --teal-hell: #eef8fd;
  --text: #1f2730;
  --titel: #0e2b3b;
  --grau: #5a6671;
  --linie: #e1e7ec;
  --flaeche: #f5f8fa;
  --gelb: #fdf6dd;
  --radius: 8px;
  --hauptblau: #5bc8f5;
  --gold: #ffb84d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; color: var(--titel); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 0 0 .5em; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2em 0 .6em; letter-spacing: -.015em; }
h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }
.huelle { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.text { max-width: 760px; }

/* Kopf: eine Zeile (Logo · Menü · Login · Jetzt ausprobieren), am Handy ein Menü-Knopf (ohne Skript) */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--linie); }
.kopf-zeile { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; position: relative; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; color: var(--titel); text-decoration: none; margin-right: auto; }
.marke-logo { display: block; width: 36px; height: 36px; flex-shrink: 0; }
.kopf-knoepfe { display: flex; gap: 8px; align-items: center; }
.nav-pc { display: none; }
.nav-pc a { color: #3d4853; text-decoration: none; padding: 6px 2px; font-size: 1rem; }
.nav-pc a:hover, .nav-pc a[aria-current="page"] { color: var(--titel); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menue > summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: var(--radius); border: 1px solid #c8d1d9; color: var(--titel); font-weight: 600; font-size: .95rem; }
.menue > summary::-webkit-details-marker { display: none; }
.menue[open] > summary { background: var(--flaeche); }
.nav-handy { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: 0 12px 24px rgba(18,24,22,.08); display: grid; padding: 6px 16px 12px; }
.nav-handy a { padding: 12px 4px; border-bottom: 1px solid var(--linie); color: var(--titel); text-decoration: none; font-weight: 500; }
.nav-handy a:last-child { border-bottom: 0; }
.nav-handy a[aria-current="page"] { color: var(--teal-dunkel); }
@media (max-width: 959px) { .kopf-knoepfe .kopf-login { display: none; } }
.kopf-knoepfe .knopf { white-space: nowrap; }
@media (min-width: 960px) {
  .kopf-zeile { padding-top: 14px; padding-bottom: 14px; gap: 20px; }
  .nav-pc { display: flex; gap: 22px; margin-right: 8px; }
  .menue { display: none; }
}

/* Knöpfe */
.knopf { display: inline-block; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid #c8d1d9; color: var(--titel); background: #fff; line-height: 1.2; text-align: center; }
.knopf:hover { background: var(--flaeche); color: var(--titel); }
.knopf-voll { background: var(--teal); border-color: var(--teal); color: #fff; }
.knopf-voll:hover { background: var(--teal-dunkel); border-color: var(--teal-dunkel); color: #fff; }
.knopf-gross { padding: 14px 24px; font-size: 1.05rem; }
@media (max-width: 420px) { .kopf-knoepfe .knopf { padding: 8px 12px; font-size: .92rem; } }

/* Hero */
.hero { background: #fff; padding: 40px 0 32px; }
.hero-raster { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .hero-raster { grid-template-columns: .9fr 1.1fr; gap: 56px; } .hero { padding: 72px 0 56px; } }
.hero p.lead { font-size: 1.2rem; color: #3d4853; max-width: 34em; }
.hero-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4em 0 .8em; }
.hero-hinweis { font-size: .92rem; color: var(--grau); }
.vorschau { margin: 0; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vorschau img { display: block; width: 100%; }
.vorschau figcaption { padding: 8px 12px; font-size: .85rem; color: var(--grau); border-top: 1px solid var(--linie); }

/* Abschnitte */
section { padding: 8px 0; }
.abschnitt-grau { background: var(--flaeche); padding: 36px 0; margin: 32px 0; }
.karten { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.2em 0; }
.karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; background: #fff; }
.karte h3 { margin-top: 0; }
.karte .nr { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-hell); color: var(--teal-dunkel); font-weight: 600; font-size: .95rem; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.haken { list-style: none; padding: 0; }
.haken li { padding-left: 1.7em; position: relative; }
/* Haken: dasselbe Linien-Icon wie in der App (als Maske, Farbe = Teal) */
.haken li::before, .vertrauen li::before, .ja { content: ""; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.haken li::before, .vertrauen li::before { position: absolute; left: 0; top: .2em; width: 1.15em; height: 1.15em; }
.ja { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -.25em; }
.hinweis { background: var(--gelb); border-radius: var(--radius); padding: 12px 16px; font-size: .95rem; }
.klein { font-size: .9rem; color: var(--grau); }

/* Preise */
.preise { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 1.4em 0; align-items: stretch; }
.preis { border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; background: #fff; display: flex; flex-direction: column; }
.preis.hervor { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.preis h3 { margin-top: 0; font-size: 1.3rem; }
.preis .betrag { font-size: 1.5rem; font-weight: 600; color: var(--titel); font-variant-numeric: tabular-nums; margin: .2em 0 .8em; }
.preis ul { flex: 1; }
.preis .preis-kurz { margin: -.4em 0 .8em; color: #3d4853; font-weight: 500; }
.einzeln .karte h3 { font-size: 1.1rem; margin-bottom: .2em; }
.einzeln .karte .klein { margin: 0 0 .8em; }
.preis-zeilen { margin: 0; }
.preis-zeilen div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--linie); }
.preis-zeilen dt { color: var(--grau); }
.preis-zeilen dd { margin: 0; font-weight: 600; color: var(--titel); font-variant-numeric: tabular-nums; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.tabelle th, .tabelle td { padding: 10px 8px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle th:not(:first-child), .tabelle td:not(:first-child) { text-align: center; }
.tabellen-rahmen { overflow-x: auto; }

/* FAQ */
.faq details { border: 1px solid var(--linie); border-radius: var(--radius); padding: 0 16px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--linie); margin-bottom: 12px; }
.faq details p { margin-bottom: 14px; }

/* Schlussaufruf */
.aufruf { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 36px 22px; text-align: center; margin: 48px 0; }
.aufruf h2 { margin-top: 0; }

/* Rechtstexte */
.recht h2 { font-size: 1.2rem; margin-top: 1.6em; }
.recht ul { margin-bottom: 1em; }
.pruefen { background: var(--gelb); border-radius: 4px; padding: 0 4px; }
.entwurf { background: var(--gelb); border-radius: var(--radius); padding: 12px 16px; font-size: .95rem; margin-bottom: 1.4em; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: var(--flaeche); margin-top: 48px; padding: 28px 0; font-size: .95rem; color: var(--grau); }
.fuss-raster { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fuss h2 { font-size: 1rem; margin: 0 0 .5em; color: var(--titel); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--teal-dunkel); }
.fuss-ende { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: .85rem; }
.ueberspringen { position: absolute; left: -9999px; }
.ueberspringen:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
a:focus-visible, summary:focus-visible, .knopf:focus-visible, .menue > summary:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.abschnitt-grau h2.ohne-rand { margin-top: 0; }
@media (max-width: 560px) { .marke-text { position: absolute; left: -9999px; } }
.hero-raster > * { min-width: 0; }
h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 520px) { h1 { font-size: 1.65rem; } }
main > .huelle:first-child { padding-top: 28px; }

/* Kontaktformular */
.formular { display: grid; gap: 6px; max-width: 560px; margin: 1em 0 2em; }
.formular label { font-weight: 600; font-size: .95rem; margin-top: 8px; }
.formular input[type="text"], .formular input[type="email"], .formular textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c8d1d9; border-radius: var(--radius); background: #fff; color: var(--text); }
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.formular .haken-zeile { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 12px 0 14px; }
.formular .haken-zeile input { margin-top: 5px; flex-shrink: 0; }
.formular button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.falle { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Vertrauensleiste: nur belegbare Punkte */
.vertrauen { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: #fff; }
.vertrauen ul { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); font-size: .95rem; color: #3d4853; }
.vertrauen li { margin: 0; padding-left: 1.6em; position: relative; }

/* Hervorgehobener Kasten (z. B. Wohnungsgeberbestätigung) */
.kasten { border: 1px solid var(--linie); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 18px 20px; background: var(--flaeche); margin: 1.4em 0; }
.kasten h2, .kasten h3 { margin-top: 0; }
.kasten p:last-child { margin-bottom: 0; }

/* Ratgeber */
.artikel-kopf { color: var(--grau); font-size: .92rem; margin: -.4em 0 1.2em; }
.kurzfassung { background: var(--flaeche); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 1em 0 1.4em; }
.kurzfassung h2 { font-size: 1.05rem; margin: 0 0 .4em; }
.kurzfassung ul { margin-bottom: 0; }
.inhalt { font-size: .95rem; }
.inhalt h2 { font-size: 1rem; margin: 0 0 .3em; }
.inhalt ol { margin-bottom: 1.4em; }
.ergaenzt { border: 1px dashed #c8d1d9; border-radius: var(--radius); padding: 12px 16px; color: #3d4853; font-size: .95rem; }
.quellen { font-size: .9rem; color: var(--grau); border-top: 1px solid var(--linie); padding-top: 12px; margin-top: 2em; }

/* Drucken (z. B. Checkliste): Kopf, Fuß und Knöpfe ausblenden */
@media print {
  .kopf, .fuss, .aufruf, .ueberspringen, .knopf { display: none !important; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
  .haken li::before { background: none; -webkit-mask: none; mask: none; width: .85em; height: .85em; top: .25em; border: 1.5px solid #000; border-radius: 2px; }
}
.karte h2.h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.preis .betrag .zeitraum { font-size: 1rem; font-weight: 500; color: var(--grau); }
.preis .jahrpreis { margin: -.6em 0 1em; color: #3d4853; }
.preis .buchung { margin: 0 0 .5em; text-align: center; }

/* App-Bilder (Bildschirmfotos mit erfundenen Beispieldaten) */
.app-bild { margin: 0; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.app-bild img { display: block; width: 100%; }
.app-bild figcaption { padding: 8px 12px; font-size: .85rem; color: var(--grau); border-top: 1px solid var(--linie); background: #fff; }
.geraete { display: grid; gap: 20px; align-items: start; margin: 1.4em 0; }
@media (min-width: 860px) { .geraete { grid-template-columns: 2.4fr 1fr; } }
.zahlen { font-variant-numeric: tabular-nums; }
.hero-stapel .hero-text { max-width: 48rem; }
.hero-stapel .app-bild { margin-top: 36px; }
@media (min-width: 860px) { .hero-stapel .app-bild { margin-top: 48px; } }
.marke-24 { color: var(--teal); }
/* Slogan im Kopf der Startseite */
.slogan { display: inline-block; font-weight: 600; color: var(--teal-dunkel); font-size: 1.05rem; margin: 0 0 .9em; padding: 4px 12px; border-radius: 999px; background: var(--teal-hell); }
.hero h1 .haken-wort { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .12em; text-underline-offset: .12em; }
.vorschau-schmal { max-width: 420px; }
.tabelle tbody th { font-weight: 500; }
.protokoll-raster { display: grid; gap: 24px; align-items: center; margin: 1.2em 0; }
@media (min-width: 860px) { .protokoll-raster { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.protokoll-raster .vorschau { box-shadow: 0 8px 28px rgba(15, 30, 45, .12); }
.protokoll-raster .haken li { margin-bottom: .7em; }
.vergleich th:first-child { width: 34%; }
.vergleich td { text-align: left !important; }
.vergleich thead th { text-align: left !important; }
.vergleich .app { background: var(--teal-hell); }
