/* ========================================
   Ringbauer Events - Luxury Design System
   ======================================== */

/* Custom Properties */
:root {
  /* Farben */
  --color-creme: #F9F7F2;
  --color-anthrazit: #2D3436;
  --color-gold: #D4AF37;
  --color-gold-light: #E5C158;
  --color-gold-dark: #B8941F;
  --color-white: #FFFFFF;
  --color-black: #1a1a1a;
  
  /* Typografie */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1400px;
  --container-padding: clamp(1rem, 5vw, 3rem);
  
  /* Animationen */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-luxury: 800ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-creme);
  color: var(--color-anthrazit);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Responsive media baseline — hero video keeps full-bleed cover */
img,
picture {
  max-width: 100%;
  height: auto;
}

.hero__video {
  max-width: none;
  height: 100%;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-anthrazit);
  color: var(--color-creme);
  padding: 1rem 2rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-anthrazit);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: 800px;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition-base), 
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

.header--scrolled {
  background: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

/* Light text when header overlays dark hero/video (top of page) */
.header--overlay:not(.header--scrolled) .header__logo {
  color: var(--color-creme);
}

.header--overlay:not(.header--scrolled) .header__logo span {
  color: var(--color-gold);
}

@media (min-width: 1171px) {
  .header--overlay:not(.header--scrolled) .nav__link {
    color: rgba(249, 247, 242, 0.88);
  }
}

.header--overlay:not(.header--scrolled) .nav__toggle span {
  background: var(--color-creme);
}

.header--scrolled .header__logo {
  color: var(--color-anthrazit);
}

.header--scrolled .nav__link:not(:hover):not(.nav__link--active) {
  color: var(--color-anthrazit);
}

.header__logo:focus-visible,
.nav__link:focus-visible,
.nav__toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header__logo-signet {
  display: block;
  width: auto;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header__logo-signet {
    height: 2.25rem;
  }
}

.header__logo span {
  color: var(--color-gold);
}

/* Navigation */
.nav__list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav__link {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-gold);
}

/* Mobile Menu Button */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-anthrazit);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 52, 54, 0.3) 0%,
    rgba(45, 52, 54, 0.1) 50%,
    rgba(45, 52, 54, 0.4) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  max-width: 900px;
  /* Smooth opacity transitions for video sync */
  will-change: opacity;
}

/* Video-Sync Animation:
   Bei prefers-reduced-motion bleibt der Text immer sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .hero__content {
    transition: opacity 0.1s linear;
  }
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-white);
}

.hero__title--hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.hero__cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

.hero__cta:focus {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: opacity 0.5s ease, color var(--transition-base);
  padding: 0.5rem;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: rgba(255, 255, 255, 1);
}

.hero__scroll:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero__scroll--hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-line {
  display: block;
  width: 2px;
  height: 3rem;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.9)
  );
}

.hero__scroll-icon svg {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-icon svg {
    animation: hero-scroll-bounce 2.4s ease-in-out infinite;
  }
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.75;
  }

  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* ========================================
   Book Flip Testimonial Carousel
   ======================================== */

.book-carousel {
  max-width: 1000px;
  margin: 0 auto;
  perspective: 2000px;
}

.book-book {
  position: relative;
  width: 100%;
  height: 500px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.book-spread {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 2000px;
}

.book-page {
  position: absolute;
  width: 45%;
  height: 100%;
  background: var(--color-white);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 30px 0 40px -30px rgba(0, 0, 0, 0.1);
}

.book-page--center-left {
  right: 50%;
  transform-origin: right center;
  border-radius: 8px 0 0 8px;
}

.book-page--center-right {
  left: 50%;
  transform-origin: right center;
  border-radius: 0 8px 8px 0;
}

/* Page Content */
.book-page-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-page-content--image {
  padding: 0;
  overflow: hidden;
}

.book-page-content--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quote Styling */
.book-quote-mark {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.book-quote-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-anthrazit);
  font-style: italic;
  margin-bottom: 2rem;
}

