/* Ferienwohnung Urmein – Haus Sunnaberg */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3ede3;
  --paper-deep: #e9e0d1;
  --snow: #fbf9f5;
  --ink: #1d2620;
  --ink-soft: #4a514a;
  --fir: #24382d;
  --fir-light: #3b5545;
  --wood: #7c4f2e;
  --ember: #b8472a;
  --ember-dark: #9a3820;
  --line: rgba(29, 38, 32, .16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 3px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--snow); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.6rem;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  border: 0; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--snow); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-accent { background: var(--ember); color: #fff; }
.btn-accent:hover { background: var(--ember-dark); }

.link-light { color: #fff; font-weight: 500; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.link-light:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  color: #fff;
  transition: background-color .3s, color .3s, padding .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(243, 237, 227, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding-block: .65rem;
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 44px; height: 17px; flex: none; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 1.45rem; }
.brand-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: .95rem; }
.nav a { text-decoration: none; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; padding: .5rem 1rem; border-radius: var(--radius); }
.site-header.is-solid .nav-cta { background: var(--ember); border-color: var(--ember); color: #fff; }

@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--fir);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 42% 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18, 24, 20, .78) 0%, rgba(18, 24, 20, .35) 38%, rgba(18, 24, 20, 0) 62%),
    linear-gradient(to bottom, rgba(18, 24, 20, .35) 0, rgba(18, 24, 20, 0) 18%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 8rem var(--gutter) clamp(6.5rem, 12vh, 9rem);
}
/* Halbtransparente Fläche hinter dem Text, damit er auch über hellem Himmel lesbar bleibt */
.hero-panel {
  width: fit-content; max-width: 46rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem) clamp(1.25rem, 1rem + 2vw, 2.75rem);
  background: rgba(18, 24, 20, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius);
}
.hero .hero-panel h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); }
/* Ab Tablet-Breite rechts über der Holzwand, damit der Piz Beverin links sichtbar bleibt */
@media (min-width: 861px) { .hero-panel { margin-left: auto; max-width: 40rem; } }
.hero h1 .hero-kicker { display: block; font-family: var(--sans); font-weight: 400; font-style: normal; line-height: 1.5; font-variation-settings: normal; }
.hero-kicker { font-size: .85rem; letter-spacing: .06em; margin-bottom: 1.2rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.9vw, 4.7rem);
  font-variation-settings: "opsz" 72;
  max-width: 30ch;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}
.hero h1 em { display: block; color: #f6d9c6; }
.hero-lead { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); max-width: 34rem; margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }

@media (max-width: 480px) {
  .hero-inner { padding-bottom: 5.5rem; }
  .hero-kicker { font-size: .78rem; margin-bottom: .8rem; }
  .hero h1 { font-size: 2.15rem; }
  .hero-panel { width: auto; margin-inline: calc(var(--gutter) * -0.5); }
  .hero-lead { font-size: 1rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-actions .link-light { display: none; }
}

/* ---------- Facts ---------- */

.facts {
  position: relative; z-index: 2;
  list-style: none; margin: -3.5rem auto 0; padding: 0;
  width: calc(100% - 2 * var(--gutter)); max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--snow);
  box-shadow: 0 20px 40px -24px rgba(29, 38, 32, .35);
}
.facts li { padding: 1.5rem 1.6rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; margin-bottom: .45rem; color: var(--fir); }
.facts span { font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li { padding: 1.15rem 1.1rem; }
}

/* ---------- Intro ---------- */

.intro {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(5rem, 11vw, 9rem);
}
.intro-title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); text-wrap: balance; }
.intro-body { padding-top: .6rem; max-width: 34rem; }
.intro-lede { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.4; font-variation-settings: "opsz" 24; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-top: 2rem; color: var(--wood); }
.signature span { display: block; font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: .2rem; }

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

/* ---------- Section head ---------- */

.section-head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin: 0; max-width: 34rem; color: var(--ink-soft); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Apartment ---------- */

.apartment { padding-bottom: clamp(4rem, 9vw, 7rem); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(.6rem, 1.2vw, 1rem);
}
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery button {
  all: unset; display: block; cursor: zoom-in; overflow: hidden; flex: 1;
  background: var(--paper-deep);
}
.gallery button:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .5rem; }

.g-a { grid-column: 1 / 8; grid-row: 1; }
.g-a button { aspect-ratio: 16 / 10; }
.g-b { grid-column: 8 / 13; grid-row: 1; }
.g-c { grid-column: 1 / 4; grid-row: 2; }
.g-c button { aspect-ratio: 3 / 4; }
.g-d { grid-column: 4 / 9; grid-row: 2; }
.g-e { grid-column: 9 / 13; grid-row: 2; }
.g-d img, .g-e img { object-position: center 60%; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-a { grid-column: 1 / 3; grid-row: auto; }
  .g-b, .g-c, .g-d, .g-e { grid-column: auto; grid-row: auto; }
  .g-b button, .g-d button, .g-e button { aspect-ratio: 4 / 3; }
  .g-c button { aspect-ratio: auto; }
  .g-c { grid-row: span 2; }
  .g-e { grid-column: 1 / 3; }
  .g-e button { aspect-ratio: 16 / 9; }
}

