/* ---------- Gemeinsame Bausteine der Unterseiten (Kopie in jeder Seiten-CSS) ---------- */
.hero--seite { min-height: 0; padding: 150px 0 clamp(56px, 7vw, 96px); }
.hero--seite .hero__grid { align-items: center; }
.hero--seite h1 { font-size: clamp(40px, 5.4vw, 74px); }
.hero--seite .sterne { font-size: 15px; letter-spacing: 4px; }

/* Bildkarte rechts im Kopf */
.seitenbild { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: 0 0 0 1px rgba(227, 196, 106, .22), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(201, 162, 39, .45); }
.seitenbild img, .seitenbild picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.seitenbild picture img { width: 100%; height: 100%; object-fit: cover; }
.seitenbild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 10, 15, .55)); pointer-events: none; }

/* Vertrauensband: Siegel + drei Kacheln */
.tband { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 14px; margin-top: clamp(48px, 6vw, 84px); padding-top: 30px; border-top: 1px solid var(--line); align-items: stretch; }
.tkachel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
a.tkachel:hover { box-shadow: 0 0 0 1px rgba(227, 196, 106, .45) inset; transform: translateY(-2px); }
.tkachel--siegel { justify-content: center; padding: 10px; }
.tkachel__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(227, 196, 106, .12); color: var(--gold-hi); }
.tkachel__ic svg { width: 22px; height: 22px; }
.tkachel__txt { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.tkachel__txt b { display: block; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 2px; }

/* Trustmarkt-Ersatzsiegel (vom Live-Skript erzeugt, wenn das Widget nicht lädt) */
.tm-fallback { height: auto !important; width: auto !important; }
.tmf { display: flex; align-items: center; gap: 15px; padding: 13px 19px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line-d); }
.tmf__score { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.tmf__body { display: flex; flex-direction: column; gap: 1px; }
.tmf__stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; line-height: 1.2; }
.tmf__body b { font-size: 13.5px; }
.tmf__sub { font-size: 12.5px; color: var(--muted-d); }
.tmf__by { font-family: var(--mono); font-size: 10px; color: var(--muted-d); letter-spacing: .06em; margin-top: 3px; }
.tmf__by b { font-size: 10px; color: var(--gold-lo); }

/* Quellenhinweis unter Stimmen */
.quelle { max-width: 78ch; margin: clamp(36px, 4vw, 56px) auto 0; text-align: center; font-size: 13.5px; color: var(--muted-d); }
.quelle__link { text-align: center; margin: 12px 0 0; }
.quelle__link a { font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid rgba(156, 125, 23, .5); padding-bottom: 2px; }
.quelle__link a:hover { color: var(--gold-lo); }

/* Schluss mit Bild im Hintergrund */
.final--bild .final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.6); }
.final--bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--n-900) 0%, transparent 30%, transparent 70%, var(--n-900) 100%); pointer-events: none; }
.final--bild .wrap { z-index: 1; }
.final .lead { max-width: 60ch; }
.final h2 { max-width: 18ch; }

/* Risikohinweis */
.risiko { padding: 40px 0; border-top: 1px solid var(--line); }
.risiko p { margin: 0 auto; max-width: 980px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.risiko b { color: #fff; }

@media (max-width: 1080px) {
  .tband { grid-template-columns: 1fr 1fr; }
  .tkachel--siegel { grid-column: 1 / -1; }
  .seitenbild { aspect-ratio: 16 / 11; max-width: 640px; }
}
@media (max-width: 680px) {
  .hero--seite { padding-top: 116px; }
  .tband { grid-template-columns: 1fr; }
  .seitenbild { aspect-ratio: 4 / 3.4; }
}
/* ==========================================================================
   Seite /kontakt  (nach basis.css laden)
   ========================================================================== */
.seitenbild--quer { aspect-ratio: 4 / 3; }
.seitenbild--quer img { object-position: 50% 30%; }

.kbox { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kbox__links { display: grid; gap: 18px; }
.kbox__h { font-size: clamp(28px, 3.2vw, 42px); }
.kwege { display: grid; gap: 12px; margin-top: 6px; }
.kweg { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff;
  box-shadow: 0 0 0 1px var(--line-d), 0 14px 34px -26px rgba(11, 18, 32, .4); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.kweg:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(201, 162, 39, .5), 0 20px 40px -26px rgba(11, 18, 32, .5); }
.kweg__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(201, 162, 39, .12); color: var(--gold-lo); }
.kweg__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.kweg b { display: block; font-size: 16px; }
.kweg span { font-size: 14.5px; color: var(--muted-d); overflow-wrap: anywhere; }
.kweg--gold { background: var(--raum); color: #fff; box-shadow: var(--glow); }
.kweg--gold .kweg__ic { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); }
.kweg--gold span { color: var(--muted); }
.kadr { padding: 20px 22px; border-radius: var(--radius-sm); border-left: 3px solid var(--gold); background: var(--paper-2); font-size: 15px; line-height: 1.6; color: var(--muted-d); }
.kadr b { display: block; color: var(--ink); margin-bottom: 4px; }
.kadr__zeit { display: block; margin-top: 10px; font-size: 13.5px; }

/* Formular-Karte */
.kform { padding: clamp(26px, 3.4vw, 44px); border-radius: calc(var(--radius) + 4px); background: #fff;
  box-shadow: 0 0 0 1px var(--line-d), 0 40px 90px -50px rgba(11, 18, 32, .55); }
.kform h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; margin: 0 0 8px; }
.kform > p { margin: 0 0 24px; font-size: 15.5px; color: var(--muted-d); }
.kzeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kfeld { display: grid; gap: 7px; margin-bottom: 16px; }
.kfeld label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.kfeld input, .kfeld select, .kfeld textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border: 0; border-radius: 12px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line-d) inset; transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.kfeld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239c7d17' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.kfeld textarea { min-height: 150px; resize: vertical; }
.kfeld input:focus, .kfeld select:focus, .kfeld textarea:focus { outline: 0; background: #fff; box-shadow: 0 0 0 2px var(--gold) inset; }
.btn--block { width: 100%; margin-top: 4px; }
.btn--block:disabled { opacity: .65; cursor: wait; transform: none; }
.khinweis { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-d); line-height: 1.55; }
.khinweis a { color: var(--gold-lo); font-weight: 600; }
/* Rückmeldung des Formular-Skripts (Klassen setzt das Live-Skript) */
.kmeldung { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; display: none; }
.kmeldung.an { display: block; animation: rein .35s var(--ease); }
.kmeldung.gut { background: #eef8f1; box-shadow: 0 0 0 1px rgba(62, 207, 142, .35) inset; border-left: 3px solid #3a9a66; color: #23573a; }
.kmeldung.schlecht { background: #fdf1ef; box-shadow: 0 0 0 1px rgba(229, 83, 61, .3) inset; border-left: 3px solid #c0392b; color: #8e2b20; }

.final--kurz { padding-block: clamp(80px, 10vw, 140px); }
.final--kurz h2 { font-size: clamp(36px, 5.4vw, 72px); }

/* Trustmarkt-Siegel unten */
.tmsiegel { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.tmsiegel__in { width: min(1180px, 100% - 44px); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.tmsiegel .trustmarkt-widget { background: #fff; border-radius: 12px; overflow: hidden; }
.tmsiegel__t { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: center; }

@media (max-width: 1080px) {
  .kbox { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .kzeile { grid-template-columns: 1fr; gap: 0; }
  .kform { padding: 22px; }
}