.book-quote-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.book-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.book-author {
  font-weight: 600;
  color: var(--color-anthrazit);
  font-size: 0.9375rem;
}

.book-role {
  font-size: 0.8125rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Book Spine Effect */
.book-spread::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 40px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.2) 20%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Page Animations */
.book-page--center-left,
.book-page--center-right {
  transition: opacity 0.5s ease;
}

@media (min-width: 921px) {
  .book-page--center-left,
  .book-page--center-right {
    position: absolute;
    width: 45%;
    height: 100%;
    top: 0;
  }

  .book-page--center-left {
    right: 50%;
  }

  .book-page--center-right {
    left: 50%;
  }

  .book-page--center-left[aria-hidden="true"],
  .book-page--center-right[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }

  .book-page--center-left:not([aria-hidden="true"]),
  .book-page--center-right:not([aria-hidden="true"]) {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
  }
}

/* Flip Animation Classes */
.book-page--flipping-left {
  animation: flipPageLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.book-page--flipping-right {
  animation: flipPageRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flipPageLeft {
  0% {
    transform: rotateY(0deg);
    z-index: 5;
  }
  100% {
    transform: rotateY(-180deg);
    z-index: 5;
  }
}

@keyframes flipPageRight {
  0% {
    transform: rotateY(180deg);
    z-index: 5;
  }
  100% {
    transform: rotateY(0deg);
    z-index: 5;
  }
}

/* Navigation */
.book-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.book-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.book-nav-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.book-nav-btn:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.book-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Indicators */
.book-indicators {
  display: flex;
  gap: 0.75rem;
}

.book-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-indicator:hover,
.book-indicator.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.2);
}

.book-indicator:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .book-page {
    transition: opacity 0.3s ease;
  }
  
  .book-page--flipping-left,
  .book-page--flipping-right {
    animation: none;
  }
  
  .book-page[aria-hidden="true"] {
    display: none;
  }
}

/* Responsive — stacked card below book-spread width */
@media (max-width: 920px) {
  .book-book {
    height: auto;
  }

  .book-spread {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.1),
      0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .book-spread::before {
    display: none;
  }

  .book-page--center-left,
  .book-page--center-right {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
  }

  .book-page--center-left[aria-hidden="true"],
  .book-page--center-right[aria-hidden="true"] {
    display: none;
  }

  .book-page--center-right.book-page--active {
    order: -1;
    flex-shrink: 0;
  }

  .book-page--center-right .book-page-content--image {
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0eeea;
  }

  .book-page--center-right .book-page-content--image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .book-page-content {
    padding: 1.25rem 1.5rem 1.5rem;
    min-width: 0;
  }

  .book-page-content blockquote {
    margin: 0;
    min-width: 0;
  }

  .book-quote-mark {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
  }

  .book-quote-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
  }

  .book-quote-footer {
    margin-top: 0;
  }

  .book-avatar {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
}

/* ========================================
   Sections
   ======================================== */

.section {
  padding: var(--section-padding) 0;
}

.section--light {
  background: var(--color-creme);
}

.section--dark {
  background: var(--color-anthrazit);
  color: var(--color-creme);
}

.section--dark .section__title {
  color: var(--color-creme);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__header--compact {
  margin-bottom: 3rem;
}

.section__subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section__title {
  margin-bottom: 1.5rem;
}

.section__lead {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--color-anthrazit);
  border-color: var(--color-anthrazit);
}

.btn--secondary:hover {
  background: var(--color-anthrazit);
  color: var(--color-creme);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-anthrazit);
}

.section--light .btn--ghost {
  color: var(--color-anthrazit);
  border-color: var(--color-anthrazit);
}

.section--light .btn--ghost:hover {
  background: var(--color-anthrazit);
  color: var(--color-creme);
}

.btn:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ========================================
   Cards & Components
   ======================================== */

.card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card__content {
  padding: 2rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
}

.section--light .glass-card {
  background: rgba(45, 52, 54, 0.04);
  border-color: rgba(45, 52, 54, 0.1);
}

