/* ============================================================
   Ring20 Kuhlhausen — standalone static site
   Converted from the Claude Design Ring20.dc.html (inline styles
   + <style> keyframes) into a real stylesheet.
   Palette (v2, blue re-skin): Himmelblau #E4EFF3 / #D6E5EB, Ink #2B2118,
   Petrolblau #4F7388, Hellblau #88B4C6, Ziegel #9C4B2E,
   Flussgrün #5A7355, Stahlblau #5E8197, Tiefpetrol #163E4D,
   Karte #FBFDFE, Logo-Akzent #B8893D.
   ============================================================ */

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

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  background: #e4eff3;
  color: #2B2118;
  font-family: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.6;
}

::selection { background: #4f7388; color: #e4eff3; }

h1, h2, h3 { font-family: 'Source Serif 4', Georgia, serif; }

img { max-width: 100%; }

.serif { font-family: 'Source Serif 4', Georgia, serif; }

/* ---------- Keyframes (from the design) ---------- */
@keyframes ring20-kenburns { from { transform: scale(1.001); } to { transform: scale(1.09); } }
@keyframes ring20-up      { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ring20-fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes ring20-cue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .8; }
  50%      { transform: translateX(-50%) translateY(9px); opacity: .35; }
}

/* ---------- Screen switching ---------- */
.screen { display: none; }
.screen.is-active { display: block; animation: ring20-fade .45s ease both; }

