/* ============================================================
   PANTA Wohnungsverwaltung G.m.b.H. – style.css
   Design: Hanseatische Eleganz – Marineblau, Elfenbein, Messing
   Typografie: Libre Baskerville (Display) + Lato (Body)
   Ansatz: Mobile-First, klassisch-hanseatisch
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0d1f3c;
  --navy-mid:     #162d52;
  --navy-light:   #1e3d6e;
  --navy-pale:    #e8edf5;
  --brass:        #b8965a;
  --brass-light:  #d4b07a;
  --brass-dark:   #8a6e3a;
  --ivory:        #f5f2eb;
  --ivory-dark:   #ece8de;
  --ivory-mid:    #e0dbd0;
  --white:        #ffffff;
  --ink:          #111827;
  --ink-mid:      #374151;
  --ink-muted:    #6b7280;
  --border:       rgba(13,31,60,0.10);
  --border-light: rgba(13,31,60,0.06);
  --shadow-sm:    0 2px 12px rgba(13,31,60,0.07);
  --shadow:       0 6px 32px rgba(13,31,60,0.10);
  --shadow-lg:    0 16px 64px rgba(13,31,60,0.14);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --touch-min:    48px;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Libre Baskerville', serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── UTILITIES ────────────────────────────────────────────── */
.container { width: 100%; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; max-width: 1240px; } }

.section-eyebrow {
  display: block; font-family: 'Lato', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-dark); margin-bottom: 0.85rem;
}
.section-title { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; letter-spacing: -0.01em; }
@media (min-width: 640px)  { .section-title { font-size: 2.4rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.9rem; } }
.section-lead { font-size: 1rem; color: var(--ink-muted); line-height: 1.85; font-weight: 300; }
@media (min-width: 1024px) { .section-lead { font-size: 1.05rem; max-width: 560px; } }
.divider { width: 36px; height: 2px; background: var(--brass); margin-bottom: 1.75rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.85rem; font-family: 'Lato', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border: 1.5px solid transparent; transition: all var(--transition);
  min-height: var(--touch-min); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
@media (min-width: 1024px) { .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,31,60,0.3); } }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-brass { background: var(--brass); color: var(--white); border-color: var(--brass); }
.btn-brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--ivory); }
.btn-arrow span { display: inline-block; transition: transform var(--transition); }
.btn-arrow:hover span { transform: translateX(4px); }

