/*
Theme Name:  Alster Umzüge
Theme URI:   https://alster-umzuege.de
Author:      Saahy / Alster Umzüge
Description: Custom one-page theme for Alster Umzüge, Hamburg. Block-based front page, self-hosted fonts, GDPR-friendly, no external requests.
Version:     2.0.0
Requires PHP: 7.4
License:     Proprietary
Text Domain: alster
*/

/* ==========================================================================
   1. Fonts (self-hosted, GDPR-clean)
   ========================================================================== */
@font-face {
  font-family: 'Archivo Black';
  src: url('assets/fonts/archivo-black-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */
:root {
  /* Brand red — adjust here to match the exact logo tone */
  --rot: #c4161c;
  --rot-dunkel: #9e1015;
  --tinte: #17191d;
  --tinte-soft: #3c4048;
  --papier: #faf8f4;
  --weiss: #ffffff;
  --karton: #e8dfd0;        /* kraft cardboard */
  --karton-dunkel: #d9cbb4;
  --linie: #e3ddd2;
  --logo-rot: #c80000;      /* exact background red of the logo file */

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 25, 29, .08);
  --shadow-lg: 0 20px 50px rgba(23, 25, 29, .14);
  --ease-lux: cubic-bezier(.22, .8, .26, .99);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--rot); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 10px; top: 10px; }

.lead { font-size: 1.2rem; color: var(--tinte-soft); }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: transform .18s var(--ease-lux), background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn-rot { background: var(--rot); color: #fff; box-shadow: 0 6px 18px rgba(196, 22, 28, .3); }
.btn-rot:hover { background: var(--rot-dunkel); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.btn-ghost:hover { background: var(--tinte); color: #fff; }
.btn-hell { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-hell:hover { background: #fff; color: var(--tinte); }
.btn-weiss { background: #fff; color: var(--rot); }
.btn-weiss:hover { transform: translateY(-2px); }

/* Packing tape label — the signature element */
.tape {
  display: inline-block; position: relative; background: var(--rot); color: #fff;
  font-family: var(--font-display); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .14em; padding: 7px 18px; transform: rotate(-1.6deg);
  margin-bottom: 22px; box-shadow: 0 4px 12px rgba(158, 16, 21, .28);
}
.tape::before, .tape::after {
  content: ''; position: absolute; top: 0; width: 7px; height: 100%;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 55% 12%, 100% 25%, 45% 38%, 100% 50%, 50% 63%, 100% 75%, 48% 88%, 100% 100%, 0 100%);
}
.tape::before { left: -6px; transform: scaleX(-1); }
.tape::after { right: -6px; }
.tape--karton { background: var(--karton-dunkel); color: var(--tinte); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux); }
.reveal.in { opacity: 1; transform: none; }

/* Image clip reveal (curtain from the left) */
.img-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-lux); }
.img-reveal.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .img-reveal { opacity: 1; transform: none; clip-path: none; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 160; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%; background: var(--rot);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 150;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--linie); box-shadow: 0 8px 30px rgba(23,25,29,.07); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 82px; transition: height .25s ease; }
.site-header.scrolled .header-inner { height: 68px; }

.site-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.15rem; color: var(--tinte); text-decoration: none !important; }
.site-logo img { height: 48px; width: auto; transition: height .25s ease; }
.site-header.scrolled .site-logo img { height: 40px; }
/* Logo chip: for logo files that come with a red background — the logo sits
   on a matching red surface, so the background reads as intentional. */
.site-logo.logo-chip { background: var(--logo-rot); padding: 7px 14px; border-radius: 8px; box-shadow: 0 6px 16px rgba(158,16,21,.25); }
.site-logo.logo-chip img { height: 40px; }
.site-header.scrolled .site-logo.logo-chip img { height: 34px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--tinte); font-weight: 500; font-size: .98rem; position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--rot); transition: right .25s var(--ease-lux);
}
.main-nav a:hover { color: var(--rot); text-decoration: none; }
.main-nav a:hover::after { right: 0; }
.header-cta { white-space: nowrap; padding: 11px 20px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--tinte); border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--papier); border-bottom: 1px solid var(--linie); padding: 18px 24px 26px; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .header-cta { display: none; }
}

/* ==========================================================================
   5. Hero — full-height, photographic, ink-dark
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--tinte);
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 110px;
}
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  opacity: .5; will-change: transform;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(23,25,29,.96) 0%, rgba(23,25,29,.82) 38%, rgba(23,25,29,.35) 70%, rgba(23,25,29,.55) 100%);
}
/* subtle film grain for depth */
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .35; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero-copy .tape { transform: rotate(-2deg); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 span { color: #ff5257; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; list-style: none; margin: 0; }
.hero-badges li { font-weight: 500; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 9px; padding: 0; }
.hero-badges .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5257; flex: none; }

/* Split-word headline animation */
[data-split] .w {
  display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg);
  transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux);
  transition-delay: calc(var(--i) * 70ms);
}
[data-split].in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-split] .w { opacity: 1; transform: none; } }