.specs { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.spec-list { margin: 0; border-top: 1px solid var(--ink); }
.spec-list div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 600; font-size: .9rem; padding-top: .1rem; }
.spec-list dd { margin: 0; }

.note { background: var(--paper-deep); padding: 1.6rem 1.7rem 1.1rem; border-left: 3px solid var(--wood); }
.note-title { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .6rem; }
.note p:not(.note-title) { font-size: .95rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .specs { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Seasons ---------- */

.seasons { background: var(--fir); color: var(--snow); padding-block: clamp(4.5rem, 10vw, 8rem); }
.seasons-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.seasons-head .amp { font-style: italic; color: #e6b8a0; }

.season-switch { display: inline-flex; border: 1px solid rgba(251, 249, 245, .35); border-radius: 999px; padding: 4px; }
.season-switch button {
  font: 500 .95rem/1 var(--sans); color: inherit; background: transparent;
  border: 0; border-radius: 999px; padding: .75rem 1.5rem; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.season-switch button[aria-selected="true"] { background: var(--snow); color: var(--fir); }
.season-switch button:not([aria-selected="true"]):hover { background: rgba(251, 249, 245, .1); }

.season-panel { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.season-panel[hidden] { display: none; }
.season-panel.is-entering .season-photos, .season-panel.is-entering .season-text { animation: fadeUp .55s cubic-bezier(.2, .7, .2, 1) both; }
.season-panel.is-entering .season-text { animation-delay: .08s; }

.season-photos { position: relative; padding-bottom: 14%; }
.sp-main { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-side {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 6px solid var(--fir);
}
.season-lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; margin-bottom: 1.2rem; color: #f6d9c6; }
.season-text p { color: rgba(251, 249, 245, .86); }


/* Wegweiser im Stil der gelben Schweizer Wanderwegweiser (aus dem Mockup vom 27.10.2026) */
.wegweiser-titel { margin: 2rem 0 .6rem; font-size: .9rem; color: rgba(251, 249, 245, .7); }
.wegweiser { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 4px; width: min(100%, 21rem); color: #111; }
.wegweiser-titel + .wegweiser { margin-top: 0; }
.pfeil {
  --spitze: 1.3rem;
  background: #f2c300; font: 700 .95rem/1.25 var(--sans);
  padding: .5rem calc(var(--spitze) + .7rem) .5rem .9rem;
  clip-path: polygon(0 0, calc(100% - var(--spitze)) 0, 100% 50%, calc(100% - var(--spitze)) 100%, 0 100%);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.pfeil-links { padding: .5rem .9rem .5rem calc(var(--spitze) + .7rem); clip-path: polygon(var(--spitze) 0, 100% 0, 100% 100%, var(--spitze) 100%, 0 50%); }
.pfeil small { font-weight: 500; font-size: .85rem; white-space: nowrap; }

@media (max-width: 860px) {
  .season-panel { grid-template-columns: 1fr; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Glow ---------- */

.glow { position: relative; overflow: hidden; background: #b9c6dc; }
.glow img { width: 100%; height: clamp(26rem, 62vw, 50rem); object-fit: cover; object-position: center 70%; }
.glow-text {
  position: absolute; top: clamp(2.5rem, 8vw, 6rem); left: 0; right: 0;
  margin: 0 auto; padding-inline: var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  font-family: var(--serif); font-variation-settings: "opsz" 60;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem); line-height: 1.15;
  color: #233047;
}
.glow-text::first-line { font-style: italic; }
@media (min-width: 900px) { .glow-text { padding-right: 40%; } }

/* ---------- Around ---------- */

.around { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.around-head { display: grid; grid-template-columns: 5fr 5fr auto; gap: 1.5rem clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: 2.2rem; }
.around-head p { margin: 0; color: var(--ink-soft); max-width: 32rem; }
.strip-nav { display: flex; gap: .5rem; }
.strip-nav button {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 1.1rem; cursor: pointer; transition: background-color .2s, color .2s;
}
.strip-nav button:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  .around-head { grid-template-columns: 1fr; }
  .strip-nav { display: none; }
}

.strip {
  display: flex; gap: clamp(.7rem, 1.4vw, 1.1rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 1.2rem;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--wood) transparent;
}
@media (min-width: 1336px) {
  .strip { padding-left: calc((100vw - var(--max)) / 2); scroll-padding-inline: calc((100vw - var(--max)) / 2); }
}
.strip figure { margin: 0; flex: none; scroll-snap-align: start; }
.strip img { height: clamp(14rem, 30vw, 22rem); width: auto; max-width: none; object-fit: cover; aspect-ratio: 4 / 3; }
.strip figure:nth-child(3n+2) img { aspect-ratio: 3 / 4; }
.strip figure:nth-child(5) img { aspect-ratio: 16 / 9; }
.strip figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .5rem; }

/* ---------- Travel ---------- */

.travel { padding-block: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.route { background: var(--snow); padding: clamp(1.4rem, 3vw, 2.2rem); }
.route h3 { margin-bottom: 1.6rem; }
.route p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.route-line { display: flex; align-items: center; flex-wrap: nowrap; margin-bottom: 1.6rem; font-size: .8rem; }
.route-line .stop { position: relative; padding-top: 1.3rem; white-space: nowrap; font-weight: 600; }
.route-line .stop::before {
  content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--snow); border: 2px solid var(--fir);
}
.route-line .stop-end::before { background: var(--ember); border-color: var(--ember); }
.route-line .leg {
  flex: 1; position: relative; text-align: center; padding: 1.3rem .5rem 0; color: var(--ink-soft); min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.route-line .leg::before { content: ""; position: absolute; top: 5px; left: -2.2rem; right: .3rem; height: 1.5px; background: var(--fir); }
.route-line .leg-walk::before { background: repeating-linear-gradient(90deg, var(--fir) 0 4px, transparent 4px 8px); }
.route-line .stop + .leg::before { left: .9rem; }

.travel-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.8rem 0 0; font-weight: 500; }
.travel-links a { text-underline-offset: .3em; text-decoration-color: var(--ember); }
.travel-links a:hover { color: var(--ember-dark); }

@media (max-width: 860px) { .routes { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .route-line { font-size: .74rem; }
  .route-line .leg { white-space: normal; line-height: 1.25; padding-inline: .3rem; }
}

/* ---------- Good to know ---------- */

.good-to-know { background: var(--paper-deep); padding-block: clamp(4rem, 8vw, 6rem); }
.good-to-know h2 { margin-bottom: 2.5rem; }
.gtk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.gtk-grid > div { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.gtk-grid h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.gtk-grid p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .gtk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gtk-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact { background: var(--fir); color: var(--snow); padding-block: clamp(4.5rem, 10vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-info h2 { margin-bottom: 1.4rem; text-wrap: balance; }
.contact-info > p { color: rgba(251, 249, 245, .85); max-width: 28rem; }
.contact address { font-style: normal; margin-top: 2.2rem; line-height: 1.9; }
.contact address .host { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-bottom: .3rem; color: #f6d9c6; }
.contact address a { text-decoration-color: rgba(251, 249, 245, .4); text-underline-offset: .25em; }
.contact address a:hover { text-decoration-color: currentColor; }
.muted { opacity: .65; }

.form { background: var(--snow); color: var(--ink); padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: var(--radius); }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #cfc8bb; border-radius: var(--radius);
  padding: .75rem .85rem; width: 100%; min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--fir); box-shadow: 0 0 0 3px rgba(36, 56, 45, .15); }
.form textarea { resize: vertical; }
.form input[aria-invalid="true"] { border-color: var(--ember); }
.form .row-end { align-items: end; }
.form .row-end .btn { margin-bottom: 1rem; height: 3.05rem; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: .2rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--fir-light); font-weight: 600; }
.form-status.is-error { color: var(--ember-dark); }
.form-status.is-error:not(:empty) { background: #fbe9e3; border-left: 3px solid var(--ember); padding: .6rem .8rem; }

/* Bestätigung nach dem Absenden */
.form-done { background: var(--snow); color: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: var(--radius); outline: none; }
.form-done-icon { width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; }
.form-done-icon circle { fill: var(--fir); }
.form-done-icon path { fill: none; stroke: var(--snow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: .7rem; }
.form-done p { color: var(--ink-soft); margin: 0 0 .6rem; }
.form-done-recap { font-weight: 600; color: var(--ink); }
.link-dark { margin-top: 1rem; background: none; border: 0; padding: 0; font: inherit; color: var(--fir); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

.form-hint { font-size: .8rem; color: var(--ink-soft); margin: .6rem 0 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .form .row:not(.row-dates) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form .row-dates { gap: .7rem; }
  .form .row-end .btn { width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer { background: #18221c; color: rgba(251, 249, 245, .72); padding-block: 3rem 6rem; font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.site-footer .brand-mark { color: var(--snow); width: 52px; height: 20px; margin-bottom: .8rem; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: var(--snow); margin-bottom: .2rem; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--snow); text-decoration: underline; }
@media (min-width: 761px) { .site-footer { padding-bottom: 3rem; } }

/* ---------- Mobile CTA ---------- */

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: block; position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
    background: var(--ember); color: #fff; text-align: center; text-decoration: none;
    font-weight: 600; padding: 1rem; border-radius: var(--radius);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
    transform: translateY(160%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .mobile-cta.is-visible { transform: none; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100%; height: 100%;
  overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(14, 19, 16, .92); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; object-fit: contain; }
.lb-caption { color: rgba(251, 249, 245, .85); font-size: .9rem; margin-top: .9rem; }
.lightbox button {
  position: absolute; background: rgba(251, 249, 245, .1); color: #fff; border: 0;
  width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background-color .2s;
}
.lightbox button:hover { background: rgba(251, 249, 245, .25); }
.lb-close { top: 1rem; right: 1rem; font-size: 1.7rem !important; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .season-panel.is-entering .season-photos, .season-panel.is-entering .season-text { animation: none; }
}