/* ── NAVIGATION ───────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1.1rem 0; transition: all var(--transition);
}
#nav.scrolled {
  background: rgba(245,242,235,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0; box-shadow: 0 1px 0 var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav-logo { display: flex; flex-direction: column; gap: 1px; text-decoration: none; flex-shrink: 0; }
.nav-logo-wordmark { font-family: 'Libre Baskerville', serif; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; color: var(--white); transition: color var(--transition); line-height: 1; }
#nav.scrolled .nav-logo-wordmark { color: var(--navy); }
.nav-logo-tagline { font-family: 'Lato', sans-serif; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); transition: color var(--transition); }
#nav.scrolled .nav-logo-tagline { color: var(--ink-muted); }

.nav-links { display: none; align-items: center; gap: 2rem; list-style: none; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); position: relative; padding-bottom: 3px; transition: color var(--transition); min-height: var(--touch-min); display: flex; align-items: center; }
#nav.scrolled .nav-links a { color: var(--ink-mid); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--brass); transition: width var(--transition); }
.nav-links a:hover { color: var(--brass); }
.nav-links a:hover::after { width: 100%; }
#nav.scrolled .nav-links a:hover { color: var(--brass-dark); }
.nav-cta-link { font-size: 0.68rem !important; color: var(--white) !important; background: var(--navy); padding: 0.5rem 1.3rem !important; border: 1px solid var(--navy); transition: all var(--transition) !important; min-height: auto !important; }
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: var(--navy-mid) !important; color: var(--white) !important; }

.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; min-width: var(--touch-min); min-height: var(--touch-min); align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger-line { display: block; width: 24px; height: 1.5px; background: var(--white); transition: background var(--transition), transform 0.35s, opacity 0.35s; }
#nav.scrolled .hamburger-line { background: var(--navy); }
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 800; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mobile-drawer-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer { position: fixed; top: 0; right: -100%; width: min(340px, 90vw); height: 100%; height: 100dvh; background: var(--navy); z-index: 850; display: flex; flex-direction: column; justify-content: center; padding: 3rem 2.5rem; transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; }
.mobile-drawer.open { right: 0; }
.mobile-drawer-close { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.07); border: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 1.1rem; cursor: pointer; transition: background var(--transition); -webkit-tap-highlight-color: transparent; }
.mobile-drawer-close:hover { background: rgba(255,255,255,0.14); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 0; }
.mobile-drawer nav a { font-family: 'Libre Baskerville', serif; font-size: 1.8rem; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.01em; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color var(--transition); -webkit-tap-highlight-color: transparent; }
.mobile-drawer nav a:last-child { border-bottom: none; }
.mobile-drawer nav a:hover { color: var(--white); }
.mobile-drawer-footer { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-drawer-footer p { font-size: 0.76rem; color: rgba(255,255,255,0.28); font-weight: 300; line-height: 1.7; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; }
@media (min-width: 768px) { .hero { align-items: center; } }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.04); transition: transform 10s ease-out; }
.hero-media img.loaded { transform: scale(1); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,31,60,0.95) 0%, rgba(13,31,60,0.65) 45%, rgba(13,31,60,0.2) 100%); }
@media (min-width: 768px) { .hero-gradient { background: linear-gradient(110deg, rgba(13,31,60,0.90) 0%, rgba(13,31,60,0.55) 50%, rgba(13,31,60,0.15) 100%); } }

.hero-content { position: relative; z-index: 2; padding: 6rem 0 3rem; width: 100%; }
@media (min-width: 768px) { .hero-content { padding: 9rem 0 6rem; max-width: 700px; } }

.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); padding: 0.45rem 1rem; margin-bottom: 1.5rem; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--brass); border-radius: 50%; flex-shrink: 0; }
.hero-badge span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

.hero h1 { font-size: 2.6rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; line-height: 1.08; letter-spacing: -0.02em; }
@media (min-width: 480px)  { .hero h1 { font-size: 3.2rem; } }
@media (min-width: 768px)  { .hero h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.8rem; } }
.hero h1 em { font-style: italic; color: var(--brass-light); font-weight: 400; }

.hero-desc { font-size: 0.98rem; font-weight: 300; color: rgba(255,255,255,0.78); margin-bottom: 2rem; line-height: 1.85; max-width: 500px; }
@media (min-width: 768px) { .hero-desc { font-size: 1.08rem; } }

.hero-actions { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.5rem; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
.hero-actions .btn { width: 100%; }
@media (min-width: 480px) { .hero-actions .btn { width: auto; } }

.hero-metrics { display: none; }
@media (min-width: 768px) {
  .hero-metrics { display: flex; gap: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
}
.hero-metric-value { font-family: 'Libre Baskerville', serif; font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.25rem; }
.hero-metric-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── INTRO STRIP ──────────────────────────────────────────── */
.intro-strip { background: var(--navy); padding: 1.75rem 0; overflow: hidden; }
.intro-strip-inner { display: flex; align-items: center; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding: 0.25rem 0; }
.intro-strip-inner::-webkit-scrollbar { display: none; }
.intro-strip-item { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; padding: 0 1.75rem; }
.intro-strip-item:first-child { padding-left: 0; }
.intro-strip-icon { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.intro-strip-icon svg { width: 16px; height: 16px; stroke: var(--brass); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.intro-strip-text strong { display: block; font-size: 0.76rem; font-weight: 700; color: var(--white); letter-spacing: 0.03em; white-space: nowrap; }
.intro-strip-text span { font-size: 0.68rem; color: rgba(255,255,255,0.35); font-weight: 300; white-space: nowrap; }
.intro-strip-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ── LEISTUNGEN ───────────────────────────────────────────── */
.leistungen { background: var(--white); padding: 4rem 0; }
@media (min-width: 768px)  { .leistungen { padding: 6rem 0; } }
@media (min-width: 1024px) { .leistungen { padding: 8rem 0; } }

.leistungen-header { margin-bottom: 3rem; }
@media (min-width: 900px) { .leistungen-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; } }
.leistungen-header-right { display: none; }
@media (min-width: 900px) { .leistungen-header-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 1.25rem; } }
.leistungen-header-right p { font-size: 0.9rem; color: var(--ink-muted); text-align: right; font-weight: 300; line-height: 1.8; }
.leistungen-mobile-cta { display: block; margin-top: 1.5rem; }
@media (min-width: 900px) { .leistungen-mobile-cta { display: none; } }

