/* Fassung 3 (Entwurf) – Zusatzstile. Baut auf stil.css der Live-Seite auf. */

/* ---- Hinweise und Entwurfs-Leiste (auch für Unterseiten) ---- */
.ent-notiz { margin-top: 18px; max-width: 62ch; padding: 10px 14px; border-radius: 12px; background: #2f6fdb; color: #fff;
  font-family: var(--f-text); font-size: .95rem; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400; }
.ent-notiz b { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin-right: 6px;
  background: #fff; color: #2f6fdb; padding: 2px 7px; border-radius: 999px; }
body.ent-ohne .ent-notiz { display: none; }
.ent-leiste { position: fixed; z-index: 90; left: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  max-width: calc(100vw - 32px); padding: 8px 10px 8px 14px; border-radius: 999px; background: #2f6fdb; color: #fff;
  font-family: var(--f-label); font-weight: 600; font-size: .9rem; letter-spacing: .02em; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.ent-leiste a { color: #fff; }
.ent-leiste button { font: inherit; border: 0; border-radius: 999px; padding: 5px 12px; background: #fff; color: #1b3f80; cursor: pointer; }
@media (max-width: 900px) { .ent-leiste { bottom: 84px; left: 10px; font-size: .8rem; } .ent-leiste > span { display: none; } }

/* ---- Liste zum Mitmachen ---- */
.l3-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.l3-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.l3-chip { font: inherit; font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: .01em; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; background: var(--weiss); color: var(--schwarz); border: 1.5px solid var(--linie);
  display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
.l3-chip::before { content: "+"; font-weight: 700; width: 1em; text-align: center; }
.l3-chip:hover { border-color: var(--schwarz); transform: translateY(-1px); }
.l3-chip:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 2px; }
.l3-chip[aria-pressed="true"] { background: var(--gelb); border-color: var(--schwarz); }
.l3-chip[aria-pressed="true"]::before { content: "✓"; }
.l3-eigen { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.l3-eigen input { flex: 1 1 220px; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--weiss); font: inherit; color: var(--schwarz); }
.l3-eigen input:focus { outline: none; border-color: var(--schwarz); box-shadow: 0 0 0 4px rgba(241,204,1,.35); }
.l3-zettel { position: relative; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 34px 26px 24px;
  box-shadow: 0 30px 60px -34px rgba(19,19,17,.4); transform: rotate(.6deg); }
.l3-band { position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; border-radius: 3px;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 12px, var(--schwarz) 12px 24px); transform: rotate(-2deg); }
.l3-liste { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.l3-liste li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-weight: 500; line-height: 1.3; }
.l3-liste li .t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.l3-liste li .m { font-family: var(--f-label); font-weight: 600; color: var(--grau); white-space: nowrap; font-size: .92rem; }
.l3-liste li button { font: inherit; border: 0; background: none; cursor: pointer; color: var(--grau); padding: 2px 6px; border-radius: 6px; line-height: 1; font-size: 1.1rem; }
.l3-liste li button:hover { color: var(--rot); }
.l3-leer { padding: 18px 0; color: var(--grau); }
.l3-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--schwarz);
  font-family: var(--f-label); font-weight: 600; letter-spacing: .04em; color: var(--grau); }
.l3-summe b { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; color: var(--schwarz); }
.l3-empf { margin: 16px 0; padding: 16px 18px; border-radius: var(--radius-klein); background: var(--schwarz); color: var(--papier); }
.l3-empf span { display: block; font-family: var(--f-label); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gelb); }
.l3-empf b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; margin: 4px 0 2px; }
.l3-empf small { font-size: .95rem; color: var(--grau-hell); }
.l3-hin { margin-top: 12px; font-size: .9rem; color: var(--grau); }
@media (max-width: 900px) { .l3-raster { grid-template-columns: 1fr; } .l3-zettel { transform: none; } }

