/* ═══════════════════════════════════════════
   BROTZEIT ROSTOCK — SHARED STYLES
   Alle Seiten laden diese Datei.
═══════════════════════════════════════════ */

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

:root {
  --cream: #F5EFE4;
  --sand: #E8DCCB;
  --warm-dark: #2A1F14;
  --brown-mid: #7A5C3A;
  --brown-light: #B8935A;
  --accent: #C8612A;
  --text: #2A1F14;
  --text-muted: #7A6A58;
  --white: #FDFAF5;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Barlow', sans-serif;
  --max-w: 1280px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.4s, padding 0.4s;
}
#main-nav.scrolled {
  background: rgba(42, 31, 20, 0.97);
  padding: 14px 48px;
  backdrop-filter: blur(10px);
}
#main-nav.nav-solid {
  background: rgba(42, 31, 20, 0.97);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  z-index: 201;
}
.nav-logo span { color: var(--brown-light); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.85);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--brown-light);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 201;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-dark);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 300;
  color: rgba(253,250,245,0.7);
  text-decoration: none;
  padding: 16px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(253,250,245,0.07);
  width: 80%;
  text-align: center;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--brown-light); }
.nav-mobile-sub {
  margin-top: 40px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.3);
}

/* ── SUBPAGE TEASER (55vh) ── */
.page-teaser {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-teaser-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(42,31,20,0.25) 0%,
    rgba(42,31,20,0.1) 30%,
    rgba(42,31,20,0.72) 100%);
}
.page-teaser-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 52px;
  max-width: 720px;
}
.page-teaser-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 12px;
}
.page-teaser h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.page-teaser h1 em {
  font-style: italic;
  color: var(--brown-light);
}
.page-teaser-lead {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(253,250,245,0.78);
  max-width: 520px;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--warm-dark);
  padding: 12px 48px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.35);
}
.breadcrumb a {
  color: rgba(253,250,245,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--brown-light); }
.breadcrumb-sep { color: rgba(253,250,245,0.2); }
.breadcrumb-current { color: var(--brown-light); }

/* ── SECTION COMMONS ── */
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}
section { padding: 88px 48px; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-dark);
  margin-bottom: 18px;
}
h2.section-title em { font-style: italic; color: var(--brown-mid); }
h3.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--warm-dark);
  margin-bottom: 12px;
}
.section-lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: #B0521F; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--brown-mid);
  color: var(--warm-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(200,97,42,0.06); }

.btn-ghost-light {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(253,250,245,0.4);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost-light:hover { border-color: var(--brown-light); background: rgba(184,147,90,0.1); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(232,220,203,0.45);
  border: 1px solid var(--sand);
  border-radius: 0;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brown-mid);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── DIVIDER ── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--brown-light);
  margin: 20px 0 28px;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── FOOTER ── */
#main-footer {
  background: #1A1009;
  padding: 56px 48px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253,250,245,0.07);
  margin-bottom: 28px;
}
.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(253,250,245,0.4);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.35);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.85rem;
  color: rgba(253,250,245,0.5);
  text-decoration: none;
  line-height: 2;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brown-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(253,250,245,0.2);
  letter-spacing: 0.05em;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,250,245,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--brown-light); }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--warm-dark);
  padding: 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text .section-eyebrow { color: var(--brown-light); }
.cta-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
.cta-strip-text h2 em { font-style: italic; color: var(--brown-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #main-nav { padding: 16px 24px; }
  #main-nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }

  section { padding: 56px 24px; }
  .page-teaser-content { padding: 0 24px 40px; }
  .breadcrumb { padding: 10px 24px; }
  .cta-strip { padding: 56px 24px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  #main-footer { padding: 40px 24px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