/* Floating sofa cutout */
.hero-sofa { position: relative; align-self: end; pointer-events: none; }
.hero-sofa img {
  width: min(46vw, 560px); margin-left: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.5));
  animation: sofa-float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes sofa-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 0 -14px; rotate: -.8deg; }
}
@media (prefers-reduced-motion: reduce) { .hero-sofa img { animation: none; } }
.hero-sofa--still img { animation: none; }

/* Red tape marquee at the hero base */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  background: var(--rot); color: #fff; overflow: hidden;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
  padding: 12px 0;
  /* serrated top edge, like a torn tape strip */
  clip-path: polygon(0 8px, 2% 0, 4% 8px, 6% 2px, 8% 8px, 10% 0, 12% 7px, 14% 2px, 16% 8px, 18% 1px, 20% 8px, 22% 0, 24% 8px, 26% 2px, 28% 8px, 30% 0, 32% 7px, 34% 2px, 36% 8px, 38% 1px, 40% 8px, 42% 0, 44% 8px, 46% 2px, 48% 8px, 50% 0, 52% 7px, 54% 2px, 56% 8px, 58% 1px, 60% 8px, 62% 0, 64% 8px, 66% 2px, 68% 8px, 70% 0, 72% 7px, 74% 2px, 76% 8px, 78% 1px, 80% 8px, 82% 0, 84% 8px, 86% 2px, 88% 8px, 90% 0, 92% 7px, 94% 2px, 96% 8px, 98% 1px, 100% 8px, 100% 100%, 0 100%);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  padding-left: 26px;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee-track i { font-style: normal; opacity: .55; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

@media (max-width: 980px) {
  .hero { min-height: 0; padding: 80px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sofa { display: none; }
  .hero-bg img { object-position: 70% 50%; }
}

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding: 100px 0; }
.section-kopf { max-width: 720px; margin-bottom: 54px; }
.section--karton { background: var(--karton); }

/* Dark service section with photographic backdrop */
.section--tinte { background: var(--tinte); color: #f2efe9; position: relative; overflow: hidden; }
.section--tinte h2 { color: #fff; }
.section--tinte .wrap { position: relative; z-index: 2; }
.tinte-bg { position: absolute; inset: -12% 0; z-index: 0; }
.tinte-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; will-change: transform; }
.section--tinte::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(23,25,29,.7), rgba(23,25,29,.35) 50%, rgba(23,25,29,.8));
}

.section--zahlen { padding: 80px 0; }

/* Leistungen */
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .leistungen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .leistungen-grid { grid-template-columns: 1fr; } }
.leistung {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .25s var(--ease-lux), box-shadow .25s var(--ease-lux);
}
.leistung::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--rot); transition: width .25s var(--ease-lux);
}
.leistung:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leistung:hover::after { width: 5px; }
.leistung-icon {
  width: 54px; height: 54px; border-radius: 12px; background: rgba(196,22,28,.09); color: var(--rot);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-lux);
}
.leistung:hover .leistung-icon { background: var(--rot); color: #fff; transform: rotate(-4deg) scale(1.04); }
.leistung-icon svg { width: 26px; height: 26px; }
.leistung p { color: var(--tinte-soft); font-size: .97rem; margin-bottom: 0; }

/* Über uns */
.ueber-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .ueber-grid { grid-template-columns: 1fr; gap: 40px; } }
.ueber-media { margin: 0; }
.ueber-media img { width: 100%; object-fit: cover; }
.ueber-fakt { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; color: var(--rot); margin-top: 8px; }

/* Taped photo frame — used in Über uns and the gallery band */
.foto-tape {
  background: #fff; padding: 12px 12px 16px; border-radius: 4px;
  box-shadow: var(--shadow-lg); rotate: var(--tilt, 0deg);
  transition: rotate .35s var(--ease-lux), transform .35s var(--ease-lux), box-shadow .35s ease;
  position: relative; margin: 0;
}
.foto-tape::before, .foto-tape::after {
  content: ''; position: absolute; width: 92px; height: 26px; background: rgba(196,22,28,.85);
  box-shadow: 0 2px 6px rgba(0,0,0,.18); z-index: 2;
}
.foto-tape::before { top: -12px; left: 8%; rotate: -5deg; }
.foto-tape::after { top: -12px; right: 8%; rotate: 4deg; }
.foto-tape:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 30px 60px rgba(23,25,29,.22); }
.foto-tape img { border-radius: 2px; }

/* Galerie band */
.section--galerie { padding-bottom: 110px; overflow: hidden; }
.galerie-band {
  display: flex; gap: 34px;
  padding: 26px 0 18px max(24px, calc((100vw - var(--max-w)) / 2));
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--karton-dunkel) transparent;
}
/* trailing spacer: keeps the last photo fully visible at scroll end */
.galerie-band::after {
  content: ''; flex: 0 0 max(24px, calc((100vw - var(--max-w)) / 2));
}
.galerie-band .foto-tape { flex: 0 0 clamp(260px, 32vw, 420px); scroll-snap-align: center; }
.galerie-band .foto-tape img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat-zahl { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--rot); line-height: 1; }
.stat-label { font-weight: 500; color: var(--tinte-soft); margin-top: 8px; }

