/* ═══════════════════════════════════════════════════════════
   Bauer & Partner Rechtsanwälte – style.css
   Palette: Navy #0d1b2e · Gold #c9a227 · Cream #f7f4ee
   Font: Cormorant Garamond (Display) · DM Sans (Body)
═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:      #0d1b2e;
  --navy-l:    #152742;
  --navy-xl:   #1e3a5f;
  --gold:      #c9a227;
  --gold-l:    #e0c06b;
  --gold-dim:  rgba(201,162,39,0.18);
  --cream:     #f7f4ee;
  --cream-d:   #ede9df;
  --white:     #ffffff;
  --text:      #2c2c3a;
  --text-l:    #6b6b7b;
  --border:    #ddd8cc;
  --card-bg:   #ffffff;
  --shadow:    0 4px 24px rgba(13,27,46,0.10);
  --shadow-lg: 0 16px 64px rgba(13,27,46,0.18);
  --radius:    4px;
  --radius-lg: 8px;
  --transition: 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
input, select, textarea, button { font-family: inherit; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
em { font-style: italic; color: var(--gold); }
p { line-height: 1.75; }

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section Helpers ───────────────────────────────────── */
.section { padding: 100px 0; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-l);
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-lg { padding: 15px 36px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-l);
  border-color: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ── Scroll-reveal ─────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-up.visible { opacity: 1; transform: none; }

/* ── Fade-in (hero elements) ───────────────────────────── */
.fade-in { opacity: 0; animation: fadeInUp 0.9s ease forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.35s; }
.d3 { animation-delay: 0.55s; }
.d4 { animation-delay: 0.70s; }
.d5 { animation-delay: 0.85s; }
.d6 { animation-delay: 1.05s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
body.has-demo-banner #navbar { top: 74px; }
#navbar.scrolled {
  background: var(--cream);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(13,27,46,0.10);
}
.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}
.logo-claim {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
#navbar.scrolled .logo-name { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a { color: var(--text-l); }
#navbar.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-l); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--navy); }

/* Mobile Menu */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,46,0.5);
  z-index: 1000;
}
.mobile-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100%;
  background: var(--navy);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 5rem 2.5rem 2.5rem;
  transition: right 0.35s ease;
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,12,22,0.88) 0%,
    rgba(13,27,46,0.80) 50%,
    rgba(5,12,22,0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.8rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.6rem;
}
.hero-headline em {
  display: block;
  color: var(--gold);
  font-style: italic;
}

/* Decorative divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.8rem;
}
.hero-divider span:not(.diamond) {
  width: 80px; height: 1px;
  background: rgba(201,162,39,0.5);
}
.hero-divider .diamond {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2.4rem;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.hero-trust .sep { opacity: 0.35; }

/* Scroll line */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-line {
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   RECHTSGEBIETE
════════════════════════════════════════════════════════ */
.rechtsgebiete { background: var(--cream); }

.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.rg-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: border-left-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rg-card:hover {
  border-left-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.rg-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.rg-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0;
}
.rg-kurz {
  font-size: 0.88rem;
  color: var(--text-l);
  line-height: 1.5;
}
.rg-list {
  margin-top: 0.25rem;
  flex: 1;
}
.rg-list li {
  font-size: 0.82rem;
  color: var(--text-l);
  padding: 4px 0 4px 14px;
  position: relative;
  border-bottom: 1px solid var(--cream-d);
  line-height: 1.4;
}
.rg-list li:last-child { border-bottom: none; }
.rg-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}
.rg-link {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.3s;
  display: inline-block;
}
.rg-link:hover { letter-spacing: 0.02em; }

/* ════════════════════════════════════════════════════════
   ÜBER UNS
════════════════════════════════════════════════════════ */
.ueber {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.ueber::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ueber-visual { position: relative; }
.ueber-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.ueber-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.85);
  transition: transform 0.8s ease;
}
.ueber-img-wrap:hover img { transform: scale(1.03); }
.ueber-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 4px solid var(--navy);
}
.badge-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.badge-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.ueber-text h2 { color: var(--white); margin-bottom: 1.5rem; }
.ueber-text h2 em { color: var(--gold); }
.ueber-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.ueber-text > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.ueber-values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.4;
}
.value-item strong {
  display: block;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.value-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* ════════════════════════════════════════════════════════
   TEAM
════════════════════════════════════════════════════════ */
.team { background: var(--cream-d); }
.team .section-header h2 { color: var(--navy); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(25%) brightness(0.95);
  transition: transform 0.5s ease, filter 0.4s;
}
.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}
.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,46,0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-contact-btn {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 0.25s;
}
.team-contact-btn:hover { background: var(--gold-l); }

