/* pyt Sportpsychologie · Design-System
   Farben aus dem Logo, Schriften lokal aus assets/fonts */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #f6efe6;
  --hell: #fff8f0;
  --sand: #e6d6c4;
  --tinte: #2b211c;
  --braun: #6e5a4a;
  --ziegel: #a3402a;
  --ziegel-dunkel: #86321f;
  --orange: #e0873a;

  --schrift-titel: "Fraunces", Georgia, "Times New Roman", serif;
  --schrift-text: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 1120px;
  --rand: clamp(20px, 5vw, 40px);
  --abstand: clamp(64px, 10vw, 120px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 480;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--ziegel); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ziegel); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ziegel-dunkel); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--tinte); color: var(--hell); padding: 12px 18px; border-radius: 10px;
}
.skip:focus { top: 16px; color: var(--hell); }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 720px; }

section { padding: var(--abstand) 0; }
.bg-hell { background: var(--hell); }
.bg-sand { background: var(--sand); }

.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; color: var(--braun); max-width: 34em; }

/* Kleine Zeile über Überschriften, mit dem orangen Punkt aus dem Logo */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--braun); margin: 0 0 18px;
}
.kicker::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none;
}

/* Die drei Bahnlinien aus dem Logo als Trenner */
.bahnen { height: 11px; width: 120px; margin: 0 0 28px;
  background: linear-gradient(var(--ziegel), var(--ziegel)) 0 0 / 100% 1.5px no-repeat,
              linear-gradient(var(--ziegel), var(--ziegel)) 0 50% / 100% 1.5px no-repeat,
              linear-gradient(var(--ziegel), var(--ziegel)) 0 100% / 100% 1.5px no-repeat;
}

/* Platzhalter, die Stephi noch ersetzen muss */
.ph {
  background: rgba(224, 135, 58, 0.2);
  border-bottom: 2px dashed var(--orange);
  padding: 0 0.25em; border-radius: 3px;
  font-style: normal; color: inherit;
}

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px;
  background: var(--ziegel); color: var(--hell);
  font-family: var(--schrift-text); font-size: 1.05rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  transition: transform 0.25s ease;
}
.btn:hover { background: var(--ziegel-dunkel); color: var(--hell); transform: translateY(-1px); }
.btn:hover::after { transform: translateX(5px); }
.btn-hell { background: var(--hell); color: var(--tinte); }
.btn-hell:hover { background: #fff; color: var(--tinte); }

.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; color: var(--tinte); text-decoration: none;
  background: linear-gradient(var(--ziegel), var(--ziegel)) 0 calc(100% - 9px) / 100% 1.5px no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
}
.textlink:hover { color: var(--ziegel); background-size: 40% 1.5px; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 230, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.kopf.gescrollt { border-bottom-color: var(--sand); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; color: var(--braun); flex: none; }
.logo img { height: 44px; width: auto; }
.logo span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; padding-top: 6px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--tinte); text-decoration: none; font-size: 1.05rem; white-space: nowrap;
  background: linear-gradient(var(--ziegel), var(--ziegel)) 0 calc(100% - 8px) / 0 1.5px no-repeat;
  transition: background-size 0.25s ease;
}
.nav li a:hover, .nav li a[aria-current="page"] { background-size: 100% 1.5px; }
.kopf .btn { min-height: 46px; padding: 10px 22px; font-size: 1rem; }
.btn .kurz { display: none; }

