/* ============================================================
   HOFILIEN GmbH – style.css
   Design: Architektonische Eleganz – Erdtöne, klare Linien
   Typografie: Cormorant Garamond (Display) + DM Sans (Body)
   Ansatz: Mobile-First – Basis = Smartphone, dann Desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --slate:        #1c2b35;
  --slate-mid:    #2e3f4a;
  --slate-light:  #4a5f6b;
  --terra:        #a0522d;
  --terra-light:  #c4703f;
  --terra-dark:   #7a3a1e;
  --cream:        #f5f0e8;
  --cream-dark:   #ece5d8;
  --cream-mid:    #e0d5c4;
  --sand:         #c8b89a;
  --green:        #2d4a35;
  --green-light:  #3d6348;
  --white:        #ffffff;
  --text:         #1a1a1a;
  --text-mid:     #3d3530;
  --text-muted:   #6b5e52;
  --border:       rgba(28,43,53,0.12);
  --border-light: rgba(28,43,53,0.07);
  --shadow-sm:    0 2px 12px rgba(28,43,53,0.08);
  --shadow:       0 6px 32px rgba(28,43,53,0.10);
  --shadow-lg:    0 16px 64px rgba(28,43,53,0.14);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Touch-freundliche Mindestgröße */
  --touch-min: 48px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 600;
}

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: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.4rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
}

@media (min-width: 1024px) {
  .section-lead {
    font-size: 1.05rem;
    max-width: 560px;
  }
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--terra);
  margin-bottom: 1.75rem;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  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(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover, .btn-primary:active {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
}
@media (min-width: 1024px) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160,82,45,0.35);
  }
}

.btn-outline-dark {
  background: transparent;
  color: var(--slate);
  border-color: var(--slate);
}
.btn-outline-dark:hover, .btn-outline-dark:active {
  background: var(--slate);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover, .btn-outline-light:active {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--terra);
  border-color: var(--white);
}
.btn-white:hover, .btn-white:active {
  background: var(--cream);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover, .btn-green:active {
  background: var(--green-light);
  border-color: var(--green-light);
}

.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: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  background: rgba(245,240,232,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: 2px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color var(--transition);
  line-height: 1;
}

#nav.scrolled .nav-logo-wordmark { color: var(--slate); }

.nav-logo-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

#nav.scrolled .nav-logo-tagline { color: var(--text-muted); }

/* Desktop Nav Links – versteckt auf Mobile */
.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.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  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(--text-mid); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--terra);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after { width: 100%; }
#nav.scrolled .nav-links a:hover { color: var(--terra); }

.nav-cta-link {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--terra);
  padding: 0.55rem 1.4rem !important;
  border: 1px solid var(--terra);
  transition: all var(--transition) !important;
  min-height: auto !important;
}
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover {
  background: var(--terra-dark) !important;
  border-color: var(--terra-dark) !important;
  color: var(--white) !important;
}

/* Hamburger */
.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(--slate); }
.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 – Fullscreen */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  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(--slate);
  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.08);
  border: none;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  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.15); }

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-drawer nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  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,
.mobile-drawer nav a:active { 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.78rem;
  color: rgba(255,255,255,0.3);
  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(28,43,53,0.92) 0%,
    rgba(28,43,53,0.65) 40%,
    rgba(28,43,53,0.30) 100%
  );
}

@media (min-width: 768px) {
  .hero-gradient {
    background: linear-gradient(
      110deg,
      rgba(28,43,53,0.82) 0%,
      rgba(28,43,53,0.55) 50%,
      rgba(28,43,53,0.20) 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: 680px;
  }
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.hero-location-dot {
  width: 6px; height: 6px;
  background: var(--terra);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  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: #e8c4a0;
  font-weight: 300;
}

.hero-desc {
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  line-height: 1.85;
  max-width: 480px;
}

@media (min-width: 768px) {
  .hero-desc { font-size: 1.1rem; }
}

.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: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

.hero-metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-metric-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── INTRO STRIP ──────────────────────────────────────────── */
.intro-strip {
  background: var(--slate);
  padding: 1.75rem 0;
  overflow: hidden;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  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.85rem;
  flex-shrink: 0;
  padding: 0 1.5rem;
}

.intro-strip-item:first-child { padding-left: 0; }

.intro-strip-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro-strip-icon svg {
  width: 16px; height: 16px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-strip-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.intro-strip-text span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  white-space: nowrap;
}

.intro-strip-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  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(--text-muted);
  text-align: right;
  font-weight: 300;
  line-height: 1.8;
}

/* Mobile CTA unter dem Header */
.leistungen-mobile-cta {
  display: block;
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

@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(28,43,53,0.5) 0%, transparent 60%);
}