/* Service-Liste */
.service-liste { columns: 3; column-gap: 46px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .service-liste { columns: 2; } }
@media (max-width: 620px) { .service-liste { columns: 1; } }
.service-liste li { break-inside: avoid; padding: 9px 0 9px 32px; position: relative; color: #e8e4dc; }
.service-liste li::before {
  content: ''; position: absolute; left: 0; top: 13px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--rot);
}
.service-liste li::after {
  content: ''; position: absolute; left: 5px; top: 17px; width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: transform .25s var(--ease-lux), box-shadow .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.team-card .team-body { padding: 22px; }
.team-card h3 { margin-bottom: 4px; }
.team-rolle { color: var(--tinte-soft); font-size: .95rem; }

/* Kundenstimmen */
.zitate { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .zitate { grid-template-columns: 1fr; } }
.zitat { background: var(--weiss); border: 1px solid var(--linie); border-left: 6px solid var(--rot); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin: 0; }
.zitat p { font-size: 1.05rem; font-style: italic; color: var(--tinte-soft); }
.zitat footer { font-weight: 700; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .22s var(--ease-lux), box-shadow .22s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--tinte-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post-card h3 a { color: var(--tinte); }
.post-card h3 a:hover { color: var(--rot); text-decoration: none; }

/* Quote / contact section */
.angebot-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .angebot-grid { grid-template-columns: 1fr; gap: 36px; } }
.kontakt-block { margin-bottom: 26px; }
.kontakt-block h3 { margin-bottom: 6px; }
.kontakt-block a { font-family: var(--font-display); font-size: 1.4rem; color: var(--tinte); }
.kontakt-block a:hover { color: var(--rot); text-decoration: none; }
.kontakt-hinweis { font-size: .92rem; color: var(--tinte-soft); }
.form-panel { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.form-fallback { display: grid; gap: 14px; }

/* Generic form styling (covers CF7 or a custom plugin later) */
.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"],
.form-panel input[type="date"],
.form-panel textarea,
.form-panel select {
  width: 100%; padding: 13px 15px; border: 2px solid var(--linie); border-radius: 8px;
  font: inherit; background: var(--papier); color: var(--tinte); margin: 6px 0 16px;
}
.form-panel input:focus, .form-panel textarea:focus, .form-panel select:focus {
  outline: none; border-color: var(--rot);
}
.form-panel input[type="submit"], .form-panel button[type="submit"] {
  background: var(--rot); color: #fff; font-weight: 700; border: none;
  padding: 15px 30px; border-radius: var(--radius); cursor: pointer;
}
.form-panel input[type="submit"]:hover, .form-panel button[type="submit"]:hover { background: var(--rot-dunkel); }

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer { background: var(--tinte); color: #cfcbc2; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 46px; margin-bottom: 46px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #cfcbc2; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-legal { border-top: 1px solid #2b2e34; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; font-size: .9rem; }

/* ==========================================================================
   8. Inner pages (blog posts, Impressum, Datenschutz …)
   ========================================================================== */
.page-content { padding: 70px 0; }
.page-content .entry { max-width: 780px; }
.entry h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.entry img { border-radius: var(--radius); }
.entry-meta { color: var(--tinte-soft); font-size: .92rem; margin-bottom: 30px; }

/* ==========================================================================
   9. Block editor niceties
   ========================================================================== */
.editor-styles-wrapper .hero { min-height: 0; }
.editor-styles-wrapper .reveal,
.editor-styles-wrapper .img-reveal,
.editor-styles-wrapper [data-split] .w { opacity: 1; transform: none; clip-path: none; }

/* ==========================================================================
   10. Angebot modal
   ========================================================================== */
body.modal-open { overflow: hidden; }
.angebot-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.angebot-modal[hidden] { display: none; }
.angebot-modal-backdrop {
  position: absolute; inset: 0; background: rgba(23, 25, 29, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.angebot-modal-panel {
  position: relative; background: var(--papier); border-radius: 14px;
  width: min(640px, 100%); max-height: min(86vh, 900px); overflow-y: auto;
  padding: 40px 38px 34px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .25s var(--ease-lux), transform .25s var(--ease-lux);
}
.angebot-modal.open .angebot-modal-backdrop { opacity: 1; }
.angebot-modal.open .angebot-modal-panel { opacity: 1; transform: none; }
.angebot-modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: none; border-radius: 50%; background: var(--karton); color: var(--tinte);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .18s ease, transform .18s var(--ease-lux);
}
.angebot-modal-close:hover { background: var(--rot); color: #fff; transform: rotate(90deg); }
.angebot-modal-panel h2 { margin-top: 4px; }
.form-panel--modal { border: none; box-shadow: none; padding: 0; background: transparent; margin-top: 10px; }
@media (max-width: 560px) {
  .angebot-modal { padding: 12px; }
  .angebot-modal-panel { padding: 30px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .angebot-modal-backdrop, .angebot-modal-panel { transition: none; opacity: 1; transform: none; }
}
