/* Büdels Spessartlounge – Styles nach Brand Guide */
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --tanne: #23372C;
  --moos: #5E7A5A;
  --salbei: #9AAE90;
  --eiche: #A67C52;
  --eiche-hell: #C9A276;
  --nebel: #E9E6DF;
  --stein: #F4F3EF;
  --text: #2B302C;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 3px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  color-scheme: light;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

img, video { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--eiche); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--tanne); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 27px; }
p { margin: 0 0 1.1em; max-width: 60ch; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--eiche);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--eiche-hell); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: #fff; }
.section--stone { background: var(--stein); }
.section--dark { background: var(--tanne); color: var(--nebel); }
.section--dark h2, .section--dark h3 { color: var(--nebel); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { text-align: center; }

.grid { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--reverse > :first-child { order: 2; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 15px 30px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
button.btn { border: 0; cursor: pointer; font-family: var(--sans); }
.btn--ghost { background: transparent; color: var(--nebel); box-shadow: inset 0 0 0 1px rgba(233,230,223,.4); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--nebel); }
.btn--primary { background: var(--eiche); color: #fff; }
.btn--primary:hover { background: #8f6a45; }
.btn--light { background: var(--nebel); color: var(--tanne); }
.btn--light:hover { background: #fff; }
.textlink {
  display: inline-block;
  font-weight: 400;
  color: var(--tanne);
  text-decoration: none;
  border-bottom: 1px solid var(--eiche);
  padding-bottom: 2px;
  margin-top: 8px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.textlink:hover { color: var(--eiche); }
.textlink--light { color: var(--nebel); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.header__inner { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo { display: flex; align-items: center; gap: 10px; height: 52px; text-decoration: none; --h: 52; }
.header.is-solid .header__logo { --h: 44; }
.logo { height: 100%; width: auto; }
.em { display: block; width: 100%; height: 100%; overflow: hidden; }
/* Interaktive Marke: Emblem und Wortmarke werden in maximaler Hero-Größe gerendert (260 px / 900 px) und für den Header heruntergerechnet.
   Die Wanderung skaliert dann nur zwischen 1 und dem Header-Maß – nie über die Rastergröße hinaus, also immer scharf. */
.header__logo--live .em-wrap { display: block; position: relative; width: calc(var(--h) * 1px); height: calc(var(--h) * 1px); }
.header__logo--live .em-wrap .em { position: absolute; left: 0; top: 0; width: 260px; height: 260px; transform-origin: 0 0; transform: scale(calc(var(--h) / 260)); }
.header__logo--live .logo { display: block; position: relative; height: calc(var(--h) * .86px); width: calc(var(--h) * var(--wm-w, 3.9) * 1px); }
.header__logo--live .logo img { position: absolute; left: 0; top: 0; width: 900px; max-width: none; height: auto; transform-origin: 0 0; transform: scale(calc(var(--h) * var(--wm-k, .0061))); }
.header .em__ring { stroke: #E9E6DF; }

/* Emblem lebt: Hügel driften mit dem Scrollfortschritt (--scroll 0…1), Blatt wiegt sich, Liege lehnt sich bei Hover zurück */
.em__hill--back { transform: translateX(calc(var(--scroll, 0) * -200px)); }
.em__hill--mid { transform: translateX(calc(var(--scroll, 0) * -120px)); }
.em__leaf { transform-box: fill-box; transform-origin: 50% 0%; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.em__back { transition: transform .6s var(--ease); }
.header__logo--live:hover .em__leaf, .footer__logo--live:hover .em__leaf { animation-duration: 2.4s; }
.header__logo--live:hover .em__back, .footer__logo--live:hover .em__back { transform: translate(224px, 283px) rotate(46deg); }
@media (prefers-reduced-motion: reduce) { .em__leaf { animation: none; } .em__hill { transform: none; } }
.logo--dark { display: none; }
.header.is-solid { background: rgba(35, 55, 44, .96); padding: 10px 0; box-shadow: 0 1px 0 rgba(233, 230, 223, .1); }
.header.is-solid .header__logo { height: 44px; }
.header__logo--live .em-wrap .em, .header__logo--live .logo img { backface-visibility: hidden; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 30px; position: relative; }
.nav__link {
  font-weight: 400; font-size: 15px; letter-spacing: .02em;
  color: var(--nebel); text-decoration: none;
  position: relative; padding: 4px 0; display: inline-flex; align-items: baseline; gap: 8px;
  transition: color .3s var(--ease);
}
.nav__link .leaf { display: none; }
.nav__ind { position: absolute; bottom: -2px; height: 1px; background: currentColor; color: var(--nebel); left: 0; width: 0; opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nav__ind.is-on { opacity: 1; }
.nav__link:hover .nav__label { color: var(--eiche); }
/* Anfragen: Kontur in Eiche, Versalien mit Laufweite, Blatt als Zeichen; bei Hover füllt sich der Button von unten */
.nav__cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; padding: 12px 22px 12px 18px; border: 1px solid var(--eiche-hell); border-radius: 2px; color: var(--nebel); text-decoration: none; font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; transition: color .35s var(--ease), border-color .35s var(--ease); }
.nav__cta::before { content: ''; position: absolute; inset: 0; background: var(--eiche-hell); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.nav__cta:hover, .nav__cta:focus-visible { color: var(--tanne); }
.nav__cta:hover::before, .nav__cta:focus-visible::before { transform: none; }
.nav__cta .leaf { display: block; width: 11px; height: 22px; color: var(--eiche-hell); transform: rotate(-16deg); transition: color .35s var(--ease), transform .5s var(--ease); }
.nav__cta:hover .leaf { color: var(--tanne); transform: rotate(6deg); }
.nav__foot, .nav__hills, .nav__sub { display: none; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: var(--eiche-hell); margin: 8px 0; transition: transform .3s var(--ease), opacity .3s; }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    display: none; position: fixed; inset: 0; z-index: 1; background: var(--tanne); color: var(--nebel);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 100px var(--pad) 170px; overflow-y: auto; -webkit-overflow-scrolling: touch; isolation: isolate;
  }
  .header.is-open .nav { display: flex; animation: fade .3s var(--ease); }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; flex: none; }
  .nav__ind { display: none; }
  .nav__link { font-family: var(--serif); font-size: clamp(28px, 7.4vw, 40px); font-weight: 500; color: var(--nebel); width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(233,230,223,.12); line-height: 1.05; }
  .nav__link:last-of-type { border-bottom: 0; }
  .nav__sub { display: block; grid-column: 1; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 14px; color: var(--eiche-hell); opacity: .9; margin-top: 2px; }
  .nav__label { transition: transform .4s var(--ease), color .3s; }
  .nav__link.is-active .nav__label, .nav__link:active .nav__label { transform: translateX(10px); }
  .nav__link .leaf { display: block; grid-column: 2; grid-row: 1 / 3; width: 14px; height: 28px; opacity: 0; transform: rotate(-16deg) translateX(-8px); transition: opacity .4s, transform .4s var(--ease); color: var(--eiche-hell); }
  .nav__link.is-active .leaf { opacity: 1; transform: rotate(-16deg) translateX(0); }
  .nav__link:hover .nav__label, .nav__link.is-active .nav__label { color: var(--eiche-hell); }
  .nav__cta { margin: 26px 0 0; padding: 16px 30px 16px 24px; font-size: 14px; flex: none; }
  .nav__foot { display: grid; gap: 4px; margin-top: 26px; flex: none; font-size: 14px; color: var(--salbei); }
  .nav__foot a { color: var(--nebel); text-decoration: none; }
  .nav__hills { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none; z-index: -1; }
  .nav__hills svg { width: 100%; height: 100%; display: block; overflow: visible; }
  .nav__hill { transform-box: fill-box; }
  .nav__hill--back { animation: drift 34s linear infinite; }
  .nav__hill--front { animation: drift 22s linear infinite reverse; }
  @keyframes drift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
  .header.is-open .nav__link, .header.is-open .nav__cta, .header.is-open .nav__foot { animation: navin .7s var(--ease) both; animation-delay: calc(.08s + var(--i, 0) * .07s); }
  @keyframes navin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .header.is-open { background: transparent; }
  .header.is-open .burger { position: relative; z-index: 2; }
  .header.is-open .burger span:first-child { transform: translateY(4.75px) rotate(45deg); }
  .header.is-open .burger span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
  .header.is-open .header__logo { z-index: 2; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--tanne); color: var(--nebel); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__poster { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,55,44,.55) 0%, rgba(35,55,44,.35) 45%, rgba(35,55,44,.8) 100%); }
.hero__content { position: relative; z-index: 1; text-align: center; padding: clamp(84px, 12vh, 120px) var(--pad) clamp(96px, 13vh, 120px); }
@media (max-height: 640px) { .hero__scroll { display: none; } }
/* Marke im Hero: groß und gestapelt; beim Scrollen wandert sie in den Header (JS). Ohne JS/bei reduzierter Bewegung bleibt sie statisch hier. */
/* Größen hängen an der Viewport-Höhe, damit Marke, Headline und Button auch auf flachen Desktop-Fenstern ohne Scrollen sichtbar sind */
.hero__brand { display: grid; justify-items: center; gap: clamp(12px, 2vh, 22px); margin: 0 auto clamp(20px, 3.2vh, 48px); }
.hero__brand-em { width: clamp(110px, 16vh, 200px); aspect-ratio: 1; }
.hero__brand-wm { width: min(clamp(240px, 62vw, 640px), 56vh); aspect-ratio: var(--wm-ratio, 4.5); }
@media (min-width: 900px) {
  .hero__brand-em { width: clamp(120px, 22vh, 260px); }
  .hero__brand-wm { width: min(62vw, 80vh, 900px); }
}
.hero__brand-wm img { width: 100%; height: 100%; display: block; }
.morph .hero__brand > * > * { visibility: hidden; }
.morph .header__logo .em-wrap, .morph .header__logo .logo { transform-origin: 0 0; will-change: transform; }
.morph .header:not(.is-solid) .header__logo { pointer-events: none; }
.morph.morph-landed .header__logo { pointer-events: auto; }
.hero__content h1 { color: var(--nebel); margin-bottom: clamp(24px, 3.5vh, 36px); font-size: clamp(36px, min(6.4vw, 7vh), 84px); }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1; width: 28px; height: 44px; border: 1px solid rgba(233,230,223,.5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--nebel); animation: drop 2.2s infinite var(--ease); }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Hero: ein Auftritt – Zeile für Zeile, im Atemrhythmus */
.hero .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
@media (min-width: 900px) {
  .hero .line { display: inline-block; margin: 0 .16em -.06em; }
  .hero__content h1 { font-size: clamp(36px, min(4.6vw, 7vh), 76px); }
}
.nav__link { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1120px) { .nav, .nav__list { gap: 18px; } .nav__link { font-size: 14px; } .nav__cta { padding: 10px 16px 10px 14px; margin-left: 0; } }
.hero .line span { display: block; }
.js .hero .line span, .js .hero__btn, .js .hero__scroll, .js .hero__brand, .js .header__logo--live { opacity: 0; }
.js.is-loaded .hero__brand, .js.is-loaded .header__logo--live { animation: fadein 1.4s var(--ease) .1s forwards; }
.js:not(.morph) .header__logo--live { opacity: 1; animation: none; }
.js .hero .line span { transform: translateY(105%); }
.js .hero__poster { transform: scale(1.08); }
.js.is-loaded .hero .line span { animation: rise 1.3s var(--ease) forwards; }
.js.is-loaded .hero .line:nth-child(1) span { animation-delay: 1.2s; }
.js.is-loaded .hero .line:nth-child(2) span { animation-delay: 2s; }
.js.is-loaded .hero .line:nth-child(3) span { animation-delay: 2.8s; }
.js.is-loaded .hero__btn { animation: fadein 1.2s var(--ease) 3.6s forwards; }
.js.is-loaded .hero__scroll { animation: fadein 1.2s var(--ease) 4.1s forwards; }
.js.is-loaded .hero__poster { transform: scale(1); transition: transform 4.5s var(--ease); }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero .line span, .js .hero__btn, .js .hero__scroll, .js .hero__brand, .js .header__logo--live { opacity: 1; transform: none; animation: none; } .js .hero__poster { transform: none; } }

/* Lebende Hügel: Ebenen laufen beim Scrollen auseinander */
.hills path { will-change: transform; }

/* Welcome */
.signature { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--tanne); margin-top: 28px; line-height: 1.4; }
.frame { position: relative; isolation: isolate; }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.frame::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--salbei); border-radius: var(--radius); z-index: -1; }
.frame--tall img { aspect-ratio: 3/4; }
@media (max-width: 900px) { .frame::before { inset: 14px -14px -14px 14px; } .frame { margin-right: 14px; } }

/* Apartment */
.apartment__images { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: 40px; }
.apartment__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.apartment__img--a { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 3/4; }
.apartment__img--b { grid-column: 7 / 13; grid-row: 1; align-self: end; aspect-ratio: 4/3; margin-bottom: -40px; box-shadow: 0 24px 60px -30px rgba(35,55,44,.5); border: 6px solid #fff; border-radius: 5px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin: 36px 0 30px; }
.facts dt { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; color: var(--tanne); }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--moos); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Features */
.hills { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(60px, 8vw, 120px); pointer-events: none; z-index: 1; }
.hills svg { width: 100%; height: 100%; display: block; overflow: visible; }
.features__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .features__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px); } .feature:nth-child(2) { transform: translateY(48px); } }
.feature__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 16px; color: var(--salbei); }
.features .section__head h2 { max-width: 14ch; }