.leistungen-grid { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .leistungen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 1024px) { .leistungen-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); } }

.leistung-card { background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
@media (min-width: 1024px) { .leistung-card { box-shadow: none; } .leistung-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .leistung-card:hover .leistung-img img { transform: scale(1.05); } }
.leistung-img { height: 200px; overflow: hidden; position: relative; }
@media (min-width: 768px) { .leistung-img { height: 240px; } }
.leistung-img img { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.leistung-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,31,60,0.55) 0%, transparent 60%); }
.leistung-num { position: absolute; top: 1rem; left: 1rem; font-family: 'Libre Baskerville', serif; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.65); letter-spacing: 0.1em; }
.leistung-body { padding: 1.5rem; border-top: 2px solid transparent; transition: border-color var(--transition); }
@media (min-width: 1024px) { .leistung-body { padding: 2rem; } .leistung-card:hover .leistung-body { border-color: var(--brass); } }
.leistung-title { font-family: 'Libre Baskerville', serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.leistung-desc { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.8; font-weight: 300; margin-bottom: 1.25rem; }
.leistung-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-dark); min-height: var(--touch-min); transition: gap var(--transition); }
.leistung-link:hover { gap: 0.8rem; }
.leistung-link-arrow { display: inline-block; transition: transform var(--transition); }
.leistung-link:hover .leistung-link-arrow { transform: translateX(3px); }

/* ── VERWALTUNG DETAIL ────────────────────────────────────── */
.verwaltung { background: var(--ivory); padding: 4rem 0; }
@media (min-width: 768px)  { .verwaltung { padding: 6rem 0; } }
@media (min-width: 1024px) { .verwaltung { padding: 8rem 0; } }
.verwaltung-layout { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 900px) { .verwaltung-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.verwaltung-img-main { aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .verwaltung-img-main { aspect-ratio: 3/4; } }

.aufgaben-list { list-style: none; margin: 1.75rem 0 2rem; border-top: 1px solid var(--border); }
.aufgaben-item { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.85rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.aufgaben-check { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.aufgaben-check svg { width: 100%; height: 100%; stroke: var(--brass-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aufgaben-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.15rem; }
.aufgaben-text span { font-size: 0.82rem; color: var(--ink-muted); font-weight: 300; line-height: 1.65; }

/* ── PROZESS ──────────────────────────────────────────────── */
.prozess { background: var(--navy); padding: 4rem 0; }
@media (min-width: 768px)  { .prozess { padding: 6rem 0; } }
@media (min-width: 1024px) { .prozess { padding: 8rem 0; } }
.prozess .section-eyebrow { color: rgba(255,255,255,0.35); }
.prozess .section-title { color: var(--white); }
.prozess-header { margin-bottom: 3rem; }
@media (min-width: 900px) { .prozess-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4.5rem; } }
.prozess-header-right .section-lead { color: rgba(255,255,255,0.45); }

.prozess-steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.07); }
@media (min-width: 640px) { .prozess-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; border-top: none; } }
@media (min-width: 1024px) { .prozess-steps { grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; } .prozess-steps::before { content: ''; position: absolute; top: 1.75rem; left: 3.5rem; right: 3.5rem; height: 1px; background: rgba(255,255,255,0.08); z-index: 0; } }

.prozess-step { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; gap: 1.25rem; align-items: flex-start; }
@media (min-width: 640px) { .prozess-step { flex-direction: column; gap: 0; padding: 0; border-bottom: none; } }
@media (min-width: 1024px) { .prozess-step { padding: 0 1.5rem; position: relative; z-index: 1; } .prozess-step:first-child { padding-left: 0; } .prozess-step:last-child { padding-right: 0; } }

