/* Schriften lokal eingebunden (SIL Open Font License) – keine Verbindung zu Google */
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya";src:url("fonts/alegreya-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Alegreya Sans";src:url("fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
/* Layout: ruhige, helle Leinwand; ein großer Bildmoment oben, ein ockergoldenes Band als Herzstück,
   Bilder fließen ineinander; Text schmal und gut lesbar, mobil zuerst. */
:root {
  --linen: #f8f3ea;        /* Grund */
  --paper: #fffdf8;        /* Karten, Kopfzeile */
  --umber: #2f2417;        /* Text */
  --umber-soft: #5d4d3a;   /* Nebentext */
  --ochre: #d7a03c;        /* Ockergold-Fläche */
  --ochre-deep: #a8731f;   /* Akzent auf hell */
  --ochre-ink: #3a2a10;    /* Text auf Ocker */
  --moss: #56633a;         /* Natur-Akzent */
  --night: #241c13;        /* dunkle Fläche */
  --line: #e6dccb;

  --f-display: "Alegreya", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --gutter: clamp(16px, 5vw, 48px);
  --measure: 36rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--linen);
  color: var(--umber);
  font-family: var(--f-body);
  font-size: 1.25rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ochre-deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: clamp(1rem, 1.4vw, 1.15rem); letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: #f6e3b8;
}
.eyebrow-dark { color: var(--ochre-deep); }

/* Kopfzeile */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .5rem; padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--umber-soft); }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; padding-left: .6rem; border-left: 1px solid var(--line); }
.topbar nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.topbar nav a { color: var(--umber); text-decoration: none; font-weight: 500; font-size: 1.15rem; }
.topbar nav a:hover { color: var(--ochre-deep); }
.topbar .nav-cta { background: var(--ochre); color: var(--ochre-ink); padding: .4rem .95rem; border-radius: 999px; font-weight: 700; }
@media (max-width: 720px) {
  .topbar nav a:not(.nav-cta) { display: none; }
  .brand span { display: none; }
  .brand img { height: 40px; }
}

/* Buttons */
.btn {
  font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1.15rem; text-decoration: none; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--ochre); color: var(--ochre-ink); }
.btn-gold:hover { background: #e2b04f; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* 1 · Hero */
.hero { position: relative; isolation: isolate; min-height: min(84vh, 780px); display: grid; align-items: end; overflow: hidden; }
.hero::after { pointer-events: none; }
.hero-text { pointer-events: none; }
.hero-text > * { pointer-events: auto; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--night); }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.slide.is-active img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } .slide img { transform: none; } }
.slide-caption { position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2; margin: 0;
  font-family: var(--f-hand); font-size: 1.55rem; line-height: 1.2; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.75); max-width: 40%; }
