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

/* Skip-Link — Barrierefreiheit */
.skip-link {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  padding: 0.75rem 1.5rem; background: var(--color-primary); color: #fff;
  font-weight: 500; border-radius: 0 0 4px 4px; z-index: 10000; white-space: nowrap;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; outline: 3px solid var(--color-primary); outline-offset: -3px; }
/* Focus Visible */
*:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.15; color: var(--text-heading); letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
@media (min-width: 768px) {
  h1 { font-size: var(--fs-5xl); }
  h2 { font-size: var(--fs-4xl); }
}

p { margin-bottom: 1.5rem; max-width: 65ch; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-dark); }

.container {
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container-narrow {
  max-width: 720px; margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 10rem 0; }
.section-gray { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); color: #D8D4CE; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--warm-white); }
.section-dark p { color: #A8A29E; }

/* Number badge */
.num-badge {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary);
  display: block; margin-bottom: 1.5rem;
}

/* Buttons: Soft, nicht pushy */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer; transition: all var(--transition-medium);
  border: none; white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary); color: var(--warm-white);
}
.btn-primary:hover {
  background: var(--color-primary-dark); transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.btn-ghost {
  background: transparent; color: var(--text-heading);
  border: 1.5px solid var(--border-medium);
}
.btn-ghost:hover {
  border-color: var(--color-primary); color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--warm-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6);
}

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2rem;
  transition: all var(--transition-medium);
}
.card:hover {
  border-color: var(--warm-stone); box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

/* Divider */
.divider {
  width: 40px; height: 2px; background: var(--color-primary); margin: 2rem 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.3s; }
.reveal-d3 { transition-delay: 0.45s; }

/* ════════════════════════════════════════ */
/* BILD-STYLES                             */
/* ════════════════════════════════════════ */
.img-cover {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 4px;
  transition: transform var(--transition-slow);
}
.img-wrap {
  position: relative; overflow: hidden; border-radius: 4px;
  min-height: 280px;
}
.img-wrap:hover .img-cover {
  transform: scale(1.03);
}
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,38,34,0.5) 0%, transparent 60%);
  border-radius: 4px;
}
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem; color: var(--warm-white);
  font-size: var(--fs-sm);
}
.img-caption h4 {
  color: var(--warm-white); font-size: var(--fs-xl); margin-bottom: 0.5rem;
}

/* Hero mit Bild */
.hero-img {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/images/berlin-sky.jpg');
  background-size: cover; background-position: center 40%;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(250,250,248,0.95) 0%, rgba(250,250,248,0.80) 35%, rgba(250,250,248,0.50) 100%);
}

