/* Refugium Ruegen — Vision-Seite
   Stil: hell, hanseatisch, ruhig. Newsreader-Serife fuer Headlines, Manrope fuer Body.
   Keine Champagne/Gold (vermeidet Jaeger-Huette-Effekt).
*/

:root {
  --paper: #faf7f1;
  --paper-warm: #f4efe6;
  --line: rgba(28, 36, 44, 0.12);
  --line-strong: rgba(28, 36, 44, 0.22);
  --ink: #1a1814;
  --ink-soft: #4a4640;
  --ink-mute: #797268;
  --deep: #1f3a4a;
  --deep-soft: #2c5469;
  --water: #4a7488;
  --sand: #c9b491;
  --bad: #7b332f;
  --shadow-soft: 0 1px 3px rgba(28, 36, 44, 0.06), 0 8px 30px rgba(28, 36, 44, 0.08);
  --shadow-deep: 0 4px 14px rgba(28, 36, 44, 0.10), 0 30px 80px rgba(28, 36, 44, 0.16);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --max-text: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--ink); }

/* ==== Top Nav ==== */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.navlist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.navlist a,
.navlist .link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
}

.navlist a:hover,
.navlist .link:hover {
  color: var(--ink);
}

.navlist .link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 880px) {
  .navlist {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px clamp(16px, 4vw, 40px);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .navlist[hidden] { display: none; }
}

@media (min-width: 881px) {
  .nav-toggle { display: none; }
  .navlist[hidden] { display: flex; }
}

/* ==== Hero ==== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 92vh, 880px);
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.92);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 20, 0.22) 0%,
    rgba(26, 24, 20, 0.10) 35%,
    rgba(26, 24, 20, 0.55) 80%,
    rgba(26, 24, 20, 0.78) 100%
  );
}

.hero-text {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 60px);
  color: var(--paper);
  width: 100%;
}

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(250, 247, 241, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 580px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(250, 247, 241, 0.95);
}

.hero .meta {
  max-width: 520px;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(250, 247, 241, 0.72);
}

/* ==== Kapitel ==== */
.kapitel {
  padding: clamp(72px, 11vw, 140px) clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.kapitel-hell {
  background: var(--paper-warm);
}

.kapitel-dunkel {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: rgba(250, 247, 241, 0.08);
}

.kapitel-dunkel h2,
.kapitel-dunkel h3 { color: var(--paper); }

.kapitel-dunkel .num,
.kapitel-dunkel .sub,
.kapitel-dunkel p,
.kapitel-dunkel li { color: rgba(250, 247, 241, 0.82); }

.kapitel-dunkel strong { color: var(--paper); }

.kapitel-head {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num h"
    "num sub";
  gap: 6px 24px;
  align-items: baseline;
}

.kapitel-head .num {
  grid-area: num;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  align-self: start;
  padding-top: 12px;
}

.kapitel-head h2 {
  grid-area: h;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.kapitel-head .sub {
  grid-area: sub;
  margin: 0;
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--ink-mute);
  font-weight: 400;
}

@media (max-width: 640px) {
  .kapitel-head {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "h" "sub";
    gap: 8px;
  }
  .kapitel-head .num { padding-top: 0; }
}

/* ==== Zwei-Spalten ==== */
.zwei-spalten {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

@media (max-width: 760px) {
  .zwei-spalten { grid-template-columns: 1fr; }
}

.ort figure {
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.ort figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ort:hover figure img { transform: scale(1.02); }

.ort h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.1;
}

.ort p {
  margin: 0;
  color: var(--ink-soft);
}

/* ==== Bild-Band ==== */
.bild-band {
  max-width: var(--max);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bild-band figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.bild-band img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .bild-band { grid-template-columns: 1fr 1fr; }
  .bild-band figure:nth-child(3) { grid-column: 1 / -1; }
}

/* ==== Text-Block ==== */
.text-block {
  max-width: var(--max-text);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
}

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

/* ==== Markenkern ==== */
.kern-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 760px) {
  .kern-grid { grid-template-columns: 1fr; }
}

.kern-zelle {
  display: flex;
  flex-direction: column;
}

.kern-zelle figure {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 4px;
}

.kern-zelle img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.kern-zelle h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
}

.kern-zelle p {
  margin: 0;
  color: var(--ink-soft);
}

.zitat {
  max-width: var(--max-text);
  margin: 80px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.zitat p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}

/* ==== Tonalitaet ==== */
.ton-tabelle {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}

@media (max-width: 640px) {
  .ton-tabelle { grid-template-columns: 1fr; }
}

.ton-tabelle .ja,
.ton-tabelle .nein {
  padding: clamp(28px, 4vw, 48px);
}

.ton-tabelle .ja {
  background: var(--paper);
}

.ton-tabelle .nein {
  background: var(--paper-warm);
  border-left: 1px solid var(--line-strong);
}

@media (max-width: 640px) {
  .ton-tabelle .nein {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
}

.ton-tabelle h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.ton-tabelle .nein h3 { color: var(--bad); }

.ton-tabelle ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ton-tabelle li {
  padding: 8px 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}

.ton-tabelle li:last-child { border-bottom: 0; }

.hinweis {
  max-width: var(--max-text);
  margin: 36px auto 0;
  padding: 18px 22px;
  border-left: 3px solid var(--sand);
  background: var(--paper-warm);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

.kapitel-dunkel .hinweis {
  background: rgba(250, 247, 241, 0.06);
  border-left-color: var(--sand);
  color: rgba(250, 247, 241, 0.85);
}

/* ==== Materialwelt ==== */
.material-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 880px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .material-grid { grid-template-columns: 1fr; }
}

.material figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 4px;
}

.material img {
  aspect-ratio: 5 / 4;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.material:hover img { transform: scale(1.04); }

.material h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
}

.material p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ==== Leitbild ==== */
.leitbild {
  max-width: var(--max-text);
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.leitbild li {
  padding: 18px 0;
  font-size: 1.05rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(250, 247, 241, 0.12);
}

.leitbild li:last-child { border-bottom: 0; }

.leitbild strong {
  display: inline-block;
  min-width: 140px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==== Anker-Grid ==== */
.anker-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 880px) {
  .anker-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .anker-grid { grid-template-columns: 1fr; }
}

.anker {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.anker:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.anker h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--deep);
}

.anker p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ==== Personas ==== */
.persona-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 760px) {
  .persona-grid { grid-template-columns: 1fr; }
}