/* Zusatzleistungen cards — gold hover glow, no movement */
.zusatzleistungen-card {
  transition:
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.zusatzleistungen-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 14px 5px rgba(212, 175, 55, 0.28),
    0 0 28px 12px rgba(212, 175, 55, 0.14),
    inset 0 0 24px rgba(212, 175, 55, 0.05);
}

.zusatzleistungen-card:hover [data-lucide] {
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.55));
}

/* ========================================
   Gallery / Portfolio (Bento Grid)
   ======================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 1;
}

.bento-item:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

.bento-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.bento-item--tall {
  grid-row: span 2;
  aspect-ratio: 1 / 2;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-title {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

/* Gallery — Moment-Sammler experience */
.gallery-quest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45, 52, 54, 0.06);
}

.gallery-quest__discovery {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}

.gallery-quest__discovery-text {
  min-width: 0;
}

.gallery-quest__divider {
  width: 1px;
  align-self: stretch;
  flex-shrink: 0;
  background: rgba(45, 52, 54, 0.1);
}

.gallery-quest__collection {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.gallery-quest__ring {
  position: relative;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.gallery-quest__ring-btn {
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
}

.gallery-quest__ring-btn:disabled {
  cursor: default;
}

.gallery-quest__ring-btn.gallery-quest__ring--complete {
  cursor: pointer;
  border-radius: 50%;
  animation: gallery-ring-pulse 2.5s ease-in-out infinite;
}

.gallery-quest__ring-btn.gallery-quest__ring--complete:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

@keyframes gallery-ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25); }
}

.gallery-quest__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gallery-quest__ring-bg {
  fill: none;
  stroke: rgba(45, 52, 54, 0.1);
  stroke-width: 4;
}

.gallery-quest__ring-fill {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-quest__percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-anthrazit);
}

.gallery-quest__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.gallery-quest__count {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-anthrazit);
}

.gallery-quest__favorites-btn {
  margin-top: 0.25rem;
}

.gallery-quest__reset-btn {
  margin-top: 0.35rem;
}

.gallery-quest__favorites-btn,
.gallery-quest__reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: rgba(45, 52, 54, 0.6);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.gallery-quest__favorites-btn:hover:not(:disabled),
.gallery-quest__favorites-btn:focus-visible:not(:disabled),
.gallery-quest__reset-btn:hover:not(:disabled),
.gallery-quest__reset-btn:focus-visible:not(:disabled) {
  color: var(--color-anthrazit);
  text-decoration-color: var(--color-gold);
}