/* ════════════════════════════════════════ */
/* HERO – Dark Mode (Overlay auf Bild)     */
/* ════════════════════════════════════════ */
.hero-dark .hero-img::after {
  background: linear-gradient(160deg, rgba(12,12,20,0.85) 0%, rgba(12,12,20,0.65) 40%, rgba(12,12,20,0.40) 100%);
}
.hero-dark .hero-label { color: rgba(250,250,248,0.7); }
.hero-dark .hero-title { color: #FAFAF8; }
.hero-dark .hero-subtitle { color: rgba(250,250,248,0.8); }
.hero-dark .hero-path {
  background: #FAFAF8;
  border-color: rgba(60,60,75,0.15);
}
.hero-dark .hero-path:hover {
  border-color: rgba(60,60,75,0.30);
  background: #F0F0EC;
}
.hero-dark .hero-path h3 { color: #0C0C14; }
.hero-dark .hero-path p { color: #0C0C14 !important; }
.hero-dark .hero-path-num { color: #6B6B7B; }
.hero-dark .hero-path .arrow { color: var(--color-primary); }

@media (max-width: 900px) {
  .hero-paths { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 3rem) 0 4rem; }
}
::selection { background: var(--color-primary); color: white; }

/* ════════════════════════════════════════ */
/* NAV SCROLL STATE                        */
/* ════════════════════════════════════════ */
.nav-scrolled {
  box-shadow: 0 1px 0 rgba(42,38,34,0.06);
  background: rgba(250,250,248,0.98) !important;
}

/* ════════════════════════════════════════ */
/* HERO – Drei Pfade                       */
/* ════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  background: var(--bg-body);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(33,0,133,0.03) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(237,234,230,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-label {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--color-primary); font-weight: 500; margin-bottom: 2rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.1; color: var(--text-heading); max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: var(--fs-lg); color: var(--text-muted); max-width: 50ch;
  margin-bottom: 3rem; line-height: 1.7;
}
.hero-paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 2rem;
}
.hero-path {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2.5rem;
  transition: all var(--transition-medium); cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column;
}
.hero-path:hover {
  border-color: var(--color-primary); transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.hero-path-num {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-primary); font-weight: 600; margin-bottom: 1rem;
}
.hero-path h3 {
  font-size: var(--fs-xl); margin-bottom: 0.75rem; color: var(--text-heading);
}
.hero-path p {
  font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.5rem;
  line-height: 1.6; flex: 1;
}
.hero-path .arrow {
  font-size: var(--fs-sm); color: var(--color-primary); font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
}
@media (max-width: 900px) {
  .hero-paths { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 3rem) 0 4rem; }
}

/* ════════════════════════════════════════ */
/* 72 STUNDEN – TIMELINE                   */
/* ════════════════════════════════════════ */
.timeline {
  position: relative; padding-left: 2rem;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--border-light);
}
.timeline-item {
  position: relative; padding-bottom: 3rem; padding-left: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2rem; top: 0.4rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-primary); border: 3px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--color-primary);
  transform: translateX(-5px);
}
.timeline-time {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-primary); font-weight: 600; margin-bottom: 0.5rem;
}
.timeline-item h4 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.timeline-item p { font-size: var(--fs-base); color: var(--text-muted); margin-bottom: 0; }

/* ════════════════════════════════════════ */
/* GRID KOMPONENTEN                        */
/* ════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════ */
/* TESTIMONIAL                             */
/* ════════════════════════════════════════ */
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 3rem;
}
.testimonial-quote {
  font-family: var(--font-display); font-size: var(--fs-2xl);
  font-style: italic; color: var(--text-heading); line-height: 1.4;
  margin-bottom: 2rem;
}
.testimonial-author {
  font-size: var(--fs-sm); color: var(--text-muted);
}
.testimonial-author strong { color: var(--text-heading); }

/* ════════════════════════════════════════ */
/* CTA SECTION                             */
/* ════════════════════════════════════════ */
.cta-section {
  text-align: center; padding: 8rem 0;
}
.cta-section h2 { margin-bottom: 1.5rem; }
.cta-section p { margin: 0 auto 2.5rem; color: var(--text-muted); max-width: 55ch; }

