/* =========================================================
   Resort am Bischofsberg — Landing Page
   Branding orientiert an vdrei.at (Montserrat, #254865)
   ========================================================= */

:root {
  /* Resort am Bischofsberg CI (aus dem Exposé) */
  --c-primary: #4c6c98;
  --c-primary-dark: #2b3d56;
  --c-accent: #8fa9c5;
  --c-bg: #ffffff;
  --c-bg-alt: #f4f6f9;
  --c-text: #2b3d56;
  --c-muted: #6e7f93;
  --c-border: #dfe5ec;

  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Playfair Display', 'Iowan Old Style', 'Apple Garamond', Georgia, 'Times New Roman', serif;

  --max-w: 72rem;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 3px rgba(27, 53, 74, 0.06), 0 1px 2px rgba(27, 53, 74, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 53, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 53, 74, 0.12);

  --transition: 0.4s cubic-bezier(0.3, 0, 0.15, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  font-size: 14px;
}
@media (min-width: 910px) { html { font-size: 15px; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--c-primary-dark);
  margin: 0 0 1rem;
}

/* Editorial-Headings: H1 + H2 in Playfair Serif */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1rem; }

.inside {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ============= HEADER ============= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  height: 5rem;
}
.header-inside {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.05em;
  line-height: 1;
}
.brand-mark {
  width: auto;
  height: 2.6rem;
  display: block;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .brand-mark { height: 2.8rem; }
  .brand-text { font-size: 0.78rem; letter-spacing: 0.15em; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}

.main-nav { position: relative; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-list a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--c-primary);
  position: relative;
  padding-block: 0.25rem;
}
.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width var(--transition);
}
.nav-list a:not(.nav-cta):hover::after { width: 100%; }

.nav-list a.nav-cta {
  background: var(--c-primary);
  color: #fff !important;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-list a.nav-cta:hover { background: var(--c-primary-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.25rem;
  height: 2.25rem;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary);
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: 5rem 0 auto;
    flex-direction: column;
    background: #fff;
    padding: 2rem var(--pad-x);
    gap: 1.5rem;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-200%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-list.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-list a { font-size: 0.95rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ============= HERO ============= */

.hero {
  position: relative;
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 53, 74, 0.35) 0%, rgba(27, 53, 74, 0.65) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  padding-inline: var(--pad-x);
  padding-block: 4rem;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.btn-large {
  padding: 1.1rem 2.6rem;
  font-size: 0.95rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  opacity: 0.85;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============= FACTS STRIP ============= */

.facts-strip {
  background: var(--c-primary);
  color: #fff;
  padding-block: 3rem;
}
.facts-inside {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 0;
  text-align: center;
}
.fact {
  padding-inline: 1rem;
}
.fact strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.55rem;
  white-space: nowrap;
}
.fact strong .prefix {
  font-style: normal;
  font-size: 0.5em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.65;
  margin-right: 0.55em;
  vertical-align: 0.45em;
}
.fact span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.78;
  display: block;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .fact + .fact {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* ============= SECTION BASIS ============= */

.section { padding-block: var(--section-py); }
.section-alt { background: var(--c-bg-alt); }

.section-head {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head h2 { margin-bottom: 1.25rem; }
.section-head .lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--c-muted);
  line-height: 1.7;
  margin: 0;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }

/* ============= USP GRID ============= */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.usp { text-align: left; }
.usp-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.usp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.3, 0, 0.15, 1);
}
.usp:hover .usp-image img { transform: scale(1.04); }
.usp h3 { margin-bottom: 0.75rem; }
.usp p { color: var(--c-muted); margin: 0; line-height: 1.7; }

/* ============= UNITS ============= */

.units-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .units-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.unit-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.unit-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.3, 0, 0.15, 1);
}
.unit-card:hover .unit-image img { transform: scale(1.05); }

.unit-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.unit-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-bg-alt);
  color: var(--c-primary);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.unit-body h3 { margin-bottom: 1.25rem; }

.unit-specs {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.unit-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}
.unit-specs li:last-child { border-bottom: 0; }
.unit-specs span { color: var(--c-muted); }
.unit-specs strong { color: var(--c-primary-dark); font-weight: 700; }

.unit-floorplan {
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 480px) {
  /* Wenn mehr als 1 Grundriss: nebeneinander */
  .unit-floorplan:has(> .lb-link:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
}
.unit-floorplan .lb-link {
  display: block;
  position: relative;
  cursor: zoom-in;
  transition: transform 0.3s var(--transition);
}
.unit-floorplan .lb-link::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c6c98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  opacity: 0;
  transition: opacity 0.25s var(--transition);
  pointer-events: none;
}
.unit-floorplan .lb-link:hover::after { opacity: 1; }
.unit-floorplan img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.unit-price {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.unit-price span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
}
.unit-price strong {
  font-size: 1.65rem;
  color: var(--c-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.unit-price em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--c-muted);
}

.units-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-top: 2.5rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ============= GALLERY ============= */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.gallery-item {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.3, 0, 0.15, 1);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============= LAGE / DISTANCES ============= */

/* Lage-Bilder-Grid (Sommer · Wiese-wide · Winter) */
.lage-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 720px) {
  .lage-images {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.25rem;
  }
}
.lage-img {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  aspect-ratio: 3 / 2;
}
.lage-img.lage-img-wide { aspect-ratio: 3 / 2; }
@media (min-width: 720px) {
  .lage-img { aspect-ratio: 3 / 2; }
  .lage-img.lage-img-wide { aspect-ratio: 3 / 2; }
}
.lage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.3, 0, 0.15, 1);
}
.lage-img:hover img { transform: scale(1.05); }
.lage-img figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 25, 35, 0.85) 100%);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-align: center;
}