.leistung-num {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  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(--terra); }
}

.leistung-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

.leistung-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
}

.leistung-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  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(--cream);
  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-visual { position: relative; }

.verwaltung-img-main {
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .verwaltung-img-main { aspect-ratio: 4/5; }
}

.verwaltung-img-accent {
  display: none;
}

@media (min-width: 1100px) {
  .verwaltung-img-accent {
    display: block;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    aspect-ratio: 4/3;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
  }
}

.verwaltung-badge {
  display: none;
}

@media (min-width: 1100px) {
  .verwaltung-badge {
    display: block;
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    background: var(--terra);
    color: var(--white);
    padding: 1rem 1.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
}

.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(--terra);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aufgaben-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.15rem;
}

.aufgaben-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── PROZESS ──────────────────────────────────────────────── */
.prozess {
  background: var(--slate);
  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.4); }
.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.5);
  font-weight: 300;
}

/* Mobile: vertikale Schritte */
.prozess-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@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.1);
    z-index: 0;
  }
}

.prozess-step {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  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.15);
  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(--terra);
    background: rgba(160,82,45,0.1);
  }
}

.step-circle-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

@media (min-width: 1024px) {
  .prozess-step:hover .step-circle-num { color: var(--terra); }
}

.step-body { flex: 1; }

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-weight: 300;
}

/* ── MIETER INFO ──────────────────────────────────────────── */
.mieter {
  background: var(--cream-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(28,43,53,0.85), transparent);
  padding: 2rem 1.5rem 1.25rem;
}

.mieter-img-caption p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

.mieter-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 2rem;
}

.mieter-card {
  background: var(--cream-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: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.mieter-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .mieter-card h3 { font-size: 1.1rem; }
}

.mieter-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ── WARUM HOFILIEN ───────────────────────────────────────── */
.warum {
  background: var(--white);
  padding: 4rem 0;
}

@media (min-width: 768px) { .warum { padding: 6rem 0; } }
@media (min-width: 1024px) { .warum { padding: 8rem 0; } }

.warum-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .warum-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

.warum-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  order: -1;
}

@media (min-width: 900px) {
  .warum-img { order: 2; }
}

.warum-content { order: 1; }

.warum-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  margin-top: 0.75rem;
}

.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(--cream); }

.vorteil-icon-wrap {
  width: 32px; height: 32px;
  margin-bottom: 0.85rem;
}

.vorteil-icon-wrap svg {
  width: 100%; height: 100%;
  stroke: var(--terra);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vorteil-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.vorteil-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--terra);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .cta-band { padding: 5.5rem 0; } }

.cta-band::before {
  content: 'HOFILIEN';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.04);
  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: 600;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .cta-band h2 { font-size: 2.4rem; }
}

.cta-band h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.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(--cream);
  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.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}

.kontakt-detail-value {
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 400;
  line-height: 1.6;
}

/* Formular */
.kontakt-form-wrap {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--terra);
}

@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: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.86rem;
  color: var(--text-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.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-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(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; /* Verhindert Zoom auf iOS */
  font-weight: 400;
  color: var(--text);
  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(--terra);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-size: 1rem;
}

.form-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.65;
}

.form-success-msg {
  display: none;
  background: #f0f7f1;
  border-left: 3px solid var(--green);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 500;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--slate);
  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.08);
  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: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer-brand-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  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.5);
  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.9); }

/* Verstecke eine Spalte auf kleinen Bildschirmen */
.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.28);
  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.38);
  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(28,43,53,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;
  }
}

/* Drag-Handle für Mobile Sheet */
.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(--slate);
}

.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(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.modal-close-btn:hover {
  background: var(--cream);
  border-color: var(--slate);
  color: var(--slate);
}

.modal-body {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .modal-body { padding: 2rem 3rem 3rem; }
}

.modal-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  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(--text-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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Auf Mobile keine Verzögerungen – schnelleres Feeling */
@media (max-width: 640px) {
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0.05s;
  }
}

/* ── SAFE AREA (iPhone Notch / Home Indicator) ────────────── */
@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));
  }
}
