/* ==========================================================================
   Eventraum Gießen – Stylesheet
   Mobile-first. Breakpoints live in global blocks at the end of the file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #f3efe6;
  --fg: #1a1c19;
  --muted: #5c5a53;
  --surface: #faf8f3;
  --primary: #2c3d36;
  --primary-rgb: 44 61 54;
  --primary-fg: #f4f0e8;
  --primary-fg-rgb: 244 240 232;
  --border: #d8d2c4;
  --hero: #121513;
  --hero-rgb: 18 21 19;
  --hero-fg: #f4f0e8;
  --hero-fg-rgb: 244 240 232;
  --hero-muted: #c5c1b6;
  --error: #991b1b;

  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;

  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --grid-gap: 1.25rem;

  --shadow-soft: 0 12px 40px -16px rgb(26 28 25 / 0.18);

  --container: 72rem;
  --gutter: 1.25rem;
  --header-height: 4rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
ol,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

fieldset {
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

legend {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background-color: var(--primary);
  color: var(--primary-fg);
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 5rem;
}

.section__title {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.875rem;
  line-height: 1.2;
}

.section__lead {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.625;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--hero {
  color: var(--hero-muted);
}

.eyebrow--on-primary {
  color: rgb(var(--primary-fg-rgb) / 0.65);
}

.eyebrow--primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.eyebrow--footer {
  letter-spacing: 0.16em;
  color: var(--hero-muted);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding-inline: 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  height: 2.25rem;
  padding-inline: 0.875rem;
}

.btn--lg {
  height: 3rem;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.btn--icon {
  width: 2.75rem;
  padding-inline: 0;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-fg);
}

.btn--outline {
  border-color: var(--border);
  background-color: transparent;
  color: var(--fg);
}

.btn--outline:hover {
  opacity: 1;
  background-color: var(--surface);
}

.btn--inverse {
  background-color: var(--hero-fg);
  color: var(--hero);
}

.btn--outline-inverse {
  border-color: rgb(var(--hero-fg-rgb) / 0.4);
  background-color: transparent;
  color: var(--hero-fg);
}

.btn--outline-inverse:hover {
  opacity: 1;
  background-color: rgb(var(--hero-fg-rgb) / 0.1);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgb(243 239 230 / 0.92);
  color: var(--fg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 200ms, border-color 200ms, color 200ms;
}

.site-header.is-over-hero {
  border-color: transparent;
  background-color: transparent;
  color: var(--hero-fg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Scrolled but still over the hero: dark glass so the hero text can pass underneath */
.site-header.is-over-hero.is-scrolled {
  border-color: rgb(var(--hero-fg-rgb) / 0.1);
  background-color: rgb(var(--hero-rgb) / 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-header.is-over-hero .brand__mark {
  border-color: rgb(var(--hero-fg-rgb) / 0.3);
}

.brand__text {
  line-height: 1.2;
  white-space: nowrap;
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.brand__tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-header.is-over-hero .brand__tagline {
  color: var(--hero-muted);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 150ms;
}

.site-nav a:hover {
  opacity: 0.7;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--header {
  display: none;
}

.site-header.is-over-hero .btn--header {
  background-color: var(--hero-fg);
  color: var(--hero);
}

.btn--header-outline {
  border-color: var(--border);
  background-color: transparent;
  color: var(--fg);
}

.site-header.is-over-hero .btn--header-outline {
  border-color: rgb(var(--hero-fg-rgb) / 0.4);
  color: var(--hero-fg);
}

.nav-toggle .icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

.site-header.is-menu-open,
.site-header.is-over-hero.is-scrolled.is-menu-open {
  border-color: var(--border);
  background-color: var(--bg);
  color: var(--fg);
}

.site-header.is-menu-open .brand__mark,
.site-header.is-menu-open .btn--header-outline {
  border-color: var(--border);
  color: var(--fg);
}

.site-header.is-menu-open .brand__tagline {
  color: var(--muted);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--fg);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}

.mobile-nav__list > a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
}

.mobile-nav__cta {
  margin-top: 0.75rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background-color: var(--hero);
  color: var(--hero-fg);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background-color: rgb(var(--hero-rgb) / 0.5);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, var(--hero), rgb(var(--hero-rgb) / 0.25) 50%, rgb(var(--hero-rgb) / 0.15));
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}

.hero__title {
  margin-top: 1rem;
  max-width: 48rem;
  font-size: 2.4rem;
  line-height: 1.08;
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  color: var(--hero-muted);
  line-height: 1.625;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgb(var(--hero-fg-rgb) / 0.15);
  border-radius: var(--radius-lg);
  background-color: rgb(var(--hero-fg-rgb) / 0.1);
}

.stats__item {
  padding: 1rem;
  background-color: rgb(var(--hero-rgb) / 0.4);
}

.stats__item dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.stats__item dd {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   USPs
   -------------------------------------------------------------------------- */
.usps__grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.usp-card {
  padding: 1.5rem;
}

.usp-card__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.usp-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
}

.usp-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  padding-bottom: 2rem;
}