.gallery-quest__favorites-btn:disabled,
.gallery-quest__reset-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.gallery-quest__favorites-btn:focus-visible,
.gallery-quest__reset-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.gallery-quest__reset-btn--confirm {
  color: var(--color-anthrazit);
  font-weight: 500;
  text-decoration-color: var(--color-gold);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.gallery-filter button {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(45, 52, 54, 0.25);
  background: transparent;
  color: var(--color-anthrazit);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.gallery-filter button:hover,
.gallery-filter button:focus-visible {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
}

.gallery-filter button.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.gallery-shuffle {
  padding: 0.5rem 1.25rem;
  border: 1px dashed var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
  color: var(--color-anthrazit);
  cursor: pointer;
  font-size: 0.8125rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.gallery-shuffle:hover,
.gallery-shuffle:focus-visible {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

.gallery-item {
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item--discovered::after {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4.5px rgba(212, 175, 55, 0.3);
  z-index: 2;
  animation: gallery-pulse 2s ease infinite;
}

.gallery-item--spotlight {
  scroll-margin: 7rem 1.5rem;
  outline: 4px solid #c0392b;
  outline-offset: 0;
  box-shadow:
    0 0 6px 2px rgba(255, 243, 168, 0.48),
    0 0 14px 5px rgba(255, 229, 102, 0.42),
    0 0 24px 9px rgba(212, 175, 55, 0.28),
    0 0 36px 14px rgba(212, 175, 55, 0.15);
  z-index: 10;
  animation: gallery-spotlight-glow 1.1s ease-in-out infinite;
}

.gallery-item--spotlight img {
  transform: none;
}

.gallery-item--spotlight:hover img {
  transform: none;
}

@keyframes gallery-spotlight-glow {
  0%, 100% {
    box-shadow:
      0 0 6px 2px rgba(255, 243, 168, 0.48),
      0 0 14px 5px rgba(255, 229, 102, 0.42),
      0 0 24px 9px rgba(212, 175, 55, 0.28),
      0 0 36px 14px rgba(212, 175, 55, 0.15);
  }

  50% {
    box-shadow:
      0 0 9px 3px rgba(255, 243, 168, 0.5),
      0 0 18px 7px rgba(255, 229, 102, 0.48),
      0 0 30px 12px rgba(212, 175, 55, 0.35),
      0 0 45px 18px rgba(212, 175, 55, 0.2);
  }
}

.gallery-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--color-anthrazit);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gallery-item:hover .gallery-heart,
.gallery-item:focus-within .gallery-heart,
.gallery-item--favorited .gallery-heart {
  opacity: 1;
  transform: scale(1);
}

.gallery-heart:hover,
.gallery-heart:focus-visible {
  background: var(--color-white);
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.gallery-item--favorited .gallery-heart {
  color: #c0392b;
  background: rgba(255, 255, 255, 0.95);
}

.gallery-item--favorited .gallery-heart svg {
  fill: currentColor;
}

.gallery-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 900;
  max-width: 28rem;
  padding: 1rem 1.5rem;
  background: var(--color-anthrazit);
  color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.gallery-toast--visible {
  transform: translateX(-50%) translateY(0);
}

.gallery-complete {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-complete--active {
  display: flex;
}

.gallery-complete__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 52, 54, 0.85);
  backdrop-filter: blur(4px);
}

.gallery-complete__card {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  padding: 2.5rem;
  background: var(--color-creme);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  animation: gallery-rise 0.5s ease;
}

.gallery-complete__card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-anthrazit);
}

.gallery-complete__card p {
  color: rgba(45, 52, 54, 0.75);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.gallery-complete__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--color-anthrazit);
  cursor: pointer;
  padding: 0.5rem;
}

.gallery-complete__close:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@keyframes gallery-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

@keyframes gallery-rise {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gallery-heart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.gallery-item--heart-pop .gallery-heart {
  animation: gallery-heart-pop 0.4s ease;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
}

.lightbox--active {
  display: flex;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__media {
  position: relative;
  display: inline-flex;
  max-width: 90vw;
  max-height: 75vh;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox__heart.gallery-heart {
  opacity: 1;
  transform: scale(1);
}

.lightbox__heart--favorited {
  color: #c0392b;
  background: rgba(255, 255, 255, 0.95);
}

.lightbox__heart--favorited svg {
  fill: currentColor;
}

.lightbox__heart--pop {
  animation: gallery-heart-pop 0.4s ease;
}

.lightbox__caption {
  margin-top: 1.25rem;
  text-align: center;
  max-width: 36rem;
  color: var(--color-white);
}

.lightbox--single .lightbox__prev,
.lightbox--single .lightbox__next {
  display: none;
}

.lightbox__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.lightbox__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.lightbox__story {
  font-size: 0.9375rem;
  opacity: 0.85;
  line-height: 1.5;
  font-style: italic;
}

.lightbox__counter {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  color: var(--color-gold);
  outline: none;
}

.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .home-gallery-entrance__hud {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .home-gallery-entrance__hud-item {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
  }

  .home-gallery-entrance__hud-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .home-gallery-entrance__hud-value {
    font-size: 1rem;
    min-width: 4.5rem;
  }

  .home-gallery-entrance__hud-label {
    max-width: none;
    flex: 1;
  }

  .gallery-quest {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .gallery-quest__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .gallery-quest__collection {
    align-items: flex-end;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-quest__ring-btn.gallery-quest__ring--complete {
    animation: none;
  }

  .gallery-item--discovered::after {
    animation: none;
  }

  .gallery-item--spotlight {
    animation: none;
    outline: 4px solid #c0392b;
    box-shadow:
      0 0 10px 4px rgba(255, 229, 102, 0.45),
      0 0 20px 8px rgba(212, 175, 55, 0.3);
  }

  .gallery-complete__card {
    animation: none;
  }

  .gallery-item--heart-pop .gallery-heart,
  .lightbox__heart--pop {
    animation: none;
  }
}

/* ========================================
   Testimonials
   ======================================== */

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.testimonial__author {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.testimonial__role {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-steps__item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(45, 52, 54, 0.05);
}

.contact-steps__number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.contact-portrait__caption {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-anthrazit);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(45, 52, 54, 0.2);
  text-align: left;
  max-width: calc(100% - 2rem);
}

.home-founder {
  max-width: 64rem;
  margin-inline: auto;
}

.home-founder__portrait img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(45, 52, 54, 0.12);
}

.home-trust-bar {
  max-width: 56rem;
  margin-inline: auto;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(45, 52, 54, 0.08);
}

/* Homepage — gallery entrance (Moment-Sammler teaser) */
.home-gallery-entrance__hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45, 52, 54, 0.06);
}

.home-gallery-entrance__hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.home-gallery-entrance__hud-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.home-gallery-entrance__hud-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-anthrazit);
}

.home-gallery-entrance__hud-label {
  font-size: 0.75rem;
  color: rgba(45, 52, 54, 0.65);
  line-height: 1.4;
  max-width: 11rem;
}

.home-gallery-preview {
  position: relative;
}

.home-gallery-preview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(249, 247, 242, 0.85) 70%,
    var(--color-creme)
  );
  border-radius: 0 0 8px 8px;
}

