/* ============================================================
   Loft 18 — Eventlocation Amberg
   Design language: editorial, warm-neutral, restrained.
   Serif display (Fraunces) for headlines + grotesk (Switzer)
   for everything else. Single terracotta accent used sparingly.
   Photography carries the page — minimal ornament.
   ============================================================ */

:root {
  --bg: #faf7f2;
  --bg-soft: #f2ece2;
  --bg-soft-2: #ece4d6;
  --ink: #201b16;
  --ink-soft: #5d5648;
  --ink-faint: #9a9182;
  --paper: #fffdfa;
  --dark: #1b1712;
  --dark-soft: #2a251e;
  --dark-line: rgba(250, 247, 242, 0.14);
  --dark-ink-soft: rgba(250, 247, 242, 0.68);
  --dark-ink-faint: rgba(250, 247, 242, 0.44);
  --accent: #b1552a;
  --accent-dim: rgba(177, 85, 42, 0.09);
  --accent-dim-2: rgba(177, 85, 42, 0.16);
  --line: rgba(32, 27, 22, 0.12);
  --line-soft: rgba(32, 27, 22, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --radius-pill: 100px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.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;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* ============ Reveal-on-scroll ============ */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav.is-hero-dark:not(.is-scrolled) .nav-logo,
.nav.is-hero-dark:not(.is-scrolled) .nav-links a,
.nav.is-hero-dark:not(.is-scrolled) .nav-toggle {
  color: #fdfbf8;
}

.logo-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out);
}

.nav.is-hero-dark:not(.is-scrolled) .nav-links a {
  color: rgba(253, 251, 248, 0.82);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav.is-hero-dark:not(.is-scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
}

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

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

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

.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  z-index: 99;
}

.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile a {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  position: absolute;
  inset: -4% -2%;
  width: 104%;
  height: 108%;
  object-fit: cover;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 14, 11, 0.42) 0%,
    rgba(17, 14, 11, 0.18) 32%,
    rgba(17, 14, 11, 0.38) 66%,
    rgba(17, 14, 11, 0.84) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 88px;
  color: #fdfbf8;
}

.hero-content .eyebrow {
  color: #f0c9a6;
}

.hero-content .eyebrow::before {
  background: #f0c9a6;
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(36px, 5.4vw, 66px);
  max-width: 15ch;
  color: #fdfbf8;
}

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(253, 251, 248, 0.82);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn-primary {
  background: #fdfbf8;
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fdfbf8;
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn-ghost {
  border: 1px solid rgba(253, 251, 248, 0.4);
  color: #fdfbf8;
}

.btn-ghost:hover {
  border-color: #fdfbf8;
  background: rgba(253, 251, 248, 0.08);
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(253, 251, 248, 0.62);
}

.hero-meta svg {
  flex-shrink: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(253, 251, 248, 0.65);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  animation: cue-bob 2.2s var(--ease-in-out) infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg {
    animation: none;
  }
}

@media (max-width: 640px) {
  .scroll-cue {
    display: none;
  }
}

/* ============ Trust strip ============ */

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 0 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--ink);
}

.trust-label {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }
  .trust-item:nth-child(2n+1) {
    border-left: none;
    padding-left: 0;
  }
  .trust-item:nth-child(-n+2) {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 22px 0;
  }
  .trust-item {
    border-left: none !important;
    padding-left: 0 !important;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ============ Section shell ============ */

.section {
  padding: 108px 0;
}

.section-tight {
  padding: 88px 0;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  max-width: 640px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.section-head p {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .section {
    padding: 76px 0;
  }
  .section-tight {
    padding: 64px 0;
  }
}

/* ============ Der Raum ============ */

.about-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.about-copy p + p {
  margin-top: 18px;
}

.about-duo {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-duo figure {
  margin: 0;
}

.about-duo .duo-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.about-duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.about-duo figure:hover img {
  transform: scale(1.045);
}

.about-duo figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-media {
    aspect-ratio: 16 / 11;
    order: -1;
  }
}

/* ============ Inklusive / Features ============ */

.features {
  background: var(--bg-soft);
}

.feature-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row:first-of-type {
  margin-top: 60px;
}

.feature-row + .feature-row {
  margin-top: 88px;
}

.feature-row.is-reverse .feature-media {
  order: 2;
}

.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy .feature-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.feature-copy h3 {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 30px);
}

.feature-copy p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.feature-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-list svg {
  flex-shrink: 0;
  color: var(--accent);
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.is-reverse .feature-media {
    order: 0;
  }
  .feature-row + .feature-row {
    margin-top: 56px;
  }
  .feature-media {
    aspect-ratio: 16 / 11;
  }
}

/* ============ Galerie ============ */

.gallery-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 14vw;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft-2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 18px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #fdfbf8;
  background: linear-gradient(180deg, rgba(17,14,11,0) 0%, rgba(17,14,11,0.62) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .gallery-item figcaption {
    opacity: 1;
    transform: none;
    background: linear-gradient(180deg, rgba(17,14,11,0) 20%, rgba(17,14,11,0.6) 100%);
  }
}

.g-1 { grid-column: span 3; grid-row: span 2; }
.g-2 { grid-column: span 3; grid-row: span 2; }
.g-3 { grid-column: span 2; grid-row: span 2; }
.g-4 { grid-column: span 2; grid-row: span 2; }
.g-5 { grid-column: span 2; grid-row: span 2; }
.g-6 { grid-column: span 3; grid-row: span 2; }
.g-7 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
  }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6, .g-7 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 74vw;
    gap: 14px;
  }
}