/* ════════════════════════════════════════ */
/* PAGE HEADER                             */
/* ════════════════════════════════════════ */
.page-header {
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  background: var(--bg-section);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { color: var(--text-muted); max-width: 55ch; }

/* ════════════════════════════════════════ */
/* CONTACT / LEGAL                         */
/* ════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info address {
  font-style: normal; line-height: 2; margin-bottom: 2rem;
}
.contact-info strong { color: var(--text-heading); }
.contact-notruf {
  font-size: var(--fs-2xl); font-weight: 600; color: var(--color-primary);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-heading); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 1rem; font-family: var(--font-body); font-size: var(--fs-base);
  border: 1.5px solid var(--border-light); border-radius: 4px;
  background: var(--bg-card); color: var(--text-body);
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--color-primary);
}
.legal-content h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: var(--fs-2xl); }
.legal-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: var(--fs-xl); }
.legal-content p { margin-bottom: 1rem; color: var(--text-muted); }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.legal-content li { margin-bottom: 0.5rem; }

/* ════════════════════════════════════════ */
/* BREADCRUMB                              */
/* ════════════════════════════════════════ */
.breadcrumb {
  font-size: var(--fs-sm); color: var(--text-light);
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span.sep { margin: 0 0.5rem; color: var(--warm-stone); }

/* ════════════════════════════════════════ */
/* ACCORDION FAQ                           */
/* ════════════════════════════════════════ */
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}
.accordion-trigger {
  width: 100%; background: none; border: none;
  text-align: left; padding: 1.5rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: var(--fs-lg);
  color: var(--text-heading); gap: 1rem;
}
.accordion-trigger span:last-child {
  font-size: 1.5rem; font-weight: 300; color: var(--color-primary);
  flex-shrink: 0; transition: transform var(--transition-fast);
}
.accordion-item.open .accordion-trigger span:last-child {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}
.accordion-item.open .accordion-body {
  max-height: 600px; padding-bottom: 1.5rem;
}
.accordion-body p { color: var(--text-muted); margin-bottom: 0; font-size: var(--fs-base); }

/* ════════════════════════════════════════ */
/* VARIANTEN / OPTIONEN GRID               */
/* ════════════════════════════════════════ */
.variant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2rem; }
.variant-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; overflow: hidden; transition: all var(--transition-medium);
}
.variant-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-4px); }
.variant-card .variant-img { height: 200px; overflow: hidden; }
.variant-card .variant-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.variant-card:hover .variant-img img { transform: scale(1.04); }
.variant-card .variant-body { padding: 1.75rem; }
.variant-card h4 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.variant-card p { font-size: var(--fs-base); color: var(--text-muted); margin-bottom: 0; }
.variant-meta {
  display: flex; gap: 1rem; margin-top: 1rem;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary); font-weight: 600;
}

/* ════════════════════════════════════════ */
/* ABLAUF TIMELINE (horizontal scroll)     */
/* ════════════════════════════════════════ */
.process-timeline {
  display: flex; gap: 0; position: relative;
}
.process-step {
  flex: 1; position: relative; padding: 2rem 1.5rem 0;
  text-align: center; border-top: 2px solid var(--border-light);
}
.process-step::before {
  content: attr(data-step);
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: white;
  font-size: var(--fs-sm); font-weight: 700; line-height: 40px;
}
.process-step h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.process-step p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 0; }
@media (max-width: 768px) {
  .process-timeline { flex-direction: column; gap: 2rem; }
  .process-step { border-top: none; border-left: 2px solid var(--border-light); text-align: left; padding: 0 0 0 2rem; }
  .process-step::before { left: -20px; top: 0; transform: none; }
}

/* ════════════════════════════════════════ */
/* BLOCKQUOTE / INFO-BOX                   */
/* ════════════════════════════════════════ */
.blockquote-section {
  background: var(--bg-section); border-left: 3px solid var(--color-primary);
  padding: 2rem 2.5rem; margin: 3rem 0;
}
.blockquote-section p.quote {
  font-family: var(--font-display); font-size: var(--fs-xl); font-style: italic;
  color: var(--text-heading); line-height: 1.5; margin-bottom: 1rem;
}
.blockquote-section .source {
  font-size: var(--fs-sm); color: var(--text-muted);
}

.info-box {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2rem; margin: 2rem 0;
}
.info-box h4 {
  font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary); margin-bottom: 1rem; font-weight: 600;
}
.info-box ul { margin-left: 1.2rem; color: var(--text-body); }
.info-box li { margin-bottom: 0.5rem; }

/* ════════════════════════════════════════ */
/* WUSSTEN SIE SCHON                       */
/* ════════════════════════════════════════ */
.trivia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.5rem; }
.trivia-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; padding: 2rem;
  transition: all var(--transition-medium);
}
.trivia-item:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.trivia-num {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-primary); font-weight: 700; display: block; margin-bottom: 0.75rem;
}
.trivia-item p { font-size: var(--fs-base); color: var(--text-body); margin-bottom: 0; line-height: 1.6; }