.home-gallery-preview__more {
  position: relative;
  z-index: 1;
  margin: -2rem 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: rgba(45, 52, 54, 0.7);
}

.home-gallery-preview__count {
  font-size: 1.375rem;
  color: var(--color-anthrazit);
}

.contact-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
}

.contact-trust__badge {
  flex-shrink: 0;
  width: 5.5rem;
}

.contact-trust__badge img {
  width: 100%;
  height: auto;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(45, 52, 54, 0.2);
  color: var(--color-anthrazit);
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

.contact-social-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(45, 52, 54, 0.08);
}

.contact-faq {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 52, 54, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: box-shadow var(--transition-base);
}

.contact-faq:hover {
  box-shadow: 0 8px 24px rgba(45, 52, 54, 0.06);
}

.contact-faq__summary {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}

.contact-faq__summary::-webkit-details-marker {
  display: none;
}

.contact-faq__summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.contact-faq__answer {
  color: rgba(45, 52, 54, 0.75);
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ========================================
   Partner Network Page
   ======================================== */

.partner-block__header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.partner-block__tagline {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.partner-block__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.partner-block__featured--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-height: 24rem;
}

.partner-block__featured--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-block__layout--reverse .partner-block__content {
  order: 2;
}

.partner-block__layout--reverse .partner-block__featured {
  order: 1;
}

.partner-block__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.partner-block__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.partner-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 0.375rem;
  aspect-ratio: 4 / 3;
}