/* ---- Buchungs-Übersicht: Einzelheiten direkt darunter ---- */
.bm { margin-bottom: 0 !important; }
.bm-zelle[aria-expanded="true"] { box-shadow: 0 0 0 2.5px var(--gelb), 0 20px 40px -26px rgba(19,19,17,.4); border-color: transparent; }
.b3-detail { margin-top: 22px; }
.b3-nach { margin-top: 22px; color: var(--grau); max-width: 86ch; font-size: .98rem; }
.b3-nach strong { color: var(--schwarz); }
.b3-nach a { color: var(--schwarz); font-weight: 600; }
.preise .inkl { margin-top: clamp(32px, 5vw, 56px); }

/* ---- Beispiel, durchgerechnet ---- */
.x3-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.x3-zettel { position: relative; background: var(--weiss); color: var(--schwarz); border: 1px solid var(--linie); border-radius: var(--radius); padding: 34px 26px 22px; box-shadow: 0 30px 60px -34px rgba(19,19,17,.4); }
.x3-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--schwarz); }
.x3-kopf b { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; }
.x3-kopf span { font-family: var(--f-label); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); }
.x3-punkte { list-style: none; margin: 0; padding: 0; }
.x3-punkte li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--linie); line-height: 1.35; }
.x3-punkte li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--gelb); border: 1.5px solid var(--schwarz); font-size: .8rem; font-weight: 700; transform: translateY(3px); }
.x3-punkte .m { font-family: var(--f-label); font-weight: 600; color: var(--grau); white-space: nowrap; font-variant-numeric: tabular-nums; }
.x3-summe { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--schwarz); font-family: var(--f-label); font-weight: 600; letter-spacing: .04em; }
.x3-summe b { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; }
.x3-rechnung { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); background: var(--schwarz); color: var(--papier); }
.hell .x3-rechnung { background: var(--schwarz); }
.dunkel .x3-rechnung { background: var(--schwarz-2); border: 1px solid var(--linie-dunkel); }
.x3-rechnung h3 { font-size: 1.35rem; margin-bottom: 14px; }
.x3-rechnung dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-variant-numeric: tabular-nums; }
.x3-rechnung dt { color: var(--grau-hell); }
.x3-rechnung dd { margin: 0; text-align: right; font-family: var(--f-label); font-weight: 600; }
.x3-rechnung .gesamt { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--linie-dunkel); }
.x3-rechnung .gesamt b { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--gelb); }
.x3-rechnung p { margin-top: 14px; color: var(--grau-hell); font-size: .92rem; }
.x3-marke { display: inline-block; font-family: var(--f-label); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1.5px dashed currentColor; margin-bottom: 14px; }
.x3-weitere { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--f-label); font-weight: 600; }
.x3-weitere a { color: inherit; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; }
.x3-weitere a:hover { background: var(--gelb); color: var(--schwarz); border-color: var(--gelb); }
@media (max-width: 900px) { .x3-raster { grid-template-columns: 1fr; } }

/* ---- Branchen als fünf Karten ---- */
.b3-karten { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.b3-karte { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--schwarz-2); border: 1px solid var(--linie-dunkel);
  color: var(--papier); text-decoration: none; transition: transform .35s var(--ease-out), border-color .25s; }