/* Region */
.tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.tags li { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--tanne); }
.leaf { width: 12px; height: 24px; color: var(--eiche); transform: rotate(-16deg); flex: none; }

/* Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; grid-auto-flow: dense; gap: 12px; }
@media (min-width: 760px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 24vw; gap: 18px; } .gallery__item:nth-child(6n+1), .gallery__item:nth-child(6n+5) { grid-row: span 2; } }
@media (min-width: 1240px) { .gallery__grid { grid-auto-rows: 290px; } }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--stein); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

/* Großes Foto */
.photo { position: relative; min-height: 72vh; display: grid; place-items: center; overflow: hidden; background: var(--tanne); color: var(--nebel); padding: clamp(100px, 12vw, 160px) 0; }
.photo__media { position: absolute; inset: -12% 0; }
.photo__img { width: 100%; height: 100%; object-fit: cover; }
.photo__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,55,44,.25), rgba(35,55,44,.55)); }
.photo__content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.photo__content .eyebrow { text-align: center; }
.photo__quote { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(28px, 4.2vw, 54px); line-height: 1.2; color: var(--nebel); margin: 0 auto .6em; max-width: 22ch; }
.photo__sig { font-size: 15px; letter-spacing: .06em; color: var(--eiche-hell); margin: 0 auto; }

