/* Immofabrik · Gutschein-Seite, heller Entwurf (Klasse .thema-c auf <html>)
   Farben und Logo wie im Inserat: Creme, Gold, schwarze Schrift. Video im Kopfbereich,
   das zum Text hin weich in den Papierton übergeht. Wird nach seite.css geladen. */

.thema-c {
  --tinte: #1A1A1A;
  --gold: #D4AF6E;
  --navy: var(--tinte);          /* alle bisher marineblauen Teile werden schwarz */
  --sand: var(--gold);
  --sand-tief: #B98D3E;

  --grund: #FBEFE4;
  --flaeche: #F6E5D4;
  --schrift: var(--tinte);
  --leise: #55504A;
  --linie: #E4D2BC;
  --akzent: #86621F;
  --logo-akzent: #D4AF6E;
  --logo-haupt: #1A1A1A;
  --knopf: var(--gold);
  --knopf-text: var(--tinte);
}
.thema-c body { background: linear-gradient(100deg, #FAEBDF 0%, #FCF0E5 45%, #FDF4EA 100%) fixed; }
.thema-c h1 { font-weight: 700; color: #0B0C0E; }

/* ---------- Kopf ---------- */
.thema-c .anruf { background: rgba(253, 244, 234, .9); border-color: rgba(20, 22, 26, .35); }

/* ---------- Kopfbereich: Video als Band oben, läuft nach unten in den Papierton aus ---------- */
.thema-c .hero { margin-top: calc(-1 * var(--kopf-h)); padding-top: calc(var(--kopf-h) + 150px); }
.thema-c .kulisse {
  display: block; position: absolute; left: 0; right: 0; top: 0; height: 270px; overflow: hidden;
  background: url("../assets/img/kremsmuenster-900.webp") 62% 45% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
}
.thema-c .kulisse video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%;
  opacity: 0; transition: opacity .8s ease;
}
.thema-c .kulisse video.laeuft { opacity: 1; }
/* heller Schleier ganz oben, damit Logo und Telefon-Knopf lesbar bleiben */
.thema-c .kulisse::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(251, 239, 228, .8) 0%, rgba(251, 239, 228, 0) 30%);
}
.thema-c .hero-text h1 { text-shadow: 0 0 18px #FBEFE4, 0 0 6px #FBEFE4; }
.thema-c .hero-text .lead { color: var(--leise); }

/* Daniel freigestellt, steht auf der Unterkante des Kopfbereichs */
.thema-c .hero { padding-bottom: 0; }
.thema-c .hero-daniel { display: flex; align-items: flex-end; gap: 14px; margin: 6px 0 0; }
.thema-c .hero-daniel img { width: 46%; max-width: 230px; height: auto; flex: none; }
.thema-c .hero-daniel figcaption { padding-bottom: 22px; font-size: .98rem; line-height: 1.3; color: var(--leise); }
.thema-c .hero-daniel figcaption strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--tinte); }

/* ---------- Der Gutschein im Stil des Gutschein-Felds aus dem Inserat ---------- */
.thema-c .ticket {
  --knopf: var(--gold); --knopf-text: var(--tinte); --leise: #55504A; --linie: #E4D2BC;
  background: #FFFDFA;
  box-shadow: inset 0 0 0 1.5px var(--tinte);
}
.thema-c .ticket-kopf {
  background: #FDF4EA; color: var(--tinte);
  box-shadow: inset 0 1.5px 0 var(--tinte), inset 1.5px 0 0 var(--tinte), inset -1.5px 0 0 var(--tinte);
  border-bottom: 2px dotted rgba(20, 22, 26, .5);
}
.thema-c .ticket-kopf { padding: 0 22px; }
.thema-c .ticket-kopf > div { border-left: 4px solid var(--gold); padding: 3px 0 3px 14px; min-width: 0; }
.thema-c .ticket-wort { font-family: var(--sans); font-weight: 500; font-size: 1.5rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tinte); }
.thema-c .ticket-was { font-size: .9rem; line-height: 1.2; margin-top: 5px; white-space: normal; }
.thema-c .ticket-was strong { font-weight: 600; }
.thema-c .fortschritt-balken { background: #F1E3D1; }
.thema-c .kachel { border-color: #DCC8AE; }
.thema-c .kachel:has(input:checked) { background: #FBF1E3; }
.thema-c .knopf-haupt:hover { background: #C99C4C; }

/* ---------- Abschnitte ---------- */
.thema-c .person-bild img { border-radius: 0; }
.thema-c .inhalt-bild { box-shadow: none; }
.thema-c .abschluss { background: var(--tinte); }
.thema-c .leiste { background: rgba(251, 239, 228, .95); }
.thema-c .leiste-anruf { background: #FFFDFA; }

@media (max-width: 359px) {
  .thema-c .ticket-kopf { padding: 0 16px; }
  .thema-c .ticket-wort { font-size: 1.3rem; }
  .thema-c .ticket-was { font-size: .92rem; }
}

/* ---------- Desktop: Video rechts, zum Text hin ausgeblendet (wie das Foto im Inserat) ---------- */
@media (min-width: 960px) {
  .thema-c .hero { padding-top: calc(var(--kopf-h) + 46px); min-height: 0; }
  .thema-c .hero-innen {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    grid-template-areas: "text ticket" "bild ticket";
    grid-template-rows: auto 1fr; align-items: start; row-gap: 20px;
  }
  .thema-c .ticket { margin-bottom: 64px; }
  .thema-c .hero-daniel { grid-area: bild; align-self: end; margin: 0; gap: 22px; }
  .thema-c .hero-daniel img { width: 250px; max-width: none; }
  .thema-c .hero-daniel figcaption { padding-bottom: 34px; font-size: 1.05rem; }
  .thema-c .hero-daniel figcaption strong { font-size: 1.6rem; }

  .thema-c .kulisse {
    left: 36%; height: auto; bottom: 0;
    background-image: url("../assets/img/kremsmuenster-1600.webp"); background-position: 55% 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
    mask-composite: intersect;
  }
  .thema-c .kulisse video { object-position: 55% 45%; }
  .thema-c .kulisse::after { background: linear-gradient(180deg, rgba(251, 239, 228, .55) 0%, rgba(251, 239, 228, 0) 22%); }
  .thema-c .hero-text h1 { text-shadow: none; }
  .thema-c .hero-text .lead { max-width: 24em; }
  .thema-c .ticket-was { font-size: 1rem; }
}