.menue-knopf {
  display: none; width: 46px; height: 46px; padding: 0; flex: none;
  background: none; border: 1.5px solid var(--tinte); border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center;
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
  display: block; width: 18px; height: 1.5px; background: var(--tinte); content: ""; position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menue-knopf span::before { position: absolute; top: -6px; }
.menue-knopf span::after { position: absolute; top: 6px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Kopfbereich der Startseite */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--abstand); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero .lead { margin-bottom: 36px; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Bild in U-Form, wie das Psi im Logo, mit Bahnlinien dahinter */
.u-bild { position: relative; margin: 0 22px 22px 0; }
.u-bild img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 18px 18px 999px 999px; background: var(--sand);
}
.u-bild::before, .u-bild::after {
  content: ""; position: absolute; border: 1.5px solid var(--ziegel);
  border-top: 0; border-radius: 0 0 999px 999px; pointer-events: none;
}
.u-bild::before { inset: 40% -11px -11px -11px; }
.u-bild::after { inset: 40% -22px -22px -22px; }
.u-bild i {
  position: absolute; z-index: 2; right: 7%; bottom: 13%; width: 20px; height: 20px;
  border-radius: 50%; background: var(--orange); border: 3px solid var(--creme);
}

/* Kopfbereich der Unterseiten */
.seitenkopf { padding: clamp(40px, 7vw, 80px) 0 clamp(48px, 7vw, 80px); }
.seitenkopf.mit-bild .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.seitenkopf h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }

/* Raster */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.zwei.oben { align-items: start; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.abschnitt-kopf { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }

.bild { border-radius: var(--radius); overflow: hidden; background: var(--sand); margin: 0; }
.bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bild:hover img { transform: scale(1.025); }
.f-43 { aspect-ratio: 4 / 3; }
.f-45 { aspect-ratio: 4 / 5; }
.f-34 { aspect-ratio: 3 / 4; }

/* pyt, das Wort */
.wort { display: grid; grid-template-columns: 1fr 290px; gap: clamp(32px, 6vw, 88px); align-items: center; }
.wort-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.wort-kopf strong { font-family: var(--schrift-titel); font-weight: 480; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 1; color: var(--ziegel); letter-spacing: -0.02em; }
.wort-kopf span { color: var(--braun); font-size: 1.05rem; }
.wort .bedeutung { font-family: var(--schrift-titel); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.3; margin-bottom: 0.8em; max-width: 24em; }
.wort p { max-width: 34em; }

/* Karten */
.karte {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: var(--hell); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 32px 28px 26px; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bg-hell .karte { background: var(--creme); }
.karte::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--ziegel); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.karte:hover { transform: translateY(-4px); border-color: var(--ziegel); }
.karte:hover::before { transform: scaleX(1); }
.karte svg { width: 44px; height: 44px; margin-bottom: 22px; color: var(--ziegel); }
.karte p { color: var(--braun); font-size: 1.08rem; }
.karte .textlink { margin-top: auto; padding-top: 8px; }
.karte .textlink::after { content: ""; position: absolute; inset: 0; }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.schritte li { counter-increment: schritt; position: relative; padding-top: 26px; border-top: 1.5px solid var(--ziegel); }
.schritte li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--creme);
}
.bg-hell .schritte li::before { border-color: var(--hell); }
.schritte .nr { display: block; font-family: var(--schrift-titel); font-size: 1rem; color: var(--ziegel); margin-bottom: 8px; }
.schritte .nr::before { content: "Schritt " counter(schritt); }
.schritte p { color: var(--braun); font-size: 1.08rem; }
/* Der Punkt wandert von Schritt zu Schritt die Bahn entlang: links, Mitte, rechts */
@media (min-width: 821px) {
  .schritte:not(.lang) li:nth-child(2)::before { left: calc(50% - 6px); }
  .schritte:not(.lang) li:nth-child(3)::before { left: auto; right: 0; }
}
.schritte.lang { grid-template-columns: 1fr; gap: 0; }
.schritte.lang li { border-top: 0; border-left: 1.5px solid var(--ziegel); padding: 0 0 36px 30px; }
.schritte.lang li:last-child { padding-bottom: 0; }
.schritte.lang li::before { top: 4px; left: -7px; }

/* Stimmen */
.stimme {
  margin: 0; padding: 30px 28px; background: var(--hell); border-radius: var(--radius);
  border: 1px solid var(--sand); display: flex; flex-direction: column; gap: 18px;
}
.stimme::before { content: "\201E"; font-family: var(--schrift-titel); font-size: 3.4rem; line-height: 0.5; color: var(--ziegel); padding-top: 14px; }
.stimme p { font-family: var(--schrift-titel); font-size: 1.2rem; line-height: 1.4; margin: 0; }
.stimme footer { font-size: 0.98rem; color: var(--braun); margin-top: auto; }
.hinweis-klein { font-size: 0.98rem; color: var(--braun); margin-top: 24px; }

