/* Mandantenstimmen, Kontaktseite, Rückruf-Formular, Leistungsseite */

/* ---------- Stimmen: Zitat mit Apricot-Anführungszeichen, Absender mit Initiale ---------- */
/* Karussell: native Wischgeste mit Einrasten, die nächste Karte schaut an der Kante hervor. Ohne JS bleibt es wischbar. */
.stimmen { --sicht: 3; --gap: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--sicht) - 1) * var(--gap)) / var(--sicht)); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0 8px; margin: -4px 0 -8px; border-radius: var(--r); }
.stimmen::-webkit-scrollbar { display: none; }
.stimmen:focus-visible { outline: 3px solid var(--blau-100); outline-offset: 4px; }
.stimme { margin: 0; padding: 26px 24px; display: grid; grid-template-rows: 1fr auto; gap: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; scroll-snap-align: start; }
.kap--grau .stimme { border-color: transparent; }
.stimme blockquote { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -.005em; }
.stimme blockquote::before { content: '„'; color: var(--akzent); }
.stimme blockquote::after { content: '“'; color: var(--akzent); }
.stimme figcaption { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.35; }
.stimme .av { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--blau-50); color: var(--blau); display: grid; place-items: center; font-weight: 600; }
.stimme figcaption b { display: block; font-weight: 600; }
.stimme figcaption small { font-size: 14px; color: var(--ink-3); }
.karussell__steuer { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.js .karussell__steuer { display: flex; }
.js .karussell__steuer[hidden] { display: none; }
.karussell__btn { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--feld); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease); }
.karussell__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.karussell__btn:hover:not(:disabled) { border-color: var(--blau); color: var(--blau); }
.karussell__btn:focus-visible { outline: 3px solid var(--blau-100); outline-offset: 2px; }
.karussell__btn:disabled { opacity: .35; cursor: default; }
.karussell__punkte { display: flex; gap: 8px; }
.karussell__punkte span { width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); transition: width .3s var(--ease), background-color .3s var(--ease); }
.karussell__punkte span.is-an { width: 24px; background: var(--blau); }
@media (max-width: 980px) { .stimmen { --sicht: 2; } }
@media (max-width: 620px) { .stimmen { --sicht: 1; grid-auto-columns: 86%; --gap: 12px; } .stimme { padding: 22px 20px; } }
@media (prefers-reduced-motion: reduce) { .stimmen { scroll-behavior: auto; } }

/* ---------- Kontaktseite ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.kontaktdaten { margin: 32px 0 0; display: grid; gap: 10px; }
.kontaktdaten a, .kontaktdaten p { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease; }
.kontaktdaten a:hover { border-color: var(--blau-100); }
.kontaktdaten a:hover b { color: var(--blau); }
.kontaktdaten .ic-rund { width: 44px; height: 44px; border-radius: 50%; background: var(--blau-50); color: var(--blau); display: grid; place-items: center; }
.kontaktdaten small { display: block; font-size: 14px; color: var(--ink-3); }
.kontaktdaten b { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; transition: color .15s; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; margin-right: 6px; vertical-align: 1px; }
[data-status].is-open .status-dot { background: var(--gruen); }

/* ---------- Rückruf-Formular: drei Felder, Fehler klar und ohne Fachjargon ---------- */
.form { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 18px; box-shadow: var(--shadow); }
.form h2 { font-size: clamp(24px, 2.4vw, 28px); }
.form > p { margin: -8px 0 0; color: var(--ink-2); font-size: 16.5px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: 16px; font-weight: 600; }
.feld label small { font-weight: 400; color: var(--ink-3); font-size: 15px; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 52px; padding: 11px 14px; border: 1px solid var(--feld); border-radius: var(--r-s); background: #fff; color: var(--ink); font-size: 17px; transition: border-color .15s ease, box-shadow .15s ease; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234f5d66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-100); }
/* Telefon mit Ländervorwahl: links rundes Länder-Icon und Vorwahl (Deutschland vorausgewählt), rechts die Nummer.
   Die echte Auswahlliste liegt unsichtbar darüber: Antippen öffnet die normale Liste mit allen Ländern.
   Erst wenn main.js die Klasse vorwahl--an setzt, wird die Liste durchsichtig; ohne JavaScript sieht man sie normal. */
:root {
  --flagge-de: linear-gradient(#000 0 33.4%, #dd0000 0 66.7%, #ffce00 0);
  --flagge-at: linear-gradient(#c8102e 0 33.4%, #fff 0 66.7%, #c8102e 0);
  --flagge-ch: linear-gradient(#fff, #fff) center / 58% 18% no-repeat, linear-gradient(#fff, #fff) center / 18% 58% no-repeat, #da291c;
  --flagge-welt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016d9c' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.6 5.6 3.6 9s-1.1 6.4-3.6 9c-2.5-2.6-3.6-5.6-3.6-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / 100% no-repeat, var(--blau-50);
}
.tel-zeile { display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); gap: 8px; }
.vorwahl { position: relative; }
.vorwahl select { text-overflow: ellipsis; }
.vorwahl__anzeige { display: none; }
.vorwahl--an .vorwahl__anzeige { position: absolute; inset: 0 40px 0 14px; display: flex; align-items: center; gap: 8px; pointer-events: none; font-size: 17px; color: var(--ink); }
.vorwahl--an select { color: transparent; }
.vorwahl--an select option, .vorwahl--an select optgroup { color: var(--ink); }
.flagge { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--flagge-welt); box-shadow: inset 0 0 0 1px rgba(20, 35, 44, .15); }
.flagge--de { background: var(--flagge-de); }
.flagge--at { background: var(--flagge-at); }
.flagge--ch { background: var(--flagge-ch); }
.feld .hilfe { font-size: 14px; color: var(--ink-3); }
.feld.fehler input { border-color: var(--rot); }
.feld.fehler .hilfe { color: var(--rot); }
.form .btn { width: 100%; }
.art { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0; border: 0; border-radius: var(--r-s); background: var(--bg-2); min-inline-size: 0; }
.art legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.art label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 6px; font-size: 16px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.art label .ic { width: 18px; height: 18px; }
.art input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.art label:has(input:checked) { background: #fff; color: var(--blau); box-shadow: 0 1px 2px rgba(20, 35, 44, .08), 0 2px 8px rgba(20, 35, 44, .06); }
.art label:has(input:focus-visible) { outline: 3px solid var(--blau-100); outline-offset: 1px; }
.form [data-nur][hidden] { display: none; }
.feld.fehler textarea { border-color: var(--rot); }
.vertrau { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.vertrau .ic { width: 18px; height: 18px; color: var(--ink-3); margin-top: 2px; }
.form__status { margin: 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--blau-50); font-size: 15.5px; }
.form__status:empty { display: none; }
.form__status--fehler { background: #fbeceb; color: var(--rot); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Leistungsseite: vier Hauptleistungen, Bild und Text wechseln die Seite ---------- */
.leistung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--bar-h) + 24px); }
.leistung + .leistung { margin-top: clamp(64px, 8vw, 104px); }
.leistung__bild { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.leistung__bild img { width: 100%; height: 100%; object-fit: cover; }
.leistung:nth-child(even) .leistung__bild { order: 2; }
.leistung .h2 { margin-bottom: 16px; }
.leistung p { color: var(--ink-2); }
.haken { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.haken li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.haken .ic { width: 20px; height: 20px; color: var(--akzent-700); margin-top: 3px; stroke-width: 2.2; }
@media (max-width: 900px) { .leistung { grid-template-columns: 1fr; } .leistung:nth-child(even) .leistung__bild { order: 0; } }
