/* Stil nach der Brand-Session mit Sabrina Sebald (3.12.2026):
   Archetyp Verbündete mit einer Prise Weise. Dunkelblau, Braun, Creme und Sand, Gelb nur als Highlight
   (Hauptknopf und Strich). Titel in Outfit, Text in DM Sans, keine Verläufe, keine Farbe über Fotos.
   Titel: schwierige Dinge Braun mit blauem Akzentwort, gute Dinge Blau mit gelbem Strich (class="gut"). */
@font-face {
  font-family: "Outfit";
  src: url("schrift/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("schrift/DMSans-Variable.ttf") format("truetype");
  font-weight: 100 1000; font-display: swap;
}

:root {
  --blau: #214C73;
  --nachtblau: #263640;
  --braun: #8C756A;
  --sand: #EFE8DE;
  --creme: #F6F6EE;
  --gelb: #F9AF00;
  --weiss: #FFFFFF;
  --text: #263640;
  --strich: linear-gradient(transparent 64%, var(--gelb) 64%, var(--gelb) 92%, transparent 92%);
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem; line-height: 1.65;
}
h1, h2, h3, .name, .kachel .zeit, .stimme .titel {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif; font-weight: 600; line-height: 1.12; letter-spacing: -.01em;
}
h1 em, h2 em, h3 em { font-style: normal; }
h2 { color: var(--braun); }
h2 em { color: var(--blau); }
h2.gut { color: var(--blau); }
h2.gut em { color: inherit; background: var(--strich); padding: 0 .08em; }
h3 { color: var(--blau); }
a { color: inherit; }
main a:not(.oval):not(.fotokachel) { color: var(--blau); }

/* Der gelbe Strich (ersetzt die Schreibschrift) */
.hand, .strich { font-family: inherit; font-size: 1em; font-weight: inherit; font-style: normal; color: inherit; background: var(--strich); padding: 0 .08em; }

/* Kopf mit Reitern */
.kopf {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}
.name { font-size: 1.15rem; text-decoration: none; }
.navi { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9rem; letter-spacing: .03em; }
.navi a { text-decoration: none; }
.navi a[aria-current="page"] { color: var(--blau); border-bottom: 2px solid var(--gelb); }

/* Knöpfe: Gelb nur für den Hauptknopf, Nebenknöpfe Braun */
.oval {
  display: inline-block; padding: .7rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-size: .9rem; letter-spacing: .04em; border: 1.5px solid currentColor; margin: .25rem .5rem .25rem 0;
}
.oval.voll { background: var(--gelb); color: var(--nachtblau); border-color: var(--gelb); }
.oval.blau { background: var(--braun); color: var(--weiss); border-color: var(--braun); }

/* Kopfbereich: blaue Fläche, Text links, Foto frei daneben (keine Farbe über dem Foto) */
.held {
  position: relative; margin: 0; overflow: hidden;
  min-height: clamp(32rem, 78vh, 44rem); display: flex; align-items: center;
  background: var(--blau); color: var(--weiss);
  --rand: max(clamp(1.5rem, 5vw, 4rem), calc((100% - 72rem) / 2));
}
.held.klein { min-height: clamp(28rem, 66vh, 38rem); }
.held img {
  position: absolute; top: 50%; right: var(--rand); width: calc((100% - 2 * var(--rand)) * .44); height: 84%;
  transform: translateY(-50%); object-fit: cover; object-position: 50% 20%; border-radius: 1.5rem;
}
.held img.oben { object-position: 50% 30%; }
.held img.tiefer { object-position: 50% 45%; }
.held .text { position: relative; z-index: 1; padding: clamp(1.5rem, 5vw, 4rem) 0; max-width: min(38rem, calc((100% - 2 * var(--rand)) * .52)); margin-left: var(--rand); }
.held .eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--creme); margin: 0 0 1rem; }
.held h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; color: var(--weiss); }
.held p { margin: 0 0 1.25rem; font-size: 1.1rem; }
.held .oval:not(.voll) { color: var(--weiss); }
@media (max-width: 720px) {
  .held, .held.klein { min-height: auto; flex-direction: column; align-items: stretch; }
  .held img { position: relative; top: 0; right: 0; transform: none; width: auto; height: auto; aspect-ratio: 4/5; margin: 1rem; border-radius: 1.25rem; }
  .held img.tiefer { object-position: 50% 60%; }
  .held .text { max-width: none; margin: 0; padding: clamp(1.5rem, 5vw, 4rem); }
}
.kacheln.paare { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 48rem; margin: 0 auto; }
@media (max-width: 720px) { .kacheln.paare { grid-template-columns: 1fr; } }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.abschnitt .innen { max-width: 68rem; margin: 0 auto; }
.abschnitt .schmal { max-width: 46rem; margin: 0 auto; }
.abschnitt h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 1.5rem; }
.abschnitt h3 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.band { background: var(--blau); color: var(--weiss); }
.band h2, .band h3, .band h2 em { color: var(--weiss); }
.band.sanft { background: var(--sand); color: var(--text); }
.band.sanft h2 { color: var(--braun); }
.band.sanft h2 em { color: var(--blau); }
.band.sanft h2.gut { color: var(--blau); }
.band.sanft h2.gut em { color: inherit; }
.band.sanft h3 { color: var(--blau); }
.vorzeile { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--braun); margin: 0 0 .6rem; }
.band .vorzeile { color: var(--creme); }
.band.sanft .vorzeile { color: var(--braun); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.kachel { border: 1px solid rgba(255,255,255,.35); border-radius: 1.25rem; padding: 1.5rem; }
.karten .kachel { background: var(--sand); border-color: transparent; }
.stimmen { align-items: start; }
.kachel h3 { margin: .25rem 0 .5rem; }
.band.sanft .kachel, .kachel.weiss {
  background: var(--weiss); border-color: transparent; box-shadow: 0 6px 24px rgba(38,54,64,.07); color: var(--text);
}
.kachel .zeit { font-size: 1.4rem; margin: 0 0 .5rem; color: var(--braun); }
.kachel .nr { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 2.2rem; color: var(--braun); line-height: 1; }
.band:not(.sanft) .kachel .nr { color: var(--creme); }
.kachel ul { margin: .5rem 0 0; padding-left: 1.2rem; }

.zwei { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.rund { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; max-width: 24rem; background: var(--sand); }

.wege .kachel { display: flex; flex-direction: column; }
.wege .oval { margin-top: auto; align-self: flex-start; }
.paket { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 30rem; margin: 0 auto 1.5rem; padding: 1rem 1.25rem; background: var(--weiss); border-radius: 1.25rem; }
.packung { width: 100%; max-width: 13rem; height: auto; }
.paket .plus { font-weight: 700; font-size: 2.2rem; color: var(--braun); }
.paket .puzzle { margin: 0; width: 6.5rem; flex: none; text-align: center; }
.paket .puzzle img { width: 100%; height: auto; display: block; }
.paket .puzzle figcaption { font-size: .8rem; white-space: nowrap; color: var(--text); margin-top: .25rem; }

/* Fotokacheln: Foto ohne Farbschleier, Text auf heller Karte */
.fotokacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.fotokachel {
  position: relative; border-radius: 1.5rem; overflow: hidden; min-height: 26rem;
  display: flex; align-items: flex-end; color: var(--text); text-decoration: none; background: var(--sand);
}
.fotokachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform .6s; }
.fotokachel:hover img { transform: scale(1.04); }
.fotokachel .text { position: relative; z-index: 1; background: rgba(255,255,255,.94); margin: 1rem; border-radius: 1.1rem; padding: 1.25rem 1.4rem; }
.fotokachel h3 { font-size: 1.6rem; margin: 0 0 .5rem; }
.fotokachel p { margin: 0 0 1rem; }

/* Platzhalter: gelb markiert, bis Susanne den Text freigibt */
.platz {
  background: rgba(249,175,0,.18); border-left: 3px solid var(--gelb);
  padding: .3rem .6rem; font-style: italic; font-size: .95rem;
}
.band:not(.sanft) .platz { background: rgba(255,255,255,.15); }

/* Rechtstexte */
.recht h2 { font-size: 1.5rem; margin: 2.25rem 0 .5rem; }
.recht p { margin: .5rem 0; }

/* Fuss */
.fuss { background: var(--braun); color: var(--weiss); padding: 2rem clamp(1rem, 4vw, 3rem); font-size: .85rem; }
.fuss .innen { max-width: 68rem; margin: 0 auto; }
.fuss p { margin: .4rem 0; opacity: .95; }

/* Sanftes Einblenden beim Scrollen (script.js) */
.js .einblenden { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js .held .text { animation: herein 1.2s ease both .2s; }
@keyframes herein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .einblenden { opacity: 1; transform: none; transition: none; }
  .js .held .text { animation: none; }
}

@media (max-width: 44rem) {
  .kopf { gap: .75rem; }
  .navi { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: .5rem; }
  .navi a { white-space: nowrap; padding: .35rem .8rem; border-radius: 999px; background: var(--sand); }
  .navi a[aria-current="page"] { border-bottom: 0; background: var(--blau); color: var(--weiss); }
  .zwei { grid-template-columns: 1fr; }
  .rund { max-width: 16rem; margin: 0 auto; display: block; }
}

.klein:not(.held) { font-size: .85rem; margin-top: .75rem; opacity: .85; }

.stimme { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--gelb); background: var(--sand); border-radius: .5rem; font-style: italic; }
.stimme p { margin: 0 0 .5rem; }
.stimme footer { font-style: normal; font-size: .85rem; opacity: .8; }