/* Listen mit Punkt */
.punkte { list-style: none; margin: 1.2em 0 0; padding: 0; }
.punkte li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--sand); }
.bg-sand .punkte li { border-top-color: rgba(110, 90, 74, 0.25); }
.punkte li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Angebot: Themenblöcke */
.thema { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 6vw, 88px); align-items: start; }
.thema-kopf { position: sticky; top: 110px; }
.thema-kopf svg { width: 52px; height: 52px; color: var(--ziegel); margin-bottom: 22px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.mini div { background: var(--hell); border-radius: 16px; padding: 22px 20px; border: 1px solid var(--sand); }
.mini h3 { font-size: 1.2rem; }
.mini p { font-size: 1.02rem; color: var(--braun); }

/* Publikationen */
.pub { list-style: none; margin: 0; padding: 0; }
.pub li { padding: 22px 0; border-top: 1px solid var(--sand); font-size: 1.05rem; color: var(--braun); overflow-wrap: anywhere; }
.pub li:last-child { border-bottom: 1px solid var(--sand); }
.pub strong { display: block; font-family: var(--schrift-titel); font-weight: 480; font-size: 1.25rem; line-height: 1.3; color: var(--tinte); margin: 4px 0 6px; }
.pub a { display: inline-flex; align-items: center; min-height: 44px; }
.pub-wo { display: block; }

/* Über mich: Sportfotos */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.trio .bild:nth-child(2) { margin-top: 48px; }
.trio.duo { grid-template-columns: 1fr 1fr; gap: 16px; }
.trio .bahn-bild:nth-child(2) { margin-top: 64px; }

/* Foto mit kompletter Laufbahn drumherum */
.bahn-bild { position: relative; margin: 24px 26px; }
.bahn-bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px; background: var(--sand); position: relative; z-index: 1; }
.bahn-bild::before, .bahn-bild::after {
  content: ""; position: absolute; border: 1.5px solid var(--ziegel); border-radius: 999px; pointer-events: none;
}
.bahn-bild::before { inset: -11px; }
.bahn-bild::after { inset: -22px; }
.bahn-bild i {
  position: absolute; z-index: 2; right: calc(14.65% - 28.5px); bottom: calc(11% - 28.5px);
  width: 20px; height: 20px; border-radius: 50%; background: var(--orange); border: 3px solid var(--creme);
}
.bg-hell .bahn-bild i { border-color: var(--hell); }
.bg-sand .bahn-bild i { border-color: var(--sand); }
.bahn-bild.b-quer img { aspect-ratio: 4 / 3; }
.bahn-bild.b-45 img { aspect-ratio: 4 / 5; }
/* Der Punkt sitzt je Bild an einer anderen Stelle der Bahn: immer seitlich in einer Kurve, nie mittig */
.bahn-bild i.pkt-ul { left: calc(14.65% - 28.5px); right: auto; bottom: calc(11% - 28.5px); }
.bahn-bild i.pkt-ol { left: calc(14.65% - 28.5px); right: auto; top: calc(11% - 28.5px); bottom: auto; }
.bahn-bild i.pkt-or45 { right: calc(14.65% - 28.5px); top: calc(11.72% - 28.5px); bottom: auto; }
.bahn-bild i.pkt-or-quer { right: calc(6.79% - 31px); top: calc(21.3% - 25.6px); bottom: auto; }
.bahn-bild i.pkt-ul-quer { left: calc(6.79% - 31px); right: auto; top: calc(78.7% - 0.4px); bottom: auto; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.preis { background: var(--hell); border: 1px solid var(--sand); border-radius: var(--radius); padding: 30px 28px; }
.preis.haupt { background: var(--tinte); color: var(--hell); border-color: var(--tinte); }
.preis h3 { font-family: var(--schrift-text); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--braun); margin-bottom: 18px; }
.preis.haupt h3 { color: var(--sand); }
.preis .betrag { font-family: var(--schrift-titel); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: 14px; }
.preis.haupt .betrag { color: var(--orange); }
.preis p { font-size: 1.05rem; color: var(--braun); }
.preis.haupt p { color: var(--sand); }