/* ============ Kontakt ============ */

.contact {
  position: relative;
  background: var(--dark);
  color: #fdfbf8;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(177, 85, 42, 0.24) 0%, rgba(177, 85, 42, 0) 68%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.contact .eyebrow {
  color: #f0c9a6;
}

.contact .eyebrow::before {
  background: #f0c9a6;
}

.contact-head h1,
.contact-head h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 56px);
  color: #fdfbf8;
}

.contact-head p {
  margin-top: 20px;
  max-width: 48ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dark-ink-soft);
}

.contact-person {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--dark-ink-faint);
}

.contact-person a {
  color: #f0c9a6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-person a:hover {
  color: #fdfbf8;
}

.contact-head .btn-primary {
  margin-top: 32px;
}

.contact-details {
  border-top: 1px solid var(--dark-line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-ink-faint);
}

.contact-block p, .contact-block a {
  margin-top: 8px;
  font-size: 16px;
  color: #fdfbf8;
  line-height: 1.55;
}

.contact-block a.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #f0c9a6;
  margin-top: 10px;
  transition: color 0.2s var(--ease-out);
}

.contact-block a.map-link:hover {
  color: #fdfbf8;
}
.contact-block a.map-link + a.map-link { display: flex; width: fit-content; margin-top: 6px; }

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
  }
}

/* ============ Footer ============ */

.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--dark-ink-faint);
}

.footer-inner a {
  color: var(--dark-ink-soft);
  transition: color 0.2s var(--ease-out);
}

.footer-inner a:hover {
  color: #fdfbf8;
}

/* ============================================================
   Multi-page additions — nav states, page-hero banners,
   manifesto band, brand strip, fact grid, info cards, footer nav.
   ============================================================ */

/* ---------- Nav: active link ---------- */

.nav-links a[aria-current="page"] {
  color: var(--ink);
  position: relative;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

.nav.is-hero-dark:not(.is-scrolled) .nav-links a[aria-current="page"] {
  color: #fdfbf8;
}

.nav.is-hero-dark:not(.is-scrolled) .nav-links a[aria-current="page"]::after {
  background: #f0c9a6;
}

.nav-mobile a[aria-current="page"] {
  color: var(--accent);
}

/* ---------- Nav: persistent dark variant (for all-dark pages) ---------- */

.nav.is-dark-page .nav-logo,
.nav.is-dark-page .nav-links a,
.nav.is-dark-page .nav-toggle {
  color: #fdfbf8;
}

.nav.is-dark-page .nav-links a {
  color: var(--dark-ink-soft);
}

.nav.is-dark-page .nav-links a:hover {
  color: #fff;
}

.nav.is-dark-page .nav-links a[aria-current="page"] {
  color: #fdfbf8;
}

.nav.is-dark-page .nav-links a[aria-current="page"]::after {
  background: #f0c9a6;
}

.nav.is-dark-page .nav-cta {
  background: #fdfbf8;
  color: var(--ink);
}

.nav.is-dark-page .nav-cta:hover {
  background: var(--accent);
  color: #fdfbf8;
}

.nav.is-dark-page.is-scrolled {
  background: rgba(27, 23, 18, 0.86);
  border-bottom-color: var(--dark-line);
}

.nav.is-dark-page:not(.is-scrolled) {
  border-bottom-color: transparent;
}

/* ---------- Page hero (shorter banner for sub-pages) ---------- */

.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 14, 11, 0.5) 0%,
    rgba(17, 14, 11, 0.2) 38%,
    rgba(17, 14, 11, 0.62) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 64px) 32px 56px;
  color: #fdfbf8;
}