/* ---------- Layout helpers ---------- */
.wrap        { max-width: 1180px; margin: 0 auto; }
.wrap-1100   { max-width: 1100px; margin: 0 auto; }
.wrap-900    { max-width: 900px;  margin: 0 auto; }
.wrap-860    { max-width: 860px;  margin: 0 auto; }
.wrap-820    { max-width: 820px;  margin: 0 auto; }
.wrap-780    { max-width: 780px;  margin: 0 auto; }
.wrap-760    { max-width: 760px;  margin: 0 auto; }
.wrap-720    { max-width: 720px;  margin: 0 auto; }
.wrap-660    { max-width: 660px;  margin: 0 auto; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(228, 239, 243, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #cfdde0;
  transition: box-shadow .25s ease;
}
.topbar.is-stuck { box-shadow: 0 6px 22px -10px rgba(43, 33, 24, .35); }

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: padding .25s ease;
}
.topbar.is-stuck .topbar-inner { padding: 8px 28px; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin: -6px;
}
.brand:focus-visible { outline: 2px solid #9C4B2E; outline-offset: 3px; }
.brand-logo { height: 38px; width: auto; display: block; transition: height .25s ease; }
.topbar.is-stuck .brand-logo { height: 32px; }
.brand-word {
  font-family: 'Source Serif 4', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #2B2118;
}
.brand-word .accent { color: #B8893D; }

.mainnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.navlink {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  color: #2B2118;
  padding: 10px 14px;
}
.navlink:hover { color: #9C4B2E; }
.navlink:focus-visible { outline: 2px solid #9C4B2E; outline-offset: 2px; }
/* active underline */
.navlink::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: #4f7388;
  display: none;
}
.navlink.is-active::after { display: block; }
.navlink[data-screen="wohnhaus"].is-active::after   { background: #4f7388; }
.navlink[data-screen="sonnenstall"].is-active::after { background: #88b4c6; }
.navlink[data-screen="scheune"].is-active::after     { background: #9C4B2E; }
.navlink[data-screen="mondstall"].is-active::after   { background: #5A7355; }

.langgroup {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid #cfdde0;
}
.langbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 3px;
  color: #8A7B66;
}
.langbtn:hover { background: #d6e5eb; }
.langbtn:focus-visible { outline: 2px solid #9C4B2E; outline-offset: 2px; }
.langbtn.is-active { color: #9C4B2E; font-weight: 700; }

.notice {
  background: #9C4B2E;
  color: #e4eff3;
  font-size: 15px;
  text-align: center;
  padding: 8px 20px;
  display: none;
}
.notice.is-visible { display: block; }

/* ============================================================
   GENERIC HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #2B2118;          /* placeholder colour when photo missing */
  background-size: cover;
  background-position: center;
}
.hero-img.kenburns {
  animation: ring20-kenburns 26s ease-out both;
  transform-origin: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,.15) 0%, rgba(43,33,24,.78) 100%);
}
.hero-content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 64px;
  width: 100%;
}
.hero-content.rise { animation: ring20-up .75s cubic-bezier(0.2,0,0,1) both; }

.eyebrow {
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #E8D8B6;
  margin: 0 0 18px;
}
.hero h1 {
  font-weight: 600;
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #F8F3E7;
  margin: 0 0 22px;
  max-width: 840px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-lede {
  font-size: 23px;
  line-height: 1.5;
  color: #e4eff3;
  max-width: 620px;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  animation: ring20-cue 1.9s ease-in-out infinite;
  pointer-events: none;
}

/* strang badge (coloured dot + label) */
.strang { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.strang .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.strang .label {
  font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #F0E2C2;
}

/* ============================================================
   SECTIONS / TYPOGRAPHY
   ============================================================ */
.section { padding: 84px 28px; }
.section--cream { background: #e4eff3; }
.section--sand  { background: #d6e5eb; }
.section--dark  { background: #2B2118; color: #e4eff3; }

.kicker {
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9C4B2E;
  margin: 0 0 14px;
}
.kicker--gold { color: #366479; }

.center { text-align: center; }

/* buttons */
.btn-outline {
  background: none;
  border: 1px solid #4f7388;
  color: #2B2118;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 3px;
}
.btn-outline:hover { background: #d6e5eb; }
.btn-outline:focus-visible { outline: 2px solid #9C4B2E; outline-offset: 2px; }

.btn-solid {
  border: none;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  padding: 15px 30px;
  border-radius: 3px;
}
.btn-solid:focus-visible { outline: 2px solid #2B2118; outline-offset: 2px; }
.btn-solid--green { background: #5A7355; color: #F8F3E7; }
.btn-solid--green:hover { filter: brightness(1.08); }

.backbar { background: #e4eff3; padding: 54px 28px; text-align: center; }

/* ============================================================
   HOF — courtyard plan
   ============================================================ */
.hof-intro h2 {
  font-weight: 600; font-size: 42px; line-height: 1.12; margin: 0 0 16px;
}
.hof-intro .lede {
  font-size: 21px; line-height: 1.6; color: #544737; max-width: 600px;
  margin: 0 auto 52px;
}

.plan {
  position: relative;
  width: min(700px, 94vw);
  aspect-ratio: 7 / 6;
  margin: 0 auto;
  background: #d6e5eb;
  border: 1px solid #cfdde0;
  box-shadow: 0 24px 60px -30px rgba(43,33,24,.55);
}
.plan-btn {
  position: absolute;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  transition: filter .15s;
  overflow: hidden;
  min-width: 0;
}
.plan-btn .pt {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
}
.plan-btn .ps { margin-top: 2px; }

.plan-wohnhaus {
  top: 0; left: 0; right: 0; height: 24%;
  background: #4f7388; padding: 0 clamp(14px, 4vw, 30px);
}
.plan-wohnhaus:hover { filter: brightness(1.05); }
.plan-wohnhaus:focus-visible { outline: 3px solid #2B2118; outline-offset: -3px; }
.plan-wohnhaus .pt { font-size: clamp(15px, 3.6vw, 25px); color: #F8F3E7; }
.plan-wohnhaus .ps { font-size: clamp(12px, 2.4vw, 15px); color: rgba(248,243,231,.88); }

.plan-scheune {
  bottom: 0; left: 0; right: 0; height: 24%;
  background: #9C4B2E; padding: 0 clamp(14px, 4vw, 30px);
}
.plan-scheune:hover { filter: brightness(1.08); }
.plan-scheune:focus-visible { outline: 3px solid #e4eff3; outline-offset: -3px; }
.plan-scheune .pt { font-size: clamp(15px, 3.6vw, 25px); color: #F8F3E7; }
.plan-scheune .ps { font-size: clamp(12px, 2.4vw, 15px); color: #F0DAC9; }

.plan-sonnenstall {
  left: 0; top: 24%; bottom: 24%; width: 27%;
  background: #88b4c6; padding: 0 clamp(6px, 2vw, 22px);
}
.plan-sonnenstall:hover { filter: brightness(1.06); }
.plan-sonnenstall:focus-visible { outline: 3px solid #2B2118; outline-offset: -3px; }
.plan-sonnenstall .pt { font-size: clamp(12px, 2.9vw, 23px); color: #1F3540; line-height: 1.1; }
.plan-sonnenstall .ps { font-size: clamp(10px, 2.1vw, 14px); color: #2C4A57; margin-top: 6px; line-height: 1.35; }

.plan-mondstall {
  right: 0; top: 24%; bottom: 24%; width: 27%;
  background: #5A7355; padding: 0 clamp(6px, 2vw, 22px);
}
.plan-mondstall:hover { filter: brightness(1.08); }
.plan-mondstall:focus-visible { outline: 3px solid #e4eff3; outline-offset: -3px; }
.plan-mondstall .pt { font-size: clamp(12px, 2.9vw, 23px); color: #F8F3E7; line-height: 1.1; }
.plan-mondstall .ps { font-size: clamp(10px, 2.1vw, 14px); color: #DCE6D6; margin-top: 6px; line-height: 1.35; }

.plan-center {
  position: absolute;
  top: 24%; bottom: 24%; left: 27%; right: 27%;
  overflow: hidden;
}
.plan-center .photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; object-fit: cover;
  background: #4F7388;
  background-size: cover; background-position: center;
}
.plan-center .veil {
  position: absolute; inset: 0;
  background: rgba(43,33,24,.34);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-glyph {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #e4eff3; position: relative; margin-bottom: 12px;
}
.ring-glyph::after {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%; background: #e4eff3; display: block;
}
.plan-center .veil span:last-child {
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #e4eff3;
}
.plan-caption { font-size: 15px; color: #8A7B66; margin: 24px 0 0; }

/* Dachmarke values (dark) */
.values-head { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.values-signet { width: 96px; height: 96px; flex: none; display: block; }
.values-head .kick { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #88b4c6; margin: 0 0 6px; }
.values-head .sub  { font-family: 'Source Serif 4', serif; font-size: 19px; color: rgba(244,238,225,.6); margin: 0; }
.values-title { font-weight: 600; font-size: 40px; line-height: 1.14; margin: 0 0 54px; max-width: 760px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-col { border-top: 2px solid #88b4c6; padding-top: 24px; }
.value-col--ocker { border-top-color: #4f7388; }
.value-col--blue  { border-top-color: #5E8197; }
.value-col h3 { font-weight: 600; font-size: 24px; margin: 0 0 12px; }
.value-col p  { font-size: 18px; line-height: 1.6; color: rgba(244,238,225,.82); margin: 0; }

/* ============================================================
   CARDS (quality / model / scheune)
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: #FBFDFE;
  border: 1px solid #cfdde0;
  padding: 34px 30px;
}
.card--lg { padding: 40px; }
.card h3 { font-weight: 600; font-size: 23px; margin: 0 0 10px; }
.card--lg h3 { font-size: 26px; margin: 0 0 16px; }
.card p  { font-size: 17px; line-height: 1.6; color: #544737; margin: 0; }
.card--lg p { font-size: 18px; line-height: 1.65; }

.dot-icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #4f7388; position: relative;
  display: inline-block; margin-bottom: 22px;
}
.dot-icon::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 50%; background: #4f7388; display: block;
}
.dot-icon--brick { border-color: #9C4B2E; }
.dot-icon--brick::after { background: #9C4B2E; }
.dot-icon--green { border-color: #5A7355; }
.dot-icon--green::after { background: #5A7355; }

.card-list {
  margin: 0; padding: 0; list-style: none;
  font-size: 17px; line-height: 1.9; color: #2B2118;
}

.section-title { font-weight: 600; font-size: 34px; margin: 0 0 44px; }

/* intro paragraph */
.intro-para {
  font-family: 'Source Serif 4', serif;
  font-size: 28px; line-height: 1.5; color: #2B2118; margin: 0; font-weight: 400;
}

/* ============================================================
   GALLERIES
   ============================================================ */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.gallery-head h2 { font-weight: 600; font-size: 34px; margin: 0; }
.gallery-note { font-size: 16px; color: #8A7B66; margin: 0; }

.gallery-row2 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-bottom: 18px; }
.gallery-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

.slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D6E5EB;
  border: 1px dashed #A9C4CF;
  color: #8A7B66;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.slot.has-img { border: none; }
.ar-16-10 { aspect-ratio: 16 / 10; }
.ar-1-1   { aspect-ratio: 1 / 1; }
.ar-4-3   { aspect-ratio: 4 / 3; }
.ar-21-9  { aspect-ratio: 21 / 9; }

/* status / quote bands */
.band { padding: 74px 28px; }
.band--ocker { background: #4f7388; }
.band--brick { background: #9C4B2E; }
.band-quote {
  font-family: 'Source Serif 4', serif; font-weight: 600;
  font-size: 32px; line-height: 1.35; color: #2B2118; margin: 0 0 22px;
}
.band--brick .band-quote { color: #F8F3E7; font-size: 28px; line-height: 1.4; }
.band-meta { font-size: 16px; letter-spacing: .06em; color: rgba(248,243,231,.85); }
.band--brick .band-meta { color: #F0DAC9; }

/* ============================================================
   SONNENSTALL specifics
   ============================================================ */
.idee-para {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: 30px; line-height: 1.5; color: #2B2118; margin: 0; text-align: center;
}
.idee-para strong { font-weight: 600; }

.vision-quote {
  font-family: 'Source Serif 4', serif; font-weight: 400;
  font-size: 34px; line-height: 1.4; color: #2B2118;
  margin: 0 0 34px; text-align: center;
}
.vision-by {
  display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 54px;
}
.vision-by .dot { width: 12px; height: 12px; border-radius: 50%; background: #4f7388; display: inline-block; }
.vision-by span:last-child { font-size: 17px; color: #6B5D4C; }

.vision-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border-top: 1px solid #cfdde0; padding-top: 48px;
}
.vision-grid h3 { font-weight: 600; font-size: 26px; line-height: 1.2; margin: 0 0 16px; }
.vision-grid p  { font-size: 19px; line-height: 1.65; color: #544737; margin: 0; }

/* concentric circle diagram */
.rings {
  display: flex; justify-content: center; align-items: center;
  min-height: 300px; position: relative;
}
.rings .ring {
  position: absolute; border-radius: 50%;
  display: flex; align-items: flex-start; justify-content: center;
}
.rings .ring span { margin-top: 8px; font-size: 13px; color: #8A7B66; }
.ring-natur  { width: 280px; height: 280px; border: 1.5px solid rgba(43,33,24,.14); }
.ring-dorf   { width: 204px; height: 204px; border: 1.5px solid rgba(43,33,24,.2); }
.ring-nachb  { width: 132px; height: 132px; border: 1.5px solid #9C4B2E; }
.ring-nachb span { color: #9C4B2E; }
.ring-home {
  width: 54px; height: 54px; background: #4f7388;
  align-items: center;
}
.ring-home span { margin-top: 0; font-size: 12px; color: #2B2118; text-align: center; line-height: 1.1; }

/* Der Ort (petrol split) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.ort { background: #163E4D; color: #e4eff3; overflow: hidden; }
.ort .pad { padding: 88px 56px; }
.ort .kick { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #88B4C6; margin: 0 0 18px; }
.ort h2 { font-weight: 600; font-size: 38px; line-height: 1.14; margin: 0 0 24px; }
.ort p { font-size: 19px; line-height: 1.65; color: rgba(244,238,225,.84); margin: 0 0 20px; }
.pills { display: flex; gap: 14px; flex-wrap: wrap; }
.pill {
  font-size: 15px; padding: 8px 16px;
  border: 1px solid rgba(244,238,225,.25); border-radius: 100px;
}
.ort-photo { position: relative; min-height: 480px; }
.ort-photo .slot { position: absolute; inset: 0; height: 100%; background: #122F3A; border: none; color: rgba(244,238,225,.5); }

/* Modell */
.modell-title { font-weight: 600; font-size: 38px; line-height: 1.12; margin: 0 0 50px; max-width: 720px; }
.card h3.brick { color: #9C4B2E; }
.card h3.green { color: #5A7355; }
.modell-note { font-size: 18px; line-height: 1.6; color: #6B5D4C; margin: 30px 0 0; max-width: 760px; }
.modell-note strong { font-weight: 600; color: #2B2118; }

/* Für wen (Stroh) */
.fuerwen { background: #88b4c6; }
.fuerwen .kick { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #2C4A57; margin: 0 0 18px; }
.fuerwen h2 { font-weight: 600; font-size: 40px; line-height: 1.18; margin: 0 0 24px; color: #2B2118; }
.fuerwen .lede { font-size: 22px; line-height: 1.6; color: #21424E; margin: 0 0 14px; }
.fuerwen .small { font-size: 19px; line-height: 1.6; color: #2C4A57; margin: 0; }

/* Gebäude */
.gebaeude-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gebaeude-photo { position: relative; aspect-ratio: 4/3; }
.gebaeude-grid h2 { font-weight: 600; font-size: 34px; line-height: 1.15; margin: 0 0 20px; }
.gebaeude-grid > div > p { font-size: 19px; line-height: 1.65; color: #544737; margin: 0 0 28px; }
.facts { border-top: 1px solid #cfdde0; }
.fact {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid #cfdde0;
}
.fact .k { font-size: 17px; color: #6B5D4C; }
.fact .v { font-size: 17px; font-weight: 600; }
.fact .v.green { color: #5A7355; }
.fact .v.ocker { color: #366479; }
.fact .v.ink { color: #2B2118; }

/* Kontakt form (dark) */
.kontakt h2 { font-weight: 600; font-size: 40px; line-height: 1.15; margin: 0 0 20px; }
.kontakt .kick { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #88b4c6; margin: 0 0 18px; }
.kontakt .lede { font-size: 20px; line-height: 1.6; color: rgba(244,238,225,.82); margin: 0 0 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; margin-bottom: 16px; }
.form-input, .form-textarea {
  background: #3A2E22;
  border: 1px solid #564636;
  color: #e4eff3;
  font-family: inherit;
  font-size: 18px;
  padding: 16px 18px;
  border-radius: 3px;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(244,238,225,.45); }
.form-input:focus, .form-textarea:focus { outline: 2px solid #88b4c6; outline-offset: 1px; }
.form-textarea {
  width: 100%; box-sizing: border-box;
  margin-bottom: 20px; resize: vertical;
}
.btn-form {
  background: #88b4c6; border: none; color: #2B2118;
  font-family: inherit; font-weight: 600; font-size: 19px;
  cursor: pointer; padding: 16px 36px; border-radius: 3px;
}
.btn-form:hover { filter: brightness(1.05); }
.btn-form:focus-visible { outline: 2px solid #e4eff3; outline-offset: 2px; }
.form-direct { font-size: 15px; color: rgba(244,238,225,.5); margin: 22px 0 0; }
.form-direct a { color: #88b4c6; text-decoration: none; }
.form-direct a:hover { text-decoration: underline; }

/* Rückverbindung */
.rueck {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.rueck-left { display: flex; align-items: center; gap: 16px; }
.rueck-left p { margin: 0; }
.rueck .main { font-size: 18px; color: #2B2118; margin: 0; }
.rueck-left .sub  { font-size: 16px; margin-top: 4px; color: #8A7B66; }
/* Sonnenstall-only design: centered single-line back-reference */
.rueck--center { justify-content: center; gap: 16px; }

/* ============================================================
   MONDSTALL
   ============================================================ */
.mondstall-hero { align-items: center; background: #2B2118; min-height: 520px; }
.mondstall-hero .hero-img { opacity: .55; background: #163E4D; }
.mondstall-hero .hero-scrim {
  background: linear-gradient(180deg, rgba(43,33,24,.55) 0%, rgba(43,33,24,.82) 100%);
}
.mondstall-hero .hero-content { max-width: 820px; padding: 80px 28px; text-align: center; }
.mondstall-hero .strang { display: inline-flex; margin-bottom: 22px; }
.mondstall-hero .strang .dot { background: #5A7355; }
.mondstall-hero .strang .label { color: #CDE0C6; }
.mondstall-hero h1 { font-size: 60px; line-height: 1.08; margin: 0 0 24px; }
.mondstall-hero .hero-lede { max-width: 620px; margin: 0 auto; font-size: 23px; line-height: 1.55; }
.mondstall-body p {
  font-size: 21px; line-height: 1.65; color: #544737; margin: 0 0 36px;
}
.mondstall-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #211A12; color: rgba(244,238,225,.7); padding: 56px 28px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.footer-brand { max-width: 360px; }
.footer-logo { height: 46px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand .top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand .word { font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 600; color: #e4eff3; }
.footer-brand .word .accent { color: #B8893D; }
.footer-brand p { font-size: 16px; line-height: 1.6; margin: 0; }
.footer-nav { line-height: 2; }
.footer-nav button {
  display: block; background: none; border: none; cursor: pointer;
  color: rgba(244,238,225,.7); font-family: inherit; font-size: 16px;
  padding: 0; text-align: left;
}
.footer-nav button:hover { color: #e4eff3; }
.footer-contact { font-size: 16px; line-height: 1.7; }
.footer-contact p { margin: 0 0 4px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .url { color: #88b4c6; }
.footer-contact .addr { color: rgba(244,238,225,.45); margin: 0; }

/* ============================================================
   HERO SIZE VARIANTS
   ============================================================ */
.hero--hof       { min-height: 560px; }
.hero--wohnhaus  { min-height: 480px; }
.hero--sonnen    { min-height: 600px; }
.hero--scheune   { height: 82vh; min-height: 720px; max-height: 900px; }
.hero--scheune .hero-scrim { background: none; }
.hero--scheune .scrim-a {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(43,33,24,.66) 0%, rgba(43,33,24,.34) 40%, rgba(43,33,24,.03) 68%, rgba(43,33,24,0) 100%);
}
.hero--scheune .scrim-b {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,0) 58%, rgba(43,33,24,.5) 100%);
}
.hero--wohnhaus .hero-scrim, .hero--sonnen .hero-scrim {
  background: linear-gradient(180deg, rgba(43,33,24,.1) 0%, rgba(43,33,24,.76) 100%);
}
.hero--wohnhaus h1 { font-size: 58px; line-height: 1.06; }
.hero--sonnen h1   { font-size: 64px; line-height: 1.05; }
.hero--scheune h1  { font-size: 58px; line-height: 1.06; }
.hero--wohnhaus .hero-content,
.hero--sonnen .hero-content,
.hero--scheune .hero-content { max-width: 1100px; }
.hero--sonnen .hero-content  { padding-bottom: 66px; }
.hero--sonnen .strang .dot   { background: #88b4c6; }
.hero--scheune .strang .dot  { background: #9C4B2E; }
.hero--wohnhaus .strang .dot { background: #4f7388; }
.hero--sonnen .hero-lede  { font-size: 24px; max-width: 660px; }
.hero--wohnhaus .hero-lede { font-size: 22px; max-width: 600px; }
.hero--scheune .hero-lede  { font-size: 22px; max-width: 620px; }

/* ============================================================
   SCROLL-REVEAL (JS adds .reveal; .is-in releases it)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(0.2,0,0,1), transform .7s cubic-bezier(0.2,0,0,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  body { font-size: 18px; }
  .topbar-inner { flex-wrap: wrap; gap: 12px; padding: 12px 18px; }
  .mainnav { margin-left: 0; flex-wrap: wrap; gap: 2px; width: 100%; }
  .navlink { font-size: 15px; padding: 8px 10px; }
  .langgroup { margin-left: auto; }

  .hero h1, .hero--sonnen h1, .hero--wohnhaus h1, .hero--scheune h1, .mondstall-hero h1 { font-size: 40px; }
  .hero-lede { font-size: 19px; }
  .hero-content { padding: 0 18px 40px; }

  .section { padding: 56px 18px; }
  .band { padding: 56px 18px; }

  .values-grid, .cards3, .cards2, .vision-grid, .gebaeude-grid, .split, .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .values-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .values-title, .hof-intro h2 { font-size: 32px; }

  .ort .pad { padding: 56px 24px; }
  .ort-photo { min-height: 280px; }

  .gallery-row2, .gallery-row3 { grid-template-columns: 1fr; }

  .vision-quote, .idee-para { font-size: 24px; }
  .intro-para { font-size: 22px; }
  .band-quote { font-size: 24px; }

  .footer-inner { flex-direction: column; gap: 28px; }
}

/* ---------- Phone (<= 560px) ---------- */
/* Phone: hide the single in-page nav link (design @max-width:760px), keep lang switch */
@media (max-width: 760px) {
  .mainnav .navlink { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }

  .topbar-inner { padding: 10px 14px; gap: 10px; }
  .mainnav { gap: 0; }
  .navlink { font-size: 14px; padding: 7px 8px; }
  .langgroup .langbtn { padding: 6px 8px; }

  .hero h1, .hero--sonnen h1, .hero--wohnhaus h1, .hero--scheune h1, .mondstall-hero h1 { font-size: 32px; }
  .hero-lede { font-size: 17px; }
  .hero-content { padding: 0 16px 32px; }
  .eyebrow, .hero-eyebrow { letter-spacing: .14em; }

  .section { padding: 44px 16px; }
  .band { padding: 44px 16px; }
  .values-title, .hof-intro h2 { font-size: 26px; }

  .vision-quote, .idee-para { font-size: 21px; }
  .intro-para { font-size: 19px; }
  .band-quote { font-size: 21px; }

  .ort .pad { padding: 44px 18px; }
  .plan-caption { font-size: 13px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