.wissen { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 72px); }
.wissen div { padding: 26px 0; border-top: 1px solid rgba(110, 90, 74, 0.3); }
.wissen p { color: var(--braun); font-size: 1.08rem; }

/* Abschluss mit dem einen Knopf */
.abschluss { background: var(--ziegel); color: var(--hell); position: relative; overflow: hidden; }
.abschluss::before, .abschluss::after {
  content: ""; position: absolute; right: -80px; bottom: -260px; width: 460px; height: 460px;
  border: 1.5px solid rgba(255, 248, 240, 0.35); border-radius: 50%; pointer-events: none;
}
.abschluss::after { width: 400px; height: 400px; right: -50px; bottom: -230px; }
.abschluss .wrap { position: relative; z-index: 1; }
.abschluss h2 { max-width: 16em; }
.abschluss p { max-width: 30em; font-size: 1.2rem; margin-bottom: 32px; color: rgba(255, 248, 240, 0.92); }

/* Formular */
.formular { display: grid; gap: 20px; }
.feld { display: grid; gap: 7px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-weight: 500; font-size: 1.02rem; }
label small { font-weight: 400; color: var(--braun); font-size: 0.95rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--hell);
  border: 1.5px solid var(--sand); border-radius: 14px; padding: 13px 16px; min-height: 52px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b211c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; }
textarea { min-height: 170px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--braun); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ziegel); box-shadow: 0 0 0 3px rgba(163, 64, 42, 0.18); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { font-size: 0.98rem; color: var(--braun); }
.meldung { display: none; padding: 16px 20px; border-radius: 14px; font-size: 1.05rem; }
.meldung.sichtbar { display: block; }
.meldung.ok { background: var(--hell); border: 1.5px solid var(--ziegel); }
.meldung.fehler { background: rgba(224, 135, 58, 0.18); border: 1.5px solid var(--orange); }
.formular .btn { justify-self: start; }
.formular .btn[disabled] { opacity: 0.6; cursor: progress; }