/* ════════════════════════════════════════ */
/* TYPE CHECK / PASSEND FÜR WEN            */
/* ════════════════════════════════════════ */
.type-check {
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--warm-sand) 100%);
  border-radius: 4px; padding: 3rem;
}
.type-check h3 { margin-bottom: 1.5rem; }
.type-list { display: flex; flex-direction: column; gap: 1rem; }
.type-row {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bg-card); border-radius: 4px; padding: 1.5rem;
  border: 1px solid var(--border-light);
}
.type-row svg { flex-shrink: 0; margin-top: 0.2rem; }
.type-row h5 { font-size: var(--fs-base); margin-bottom: 0.25rem; color: var(--text-heading); }
.type-row p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 0; }

/* ════════════════════════════════════════ */
/* PARALLAX & MICRO-IMPRESSIONS            */
/* ════════════════════════════════════════ */

/* Parallax background */
.parallax-wrap {
  position: relative;
  overflow: hidden;
}
.parallax-img {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(250,250,248,0.92) 0%, rgba(250,250,248,0.70) 40%, rgba(250,250,248,0.30) 100%);
}
.parallax-wrap .hero-inner { position: relative; z-index: 2; }

/* Floating decorative number */
.float-num {
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 18rem);
  line-height: 0.8;
  color: var(--color-primary);
  opacity: 0.08;
  position: absolute;
  top: -1rem;
  left: -2rem;
  pointer-events: none;
  user-select: none;
}

/* Subtle grain overlay for depth */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Ken Burns subtle zoom on load */
@keyframes heroZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}
.hero-animate-bg {
  animation: heroZoom 8s ease-out forwards;
}

/* Gentle float animation */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-hover:hover {
  animation: gentleFloat 3s ease-in-out infinite;
}

/* Image parallax scroll via intersection observer */
.img-parallax .parallax-img {
  transition: transform 0.1s linear;
}

/* Elegant branch locations */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}
.branch-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.branch-card:first-child { border-right: 1px solid var(--border-light); }
.branch-card .branch-img {
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.branch-card .branch-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.branch-card:hover .branch-img img {
  transform: scale(1.06);
}
.branch-card .branch-body {
  padding: 2.5rem;
}
.branch-card address {
  font-style: normal;
  line-height: 2;
  color: var(--text-muted);
  font-size: var(--fs-lg);
}
@media (max-width: 900px) {
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card:first-child { border-right: none; border-bottom: 1px solid var(--border-light); }
}

/* Subtle section entrance */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-enter {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-slow), transform 0.8s var(--transition-slow);
}
.section-enter.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dela yed entrance stagger */
.enter-d1 { transition-delay: 0.1s; }
.enter-d2 { transition-delay: 0.2s; }
.enter-d3 { transition-delay: 0.3s; }
.enter-d4 { transition-delay: 0.4s; }

