/* Abschnitte des Website-Baukastens (WebsiteBloecke, WebsiteFrei).
   Farben, Radien und Schatten aus dem Design-System der Website. */

.wb-block { display: block; min-width: 0; }
.wb-kicker { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.wb-titel { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; color: var(--navy); }
h1.wb-titel { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.03em; }
.wb-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.wb-block ul { margin: 0 0 14px; padding-left: 22px; font-size: 17px; line-height: 1.7; }
.wb-leise { color: var(--text-muted); font-size: 14px; display: block; }
.wb-fliess { max-width: 68ch; }
.wb-mitte { text-align: center; }
.wb-mitte .wb-fliess { margin-left: auto; margin-right: auto; }

/* Knöpfe */
.wb-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.wb-mitte .wb-knoepfe { justify-content: center; }
.wb-knopf { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease-out); }
.wb-knopf:hover { transform: translateY(-2px); }
.wb-knopf-voll { background: var(--navy); color: var(--cream); box-shadow: 0 14px 26px -16px rgba(20, 41, 74, .7); }
.wb-knopf-voll:hover { color: var(--cream); }
.wb-knopf-leise { background: var(--cream); color: var(--navy); box-shadow: var(--shadow-card-sm); }
.wb-knopf-hell { background: #f4b183; color: #4a2a12; }
.wb-knopf-hell:hover { color: #4a2a12; }

/* Kopfbereich */
.wb-kopf { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(12px, 3vw, 32px); }
.wb-kopf.wb-mit-bild { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.wb-kopf-text p { font-size: 19px; max-width: 56ch; }
.wb-kopf.wb-mitte .wb-kopf-text p { margin-left: auto; margin-right: auto; }
.wb-kopf-bild { width: 100%; border-radius: 32px; box-shadow: var(--shadow-card); object-fit: cover; max-height: 520px; }

/* Text, Text mit Bild */
.wb-text.wb-breit .wb-fliess { max-width: none; }
.wb-textbild { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.wb-textbild.wb-bild-links .wb-textbild-text { order: 2; }
.wb-textbild-bild { width: 100%; border-radius: 32px; box-shadow: var(--shadow-card); object-fit: cover; aspect-ratio: 4 / 3; }
.wb-bild-leer { aspect-ratio: 4 / 3; border-radius: 32px; background: var(--cream); box-shadow: var(--shadow-card-sm); }

/* Karten */
.wb-karten-kopf { margin-bottom: 18px; }
.wb-karten { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wb-spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wb-karte { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 28px; background: var(--cream); box-shadow: var(--shadow-card-sm);
  color: var(--navy); text-decoration: none; transition: transform .25s var(--ease-out); }
a.wb-karte:hover { transform: translateY(-4px); color: var(--navy); }
.wb-karte-titel { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.wb-karte-text p { font-size: 15px; line-height: 1.6; margin: 0; opacity: .85; }
.wb-zeichen { width: 42px; height: 42px; border-radius: 50% 50% 50% 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.wb-ton-0 { background: #14294a; color: #fffaf2; }
.wb-ton-1 { background: var(--soft, #cfe0f5); color: var(--navy); }
.wb-ton-2 { background: var(--apricot, #f4b183); color: #4a2a12; }

/* Häkchenliste */
.wb-haken { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 10px 24px; }
.wb-haken li { position: relative; padding-left: 34px; }
.wb-haken li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* FAQ */
.wb-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.wb-frage { background: var(--cream); border-radius: 22px; box-shadow: var(--shadow-card-sm); padding: 4px 22px; }
.wb-frage summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.wb-frage summary::after { content: '+'; font-size: 20px; line-height: 1; transition: transform .2s; }
.wb-frage[open] summary::after { transform: rotate(45deg); }
.wb-frage summary::-webkit-details-marker { display: none; }
.wb-antwort { padding-bottom: 14px; }

/* Zitat */
.wb-zitat { margin: 0; padding: clamp(24px, 4vw, 44px); border-radius: 36px; background: var(--cream); box-shadow: var(--shadow-card); max-width: 900px; }
.wb-zitat blockquote { margin: 0 0 20px; }
.wb-zitat blockquote p { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; letter-spacing: -0.015em; }
.wb-zitat figcaption { display: flex; align-items: center; gap: 14px; }
.wb-zitat-bild { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Galerie */
.wb-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.wb-galerie-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-card-sm); }

/* Preise */
.wb-tarife { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: 10px; }
.wb-tarif { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 28px; background: var(--cream); box-shadow: var(--shadow-card-sm); }
.wb-tarif-mitte { background: #14294a; color: #fffaf2; }
.wb-tarif-mitte .wb-leise { color: #cfdcec; }
.wb-tarif-name { font-weight: 600; font-size: 18px; }
.wb-tarif-preis { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.wb-tarif-preis small { font-size: 15px; font-weight: 500; opacity: .7; }

/* Aufruf-Leiste */
.wb-aufruf { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); border-radius: 40px; }
.wb-aufruf.wb-dunkel { background: #14294a; color: #fffaf2; }
.wb-aufruf.wb-dunkel p { color: #cfdcec; }
.wb-aufruf.wb-hell { background: var(--cream); box-shadow: var(--shadow-card); }
.wb-aufruf-titel { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.022em; margin-bottom: 8px; }
.wb-aufruf p { margin: 0; }

/* Formular */
.wb-formular { max-width: 720px; padding: clamp(22px, 4vw, 40px); border-radius: 36px; background: var(--cream); box-shadow: var(--shadow-card); }
.wb-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.wb-feld { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.wb-feld input, .wb-feld textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line-strong, rgba(20, 41, 74, .25));
  background: #fff; color: var(--navy); }
.wb-feld input:focus, .wb-feld textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.wb-zustimmung { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.wb-zustimmung input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.wb-form .wb-knopf { align-self: flex-start; }
.wb-form-meldung { margin: 0; font-weight: 600; min-height: 1em; }
.wb-form-meldung.ok { color: var(--ok, #1f7a55); }
.wb-form-meldung.fehler { color: var(--danger, #b3261e); }
.wb-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Abstand */
.wb-abstand-s { height: 8px; } .wb-abstand-m { height: 40px; } .wb-abstand-l { height: 96px; }

/* Freie Fläche: Lage in Prozent; am Handy eigene Lage oder untereinander */
.wb-frei { position: relative; height: var(--wb-h); border-radius: 32px; overflow: hidden; }
.wb-el { position: absolute; left: var(--x); top: var(--y); width: var(--b); height: var(--h); box-sizing: border-box; overflow: hidden; color: var(--navy);
  text-decoration: none; padding: 6px; line-height: 1.35; }
.wb-el p { margin: 0 0 .4em; font-size: inherit; line-height: inherit; }
.wb-el-bild { padding: 0; }
.wb-el-bild img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.wb-el-knopf { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--cream); border-radius: 999px; font-weight: 600; }
.wb-el-knopf:hover { color: var(--cream); filter: brightness(1.08); }
.wb-el-form { background: var(--soft, #cfe0f5); }

/* Handy */
@media (max-width: 760px) {
  .wb-kopf.wb-mit-bild, .wb-textbild { grid-template-columns: minmax(0, 1fr); }
  .wb-textbild.wb-bild-links .wb-textbild-text { order: 0; }
  .wb-karten, .wb-spalten-2, .wb-spalten-4 { grid-template-columns: minmax(0, 1fr); }
  .wb-frei.wb-frei-mobil { height: var(--wb-hm); }
  .wb-frei.wb-frei-mobil .wb-el { left: var(--mx); top: var(--my); width: var(--mb); height: var(--mh); }
  .wb-frei.wb-frei-stapel { height: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
  .wb-frei.wb-frei-stapel .wb-el { position: static; width: auto; height: auto; min-height: 44px; }
  .wb-frei.wb-frei-stapel .wb-el-bild img { height: auto; aspect-ratio: 4 / 3; }
  .wb-frei.wb-frei-stapel .wb-el-form { min-height: 24px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .wb-spalten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sprachwahl unten auf jeder Seite (WebsiteSprachen::wahl) */
.wb-sprachwahl{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:14px 16px 22px;background:#14294a;font:14px/1.4 var(--font-sans,system-ui,sans-serif)}
.wb-sprachwahl a{color:#cfdcec;text-decoration:none;padding:4px 2px}
.wb-sprachwahl a:hover{color:#fffaf2}
.wb-sprachwahl a[aria-current]{color:#fffaf2;font-weight:600;border-bottom:2px solid #f4b183}

/* 0.96.8: Rahmen eines Usercentrics-Dienstes vor der Einwilligung (data-src, noch kein src): ausblenden und den
   Platzhalter dahinter zeigen; sobald Usercentrics src setzt, erscheint der Rahmen und der Platzhalter verschwindet. */
iframe[data-usercentrics][data-src]:not([src]), iframe[data-shiftra-dienst][data-src]:not([src]) { display: none; }
[data-shiftra-uc-platzhalter] { box-sizing: border-box; max-width: 100%; margin: 8px 0; padding: 18px 20px; border: 1px dashed currentColor; border-radius: 12px; font-size: 15px; line-height: 1.5; opacity: .75; }
iframe[src] + [data-shiftra-uc-platzhalter] { display: none !important; }