.step-indicator { display: flex; align-items: center; flex-shrink: 0; }
@media (min-width: 640px) { .step-indicator { margin-bottom: 1.5rem; } }
.step-circle { width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color var(--transition), background var(--transition); }
@media (min-width: 1024px) { .step-circle { width: 3.5rem; height: 3.5rem; } .prozess-step:hover .step-circle { border-color: var(--brass); background: rgba(184,150,90,0.1); } }
.step-circle-num { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.38); transition: color var(--transition); }
@media (min-width: 1024px) { .prozess-step:hover .step-circle-num { color: var(--brass); } }
.step-body { flex: 1; }
.step-title { font-family: 'Libre Baskerville', serif; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.step-desc { font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.75; font-weight: 300; }

/* ── MIETER INFO ──────────────────────────────────────────── */
.mieter { background: var(--ivory-dark); padding: 4rem 0; }
@media (min-width: 768px)  { .mieter { padding: 6rem 0; } }
@media (min-width: 1024px) { .mieter { padding: 8rem 0; } }
.mieter-layout { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 900px) { .mieter-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.mieter-img { aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.mieter-img-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13,31,60,0.88), transparent); padding: 2rem 1.5rem 1.25rem; }
.mieter-img-caption p { font-family: 'Libre Baskerville', serif; font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.9); font-weight: 400; }

