/* Rhenora Gruppe, gemeinsames Stylesheet fuer alle Seiten */

:root {
  --paper:      #FCFBF8;
  --paper-2:    #F3F0E9;
  --ink:        #0E1A1E;
  --ink-2:      #16262C;
  --text:       #2B3A3F;
  --muted:      #6E7B80;
  --line:       #E4DFD4;
  --line-soft:  #EDE9E0;
  --teal:       #1F4E5F;
  --teal-hell:  #7FB3C2;

  --breite: 1080px;
  --mass: 62ch;
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }

/* ---------- Grundraster ---------- */

.bahn { padding: clamp(54px, 6.6vw, 92px) 0; }
.bahn--getoent { background: var(--paper-2); }
.bahn--eng { padding: clamp(48px, 6vw, 80px) 0; }

.spur {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: inherit;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.8vw, 76px);
  line-height: 0.99;
  font-weight: 800;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 20ch;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}

p { margin: 0 0 18px; max-width: var(--mass); }
p:last-child { margin-bottom: 0; }

.fuehrung {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--text);
  max-width: 52ch;
}

.klein { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 248, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.kopf.gescrollt { border-bottom-color: var(--line); }

.kopf-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 14px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.marke {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}
.marke-wort {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.marke-wort .punkt { color: var(--teal); }
.marke-zusatz {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.menue { display: flex; align-items: center; gap: 4px; }
.menue a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  opacity: .78;
  transition: opacity .15s, background .15s;
}
.menue a:hover { opacity: 1; background: rgba(31, 78, 95, .06); }
.menue a.aktiv { opacity: 1; color: var(--ink); font-weight: 600; }

.menue-knopf {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Schaltflaechen ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s, transform .16s;
}
.knopf:hover { background: var(--teal); transform: translateY(-1px); }

.knopf--hell {
  background: var(--paper);
  color: var(--ink);
}
.knopf--hell:hover { background: #fff; }

.textlink {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 78, 95, .3);
  padding-bottom: 2px;
}
.textlink:hover { border-bottom-color: var(--teal); }

/* ---------- Auftakt ---------- */

.auftakt {
  padding: clamp(64px, 10vw, 128px) 0 clamp(52px, 7.5vw, 100px);
}
.auftakt h1 { max-width: 15ch; }
.auftakt .fuehrung { margin-top: 26px; max-width: 54ch; }
.auftakt-knoepfe {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

/* ---------- Aussagenband, wird zum Bildband ---------- */

.band {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(100deg, rgba(14,26,30,.92) 0%, rgba(14,26,30,.70) 54%, rgba(14,26,30,.40) 100%),
    var(--band-bild, radial-gradient(125% 155% at 76% 34%, #24606f 0%, #14333e 38%, #0E1A1E 72%));
  background-size: cover;
  background-position: center 58%;
  padding: clamp(56px, 7.5vw, 100px) 0;
}
.band-strich {
  width: 46px;
  height: 3px;
  background: var(--teal-hell);
  border-radius: 2px;
  margin: 0 0 28px;
}
.band-satz {
  font-size: clamp(25px, 3.5vw, 42px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--paper);
  max-width: 24ch;
  margin: 0;
}
.band-zusatz {
  margin: 22px 0 0;
  color: rgba(252, 251, 248, .72);
  font-size: 17px;
  max-width: 46ch;
}

/* ---------- Zwei Seiten der Nachfolge ---------- */

.zwei {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.seite {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.bahn--getoent .seite { background: var(--paper); }
.seite-marke {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.seite h3 { font-size: 22px; margin-bottom: 14px; letter-spacing: -0.03em; }
.seite ul { margin: 0; padding: 0; list-style: none; }
.seite li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.seite li:last-child { margin-bottom: 0; }
.seite li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .38;
}
.plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  position: relative;
}
.plus::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  padding-bottom: 3px;
}
.zwei-schluss {
  margin-top: 34px;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 40ch;
}

/* ---------- Wege ---------- */

.wege {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.weg {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.bahn--getoent .weg { background: var(--paper); }
.weg h3 { font-size: 21px; letter-spacing: -0.03em; margin-bottom: 10px; }
.weg p { font-size: 16px; line-height: 1.62; margin: 0; max-width: none; }

/* ---------- Hervorgehobener Kasten ---------- */

.kasten {
  margin-top: 40px;
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 26px;
}
.kasten h3 { font-size: 20px; margin-bottom: 10px; }
.kasten p { max-width: 58ch; }

/* ---------- Merkmale ---------- */

.merkmale {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}
.merkmal {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nicht {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.nicht p { margin: 0; font-size: 16px; line-height: 1.6; max-width: none; }
.nicht strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: 2px; }

/* ---------- Koepfe ---------- */

.koepfe {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.kopfkarte img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  background: var(--paper-2);
  filter: saturate(.92);
}
.kopfkarte h3 { margin: 20px 0 4px; font-size: 22px; letter-spacing: -0.03em; }
.kopfkarte .rolle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.kopfkarte p { font-size: 16px; line-height: 1.62; max-width: none; }

/* ---------- Schritte ---------- */

.schritte {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.schritt { border-top: 2px solid var(--ink); padding-top: 18px; }
.schritt .nummer {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}
.schritt h3 { font-size: 18px; margin-bottom: 8px; }
.schritt p { font-size: 15.5px; line-height: 1.6; margin: 0; max-width: none; }

/* ---------- Fragen ---------- */

.fragen { margin-top: 34px; border-top: 1px solid var(--line); max-width: 820px; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal);
  transition: transform .2s;
}
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen details p { padding: 0 44px 24px 0; margin: 0; font-size: 16.5px; }

/* ---------- Kontakt ---------- */

.kontakt-raster {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.feld { margin-bottom: 20px; }
.feld label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.feld input, .feld textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.feld input:focus, .feld textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 78, 95, .12);
}
.feld textarea { resize: vertical; min-height: 118px; }

.direkt {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.bahn--getoent .direkt { background: var(--paper); border: 1px solid var(--line); }
.direkt p { max-width: none; }
.direkt a { font-weight: 600; text-decoration: none; }
.direkt a:hover { text-decoration: underline; }

/* ---------- Fusszeile ---------- */

.fuss {
  background: var(--ink);
  color: rgba(252, 251, 248, .68);
  padding: 62px 0 34px;
  font-size: 15px;
}
.fuss-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.fuss .marke-wort { color: var(--paper); }
.fuss .marke-zusatz { color: rgba(252, 251, 248, .5); }
.fuss-satz {
  margin: 22px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: none;
}
.fuss-zeile {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(252, 251, 248, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
}
.fuss a { color: rgba(252, 251, 248, .78); text-decoration: none; }
.fuss a:hover { color: var(--paper); }
.fuss-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Hinweisleiste ---------- */

.hinweis {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 660px;
  margin: 0 auto;
  background: var(--ink);
  color: rgba(252, 251, 248, .82);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 14px 40px rgba(14, 26, 30, .28);
  font-size: 14.5px;
  line-height: 1.55;
}
.hinweis.sichtbar { display: flex; }
.hinweis p { margin: 0; flex: 1 1 260px; max-width: none; }
.hinweis a { color: var(--teal-hell); }
.hinweis-knoepfe { display: flex; gap: 10px; }
.hinweis button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid rgba(252, 251, 248, .28);
  background: transparent;
  color: var(--paper);
}
.hinweis button.ja { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Unterseiten ---------- */

.rechtstext { max-width: 760px; }
.rechtstext h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.rechtstext h2 { font-size: 21px; margin: 40px 0 12px; max-width: none; }
.rechtstext p, .rechtstext li { font-size: 16px; line-height: 1.72; max-width: none; }
.rechtstext ul { padding-left: 20px; }
.rechtstext li { margin-bottom: 5px; }
.rechtstext .stand { color: var(--muted); font-size: 15px; margin-bottom: 8px; }

.mitte { max-width: 620px; margin: 0 auto; text-align: center; }
.mitte p { max-width: none; }

.pdf-karte {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 30px 32px;
}
.pdf-karte h3 { font-size: 21px; margin-bottom: 6px; }

/* ---------- Schmale Schirme ---------- */

@media (max-width: 900px) {
  .zwei { grid-template-columns: 1fr; gap: 16px; }
  .plus { width: auto; height: 30px; }
  .wege { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; gap: 26px; }
  .kontakt-raster { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .menue {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 14px;
  }
  .menue.offen { display: flex; }
  .menue a { padding: 13px 10px; font-size: 16px; border-radius: 0; }
  .menue-knopf { display: inline-block; }
  .kopf-innen { position: relative; }
  .koepfe { grid-template-columns: 1fr; gap: 40px; }
  .kopfkarte img { aspect-ratio: 3 / 2; }
  .nicht { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; gap: 24px; }
  .auftakt-knoepfe { gap: 14px; }
  .auftakt-knoepfe .knopf { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ---------- Einblenden beim Scrollen ---------- */

.js .auf {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js .auf.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .auf { opacity: 1; transform: none; }
}