.partner-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.partner-gallery__item:hover .partner-gallery__img,
.partner-gallery__item:focus-within .partner-gallery__img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .partner-block__layout,
  .partner-block__layout--reverse {
    grid-template-columns: 1fr;
  }

  .partner-block__layout--reverse .partner-block__content,
  .partner-block__layout--reverse .partner-block__featured {
    order: unset;
  }

  .partner-gallery {
    grid-template-columns: 1fr;
  }

  .partner-gallery__item {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .contact-steps {
    grid-template-columns: 1fr;
  }

  .contact-portrait__caption {
    left: 0;
    bottom: -1rem;
  }

  .contact-trust {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Contact Form
   ======================================== */

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form--contact {
  max-width: none;
  margin: 0;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(45, 52, 54, 0.2);
  background: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__submit-error {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(45, 52, 54, 0.06);
  color: #2D3436;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form__error {
  display: none;
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form__input[aria-invalid="true"] {
  border-color: #e74c3c;
}

.form__input[aria-invalid="true"] + .form__error {
  display: block;
}

/* Honeypot */
.form__honeypot {
  display: none !important;
}

.form__success {
  text-align: center;
  padding: 3rem;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

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

.footer {
  background: var(--color-anthrazit);
  color: var(--color-creme);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: block;
  width: 100%;
  max-width: 16.5rem;
  height: auto;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer__logo {
    max-width: 22.5rem;
  }
}

.footer__tagline {
  opacity: 0.7;
  font-size: 0.9375rem;
}

.footer__heading {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer__nav {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 0.75rem;
}

.footer__link {
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer__link:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.footer__weddyplace {
  display: inline-block;
  margin-top: 1.25rem;
  border-radius: 50%;
  line-height: 0;
  transition: box-shadow var(--transition-base);
}

.footer__weddyplace:hover {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 14px 5px rgba(212, 175, 55, 0.28),
    0 0 28px 12px rgba(212, 175, 55, 0.14);
}

.footer__weddyplace:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 50%;
}

.footer__weddyplace img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

/* ========================================
   Cookie Banner
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-anthrazit);
  color: var(--color-creme);
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner__title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cookie-banner__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.cookie-banner__note {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-creme);
  text-decoration: underline;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus {
  opacity: 0.85;
}

.cookie-banner .btn--text {
  color: var(--color-creme);
  border: 1px solid rgba(249, 247, 242, 0.35);
}

.cookie-banner .btn--text:hover,
.cookie-banner .btn--text:focus {
  background: rgba(249, 247, 242, 0.1);
}

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

.btn--small {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
}

.btn--text {
  background: transparent;
  color: var(--color-creme);
  border: none;
  padding: 0.75rem;
}

.btn--text:hover {
  color: var(--color-gold);
}

/* ========================================
   Utility Classes
   ======================================== */

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

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   404 Page
   ======================================== */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.error-page__title {
  margin-bottom: 1.5rem;
}

.error-page__text {
  max-width: 400px;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hamburger nav: inline links overlap logo below ~1170px */
@media (max-width: 1170px) {
  .header__logo {
    max-width: calc(100% - 3rem);
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-creme);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }

  .nav__list--open {
    right: 0;
  }

  .nav__list--open .nav__link {
    color: var(--color-anthrazit);
  }

  .nav__list--open .nav__link:hover,
  .nav__list--open .nav__link--active {
    color: var(--color-gold);
  }

  .nav__toggle {
    display: flex;
    z-index: 101;
  }

  .nav__toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  h2,
  .section__title {
    font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .section__lead {
    font-size: 1rem;
  }

  .header {
    padding: 0.625rem 0;
  }

  .header__logo {
    font-size: clamp(0.8125rem, 3.2vw, 1.125rem);
    gap: 0.5rem;
    letter-spacing: 0.06em;
  }

  .header__logo-signet {
    height: 1.5rem;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
  }

  .hero__video-container {
    background-color: var(--color-anthrazit);
  }

  .hero__video {
    object-fit: contain;
    object-position: center center;
  }

  .hero__content {
    padding: 5rem 1.25rem 3rem;
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.875rem;
    line-height: 1.5;
  }

  .hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    hyphens: auto;
  }

  .hero__scroll {
    bottom: 1.25rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-item--large,
  .bento-item--wide,
  .bento-item--tall {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
  }

  .footer__logo {
    max-width: min(12.5rem, 78vw);
    margin-inline: auto;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }

  .footer__weddyplace {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }
  
  .footer__legal {
    justify-content: center;
  }
}

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

  .header__logo {
    font-size: 0.8125rem;
  }

  .hero__title {
    font-size: clamp(1.375rem, 7vw, 1.875rem);
  }

  .hero__subtitle {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }

  .testimonial__quote::before {
    font-size: 4rem;
    top: -1rem;
    left: -0.5rem;
  }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .header,
  .nav__toggle,
  .cookie-banner,
  .hero__video-container,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
  }
}