.gallery__grid {
  display: grid;
  gap: var(--grid-gap);
}

.gallery__item {
  display: flex;
  flex-direction: column;
}

.gallery__img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
}

.gallery__img--bottom {
  object-position: bottom;
}

.gallery__item figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Amenities (dark green block)
   -------------------------------------------------------------------------- */
.amenities {
  background-color: var(--primary);
  color: var(--primary-fg);
}

.amenities .section__lead {
  max-width: 36rem;
  color: rgb(var(--primary-fg-rgb) / 0.75);
}

.amenities__intro {
  display: grid;
  gap: 2.5rem;
}

.amenities__note {
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgb(var(--primary-fg-rgb) / 0.7);
}

.amenities__image {
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgb(var(--primary-fg-rgb) / 0.15);
  border-radius: var(--radius-lg);
}

.amenities__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.capacity {
  margin-top: 2rem;
}

.capacity__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgb(var(--primary-fg-rgb) / 0.15);
  border-radius: var(--radius-lg);
  background-color: rgb(var(--primary-fg-rgb) / 0.1);
}

.capacity__item {
  padding: 1rem;
  background-color: var(--primary);
}

.capacity__item dt {
  font-size: 0.75rem;
  color: rgb(var(--primary-fg-rgb) / 0.65);
}

.capacity__item dd {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.capacity__item dd span {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgb(var(--primary-fg-rgb) / 0.6);
}

.amenities__groups {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.amenity-group {
  padding: 1.5rem;
  border: 1px solid rgb(var(--primary-fg-rgb) / 0.15);
  border-radius: var(--radius-lg);
  background-color: rgb(var(--primary-fg-rgb) / 0.05);
}

.amenity-group h3 {
  font-size: 1.125rem;
}

.amenity-group ul {
  margin-top: 1rem;
}

.amenity-group li {
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgb(var(--primary-fg-rgb) / 0.1);
  font-size: 0.875rem;
  line-height: 1.375;
  color: rgb(var(--primary-fg-rgb) / 0.8);
}

.amenity-group li + li {
  padding-top: 0.625rem;
}

.amenity-group li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Formats
   -------------------------------------------------------------------------- */
.formats__grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.format-card {
  overflow: hidden;
}

.format-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.format-card__body {
  padding: 1.25rem;
}

.format-card h3 {
  font-size: 1.25rem;
}

.format-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.process {
  background-color: var(--surface);
}

.process-steps {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg);
}

.process-step__number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  color: rgb(var(--primary-rgb) / 0.6);
}

.process-step h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.process-step p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Sustainability
   -------------------------------------------------------------------------- */
.sustainability {
  padding-block: 4rem;
}

.sustainability__card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  padding: 1.5rem;
}

.sustainability__text h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
}

.sustainability__text > p:last-child {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

.sustainability__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  flex: 1;
}

.sustainability__list li {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Inquiry form
   -------------------------------------------------------------------------- */
.inquiry__grid {
  display: grid;
  gap: 3rem;
}

.inquiry__address {
  margin-top: 2rem;
  font-size: 0.875rem;
}

.inquiry__location {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.inquiry__location .icon {
  margin-top: 0.125rem;
  color: var(--primary);
}

.inquiry__location strong {
  font-weight: 500;
}

.inquiry__hint {
  margin-top: 1rem;
  color: var(--muted);
}

.inquiry__map {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.inquiry__map iframe {
  display: block;
  width: 100%;
  height: 14rem;
  border: 0;
  filter: grayscale(1);
}

.inquiry__card {
  padding: 1.25rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label,
.field legend {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.field legend {
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0 0.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg);
  font-size: 0.875rem;
  transition: border-color 150ms;
}

.field textarea {
  height: auto;
  padding-block: 0.625rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: rgb(var(--primary-rgb) / 0.4);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips .chip__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  opacity: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.chip:hover {
  border-color: rgb(var(--primary-rgb) / 0.4);
}

.chip__input:checked + .chip {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--primary-fg);
}

.chip__input:focus-visible + .chip {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin: 0.25rem 0 0;
  accent-color: var(--primary);
}

.checkbox a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  padding: 0.75rem 1rem;
  border: 1px solid rgb(153 27 27 / 0.3);
  border-radius: var(--radius-md);
  background-color: rgb(153 27 27 / 0.06);
  font-size: 0.875rem;
  color: var(--error);
}

.inquiry-form__submit {
  width: 100%;
}

.inquiry-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 20rem;
}

.inquiry-result__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--primary-fg);
}