.mieter-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); margin-top: 2rem; }
.mieter-card { background: var(--ivory-dark); padding: 1.25rem; transition: background var(--transition); }
@media (min-width: 768px) { .mieter-card { padding: 1.75rem; } }
.mieter-card:hover { background: var(--white); }
.mieter-card-num { font-family: 'Libre Baskerville', serif; font-size: 1.8rem; font-weight: 700; color: var(--brass); opacity: 0.35; line-height: 1; margin-bottom: 0.6rem; }
.mieter-card h3 { font-family: 'Libre Baskerville', serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
@media (min-width: 768px) { .mieter-card h3 { font-size: 1.05rem; } }
.mieter-card p { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.75; font-weight: 300; }

/* ── ÜBER UNS ─────────────────────────────────────────────── */
.ueber-uns { background: var(--white); padding: 4rem 0; }
@media (min-width: 768px)  { .ueber-uns { padding: 6rem 0; } }
@media (min-width: 1024px) { .ueber-uns { padding: 8rem 0; } }
.ueber-layout { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 900px) { .ueber-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.ueber-img { aspect-ratio: 16/10; overflow: hidden; box-shadow: var(--shadow-lg); order: -1; }
@media (min-width: 900px) { .ueber-img { order: 2; } }
.ueber-content { order: 1; }

.vorteile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-light); margin-top: 2rem; border: 1px solid var(--border-light); }
.vorteil-item { background: var(--white); padding: 1.25rem; transition: background var(--transition); }
@media (min-width: 768px) { .vorteil-item { padding: 1.75rem; } }
.vorteil-item:hover { background: var(--navy-pale); }
.vorteil-icon-wrap { width: 30px; height: 30px; margin-bottom: 0.85rem; }
.vorteil-icon-wrap svg { width: 100%; height: 100%; stroke: var(--brass-dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vorteil-title { font-family: 'Libre Baskerville', serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.vorteil-desc { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.7; font-weight: 300; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band { background: var(--brass); padding: 4rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .cta-band { padding: 5.5rem 0; } }
.cta-band::before { content: 'PANTA'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Libre Baskerville', serif; font-size: clamp(5rem, 16vw, 16rem); font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.07); white-space: nowrap; pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; } }
.cta-band h2 { font-size: 1.8rem; color: var(--white); font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 768px) { .cta-band h2 { font-size: 2.4rem; } }
.cta-band h2 em { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.8); }
.cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }
.cta-band-actions .btn { width: 100%; }
@media (min-width: 480px) { .cta-band-actions .btn { width: auto; } }

/* ── KONTAKT ──────────────────────────────────────────────── */
.kontakt { background: var(--ivory); padding: 4rem 0; }
@media (min-width: 768px)  { .kontakt { padding: 6rem 0; } }
@media (min-width: 1024px) { .kontakt { padding: 8rem 0; } }
.kontakt-layout { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 900px) { .kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.kontakt-details { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.5rem; }
.kontakt-detail-item { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.kontakt-detail-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
.kontakt-detail-value { font-size: 0.9rem; color: var(--navy); font-weight: 400; line-height: 1.6; }

.kontakt-form-wrap { background: var(--white); padding: 2rem; box-shadow: var(--shadow); border-top: 3px solid var(--navy); }
@media (min-width: 640px)  { .kontakt-form-wrap { padding: 2.5rem; } }
@media (min-width: 1024px) { .kontakt-form-wrap { padding: 3rem; } }
.kontakt-form-wrap h3 { font-family: 'Libre Baskerville', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.form-subtitle { font-size: 0.86rem; color: var(--ink-muted); font-weight: 300; margin-bottom: 1.75rem; }
.form-row { display: flex; flex-direction: column; gap: 0; }
@media (min-width: 480px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.form-group input, .form-group select, .form-group textarea { padding: 0.9rem 1rem; border: 1px solid var(--border); border-bottom: 2px solid var(--border); background: var(--ivory); font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 400; color: var(--ink); outline: none; transition: border-color var(--transition), background var(--transition); border-radius: 0; width: 100%; appearance: none; -webkit-appearance: none; min-height: var(--touch-min); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; font-size: 1rem; }
.form-note { font-size: 0.74rem; color: var(--ink-muted); font-weight: 300; margin-top: 1rem; line-height: 1.65; }
.form-success-msg { display: none; background: var(--navy-pale); border-left: 3px solid var(--navy); padding: 1rem 1.25rem; margin-top: 1.25rem; font-size: 0.88rem; color: var(--navy); font-weight: 700; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: var(--navy); padding: 3.5rem 0 2rem; }
@media (min-width: 768px) { footer { padding: 5rem 0 2.5rem; } }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; margin-bottom: 2.5rem; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: auto; } }
.footer-brand-name { font-family: 'Libre Baskerville', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; letter-spacing: 0.04em; }
.footer-brand-sub { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 1.25rem; }
.footer-brand-desc { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.8; font-weight: 300; }
.footer-col h4 { font-family: 'Lato', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.45); font-weight: 300; transition: color var(--transition); min-height: var(--touch-min); display: flex; align-items: center; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.88); }
.footer-col-hide-sm { display: none; }
@media (min-width: 1024px) { .footer-col-hide-sm { display: block; } }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.25); font-weight: 300; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.76rem; color: rgba(255,255,255,0.35); font-weight: 300; transition: color var(--transition); min-height: var(--touch-min); display: flex; align-items: center; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(13,31,60,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1000; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 2rem; } }
.modal-backdrop.open { display: flex; }
.modal-box { background: var(--white); width: 100%; max-height: 90vh; max-height: 90dvh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); border-radius: 16px 16px 0 0; }
@media (min-width: 640px) { .modal-box { max-width: 720px; border-radius: 0; max-height: 88vh; } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 1rem auto 0; }
@media (min-width: 640px) { .modal-handle { display: none; } }
.modal-header { padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--white); z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }
@media (min-width: 640px) { .modal-header { padding: 2.5rem 3rem 1.5rem; } }
.modal-header h2 { font-size: 1.6rem; color: var(--navy); }
.modal-close-btn { background: none; border: 1px solid var(--border); width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink-muted); font-size: 1rem; transition: all var(--transition); -webkit-tap-highlight-color: transparent; }
.modal-close-btn:hover { background: var(--ivory); border-color: var(--navy); color: var(--navy); }
.modal-body { padding: 1.5rem; }
@media (min-width: 640px) { .modal-body { padding: 2rem 3rem 3rem; } }
.modal-body h3 { font-family: 'Lato', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-dark); margin: 1.5rem 0 0.5rem; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p, .modal-body address { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.85; font-style: normal; font-weight: 300; }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.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; }
@media (max-width: 640px) { .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition-delay: 0.05s; } }

/* ── SAFE AREA ────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .mobile-drawer { padding-bottom: calc(3rem + env(safe-area-inset-bottom)); }
}