.slide-controls { position: absolute; right: var(--gutter); bottom: 1.4rem; z-index: 3; display: flex; align-items: center; gap: .75rem; }
.dots { display: flex; gap: .2rem; }
.dot { width: 26px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 4px rgba(0,0,0,.4); transition: background .3s, transform .3s; }
.dot.is-active::before { background: var(--ochre); transform: scale(1.35); }
.slide-pause { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); background: rgba(36,28,19,.4); cursor: pointer; display: grid; place-items: center; padding: 0; }
.slide-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.is-paused .slide-pause span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.dot:focus-visible, .slide-pause:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(36,28,19,.75) 0%, rgba(36,28,19,.45) 38%, rgba(36,28,19,0) 60%),
    linear-gradient(180deg, rgba(36,28,19,0) 40%, rgba(36,28,19,.55) 100%);
}
.hero-text {
  width: 100%; max-width: 72rem; margin-inline: auto;
  padding-inline: var(--gutter); padding-block: 8rem clamp(2.5rem, 7vw, 5rem);
  color: #fff; display: grid; gap: 1.1rem; justify-items: start;
}
@media (min-width: 900px) {
  .hero .hero-text { max-width: none; margin: 0; padding-left: max(var(--gutter), 5vw); padding-right: var(--gutter); padding-top: 4.5rem; padding-bottom: 3.5rem; gap: .9rem; }
  .hero .hero-text > * { max-width: min(34rem, 36vw); }
  .hero .hero-text .lead { font-size: 1.25rem; max-width: min(34rem, 36vw); }
  .slide-caption { max-width: 38%; left: auto; right: var(--gutter); text-align: right; bottom: 4.2rem; }
  .hero .hero-text h1 { font-size: clamp(2.3rem, 3.6vw, 3.3rem); }
}
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; background: var(--night); }
  .hero::after { display: none; }
  .hero-media { position: relative; z-index: 0; aspect-ratio: 4 / 3; }
  .hero-media::after { content: ""; position: absolute; inset: 55% 0 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(36,28,19,0), rgba(36,28,19,.6)); }
  .slide-caption { font-size: 1.3rem; max-width: none; right: var(--gutter); bottom: .8rem; }
  .slide-controls { top: .6rem; bottom: auto; right: .5rem; gap: .2rem; }
  .dot { width: 20px; }
  .hero-text { padding-block: 1.75rem 2.75rem; }
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); max-width: 19ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); font-weight: 500; }
.hero .lead { max-width: 36rem; font-size: clamp(1.25rem, 1.8vw, 1.45rem); color: #f6efe2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

/* 2 · Das gemeinsame Zuhause (Ocker) */
.home { background: var(--ochre); color: var(--ochre-ink); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.home-head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.home-head p { max-width: var(--measure); font-size: 1.35rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 80rem; margin-inline: auto; }
.pillar { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.pillar img {
  width: 128%; max-width: none; margin-left: -14%;
  height: clamp(240px, 28vw, 420px); object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.pillar:first-child img { width: 114%; margin-left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 78%, transparent 100%); }
.pillar:last-child img { width: 114%; margin-left: -14%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); }
.pillar-future img { filter: sepia(.35) saturate(.85); }
.pillar-text { display: grid; align-content: start; gap: .5rem; padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0; }
.pillar-text p { max-width: 30rem; }
.count { font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5a3f12; }
.tag { display: inline-block; font-family: var(--f-hand); font-size: 1.45rem; text-transform: none; letter-spacing: 0; line-height: 1;
  color: var(--paper); background: var(--moss); padding: .15rem .6rem .25rem; border-radius: 4px; transform: rotate(-2deg); }
.more { color: var(--ochre-ink); font-weight: 700; text-underline-offset: .25em; text-decoration-thickness: 1.5px; justify-self: start; margin-top: .25rem; }
.more::after { content: " →"; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar img, .pillar:first-child img, .pillar:last-child img {
    width: 100%; margin: 0; height: auto; aspect-ratio: 16 / 10;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 72%, transparent 100%);
  }
  .pillar:first-child img { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 72%, transparent 100%); }
  .pillar + .pillar { margin-top: -1.5rem; }
  .pillar-text { padding: 0 var(--gutter) 2.5rem; margin-top: -.75rem; position: relative; }
}

/* Vom Heute ins Morgen */
.vision { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.vision-head { display: grid; gap: 1rem; max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.vision-head > p:not(.eyebrow) { color: var(--umber-soft); }
.vision-tip { font-family: var(--f-hand); font-size: 1.5rem; color: var(--ochre-deep) !important; }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 2.75rem); }
.room { margin: 0; display: grid; gap: .8rem; min-width: 0; }
.room-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--line);
  box-shadow: 0 18px 40px -24px rgba(47,36,23,.6); }