.kontakt-seite { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.kontakt-neben { display: grid; gap: 32px; }
.kontakt-neben h2 { font-size: 1.5rem; }
.kontakt-neben p { color: var(--braun); font-size: 1.08rem; }

/* Rechtstexte */
.recht h2 { font-size: 1.6rem; margin-top: 2em; }
.recht h3 { font-size: 1.2rem; margin-top: 1.6em; }
.recht p, .recht li { font-size: 1.08rem; }
.recht ul { padding-left: 1.2em; }
.pruef {
  background: var(--hell); border: 1.5px dashed var(--orange); border-radius: 16px;
  padding: 20px 24px; margin-bottom: 40px; font-size: 1.05rem;
}

/* Fuß */
.fuss { background: var(--tinte); color: var(--sand); padding: 64px 0 32px; font-size: 1.05rem; }
.fuss .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.fuss img { width: 120px; margin-bottom: 20px; }
.fuss h2 { font-family: var(--schrift-text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--hell); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.fuss a:hover { color: var(--orange); }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid rgba(230, 214, 196, 0.2); padding-top: 22px; font-size: 0.95rem; color: rgba(230, 214, 196, 0.75); }

/* Sanftes Einblenden beim Scrollen (nur wenn JavaScript läuft) */
.js .ein { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .ein.da { opacity: 1; transform: none; }
.js .ein.v1 { transition-delay: 0.1s; }
.js .ein.v2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .ein { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .logo span { display: none; }
  .nav { gap: 16px; }
  .nav ul { gap: 18px; }
  .nav li a { font-size: 1rem; }
  .btn .lang { display: none; }
  .btn .kurz { display: inline; }
  .drei, .preise { grid-template-columns: 1fr 1fr; }
  .drei > :last-child:nth-child(odd), .preise > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mini { grid-template-columns: 1fr; }
  .fuss .wrap { grid-template-columns: 1fr 1fr; }
  .fuss .marke { grid-column: 1 / -1; }
}

/* ---------- Handy: eigener Durchgang ---------- */
@media (max-width: 820px) {
  body { font-size: 1.0625rem; }
  html { scroll-padding-top: 80px; }

  /* Kopfzeile: Logo, kurzer Knopf, Menü zum Aufklappen */
  .kopf .wrap { min-height: 66px; gap: 10px; }
  .logo img { height: 38px; }
  .menue-knopf { display: inline-flex; }
  .nav { gap: 10px; }
  .nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--creme);
    border-bottom: 1px solid var(--sand); padding: 6px var(--rand) 18px;
    box-shadow: 0 18px 30px -22px rgba(43, 33, 28, 0.45);
  }
  .nav ul.offen { display: flex; }
  .nav li a { width: 100%; min-height: 54px; font-size: 1.2rem; font-family: var(--schrift-titel); border-bottom: 1px solid var(--sand); background: none; }
  .nav li:last-child a { border-bottom: 0; }
  .nav li a[aria-current="page"] { color: var(--ziegel); }
  .kopf .btn { padding: 8px 16px; min-height: 44px; font-size: 0.98rem; }
  .kopf .btn::after { display: none; }
  .btn .lang { display: none; }
  .btn .kurz { display: inline; }

  /* Start: Bild zuerst kleiner unter dem Text, Bahnlinien bleiben */
  .hero { padding-top: 28px; }
  .hero .wrap, .seitenkopf.mit-bild .wrap, .zwei, .thema, .wort, .kontakt-seite { grid-template-columns: 1fr; }
  .hero .u-bild { max-width: 300px; margin: 8px auto 22px; }
  .seitenkopf.mit-bild .u-bild { max-width: 260px; margin: 0 auto 22px; }
  .aktionen .btn { width: 100%; }
  .aktionen .textlink { margin: 0 auto; }

  /* Fällt auf dem Handy weg: Schmuckbild beim Wort pyt, Kreise im Abschluss */
  .wort .bild { display: none; }
  .abschluss::before, .abschluss::after { display: none; }
  .abschluss .btn { width: 100%; }

  .drei, .preise, .wissen { grid-template-columns: 1fr; }
  .karte { padding: 26px 22px 20px; }
  .karte svg { width: 38px; height: 38px; margin-bottom: 16px; }

  /* Schritte untereinander an einer senkrechten Bahn */
  .schritte { grid-template-columns: 1fr; gap: 0; }
  .schritte li { border-top: 0; border-left: 1.5px solid var(--ziegel); padding: 0 0 28px 26px; }
  .schritte li:last-child { padding-bottom: 0; }
  .schritte li::before { top: 4px; left: -7px; }

  /* Stimmen zum Wischen statt drei lange Blöcke untereinander */
  .stimmen { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--rand)); padding: 0 var(--rand) 12px; -webkit-overflow-scrolling: touch; }
  .stimmen .stimme { flex: 0 0 84%; scroll-snap-align: center; }

  .thema-kopf { position: static; }
  .trio { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trio .bild:nth-child(2) { margin-top: 28px; }
  .trio .bild:nth-child(3) { display: none; }
  .trio.duo { gap: 0; margin: 0 -8px; }
  .zwei > .bahn-bild, .kontakt-neben > .bahn-bild { order: -1; }
  .wort .bahn-bild { display: none; }
  .zwei > .bahn-bild[style] { position: relative !important; top: auto !important; max-width: 300px; margin-left: auto; margin-right: auto; }
  .trio .bahn-bild:nth-child(2) { margin-top: 44px; }

  .feld-paar { grid-template-columns: 1fr; }
  .formular .btn { width: 100%; }
  .zwei .bild { order: -1; }

  .fuss { padding-top: 48px; }
  .fuss .wrap { grid-template-columns: 1fr; gap: 28px; }
  .fuss a { min-height: 44px; }
}