.page-hero-content .eyebrow {
  color: #f0c9a6;
}

.page-hero-content .eyebrow::before {
  background: #f0c9a6;
}

.page-hero-title {
  margin-top: 18px;
  font-size: clamp(32px, 4.6vw, 54px);
  max-width: 18ch;
  color: #fdfbf8;
}

.page-hero-sub {
  margin-top: 20px;
  max-width: 54ch;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.6;
  color: rgba(253, 251, 248, 0.82);
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 42vh;
  }
}

/* ---------- Manifesto / statement band ---------- */

.manifesto {
  position: relative;
  background: var(--dark);
  color: #fdfbf8;
  padding: 96px 0;
  overflow: hidden;
}

.manifesto-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.manifesto-media picture,
.manifesto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}

.manifesto-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,14,11,0.86) 0%, rgba(17,14,11,0.74) 45%, rgba(17,14,11,0.9) 100%);
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manifesto-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 5.4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.manifesto-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.manifesto-line:nth-child(1) { transition-delay: 0s; color: rgba(253, 251, 248, 0.4); }
.manifesto-line:nth-child(2) { transition-delay: 0.1s; color: #fdfbf8; }
.manifesto-line:nth-child(3) { transition-delay: 0.2s; color: rgba(253, 251, 248, 0.4); }
.manifesto-line:nth-child(4) { transition-delay: 0.3s; color: #f0c9a6; }

@media (prefers-reduced-motion: reduce) {
  .manifesto-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Brand strip ---------- */

.brand-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.brand-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px 36px;
}

.brand-strip-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-basis: 100%;
}

.brand-strip-names {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.brand-strip-names span {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- Fact grid (architecture facts) ---------- */

.fact-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact-item {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
}

.fact-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Info cards (Infos page) ---------- */

.info-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  background: var(--paper);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card .feature-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.info-card h3 {
  font-size: clamp(21px, 2.2vw, 25px);
}

.info-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.info-card ul li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}

.info-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

@media (max-width: 780px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    padding: 32px 28px;
  }
}

/* ---------- Teaser / arrow link ---------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}

.arrow-link svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.arrow-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 12px;
}

.contact .arrow-link,
.is-on-dark .arrow-link {
  color: #fdfbf8;
  border-color: var(--dark-line);
}

.contact .arrow-link:hover,
.is-on-dark .arrow-link:hover {
  color: #f0c9a6;
  border-color: #f0c9a6;
}

/* ---------- Recommended-for list ---------- */

.usecase-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.usecase-item {
  background: var(--paper);
  padding: 34px 30px;
}

.usecase-item .usecase-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
}

.usecase-item h3 {
  margin-top: 12px;
  font-size: 19px;
}

.usecase-item p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .usecase-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer with page navigation ---------- */

.footer-nav {
  border-bottom: 1px solid var(--dark-line);
}

.footer-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px 44px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .nav-logo {
  color: #fdfbf8;
  font-size: 21px;
  letter-spacing: 0.01em;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--dark-ink-faint);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-ink-faint);
  margin: 0 0 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--dark-ink-soft);
  transition: color 0.2s var(--ease-out);
}

.footer-col a:hover {
  color: #f0c9a6;
}

@media (max-width: 780px) {
  .footer-nav-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-nav-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page intro (simple text-led section head, wider) ---------- */

.section-head-wide {
  max-width: 760px;
}

.section-head-wide h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.section-head-wide p {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Video embed (click-to-play, no third-party load until requested) ---------- */

.video-feature {
  margin-top: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  border: 1px solid var(--dark-line);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-play {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.video-play:hover img {
  transform: scale(1.035);
}

.video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 14, 11, 0.08), rgba(17, 14, 11, 0.42));
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(253, 251, 248, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease-out);
  z-index: 1;
}

.video-play-icon svg {
  transform: translateX(2px);
}

.video-play:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-play:active .video-play-icon {
  transform: translate(-50%, -50%) scale(0.95);
  transition-duration: 0.1s;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-caption {
  padding: 18px 24px 22px;
  color: #fdfbf8;
}

.video-caption h3 {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
}

.video-caption p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--dark-ink-faint);
}

/* ============================================================
   Impressionen — categorized structure (8 tiles + sections)
   ============================================================ */

/* ---------- Category overview tiles ---------- */