.room-big { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.room-heute { opacity: 0; }
.show-heute .room-heute { opacity: 1; }
.show-heute .room-morgen { opacity: 0; }
.room-chip { position: absolute; left: .9rem; top: .9rem; z-index: 2; padding: .25rem .75rem .35rem; border-radius: 999px;
  font-family: var(--f-hand); font-size: 1.35rem; line-height: 1.1; transition: opacity .6s ease; }
.room-chip-morgen { background: var(--ochre); color: var(--ochre-ink); }
.room-chip-heute { background: rgba(36,28,19,.78); color: #fff; opacity: 0; }
.show-heute .room-chip-heute { opacity: 1; }
.show-heute .room-chip-morgen { opacity: 0; }
.room-swap { font-family: inherit; position: absolute; right: .9rem; bottom: .9rem; z-index: 3; width: 32%; aspect-ratio: 4 / 3; padding: 0;
  border: 3px solid #fff; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--night);
  box-shadow: 0 8px 22px rgba(0,0,0,.4); transition: transform .25s ease; }
.room-swap:hover { transform: scale(1.04); }
.room-swap:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.room-swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.swap-morgen { opacity: 0; }
.show-heute .swap-morgen { opacity: 1; }
.show-heute .swap-heute { opacity: 0; }
.swap-label { position: absolute; left: 0; right: 0; bottom: 0; padding: .2rem .4rem .25rem;
  background: rgba(36,28,19,.72); color: #fff; font-weight: 700; font-size: .95rem; text-align: center; }
.swap-label .l-morgen, .show-heute .swap-label .l-heute { display: none; }
.show-heute .swap-label .l-morgen { display: inline; }
.room figcaption { display: grid; gap: .1rem; }
.room figcaption strong { font-family: var(--f-display); font-size: 1.4rem; }
.room figcaption span { color: var(--umber-soft); }
.vision-note { margin-top: 1.75rem; font-size: 1rem; color: var(--umber-soft); }
@media (prefers-reduced-motion: reduce) { .room-big, .room-swap img, .room-chip { transition: none; } }
@media (min-width: 761px) {
  .rooms .room:first-child { grid-column: 1 / -1; }
  .rooms .room:first-child .room-stage { aspect-ratio: 16 / 8; }
  .rooms .room:first-child .room-swap { width: 22%; }
}
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } .room-swap { width: 36%; } }

/* 3 · Was jetzt gebraucht wird */
.need { position: relative; isolation: isolate; background: var(--night); color: #f3ebdc; padding-block: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.need-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -1; }
.need-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.need-copy { display: grid; gap: 1.1rem; }
.need-copy h2 { color: #fff; }
.need-lead { font-family: var(--f-display); font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.35; color: #fff; max-width: 32rem; }
.need-copy > p:not(.need-lead) { max-width: var(--measure); color: #e3d8c4; }
.facts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 1.5rem 3rem; }
.facts li { display: grid; }
.facts strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--ochre); font-variant-numeric: tabular-nums; }
.facts span { font-size: 1.1rem; color: #cfc2aa; }
.invite { background: var(--paper); color: var(--umber); border-radius: 8px; padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; min-width: 0; }
.invite h3 { font-size: 1.9rem; }
.invite > p { color: var(--umber-soft); }
.invite .invite-hint { font-size: 1rem; text-align: center; margin-top: -.4rem; }
.invite-people { display: flex; align-items: center; gap: .9rem; }
.invite-people img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.invite-people img + img { margin-left: -1.4rem; }
.invite-people p { font-weight: 700; line-height: 1.3; font-size: 1.15rem; }
.contact-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0; font-size: 1.15rem; }
.contact-list dt { color: var(--umber-soft); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--umber); font-weight: 700; }
@media (max-width: 860px) { .need-inner { grid-template-columns: 1fr; } }

/* 4 · Team */
.team { padding-block: clamp(3.5rem, 8vw, 6rem); }
.team h2 { margin-bottom: 2rem; }
.team-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: clamp(1.25rem, 4vw, 3rem); }
.team-lead figure { margin: 0; display: grid; gap: .75rem; align-content: start; }
.team-lead img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }

.team-lead figcaption { display: grid; line-height: 1.3; gap: .2rem; }
.team-lead strong { font-family: var(--f-display); font-size: 1.4rem; }
.team-lead span, .team-list span { color: var(--umber-soft); font-size: 1.1rem; }
.team-list { list-style: none; margin: 2.75rem 0 0; padding: 2.25rem 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem 2rem; }
.team-list li { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.team-list li > div { display: grid; line-height: 1.3; min-width: 0; }
.team-list img, .team-list .initials { width: 76px; height: 76px; border-radius: 50%; flex: none; }
.team-list img { object-fit: cover; }
.team-list .initials { display: grid; place-items: center; background: #ece2cf; color: var(--ochre-deep);
  font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; }
@media (max-width: 480px) { .team-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Aufklapptexte im Team */
.team-list li { align-items: flex-start; }
.team-list li > img, .team-list li > .initials { margin-top: .1rem; }
.name-link { color: inherit; text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.name-link::after { content: " ↗"; font-size: .8em; color: var(--ochre-deep); }
.name-link:hover { color: var(--ochre-deep); }
.bio { margin-top: .45rem; }
.bio summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; font-size: 1rem; color: var(--ochre-deep); }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::before { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s ease; margin-right: .1rem; }
.bio[open] summary::before { transform: rotate(45deg); }
.bio summary:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.bio p { margin-top: .6rem; font-size: 1.05rem; line-height: 1.55; color: var(--umber); }
.bio .bio-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: 1rem; }
.bio .bio-links a { color: var(--ochre-deep); font-weight: 700; }
.team-lead figcaption .bio { max-width: 30rem; }
.team-list li:has(.bio[open]) { grid-column: 1 / -1; }
.team-list li:has(.bio[open]) .bio p { max-width: 40rem; }
.team-lead { grid-template-columns: repeat(2, minmax(0, 17rem)); align-items: start; }

/* Abschlussbild */
.closing { margin: 0; }
.closing img { width: 100%; height: clamp(220px, 38vw, 520px); object-fit: cover; object-position: 50% 45%; }

/* Seite im Entstehen */
.soon { padding-block: clamp(3rem, 8vw, 6rem); }
.soon .wrap { max-width: 46rem; display: grid; gap: 1.25rem; }
.soon h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.soon img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; filter: sepia(.3) saturate(.85); }

/* Footer */
.footer { background: var(--night); color: #cfc2aa; font-size: 1.05rem; padding-block: 1.75rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a { color: #f3ebdc; }

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2rem 0 .5rem; }
.legal h3 { font-size: 1.15rem; margin: 1.25rem 0 .35rem; }
.legal p { margin-bottom: .75rem; }
.legal, .soon { font-size: 1.15rem; }
.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; }
.team-list li > div > span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Ein Haus mit Geschichte */
.history { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); }
.history-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.history-copy { display: grid; gap: 1.1rem; }
.history-lead { color: var(--umber-soft); max-width: 36rem; }
.timeline { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: 1.1rem; border-left: 2px solid var(--ochre); }
.timeline li { position: relative; padding-left: 1.5rem; display: grid; gap: .1rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 4px var(--paper); }
.tl-when { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ochre-deep); font-variant-numeric: tabular-nums; }
.timeline p { color: var(--umber-soft); max-width: 32rem; }
.history-africa { font-family: var(--f-hand); font-size: 1.6rem; color: var(--moss); margin-top: .5rem; }
.history-close { font-family: var(--f-hand); font-size: 1.7rem; line-height: 1.3; color: var(--ochre-deep); max-width: 32rem; margin-top: .4rem; }
.history-figure { margin: 0; }
.history-figure img { width: 100%; height: auto; border-radius: 6px; }
.history-figure figcaption { font-family: var(--f-hand); font-size: 1.4rem; color: var(--ochre-deep); margin-top: .5rem; text-align: right; }
@media (max-width: 760px) { .history-grid { grid-template-columns: 1fr; } }

