/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --brick:       #9B4A1E;
  --brick-light: #C8874A;
  --dark:        #1A1A1A;
  --cream:       #F4EFE6;
  --cream-dark:  #E5DDD0;
  --wood:        #7A5C2A;
  --text:        #2E2E2E;
  --text-muted:  #6B6B6B;
  --border:      #D5C9B5;
  --white:       #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:    72px;
  --max-w:    1100px;
  --sec-pad:  5rem 1.5rem;
  --radius:   4px;
  --shadow:   0 2px 14px rgba(0,0,0,0.11);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p   { color: var(--text-muted); font-size: 1.05rem; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--brick);
  font-size: 1rem;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--brick);
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: var(--sec-pad); }
.bg-dark  { background: var(--dark); }
.bg-muted { background: var(--cream-dark); }

/* ============================================================
   Hero (Homepage)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--brick);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../Bilder/WKFU8950.JPG') center/cover no-repeat;
  filter: brightness(0.42);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 740px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brick-light);
  border: 1px solid var(--brick-light);
  padding: 0.28rem 1rem;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.hero-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.hero-sign {
  display: inline-block;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick-light);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll svg { opacity: 0.6; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   Galerie
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.gallery-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}
.gallery-item-wide { grid-column: 1 / -1; }
.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-item-wide img { height: 460px; }
.gallery-item figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--white); }

/* ============================================================
   Quote Band
   ============================================================ */
.quote-band {
  background: var(--dark);
  padding: 5rem 1.5rem;
  text-align: center;
}
.quote-band blockquote {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--cream);
  line-height: 1.5;
  font-style: italic;
}
.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brick-light);
  font-style: normal;
  font-family: var(--font-body);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .gallery { gap: 1.5rem; }
  .gallery-item-wide img { height: 340px; }
}

@media (max-width: 640px) {
  :root { --sec-pad: 3.5rem 1rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item img,
  .gallery-item-wide img { height: 240px; }
  .lightbox { padding: 1rem; }
}