/* Hero image overlay variant - dark atmospheric */
.hero-dark .parallax-img::after {
  background: linear-gradient(135deg, rgba(42,38,34,0.85) 0%, rgba(42,38,34,0.60) 50%, rgba(42,38,34,0.30) 100%);
}
.hero-dark h1, .hero-dark .hero-label, .hero-dark p { color: #EDEAE6; }

/* Soft shadow on images */
.img-soft-shadow {
  box-shadow: 0 20px 60px rgba(42,38,34,0.12);
}
.page-hero-mini {
  min-height: 55vh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  position: relative; overflow: hidden;
  background: var(--bg-dark); color: var(--warm-white);
}
.page-hero-mini .hero-img { opacity: 0.5; }
.page-hero-mini .hero-img::after {
  background: linear-gradient(to top, rgba(42,38,34,0.95) 0%, rgba(42,38,34,0.5) 60%, rgba(42,38,34,0.2) 100%);
}
.page-hero-mini .hero-label { color: var(--text-light); }
.page-hero-mini h1 { color: var(--warm-white); max-width: 16ch; }
.page-hero-mini p { color: #A8A29E; max-width: 50ch; }

/* ════════════════════════════════════════ */
/* GALLERY ROW                             */
/* ════════════════════════════════════════ */
.gallery-row { display: flex; gap: 1rem; margin: 2rem 0; }
.gallery-row .img-wrap { flex: 1; min-height: 220px; border-radius: 4px; }
@media (max-width: 768px) {
  .gallery-row { flex-direction: column; }
  .gallery-row .img-wrap { min-height: 180px; }
}

/* narrow container for articles */
.article-body { max-width: 720px; margin: 0 auto; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .section-lg { padding: 6rem 0; }
  .process-timeline { flex-direction: column; }
  .gallery-row { flex-direction: column; }
  .variant-card .variant-img { height: 160px; }
}

/* ════════════════════════════════════════ */
/* MOBILE RESPONSIVE FIXES                  */
/* ════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Container-Padding */
  :root { --container-pad: 1.25rem; }

  /* Hero-Typografie */
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); line-height: 1.05; max-width: none; }
  .hero-subtitle { font-size: var(--fs-base); max-width: none; }
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }

  /* Parallax-Hero (dunkle Seiten) */
  .parallax-wrap.hero-dark { min-height: 55vh !important; padding: calc(var(--header-h) + 3rem) 0 3rem !important; }
  .parallax-wrap.hero-dark h1 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
  .parallax-wrap.hero-dark .hero-inner p { font-size: var(--fs-base) !important; max-width: none; }

  /* Ratgeber/Detail: 2-Spalten-Grid (auto 1fr) -> Stapeln */
  .article-body > div > div[style*="grid-template-columns:auto 1fr"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 2rem 0 !important; }
  .article-body > div > div[style*="grid-template-columns:auto 1fr"] > span { font-size: var(--fs-2xl) !important; }

  /* Cards auf 1 Spalte */
  div[style*="grid-template-columns:repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
  .card { padding: 1.5rem !important; }

  /* Sektionen-Padding reduzieren */
  section[style*="padding-top:8rem"] { padding-top: 3.5rem !important; }
  section[style*="padding:8rem 0"] { padding: 3.5rem 0 !important; }
  section[style*="padding-top:10rem"] { padding-top: 4rem !important; }

  /* Info-Box/Quote */
  .blockquote-section { padding: 1.5rem; margin: 2rem 0; }
  .blockquote-section p.quote { font-size: var(--fs-lg); }

  /* Variante-Grid */
  .variant-grid { grid-template-columns: 1fr !important; }

  /* Process-Timeline */
  .process-timeline { flex-direction: column !important; gap: 2rem; }
  .process-step { border-top: none; border-left: 2px solid var(--border-light); text-align: left; padding: 0 0 0 2rem; }
  .process-step::before { left: -20px; top: 0; transform: none; }

  /* Formulare */
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* CTA */
  .cta-section { padding: 4rem 0; }

  /* Page header */
  .page-header { padding: calc(var(--header-h) + 3rem) 0 3rem; }

  /* Typografie Skalierung */
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-lg); }

  /* Image-wrap */
  .img-wrap { min-height: 180px; }

  /* Trivia-Grid */
  .trivia-grid { grid-template-columns: 1fr !important; }

  /* Type-Check */
  .type-check { padding: 1.5rem; }
  .type-row { flex-direction: column; padding: 1rem; }

  /* Accordion */
  .accordion-trigger { font-size: var(--fs-base); padding: 1.25rem 0; }

  /* Buttons */
  .btn { width: 100%; justify-content: center; }

  /* Hero-paths (Startseite) */
  .hero-paths { grid-template-columns: 1fr !important; }
  .hero-path { padding: 1.75rem; }
}

@media (max-width: 400px) {
  :root { --container-pad: 1rem; }
  .hero-title { font-size: clamp(1.75rem, 12vw, 2.5rem); }
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }
}

/* Touch-Device: Kein Hover-Scale auf touch */
@media (hover: none) and (pointer: coarse) {
  .card:hover, .hero-path:hover, .variant-card:hover, .trivia-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .img-wrap:hover .img-cover, .variant-card:hover .variant-img img {
    transform: none !important;
  }
}