.b3-karte:hover, .b3-karte:focus-visible { transform: translateY(-4px); border-color: var(--gelb); outline: none; }
.b3-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--schwarz-3); }
.b3-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.b3-karte:hover .b3-bild img { transform: scale(1.05); }
.b3-text { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.b3-text .b3-name { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; }
.b3-text .b3-satz { color: rgba(245,243,235,.8); line-height: 1.4; flex: 1; }
.b3-text .b3-empf { font-family: var(--f-label); font-weight: 600; color: var(--gelb); padding-top: 10px; border-top: 1px solid var(--linie-dunkel); }
.b3-text .b3-mehr { font-family: var(--f-label); font-weight: 600; letter-spacing: .03em; }
.b3-privat { margin-top: clamp(28px, 4vw, 44px); padding: 18px 22px; border-radius: var(--radius-klein); border: 1px dashed rgba(245,243,235,.3); color: rgba(245,243,235,.86); max-width: 80ch; }
.b3-privat b { color: var(--papier); }
@media (max-width: 1100px) { .b3-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .b3-karten { grid-template-columns: 1fr; } .b3-karte { flex-direction: row; } .b3-bild { flex: 0 0 38%; aspect-ratio: auto; } }

/* ---- Handy: zwei Knöpfe unten ---- */
.callbar3 { display: none; }
@media (max-width: 900px) {
  .callbar3 { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .callbar3 a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; border-radius: 999px; text-decoration: none;
    font-family: var(--f-label); font-weight: 600; font-size: 1.02rem; background: var(--schwarz); color: var(--papier); border: 1.5px solid rgba(245,243,235,.3); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
  .callbar3 a.gelb { background: var(--gelb); color: var(--schwarz); border-color: var(--gelb); }
  .callbar3 svg { width: 19px; height: 19px; }
  body { padding-bottom: 76px; }
}

/* ---- Formular-Ergänzungen ---- */
.feld input[type="file"] { padding: 11px 12px; font-size: .95rem; }

/* ---- Unterseiten (Branchen, Bedingungen) ---- */
.u3-hero { padding-top: clamp(120px, 15vw, 180px); padding-bottom: clamp(56px, 8vw, 110px); }
.u3-hero-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.u3-hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.025em; }
.u3-hero .lead { margin-top: 22px; }
.u3-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.u3-bild { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: var(--schwarz-2); }
.u3-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u3-ki { position: absolute; right: 12px; bottom: 12px; font-family: var(--f-label); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: rgba(19,19,17,.7); color: var(--papier); text-decoration: none; }
.u3-zurueck { display: inline-block; margin-bottom: 22px; font-family: var(--f-label); font-weight: 600; color: var(--grau); text-decoration: none; }
.u3-zurueck:hover { color: var(--schwarz); }
.u3-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.u3-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.u3-liste li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; line-height: 1.4; }
.u3-liste svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gelb); margin-top: 3px; }
.u3-kasten { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); background: var(--schwarz-2); border: 1px solid var(--linie-dunkel); }
.u3-kasten h3 { font-size: 1.35rem; margin-bottom: 10px; }
.u3-kasten p { color: rgba(245,243,235,.82); }
.u3-passt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.u3-paket { border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); background: var(--schwarz-2); border: 1px solid var(--linie-dunkel); display: flex; flex-direction: column; gap: 6px; }
.u3-paket.top { background: var(--gelb); color: var(--schwarz); border-color: var(--gelb); }
.u3-paket .n { font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; opacity: .8; }
.u3-paket .g { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.u3-drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.u3-schluss { text-align: center; }
.u3-schluss .u3-cta { justify-content: center; }
.u3-bed { display: grid; gap: 0; margin: 0; border-top: 2px solid var(--schwarz); }
.u3-bed > div { display: grid; grid-template-columns: 220px 1fr; gap: 12px 28px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.u3-bed dt { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; }
.u3-bed dd { margin: 0; line-height: 1.55; color: #3f3d35; }
.u3-film { margin-top: 18px; }
@media (max-width: 900px) {
  .u3-hero-raster, .u3-zwei, .u3-passt, .u3-drei { grid-template-columns: 1fr; }
  .u3-bed > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- Handy: Kurzfassung. Nebenabschnitte werden zu einer Zeile, Schalter Kurzfassung | Ganze Seite ---- */
.m3-kopf, .m3-schalter, .m3-zwischen, .m3-ende { display: none; }
html.m3-handy .m3-schalter { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 12px 16px; background: var(--schwarz); }
html.m3-handy .m3-schalter button { padding: 11px 8px; border-radius: 999px; border: 1.5px solid rgba(245,243,235,.28); background: transparent; color: var(--papier);
  font-family: var(--f-label); font-weight: 600; font-size: .95rem; }
html.m3-handy .m3-schalter button[aria-pressed="true"] { background: var(--papier); color: var(--schwarz); border-color: var(--papier); }
html.m3-kurz .m3-weg { display: none !important; }
html.m3-kurz .m3-zu:not(.m3-offen) { padding: 0 !important; min-height: 0 !important; display: block !important; background: var(--schwarz) !important; color: var(--papier) !important; }
html.m3-kurz .m3-zu:not(.m3-offen) > *:not(.m3-kopf) { display: none !important; }
html.m3-kurz .m3-kopf { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 19px 20px; border: 0; border-top: 1px solid rgba(245,243,235,.14);
  background: var(--schwarz); color: var(--papier); text-align: left; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1.25; position: relative; z-index: 3; }
html.m3-kurz .m3-kopf i { flex: 0 0 11px; width: 11px; height: 11px; border-right: 2.5px solid var(--gelb); border-bottom: 2.5px solid var(--gelb); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
html.m3-kurz .m3-offen > .m3-kopf { border-bottom: 1px solid rgba(245,243,235,.14); }
html.m3-kurz .m3-offen > .m3-kopf i { transform: rotate(-135deg); margin-top: 6px; }
html.m3-kurz .m3-zwischen { display: block; margin: 0; padding: 26px 20px 12px; background: var(--schwarz); color: rgba(245,243,235,.6);
  font-family: var(--f-label); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
html.m3-kurz .m3-ende { display: block; width: 100%; padding: 22px 20px 30px; border: 0; border-top: 1px solid rgba(245,243,235,.14); background: var(--schwarz); color: var(--gelb);
  font-family: var(--f-label); font-weight: 600; font-size: 1rem; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
/* Kurzfassung: auch die offenen Abschnitte straffen */
html.m3-kurz .hero { min-height: 0; }
html.m3-kurz .sek { padding-block: 44px; }
html.m3-kurz .ent-notiz { display: none; }
html.m3-kurz #l3Chips .l3-chip:nth-child(n+9) { display: none; }
html.m3-kurz .hero-liste { display: none; }
html.m3-kurz .hero-inhalt { padding-bottom: 36px; }

/* Kurzfassung: Kontaktteil und Fußzeile */
.m3-mehr { display: none; }
html.m3-kurz #kontakt .kopf .lead,
html.m3-kurz #kontakt .check,
html.m3-kurz #kontakt .ko-block:nth-of-type(3),
html.m3-kurz #rueckruf:not(.m3-alle) .m3-extra { display: none; }
html.m3-kurz #kontakt .kopf { margin-bottom: 22px; }
html.m3-kurz #kontakt .ko-raster { gap: 26px; }
html.m3-kurz .m3-mehr { display: block; width: 100%; margin: 2px 0 16px; padding: 10px 0; border: 0; background: none; text-align: left;
  font-family: var(--f-label); font-weight: 600; font-size: .95rem; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 4px; }
html.m3-kurz .fuss { padding-top: 34px; }
html.m3-kurz .fuss-marke > p { display: none; }
html.m3-kurz .fuss-spalte li:has(> a[href^="#"]) { display: none; }
html.m3-kurz .fuss-oben { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; padding-bottom: 24px; }
html.m3-kurz .fuss-marke { grid-column: 1 / -1; }
html.m3-kurz .fuss-marke img { margin-bottom: 0; }
html.m3-kurz .fuss-spalte:nth-of-type(3) { grid-column: 1; grid-row: 2 / span 2; }
html.m3-kurz .fuss-spalte:nth-of-type(2) { grid-column: 2; grid-row: 2; }
html.m3-kurz .fuss-spalte:nth-of-type(4) { grid-column: 2; grid-row: 3; }

/* ---- Formular: Hinweis statt Foto-Feld ---- */
.foto-hinweis { margin: 0; font-size: .95rem; line-height: 1.45; color: #55524a; }
.foto-hinweis a { color: inherit; font-weight: 600; }
.feld-foto { align-self: center; }