/* Kundenstimmen als Wisch-Reihe: bewegt sich nie von selbst */
.stimmen-reihe { max-width: 60rem; margin: 2rem auto 0; }
.stimmen-spur {
  position: relative; display: flex; gap: 1rem; align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .25rem .25rem 1rem;
}
.stimmen-spur::-webkit-scrollbar { display: none; }
.stimmen-spur .stimme { flex: 0 0 85%; margin: 0; scroll-snap-align: start; }
@media (min-width: 720px) { .stimmen-spur .stimme { flex-basis: 46%; } }
@media (min-width: 1000px) { .stimmen-spur .stimme { flex-basis: calc((100% - 2rem) / 3); } }
.stimme .titel { font-style: normal; font-size: 1.1rem; line-height: 1.35; margin: 0 0 .5rem; color: var(--blau); }
.js .stimme .volltext p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.js .stimme.offen .volltext p { display: block; overflow: visible; }
.stimme .mehr {
  background: none; border: 0; padding: 0; margin: 0 0 .5rem; cursor: pointer;
  font: inherit; font-style: normal; font-size: .9rem; color: var(--blau); text-decoration: underline;
}
.stimme .mehr[hidden] { display: none; }
.stimmen-steuerung { display: none; justify-content: center; align-items: center; gap: 1rem; }
.js .stimmen-steuerung { display: flex; }
.pfeil {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; cursor: pointer; line-height: 1;
  border: 1px solid rgba(33,76,115,.35); background: var(--weiss); color: var(--blau); font-size: 1.4rem;
}
.pfeil:disabled { opacity: .35; cursor: default; }
.punkte { display: flex; gap: .5rem; }
.punkte button { width: .6rem; height: .6rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(33,76,115,.3); }
.punkte button.aktiv { background: var(--blau); }