.img-credit {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
  line-height: 1.3;
  text-align: right;
}

.distances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto 2rem;
}
.dist {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dist:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.dist strong {
  display: block;
  color: var(--c-primary-dark);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.dist span {
  font-size: 0.8rem;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.lage-note {
  text-align: center;
  color: var(--c-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============= INVESTMENT ============= */

.investment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.invest-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}
.invest-card.highlight {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.invest-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.invest-card.highlight .invest-label { color: rgba(255, 255, 255, 0.85); }
.invest-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.invest-card.highlight .invest-value { color: #fff; }
.invest-note {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}
.invest-card.highlight .invest-note { color: rgba(255, 255, 255, 0.8); }

.invest-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 4rem;
  max-width: 50rem;
  display: grid;
  gap: 0.85rem;
}
.invest-bullets li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
  color: var(--c-text);
}
.invest-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.1rem;
  height: 0.55rem;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 720px) {
  .timeline::before {
    content: '';
    position: absolute;
    top: 0.65rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--c-border);
    z-index: 0;
  }
}
.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--c-primary);
  border: 4px solid #fff;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 2px var(--c-primary);
}
.timeline-date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.timeline-label {
  color: var(--c-primary-dark);
  font-weight: 700;
  margin: 0;
}
.timeline-note {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin: 0.2rem 0 0;
  font-style: italic;
}

/* ============= CTA SECTION ============= */

.cta-section {
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100vw;
  background-image: url('../images/visus/aussen-edlbach.jpg');
  background-size: cover;
  background-position: center 65%;
  opacity: 0.30;
  z-index: 0;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.cta-section .inside {
  position: relative;
  z-index: 1;
}
.cta-section h2 { color: #fff; }
.cta-section .lead { color: rgba(255, 255, 255, 0.9); }
.cta-box {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
.cta-box .lead { margin-bottom: 2.5rem; }
.cta-box .btn-primary {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
  font-size: 1rem;
  padding: 1.1rem 2.8rem;
  white-space: normal;
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
}
.cta-box .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.form-placeholder {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}
.form-placeholder p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.form-placeholder .btn-primary {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}
.form-placeholder .btn-primary:hover {
  background: var(--c-bg-alt);
  border-color: var(--c-bg-alt);
  color: var(--c-primary);
}

/* ============= FOOTER ============= */

.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 4rem 2rem;
  font-size: 0.88rem;
  line-height: 1.7;
}
.site-footer .inside { max-width: var(--max-w); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-meta { font-size: 0.78rem; opacity: 0.7; margin-top: 0.5rem; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  opacity: 0.7;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* ============= AOS-Light (Fade-In on Scroll) ============= */

[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.3, 0, 0.15, 1),
              transform 0.8s cubic-bezier(0.3, 0, 0.15, 1);
}
[data-aos].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= LEGAL PAGES (Impressum / Datenschutz) ============= */
.legal-page {
  padding-top: calc(5rem + 3rem);
  padding-bottom: 5rem;
  min-height: 60vh;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--c-primary-dark);
  margin-bottom: 2.5rem;
}
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}
.legal-section:last-of-type {
  border-bottom: none;
}
.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}
.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 1.25rem 0 0.5rem;
  text-transform: none;
}
.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}
.legal-section ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
.legal-section a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-back {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}
.legal-back a {
  color: var(--c-primary);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1; transform: none; }
}

/* ============= LIGHTBOX ============= */

.lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 25, 35, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb.is-open {
  display: flex;
  opacity: 1;
}
.lb.lb-light {
  background: rgba(240, 242, 245, 0.98);
}
.lb.lb-light .lb-btn {
  background: rgba(0,0,0,0.08);
  color: var(--c-primary-dark);
}
.lb.lb-light .lb-btn:hover {
  background: rgba(0,0,0,0.15);
}
.lb.lb-light .lb-caption,
.lb.lb-light .lb-counter {
  color: var(--c-primary-dark);
}
.lb.lb-light .lb-thumbs {
  background: rgba(0,0,0,0.06);
}
.lb.lb-light .lb-thumb {
  border-color: transparent;
}
.lb.lb-light .lb-thumb.is-active {
  border-color: var(--c-primary);
}
.lb-stage {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  padding: 4rem 1rem 1rem;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}
.lb-img-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
}
.lb-img {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 12rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease;
}
.lb-img.is-loading { opacity: 0; }

.lb-caption {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0.4rem 1rem;
  pointer-events: none;
  max-width: 90%;
}
.lb-counter {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
}

/* Buttons */
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
  padding: 0;
}
.lb-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.lb-btn:active { transform: scale(0.94); }
.lb-btn svg { width: 1.5rem; height: 1.5rem; }

.lb-prev { top: 50%; left: 1.25rem; transform: translateY(-50%); }
.lb-next { top: 50%; right: 1.25rem; transform: translateY(-50%); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(0.94); }
.lb-close { top: 1.25rem; right: 1.5rem; }

@media (max-width: 640px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-btn { width: 2.5rem; height: 2.5rem; }
  .lb-stage { padding: 3rem 0.5rem 0.5rem; }
}

/* Thumbnails */
.lb-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: center;
  flex-wrap: nowrap;
}
.lb-thumbs::-webkit-scrollbar { height: 6px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 3px; }
.lb-thumb {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 3rem;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lb-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.lb-thumb.is-active {
  opacity: 1;
  border-color: #fff;
}

@media (max-width: 640px) {
  .lb-thumb { width: 3.5rem; height: 2.5rem; }
  .lb-thumbs { padding: 0.5rem; }
}

body.lb-locked {
  overflow: hidden;
}