.team-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-body h3 {
  font-size: 1.1rem;
  color: var(--navy);
}
.team-titel {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.team-gebiete {
  font-size: 0.8rem;
  color: var(--text-l);
  margin: 4px 0;
}
.team-bio {
  font-size: 0.82rem;
  color: var(--text-l);
  line-height: 1.6;
  margin: 6px 0;
}
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.meta-tag {
  font-size: 0.72rem;
  background: var(--cream-d);
  color: var(--text-l);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════
   ABLAUF (PROZESS)
════════════════════════════════════════════════════════ */
.ablauf {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.ablauf-grid::before {
  content: '';
  position: absolute;
  top: 44px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  z-index: 0;
}
.ablauf-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ablauf-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201,162,39,0.12);
}
.ablauf-nr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.ablauf-nr::before {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; right: 50%;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: var(--gold);
}
.ablauf-card h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.75rem;
  color: var(--navy);
}
.ablauf-card p {
  font-size: 0.88rem;
  color: var(--text-l);
  line-height: 1.65;
}
.ablauf-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.ablauf-cta > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
}

/* ════════════════════════════════════════════════════════
   REFERENZEN
════════════════════════════════════════════════════════ */
.referenzen {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.referenzen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.referenzen .section-header h2 { color: var(--white); }
.referenzen .section-header .eyebrow { color: var(--gold); }
.referenzen .section-sub { color: rgba(255,255,255,0.45); }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ref-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.ref-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,162,39,0.25);
  transform: translateY(-4px);
}
.ref-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 1rem;
}
.ref-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.ref-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ref-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.ref-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1px;
}
.ref-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.ref-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--gold-dim);
  color: var(--gold-l);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   KONTAKT
════════════════════════════════════════════════════════ */
.kontakt { background: var(--cream-d); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.kontakt-form-col h2 { color: var(--navy); margin-bottom: 0.75rem; }
.kontakt-form-col h2 em { color: var(--gold); }
.kontakt-sub {
  color: var(--text-l);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Form */
.kform { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fg input,
.fg select,
.fg textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.fg input.error,
.fg select.error,
.fg textarea.error { border-color: #dc2626; }
.fg textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b7b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.fg-check .check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.fg-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}
.fg-check span {
  font-size: 0.78rem;
  color: var(--text-l);
  line-height: 1.5;
}
.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.35);
  color: #15803d;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Kontakt info */
.kinfo-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.kinfo-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.kinfo-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.kinfo-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-l);
  margin-bottom: 4px;
}
.kinfo-card p, .kinfo-card a {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}
.kinfo-card a:hover { color: var(--gold); }
.kinfo-hint { font-size: 0.78rem; color: var(--text-l); margin-top: 2px; }
.kinfo-link {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}

/* Öffnungszeiten */
.oeffnung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.oeffnung-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-l);
  margin-bottom: 1rem;
}
.oeffnung-card ul { display: flex; flex-direction: column; gap: 0; }
.oeffnung-card li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--cream-d);
  color: var(--text);
}
.oeffnung-card li:last-child { border-bottom: none; }
.oeffnung-card li.heute {
  font-weight: 600;
  color: var(--navy);
}
.oeffnung-card li.heute span:first-child::after {
  content: ' ◀';
  font-size: 0.65rem;
  color: var(--gold);
}
.oeffnung-card li.zu { color: var(--text-l); }
.oeffnung-card li.zu span:last-child { color: #dc2626; }

/* Seal */
.kinfo-seal {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.seal-inner { text-align: center; }
.seal-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.seal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.seal-sub {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  background: #070e1a;
  padding: 64px 0 0;
  border-top: 1px solid rgba(201,162,39,0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--white); }
.footer-col address p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-col address a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--gold); }

/* ── Back to top ───────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 2px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover { transform: translateY(-3px); background: var(--gold-l); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rg-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ueber-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-grid .stat-item + .stat-item::before { display: none; }
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-badge { right: 0; bottom: -16px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .rg-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .ablauf-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-trust { font-size: 0.72rem; gap: 6px; }
  .hero-trust .sep { display: none; }
  .hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .section { padding: 56px 0; }
  .container { padding: 0 1.2rem; }
}