.inquiry-result__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.inquiry-result h3 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
}

.inquiry-result p {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

.inquiry-result .btn {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--hero);
  color: var(--hero-fg);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.site-footer__text {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--hero-muted);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.site-footer__links a:hover,
.site-footer__route:hover,
.site-footer__legal a:hover {
  opacity: 0.7;
}

.site-footer__address {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

.site-footer__route {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__bottom {
  border-top: 1px solid rgb(var(--hero-fg-rgb) / 0.1);
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: var(--hero-muted);
}

.site-footer__legal {
  display: flex;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: none;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background-color: rgb(243 239 230 / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-cta.is-visible {
  display: block;
}

.mobile-cta .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Legal subpages (Impressum, Datenschutz, AGB)
   -------------------------------------------------------------------------- */
.legal {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
}

.legal__content h1 {
  font-size: 2.25rem;
  line-height: 1.15;
}

.legal__content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.legal__content h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.legal__content h4 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.legal__lead {
  margin-top: 0.25rem;
  font-size: 1.125rem;
}

.legal__content p,
.legal__content li {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--muted);
}

.legal__content ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg);
  color: var(--fg);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.18);
}

.consent__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.consent__text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.link-button:hover {
  opacity: 0.7;
}


/* ==========================================================================
   Breakpoints (global, mobile-first)
   ========================================================================== */

/* ≥ 640px */
/* --------------------------------------------------------------------------
   Route / directions
   -------------------------------------------------------------------------- */
.route__grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.route__card {
  padding: 1.5rem;
}

.route__card h3 {
  font-size: 1.125rem;
}

.route__list {
  margin-top: 1rem;
}

.route__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.375;
}

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

.route__list li span:last-child {
  flex-shrink: 0;
  color: var(--muted);
}

.route__text p {
  line-height: 1.625;
  color: var(--muted);
}

.route__text p + p {
  margin-top: 1rem;
}

.route__hint {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--primary);
  background-color: var(--surface);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  background-color: var(--surface);
}

.faq__list {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.faq__item {
  padding: 1.5rem;
  background-color: var(--bg);
}

.faq__item h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.faq__item p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--muted);
}

@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
    --header-height: 4.25rem;
  }

  .section {
    padding-block: 7rem;
  }

  .section__title {
    font-size: 2.25rem;
  }

  .btn--header {
    display: inline-flex;
  }

  .hero__content {
    padding-bottom: 3.5rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats__item {
    padding-inline: 1.25rem;
  }

  .stats__item dd {
    font-size: 1.5rem;
  }

  .usps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usp-card {
    padding: 2rem;
  }

  .usp-card p {
    font-size: 1rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .capacity__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amenities__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-card__body {
    padding: 1.5rem;
  }

  .process-step {
    padding: 2rem;
  }

  .process-step p {
    font-size: 1rem;
  }

  .sustainability__card {
    padding: 2.5rem;
  }

  .sustainability__text h2 {
    font-size: 1.875rem;
  }

  .sustainability__text > p:last-child {
    font-size: 1rem;
  }

  .sustainability__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inquiry__card {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: span 2;
  }

  .inquiry-form__submit {
    width: auto;
    align-self: flex-start;
  }

  .inquiry-result p {
    font-size: 1rem;
  }

  .site-footer__bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-cta.is-visible {
    display: none;
  }
}

/* ≥ 768px */
@media (min-width: 768px) {
  .route__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__title {
    font-size: 3.75rem;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amenities__intro {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .capacity__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .amenities__groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .formats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sustainability__card {
    flex-direction: row;
    align-items: center;
  }

  .sustainability__text {
    max-width: 28rem;
  }

  .inquiry__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__video {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