/* Ein Ort für ganz Haigerloch */
.open { background: var(--linen); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); }
.open-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.open-copy { display: grid; gap: 1rem; }
.open-copy > p:not(.eyebrow) { color: var(--umber-soft); max-width: 36rem; }
.open-photo { width: 100%; max-width: 22rem; justify-self: end; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.ideas { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ideas li { background: var(--paper); border-top: 4px solid var(--ochre); border-radius: 4px; padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: .35rem; align-content: start; }
.ideas h3 { font-size: 1.3rem; }
.ideas p { color: var(--umber-soft); font-size: 1.1rem; }
.ideas-note { margin-top: 1.25rem; font-family: var(--f-hand); font-size: 1.6rem; color: var(--ochre-deep); }
.ideas-note a { color: inherit; }
.forwho { margin-top: clamp(2.5rem, 5vw, 3.5rem); background: var(--paper); border-radius: 8px; padding: clamp(1.4rem, 3vw, 2.25rem); }
.forwho-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1.1rem; }
.forwho-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.forwho-tabs button { font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; padding: .45rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--ochre); background: transparent; color: var(--umber); }
.forwho-tabs button[aria-selected="true"] { background: var(--ochre); color: var(--ochre-ink); }
.forwho-tabs button:focus-visible { outline: 3px solid var(--ochre-deep); outline-offset: 2px; }
.forwho-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; max-width: 44rem; }
.forwho-panel li { position: relative; padding-left: 1.6rem; font-size: 1.2rem; }
.forwho-panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--ochre); }
@media (max-width: 860px) { .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .open-intro, .ideas { grid-template-columns: 1fr; } .open-photo { justify-self: start; max-width: 100%; aspect-ratio: 4 / 3; } }

.history-africa a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .15em; }
.history-africa a::after { content: " ↗"; font-family: var(--f-body); font-size: .7em; }
.topbar nav a { white-space: nowrap; }
@media (max-width: 1060px) { .brand span { display: none; } }
@media (max-width: 960px) { .topbar nav a:not(.nav-cta) { display: none; } }

.history-lead a { color: inherit; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.history-lead a::after { content: " ↗"; font-size: .8em; color: var(--ochre-deep); }

/* So kannst du unterstützen */
.support { grid-column: 1 / -1; display: grid; gap: 1rem; }
.support h3 { color: #fff; font-size: 1.65rem; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.support-card { background: rgba(255,253,248,.08); border: 1px solid rgba(215,160,60,.5); border-radius: 8px;
  padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: .75rem; align-content: start; min-width: 0; }
.support-card h4 { margin: 0; font-family: var(--f-display); font-size: 1.4rem; color: var(--ochre); }
.support-card p { color: #e3d8c4; font-size: 1.1rem; }
.support-card p strong { color: #fff; }
.bank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .9rem; margin: 0; font-size: 1.1rem; align-items: baseline; }
.bank dt { color: #cfc2aa; }
.bank dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.iban { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.copy { font: inherit; font-size: .9rem; font-weight: 700; margin-left: .35rem; padding: .1rem .65rem; border-radius: 999px;
  border: 1.5px solid var(--ochre); background: transparent; color: var(--ochre); cursor: pointer; vertical-align: middle; }
.copy:hover { background: var(--ochre); color: var(--ochre-ink); }
.copy:focus-visible, .support-link:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.support-card .support-note { font-size: 1rem; color: #cfc2aa; }
.support-link { color: var(--ochre); font-weight: 700; justify-self: start; text-underline-offset: .2em; }
.support-link::after { content: " →"; }
@media (max-width: 860px) {
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .need-inner > .support { order: 1; }
  .need-inner > .invite { order: 2; }
}
/* Sprungziele nicht unter der festen Kopfzeile verstecken */
section[id], #kontakt, #unterstuetzen { scroll-margin-top: 80px; }