.persona {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.persona .badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.persona h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.05;
}

.persona .alter {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.persona p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.zielgruppen-fazit {
  max-width: var(--max-text);
  margin: 48px auto 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

.zielgruppen-fazit em {
  font-style: italic;
  color: var(--ink);
}

/* ==== Inspiration ==== */
.inspiration-bilder {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .inspiration-bilder { grid-template-columns: 1fr; }
}

.inspiration-bilder figure {
  margin: 0;
}

.inspiration-bilder img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.inspiration-bilder figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
}

.vergleich {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.vergleich th,
.vergleich td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.97rem;
}

.vergleich th {
  background: var(--paper-warm);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.vergleich tbody tr:last-child td { border-bottom: 0; }

.vergleich td:first-child {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--deep);
  width: 130px;
}

@media (max-width: 640px) {
  .vergleich th,
  .vergleich td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .vergleich td:first-child { width: auto; }
}

/* ==== Vergleich-Paare (Vorher/Nachher) ==== */
.vergleich-paare {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}

.paar-bilder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.paar-bilder figure {
  margin: 0;
  position: relative;
}

.paar-bilder img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.paar-bilder figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(26, 24, 20, 0.78);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paar p {
  max-width: var(--max-text);
  margin: 0;
  color: rgba(250, 247, 241, 0.88);
  font-size: 1.02rem;
}

/* ==== Risiken & Fragen ==== */
.risiko h3,
.fragen h3,
.naechste-schritte h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.risiko ul,
.fragen ul,
.naechste-schritte ol {
  margin: 0;
  padding-left: 1.2em;
}

.risiko li,
.fragen li,
.naechste-schritte li {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.risiko li::marker,
.fragen li::marker,
.naechste-schritte li::marker {
  color: var(--ink-mute);
}

.naechste-schritte {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ==== Footer ==== */
.footer {
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 60px);
  background: var(--ink);
  color: rgba(250, 247, 241, 0.72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer strong {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 500;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer .link {
  border: 1px solid rgba(250, 247, 241, 0.3);
  background: transparent;
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.footer .link:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ==== Print ==== */
@media print {
  @page {
    size: A4;
    margin: 18mm;
  }

  body {
    background: white;
    color: black;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .topnav,
  .nav-toggle,
  .navlist,
  .footer-actions {
    display: none !important;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
    background: white;
    color: black;
  }

  .hero-figure { position: relative; }
  .hero-figure img { filter: none; }
  .hero::after { display: none; }
  .hero-text { padding: 24px 0; color: black; }
  .hero h1 { color: black; font-size: 36pt; }
  .hero .lead { color: #333; }
  .kicker { color: #555; border-color: #555; }

  .kapitel {
    page-break-inside: avoid;
    page-break-after: always;
    padding: 24px 0;
    border-bottom: 0;
  }

  .kapitel-dunkel {
    background: white;
    color: black;
  }

  .kapitel-dunkel h2,
  .kapitel-dunkel h3,
  .kapitel-dunkel p,
  .kapitel-dunkel li,
  .kapitel-dunkel strong { color: black; }

  .kapitel-head h2 { font-size: 22pt; }

  .ton-tabelle,
  .vergleich,
  .anker,
  .persona,
  .naechste-schritte {
    border-color: #999;
  }

  img { max-height: 220px; object-fit: cover; }

  .footer {
    background: white;
    color: #555;
    padding: 12px 0;
    border-top: 1px solid #999;
  }

  .footer strong { color: black; }

  .hinweis {
    background: #f5f5f5;
    color: #333;
    border-left-color: #999;
  }

  .paar-bilder figcaption {
    background: black;
    color: white;
  }
}