.category-nav {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft-2);
  transition: transform 0.2s var(--ease-out);
}

.category-tile:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,14,11,0) 40%, rgba(17,14,11,0.66) 100%);
}

.category-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-tile-label span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fdfbf8;
}

.category-tile-label svg {
  flex-shrink: 0;
  color: rgba(253, 251, 248, 0.75);
  transition: transform 0.25s var(--ease-out);
}

.category-tile:hover .category-tile-label svg {
  transform: translateY(3px);
}

.category-tile.is-noimg {
  background: linear-gradient(160deg, var(--bg-soft-2), var(--accent-dim-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tile.is-noimg::after {
  background: none;
  border-top: 1px solid var(--line-soft);
}

.category-tile-icon {
  color: var(--accent);
  opacity: 0.55;
}

.category-tile.is-noimg .category-tile-label {
  position: absolute;
}

.category-tile.is-noimg .category-tile-label span {
  color: var(--ink);
}

.category-tile.is-noimg .category-tile-label svg {
  color: var(--ink-faint);
}

.category-tile.is-noimg:hover .category-tile-icon {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .category-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .category-nav {
    gap: 10px;
  }
}

/* ---------- Category sections ---------- */

.category-section {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.category-section:nth-of-type(even) {
  background: var(--bg-soft);
}

.category-index-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- Text-only category section (no photography available) ---------- */

.category-noimg {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.category-noimg-ornament {
  display: block;
  margin: 0 auto 20px;
  color: var(--accent);
  opacity: 0.6;
}

.category-noimg h2 {
  margin-top: 14px;
}

.category-noimg > p {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.category-noimg .feature-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 32px;
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.category-noimg .arrow-link {
  margin-top: 32px;
  justify-content: center;
}

@media (max-width: 560px) {
  .category-noimg .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mini-gallery (secondary photos within a category) ---------- */

.mini-gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-gallery.has-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mini-gallery.has-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
}

.mini-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft-2);
}

.mini-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.mini-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .mini-gallery,
  .mini-gallery.has-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .mini-gallery.has-2 {
    max-width: none;
  }
}

/* ---------- Social icons (footer) ---------- */

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  color: var(--dark-ink-soft);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.footer-social a:hover {
  color: #fdfbf8;
  border-color: #f0c9a6;
  background: rgba(240, 201, 166, 0.1);
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal-section {
  background: var(--bg);
}
.legal-copy {
  max-width: 68ch;
}
.legal-copy h2 {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.28rem);
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
}
.legal-copy h2:first-child {
  margin-top: 0;
}
.legal-copy p {
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 0 0 14px;
}
.legal-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-copy .legal-intro {
  font-size: 1.08rem;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 34px;
}
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 22px;
}
.legal-title {
  margin: 14px 0 38px;
  font-size: clamp(34px, 4.4vw, 52px);
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* ---------- Lightbox ---------- */
.is-zoomable {
  cursor: zoom-in;
}
.is-zoomable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 12, 9, 0.94);
  padding: 4vh 6vw;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-stage {
  margin: 0;
  max-width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-stage figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  text-align: center;
  max-width: 62ch;
}
.lightbox-count {
  color: rgba(250, 247, 242, 0.45);
  font-variant-numeric: tabular-nums;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(250, 247, 242, 0.18);
  color: #faf7f2;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(250, 247, 242, 0.22);
}
.lightbox-close {
  top: 22px;
  right: 22px;
}
.lightbox-nav.is-prev { left: 20px; }
.lightbox-nav.is-next { right: 20px; }
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}
@media (max-width: 640px) {
  .lightbox { padding: 2vh 3vw; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.is-prev { left: 8px; }
  .lightbox-nav.is-next { right: 8px; }
  .lightbox-stage img { max-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-close, .lightbox-nav { transition: none; }
}

/* Grosse Leitkachel: gibt Galerien mit vielen Bildern Rhythmus,
   statt alles in gleich grosse 4:3-Kacheln zu zwingen. */
.mini-gallery.is-rich > .mini-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  /* Nicht auto: sonst treibt das Bild die Zeilenhoehe und die Kachel
     wird doppelt so hoch wie die zwei Zeilen, die sie ueberspannt. */
  aspect-ratio: 4 / 3;
}
@media (max-width: 760px) {
  .mini-gallery.is-rich > .mini-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
}
.legal-copy ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
  color: var(--ink-soft);
  line-height: 1.72;
}
.legal-copy li { margin-bottom: 8px; }