/* Contact: eine Spalte – Text, Kontaktdaten als Karten, darunter das Formular */
.contact .contact__inner--form { max-width: 860px; text-align: center; }
.contact__details { margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__details div { flex: 1 1 200px; max-width: 300px; display: grid; gap: 6px; justify-items: center; align-content: start; text-align: center; padding: 20px 14px; border: 1px solid rgba(233,230,223,.14); border-radius: 4px; font-size: 16px; }
.contact__details dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--eiche-hell); font-weight: 500; }
.contact__details dd { margin: 0; color: var(--nebel); line-height: 1.55; }
.contact__details a { color: var(--nebel); text-decoration: none; border-bottom: 1px solid rgba(201,162,118,.5); }
.contact__details a:hover { color: var(--eiche-hell); }
.contact__wa { display: inline-block; margin-top: 4px; margin-left: 0; font-size: 13px; color: var(--salbei) !important; border-bottom: 0 !important; }
.contact__maps { display: inline-block; margin-top: 4px; font-size: 14px; }
.contact__form { margin-top: clamp(36px, 5vw, 56px); text-align: left; }
@media (max-width: 480px) { .contact__details div { flex-basis: 100%; max-width: none; } }

/* Anfrageformular */
.contact__form { background: rgba(233,230,223,.06); border: 1px solid rgba(233,230,223,.12); border-radius: 4px; padding: clamp(22px, 3vw, 36px); }
.form__grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form__field { display: grid; gap: 6px; }
.form__field--wide { grid-column: 1 / -1; }
.form__field span, .contact__form legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--salbei); font-weight: 500; }
.form__field input, .form__field select, .form__field textarea { width: 100%; padding: 12px 14px; background: rgba(35,55,44,.55); border: 1px solid rgba(233,230,223,.22); border-radius: 2px; color: var(--nebel); font: 300 16px/1.4 var(--sans); color-scheme: dark; transition: border-color .25s var(--ease); }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--eiche-hell); }
.form__field textarea { resize: vertical; min-height: 110px; }
/* Datumsfelder: iOS Safari bekommt sonst riesige, breite Felder ohne Text */
.form__field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; min-height: 50px; text-align: left; position: relative; }
.form__field input[type="date"]::-webkit-date-and-time-value { text-align: left; height: 1.4em; line-height: 1.4em; }
.form__field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.9); opacity: .7; cursor: pointer; }
@supports (-webkit-touch-callout: none) { .form__field input[type="date"]:not(.has-value)::before { content: attr(placeholder); color: rgba(233,230,223,.45); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; } }
.form.is-stepped .form__field input[type="date"] { min-height: 54px; }
.form__field.is-invalid input, .form__field.is-invalid select, .form__check.is-invalid span { border-color: #D48A75; }
.form__check.is-invalid span { border-bottom: 1px solid #D48A75; padding-bottom: 2px; }
.form__check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 18px 0 0; font-size: 14px; color: var(--salbei); line-height: 1.5; }
.form__step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.form__step legend { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; color: var(--eiche-hell); text-transform: none; letter-spacing: 0; margin-bottom: 12px; padding: 0; }
.form__foot { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.form__foot [hidden] { display: none !important; }
.contact__form, .form, .form__step, .form__grid { min-width: 0; }
.form__foot .btn { flex: 1; text-align: center; }
.form__prev { flex: 0 0 auto !important; }
.form__progress { display: none; }
/* Schrittweise auf kleinen Bildschirmen (per JS aktiviert) */
.form.is-stepped .form__step { display: none; margin-bottom: 0; }
.form.is-stepped .form__step.is-active { display: block; animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.form.is-stepped .form__step legend { font-size: 26px; margin-bottom: 18px; color: var(--nebel); }
.form.is-stepped .form__progress { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--salbei); }
.form.is-stepped .form__progress i { display: block; height: 2px; flex: 1; background: rgba(233,230,223,.18); border-radius: 1px; }
.form.is-stepped .form__progress i.is-done { background: var(--eiche-hell); }
.form.is-stepped .form__grid { grid-template-columns: 1fr; gap: 14px; }
.form.is-stepped .form__field input, .form.is-stepped .form__field select, .form.is-stepped .form__field textarea { padding: 14px 16px; font-size: 17px; }
.form.is-stepped .form__foot { margin-top: 22px; }
@media (max-width: 600px) { .contact__form { padding: 22px 18px; } }
.form__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--eiche); }
.form__check a { color: var(--nebel); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { background: rgba(212,138,117,.15); border-left: 3px solid #D48A75; padding: 10px 14px; font-size: 14px; color: var(--nebel); margin-bottom: 18px; }
.form__done { display: grid; justify-items: center; text-align: center; padding: 30px 10px; }
.form__done .leaf { width: 22px; height: 44px; margin-bottom: 18px; }
.form__done p { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--nebel); margin: 0; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* Unterseiten (Impressum, Datenschutz) */
.subpage .header { position: sticky; }
.nav--sub .nav__link { color: var(--nebel); }
.page { background: var(--stein); padding: clamp(56px, 8vw, 110px) 0; min-height: 60vh; }
.page__inner { max-width: 780px; }
.page h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: .6em; }
.page__body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.6em 0 .5em; }
.page__body h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.page__body p, .page__body li { max-width: 68ch; }
.page__body ul { padding-left: 1.2em; }
.page__body a { color: var(--tanne); text-decoration: none; border-bottom: 1px solid var(--eiche); }
.page__body a:hover { color: var(--eiche); }
.page__meta { margin-top: 48px; font-size: 13px; color: var(--moos); }
.contact--photo { overflow: hidden; }
.contact__bg { position: absolute; inset: -12% 0; }
.contact__img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: rgba(35,55,44,.82); }
.contact--photo .contact__inner { position: relative; z-index: 1; }
.contact__inner { max-width: 760px; text-align: center; }
.contact__inner p { margin-left: auto; margin-right: auto; }
.contact__text { color: var(--salbei); font-size: 18px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin: 32px 0 44px; }
.contact address { font-style: normal; font-size: 15px; color: var(--salbei); line-height: 1.7; }

/* Footer */
.footer { background: var(--tanne); color: var(--salbei); border-top: 1px solid rgba(233,230,223,.12); padding: 40px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer__logo { height: 42px; width: auto; }
.footer__logo--live { display: flex; align-items: center; gap: 16px; height: 84px; }
.footer__logo--live .em { width: 84px; height: 84px; flex: none; }
.footer__logo--live img { height: 70px; width: auto; }
@media (max-width: 480px) { .footer__logo--live { height: 64px; } .footer__logo--live .em { width: 64px; height: 64px; } .footer__logo--live img { height: 54px; } }
.footer p { margin: 0; }
.footer__nav { display: flex; gap: 24px; }
.footer__nav a { color: var(--salbei); text-decoration: none; }
.footer__nav a:hover { color: var(--nebel); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(35,55,44,.96); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--salbei); font-size: 14px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--nebel); font-size: 40px; line-height: 1; cursor: pointer; width: 56px; height: 56px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } .lightbox__prev { left: 12px; } .lightbox__next { right: 12px; } }
