/* ==========================================================
   Julez CMS – Standard-Design (dunkel, modern)
   Kundenfarben kommen aus theme.css (Variablen --bronze, --bronze-light, --red, --bg, --surface, --text).
   ========================================================== */

:root {
  --bg: #0b0a0a;
  --bg-2: #110f0f;
  --surface: #171414;
  --surface-2: #1f1b1a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(201, 150, 95, .4);
  --text: #efe9e2;
  --muted: #a49b92;
  --bronze: #c9965f;
  --bronze-light: #e9c592;
  --red: #c4302a;
  --ok: #8fbf7a;
  --error: #ee7a6a;
  --radius: 10px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
    /* seit 5.6: frühere feste Farbwerte als Variablen – helle Designs überschreiben sie in theme.css */
  --strong: #fff;            /* hervorgehobener Text, Hover */
  --text-2: #d6cec6;         /* Fließtext, Adressen, Hinweise */
  --on-accent: #120d09;      /* Text auf Akzentflächen (Buttons, Chips) */
  --tint: #fff;              /* Grundton für feine Rahmen/Flächen (dunkel: weiß, hell: dunkel) */
  --field-border: rgba(255,255,255,.12);
  --overlay: #0b0a0a;        /* Grundton für Schleier über Bildern/Kopf (meist = --bg) */
  --footer-bg: #070606;
  --title-to: #d8b48a;       /* Verlaufsende der großen Startbild-Überschrift */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-light); text-underline-offset: .22em; }
a:hover { color: var(--strong); }
:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--bronze); color: var(--on-accent); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--bronze); color: var(--on-accent); padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* Filmkorn über allem */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url("../img/noise.svg"); opacity: .55; mix-blend-mode: overlay; }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.1rem;
  font: 600 .74rem/1.3 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); flex: none; }
.section-title, .page-title, .hero-title, .cta-title {
  text-transform: uppercase; text-wrap: balance;
  background: linear-gradient(180deg, var(--strong) 35%, var(--title-to)) 0 0 / 100% 1.05em repeat-y;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.05;
}
.section-title { font-size: clamp(2rem, 5vw, 3.8rem); }
.page-title { font-size: clamp(2.6rem, 8vw, 6rem); }
.card-title { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.prose { color: var(--text-2); }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; text-transform: uppercase; letter-spacing: .02em; }
.prose h2 { font-size: 1.3rem; }
.prose h3 { font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--bronze); }
.prose strong { color: var(--strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px;
  font: 700 .82rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .12em; text-decoration: none;
  color: var(--on-accent); background: var(--bronze); border: 1px solid var(--bronze); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--on-accent); }
.btn:hover .icon { transform: translateX(4px); }
.btn-ghost { background: color-mix(in srgb, var(--tint) 4%, transparent); color: var(--text); border-color: color-mix(in srgb, var(--tint) 28%, transparent); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: color-mix(in srgb, var(--tint) 10%, transparent); border-color: var(--strong); color: var(--strong); }
.btn-lg { min-height: 56px; padding: .9em 1.9em; font-size: .86rem; }
.btn-small { min-height: 40px; padding: .5em 1.2em; font-size: .74rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font: 600 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--bronze-light); white-space: nowrap; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; transition: border-color .35s; border-bottom: 1px solid transparent; }
/* Hintergrund und Unschärfe auf eigener Ebene: ein backdrop-filter direkt am Header würde ihn zum
   Bezugsrahmen des fixierten Mobilmenüs machen und dieses auf Headerhöhe abschneiden */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: color-mix(in srgb, var(--overlay) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .35s; }
.site-header.is-scrolled, .site-header.is-solid { border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .site-header.is-solid::before { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: 118px; transition: width .3s var(--ease); }
.is-scrolled .brand img { width: 96px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .14em; padding: .5em 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav ul a[aria-current="page"] { color: var(--bronze-light); }
.nav-contact { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 14px; width: 18px; height: 2px; background: var(--text); content: ""; transition: transform .3s var(--ease), background .2s; }
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
    padding: 100px var(--gutter) 40px; background: color-mix(in srgb, var(--overlay) 97%, transparent); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .site-header.nav-open { border-bottom-color: transparent; }
  .site-header.nav-open::before { opacity: 0; transition: none; }
  .main-nav ul { flex-direction: column; gap: 10px; }
  .main-nav ul a:not(.btn) { display: inline-block; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: 0; line-height: 1.1; padding: .08em 0 .14em; }
  .main-nav ul a::after { height: 2px; }
  .nav-contact { display: block; margin: 0; }
  .nav-contact a { display: inline-flex; gap: .5em; align-items: center; color: var(--muted) !important; font-size: 1rem !important; text-transform: none !important; letter-spacing: 0 !important; }
  .brand img, .is-scrolled .brand img { width: 92px; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 100px; }
.hero-media, .page-head-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.hero-media img, .page-head-media img { filter: grayscale(.35) contrast(1.1) brightness(.6); }
.shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--overlay) 55%, transparent) 0%, color-mix(in srgb, var(--overlay) 35%, transparent) 40%, var(--bg) 100%), radial-gradient(ellipse at 50% 40%, transparent 0%, color-mix(in srgb, var(--overlay) 70%, transparent) 75%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { width: min(480px, 78vw); margin-bottom: clamp(20px, 4vw, 36px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.8)); }
.hero-title { font-size: clamp(2.8rem, 9vw, 7.2rem); max-width: 14ch; margin-bottom: .3em; }
.hero-text { max-width: 58ch; color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero .btn-row { justify-content: center; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid color-mix(in srgb, var(--tint) 40%, transparent); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze-light); animation: scrollhint 1.8s var(--ease) infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Laufband ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-group span { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; padding: 0 .5em; white-space: nowrap; }
.marquee-group span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--bronze-light) 70%, transparent); }
.marquee-group i { color: var(--red); font-style: normal; font-size: 1.2rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-static p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section-tight { padding-top: clamp(24px, 4vw, 48px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.section-head.left { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; align-items: start; }
.split-form { align-items: start; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split-wide, .split-form { grid-template-columns: 1fr; } }

.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--surface); }
.media-frame > div, .media-frame > img, .media-frame > picture > img { position: absolute; inset: -8% 0; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--tint) 8%, transparent); border-radius: inherit; pointer-events: none; }

/* Über uns */
.about { overflow: hidden; }
.about-year { position: absolute; right: -2vw; top: 6%; font-size: clamp(8rem, 26vw, 24rem); font-weight: 900; line-height: .8; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--bronze) 13%, transparent); pointer-events: none; user-select: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 2.2rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat dt { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--bronze-light); line-height: 1; margin-bottom: 8px; }
.stat dd { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }

/* Leistungen – Bento */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(240px, 22vw, 320px); gap: 14px; }
.service { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); isolation: isolate; }
.service-feature { grid-column: span 2; grid-row: span 2; }
.service-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); filter: grayscale(.5) brightness(.55); transition: transform 1.2s var(--ease), filter .6s; }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--overlay) 0%, transparent) 30%, color-mix(in srgb, var(--overlay) 92%, transparent) 100%); }
.service:hover .service-img, .service:focus-within .service-img { transform: scale(1.12); filter: grayscale(0) brightness(.7); }
.service-body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2.4vw, 32px); }
.service-num { font: 600 .72rem var(--mono); color: var(--bronze); letter-spacing: .2em; }
.service h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); text-transform: uppercase; margin: .3em 0 .35em; }
.service-feature h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.service p { color: var(--text-2); font-size: .95rem; margin-bottom: .8em; max-width: 46ch; }
.service:not(.service-feature) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-link { display: inline-flex; gap: .5em; align-items: center; font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--bronze-light); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.service-feature::before { content: "Spezialgebiet"; position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 700 .68rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 28px; } .service { min-height: 300px; } .service-feature { grid-column: auto; grid-row: span 1; min-height: 420px; } }

/* Cover-up-Teaser */
.coverup-teaser { overflow: hidden; }
.red-glow { position: absolute; left: -20%; top: 10%; width: 70%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 22%, transparent), transparent); pointer-events: none; }
.coverup-teaser .split-media { max-width: 520px; justify-self: end; width: 100%; }

/* Vorher/Nachher-Regler */
.ba { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--surface); user-select: none; touch-action: pan-y; }
.ba .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.6); pointer-events: none; }
.ba-handle .icon { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; padding: 11px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bronze); color: var(--on-accent); box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.ba-label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--overlay) 75%, transparent); backdrop-filter: blur(6px); font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .18em; pointer-events: none; }
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; color: var(--bronze-light); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--bronze-light); outline-offset: 4px; }
.ba-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-edit figure { margin: 0; }
.ba-edit figcaption { font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 90px); }
.ba-card { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.ba-card:nth-child(even) .ba, .ba-card:nth-child(even) .ba-edit { order: 2; }
.ba-text h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); text-transform: uppercase; margin-top: .3em; }
.ba-text p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
@media (max-width: 800px) { .ba-card { grid-template-columns: 1fr; } .ba-card:nth-child(even) .ba { order: 0; } }
.hint-drag { display: flex; gap: .6em; align-items: center; justify-content: center; margin-top: 40px; color: var(--muted); font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .14em; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 32px 28px 8px 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--bronze); transition: width .8s var(--ease); }
.step:hover::before { width: 100%; }
.step-num { display: block; font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.step p { color: var(--muted); font-size: .96rem; }

/* Galerie-Streifen (horizontal) */
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--bronze) transparent; cursor: grab; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging a { pointer-events: none; }
.strip-item { position: relative; flex: 0 0 auto; height: clamp(320px, 52vh, 540px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
.strip-item img { height: 100%; width: auto; max-width: none; transition: transform 1s var(--ease); }
.strip-item:hover img { transform: scale(1.05); }
.strip-cap { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--overlay) 75%, transparent); color: var(--text); font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }

/* Airbrush-Band */
.airbrush-band { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 190px) 0; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 70% 50%, color-mix(in srgb, var(--bronze) 10%, transparent), transparent 60%), var(--bg-2); }
.airbrush-word { position: absolute; top: 50%; left: 0; transform: translateY(-50%); white-space: nowrap; font-size: clamp(6rem, 18vw, 16rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--tint) 7%, transparent); pointer-events: none; will-change: transform; }
.airbrush-inner { position: relative; max-width: 760px; margin-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }

/* Einzugsgebiet */
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cities li { border-bottom: 1px solid var(--line); }
.cities li:nth-child(odd) { border-right: 1px solid var(--line); }
.city { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 20px 18px; text-decoration: none; color: var(--text); transition: background .3s, padding .3s var(--ease); }
.city:hover { background: var(--surface); padding-left: 26px; color: var(--strong); }
.city-name { font-weight: 700; font-size: 1.1rem; }
.city-meta { grid-column: 1; font: 500 .72rem var(--mono); color: var(--muted); letter-spacing: .06em; }
.city .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--bronze); transition: transform .3s var(--ease); }
.city:hover .icon { transform: translateX(4px); }
.region-home { display: flex; gap: .5em; align-items: center; color: var(--muted); font-size: .95rem; margin-top: 1.5rem; }
@media (max-width: 500px) { .cities { grid-template-columns: 1fr; } .cities li:nth-child(odd) { border-right: 0; } }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 26px 56px 26px 0; position: relative; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: linear-gradient(var(--bronze-light), var(--bronze-light)) center / 12px 1.5px no-repeat, linear-gradient(var(--bronze-light), var(--bronze-light)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item summary:hover { color: var(--bronze-light); }
.faq-item .prose { color: var(--muted); padding: 0 56px 18px 0; }

/* Karten */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.card { padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--bronze-light); }
.card p { color: var(--muted); margin: 0; }

/* Airbrush-Bereiche */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }
.area-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); margin-bottom: 20px; background: var(--surface); }
.area-media img { transition: transform 1s var(--ease); }
.area:hover .area-media img { transform: scale(1.06); }
.area h3 { font-size: 1.25rem; text-transform: uppercase; }
.area p { color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 13vw, 180px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); aspect-ratio: 2; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--bronze) 18%, transparent), color-mix(in srgb, var(--red) 8%, transparent) 50%, transparent); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(2.4rem, 7vw, 5.8rem); max-width: 16ch; }
.cta-inner > p { color: var(--muted); font-size: 1.15rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Unterseiten-Kopf ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 90px); }
.page-head.has-bg { min-height: min(86vh, 820px); display: flex; align-items: flex-end; }
.page-head-inner { position: relative; }
.page-head .lead { margin-top: .6rem; }
.meta-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; padding: 0; }
.meta-chips li { display: inline-flex; gap: .5em; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--overlay) 55%, transparent); backdrop-filter: blur(6px); font-size: .88rem; color: var(--text-2); }
.meta-chips .icon { color: var(--bronze); }

/* Landingpage */
.landing-body { font-size: 1.12rem; }
.route-card { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.route-card .prose { color: var(--muted); }
.route-addr { display: flex; gap: .5em; align-items: flex-start; color: var(--text); }
.route-addr .icon { color: var(--bronze); margin-top: .3em; }

/* ---------- Galerie (Masonry) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--line-strong); }
.filter.is-active { background: var(--bronze); border-color: var(--bronze); color: var(--on-accent); }
.masonry { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 16px; }
.m-item { break-inside: avoid; margin-bottom: 16px; transition: opacity .4s, transform .4s var(--ease); }
.m-item.is-hidden { display: none; }
.m-item figure { margin: 0; }
.m-open { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.m-open img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.m-open::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bronze); color: var(--on-accent); font-size: 1.5rem; font-weight: 300; opacity: 0; transform: scale(.7); transition: all .35s var(--ease); }
.m-open:hover img { transform: scale(1.04); }
.m-open:hover::after, .m-open:focus-visible::after { opacity: 1; transform: none; }
.m-item figcaption { display: flex; flex-direction: column; padding: 12px 2px 6px; }
.m-item figcaption strong { font-size: .98rem; }
.m-item figcaption span { color: var(--muted); font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.m-item figcaption small { color: var(--muted); margin-top: 6px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6,5,5,.96); color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; animation: lbin .4s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } }
.lightbox-cap { padding: 14px 20px 28px; text-align: center; color: var(--muted); }
.lightbox-cap strong { color: var(--text); display: block; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--bronze); color: var(--bronze-light); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Formulare ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
/* Eigene Formulare (seit 5.5): ganze oder halbe Zeile; am Handy immer untereinander */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-grid > .field { grid-column: 1 / -1; }
.field-grid > .field.half { grid-column: auto; }
@media (max-width: 560px) { .field-grid > .field.half { grid-column: 1 / -1; } }
.choices legend { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 9px; color: var(--text); padding: 0; }
.choices .check { margin-bottom: 8px; }
label, .label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.opt { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--field-border); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bronze) 18%, transparent); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--bronze); flex: none; }
.check label { margin: 0; font-weight: 400; }
.hint { font-size: .84rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; font-weight: 600; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; min-width: 76px; text-align: center; padding: 11px 16px; border: 1px solid color-mix(in srgb, var(--tint) 14%, transparent); border-radius: 999px; transition: all .2s; }
.chip input:checked + span { border-color: var(--bronze); color: var(--on-accent); background: var(--bronze); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze-light); outline-offset: 2px; }
.voucher-media { aspect-ratio: 3 / 2; margin-bottom: 32px; }
.voucher-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.contact-side { padding-top: 8px; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--bronze); margin-top: .3em; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--bronze-light); }
.side-sub { display: flex; gap: .5em; align-items: center; font-size: .9rem; text-transform: uppercase; letter-spacing: .14em; color: var(--bronze); margin-top: 1.6em; }

.hours { margin: 1rem 0; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours dd { margin: 0; color: var(--muted); text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
/* Social-Icons (seit 5.5.2) */
/* „Seite bearbeiten“ für angemeldete Benutzer (seit 5.5.2) – feste Hillstar-Farben, unabhängig vom Kunden-Design */
.julez-edit { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 95; display: inline-flex; align-items: center; gap: .5em; padding: 9px 16px; border-radius: 6px; background: #1d2545; color: #fff; border: 2px solid #94c11f; font: 600 .85rem/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.julez-edit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #94c11f; }
.julez-edit:hover, .julez-edit:focus-visible { background: #94c11f; color: #1d2545; }
/* Eigenes Video (seit 5.5.2) */
.video-file video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.social-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social-icons a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.social-icons a:hover, .social-icons a:focus-visible { color: var(--on-accent); background: var(--bronze); border-color: var(--bronze); }
.social-icons .icon { width: 19px; height: 19px; }
.main-nav ul a, .main-nav .btn { white-space: nowrap; } /* seit 5.5.2: Menüpunkte und Button nie zweizeilig */
.social-footer { flex-direction: column; gap: 8px; }
.social-footer a { width: auto; height: auto; justify-content: start; grid-auto-flow: column; gap: .6em; padding: 0; border: 0; color: var(--text-2); background: none; }
.social-footer a:hover, .social-footer a:focus-visible { color: var(--bronze-light); background: none; }
.social-footer .icon { width: 18px; height: 18px; }
@media (min-width: 961px) { .footer-grid:has(> div:nth-child(5)) { grid-template-columns: 1.3fr 1fr .8fr .9fr 1fr; } }
.footer-title { font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .22em; color: var(--bronze); margin-bottom: 16px; }
address { font-style: normal; color: var(--text-2); line-height: 1.8; }
address a { color: var(--text); text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-bottom a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--bronze-light); }
.footer-cities { columns: 2; column-gap: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.legal { overflow-wrap: anywhere; }

/* Mobiler Anfrage-Button */
.sticky-call { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: none; align-items: center; gap: .5em; padding: 14px 20px; border-radius: 999px; background: var(--bronze); color: var(--on-accent); font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.6); transform: translateY(120px); transition: transform .4s var(--ease); }
.sticky-call.is-visible { transform: none; }
@media (max-width: 900px) { .sticky-call { display: inline-flex; } }
.page-kontakt .sticky-call { display: none; }

/* Hauptüberschrift: sofort sichtbar (wichtig für Google/LCP), nur leichte Bewegung */
.js .rise { animation: rise 1.1s var(--ease) both; }
@keyframes rise { from { transform: translateY(26px); } }

/* ---------- Scroll-Animationen (nur mit JS und ohne „Bewegung reduzieren“) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-hint span, .js .rise { animation: none; }
  [data-parallax], [data-parallax-x] { transform: none !important; }
}
.region .split-wide { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .region .split-wide { grid-template-columns: 1fr; } }

/* Orte mit Routen-Link */
.cities li { display: flex; align-items: stretch; }
.cities .city { flex: 1; min-width: 0; }
.city-route { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-left: 1px solid var(--line); color: var(--muted); text-decoration: none; font: 600 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: color .2s, background .2s; }
.city-route:hover { color: var(--bronze-light); background: var(--surface); }
.city-route .icon { width: 1.1rem; height: 1.1rem; color: var(--bronze); }
.region-home a { color: var(--muted); }
.region-home a:hover { color: var(--bronze-light); }
.meta-chips a { display: inline-flex; gap: .5em; align-items: center; color: inherit; text-decoration: none; }
.meta-chips a:hover { color: var(--bronze-light); }

/* Karte (OpenStreetMap, erst nach Klick) */
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--bronze) 14%, transparent), transparent 60%), repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--tint) 4%, transparent) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--tint) 4%, transparent) 39px 40px), var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter, invert(.9) hue-rotate(180deg) grayscale(.3) brightness(1.3) contrast(1.05)); } /* seit 5.5.2: Kartenoptik je Kunden-Design über --map-filter */
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.map-consent > .icon { width: 34px; height: 34px; color: var(--bronze); }
.map-consent p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 34ch; }
.map-consent strong { color: var(--text); }
.map-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }

/* Footer: Öffnungszeiten kompakt statt auseinandergezogen */
.site-footer .hours { display: inline-block; margin-top: 1.2rem; }
.site-footer .hours-row { justify-content: flex-start; gap: .45em; padding: 0; border: 0; }
.site-footer .hours dt::after { content: ":"; }
.site-footer .hours dd { text-align: left; }

/* ---------- Datenschutz-Einstellungen (Banner) ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--bronze-light); text-decoration: underline; }
.map-consent .link-btn { font-size: .82rem; color: var(--muted); text-decoration: underline; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; pointer-events: none; animation: consentIn .5s var(--ease) both; }
@keyframes consentIn { from { opacity: 0; transform: translateY(20px); } }
.consent-inner { pointer-events: auto; width: min(760px, 100%); padding: clamp(20px, 3vw, 30px); background: color-mix(in srgb, var(--surface) 97%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.7); }
.consent-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; color: var(--text); }
.consent p { color: var(--text-2); font-size: .92rem; margin-bottom: 1em; }
.consent-settings { display: grid; gap: 10px; margin-bottom: 16px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent-opt strong { color: var(--text); }
.consent-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bronze); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1 1 160px; min-height: 46px; }
.consent ~ .sticky-call, body:has(.consent) .sticky-call { display: none; }
@media print { .consent { display: none; } }

/* ================= Baukasten: Layout-Optionen (feste Klassen, keine Inline-Styles) ================= */
.bg-dark { background: var(--bg); }
.section-accent { background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--red) 22%, transparent), transparent 60%), var(--bg-2); border-block: 1px solid color-mix(in srgb, var(--red) 25%, transparent); }
.section-loose { padding-block: clamp(100px, 15vw, 210px); }
.section-flush { padding-block: 0; }
@media (max-width: 700px) { .hide-mobile { display: none !important; } }
@media (min-width: 701px) { .hide-desktop { display: none !important; } }
.is-center { text-align: center; }
.is-center .section-head, .section-head.center { margin-inline: auto; text-align: center; }
.page-head.is-center .page-head-inner { text-align: center; }
.page-head.is-center .lead { margin-inline: auto; }
.wide { max-width: 1520px; }
.container-full { max-width: none; }
.full-bleed { margin: 0; }
.full-bleed .media-frame { border-radius: 0; }

/* Bild links/rechts und Spaltenverhältnis */
@media (min-width: 901px) {
  .split-reverse > .split-media { order: 2; }
  .split-40-60 { grid-template-columns: .8fr 1.2fr; }
  .split-60-40 { grid-template-columns: 1.2fr .8fr; }
  .split-reverse.split-40-60 { grid-template-columns: 1.2fr .8fr; }
  .split-reverse.split-60-40 { grid-template-columns: .8fr 1.2fr; }
}

/* Bildformate */
.media-frame.aspect-square, .aspect-square .media-frame, .aspect-square li img { aspect-ratio: 1 / 1; }
.media-frame.aspect-portrait, .aspect-portrait .media-frame, .aspect-portrait li img { aspect-ratio: 4 / 5; }
.media-frame.aspect-landscape, .aspect-landscape .media-frame, .aspect-landscape li img { aspect-ratio: 16 / 10; }
.block-image .media-frame:not([class*="aspect-"]) { aspect-ratio: auto; }
.block-image .media-frame:not([class*="aspect-"]) > img, .block-image .media-frame:not([class*="aspect-"]) > picture > img { position: static; width: 100%; height: auto; }
.block-image .media-frame[class*="aspect-"] > img, .block-image .media-frame[class*="aspect-"] > picture > img { inset: 0; }
.img-caption { margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* Raster: Spalten und Abstände */
.col-grid, .img-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.col-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.img-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (min-width: 701px) {
  .cols-1 { grid-template-columns: 1fr !important; }
  .cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 900px) { .img-grid { grid-template-columns: repeat(2, 1fr); } .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .img-grid, .areas { grid-template-columns: 1fr; } }
.gap-sm { gap: 8px !important; }
.gap-lg { gap: clamp(28px, 4vw, 48px) !important; }

/* Spalten */
.col-item .media-frame { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.col-item .media-frame > img, .col-item .media-frame > picture > img { inset: 0; }
.col-item h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .4em; }
.col-item .prose { color: var(--muted); }
.is-center .col-item { text-align: center; }

/* Bildergalerie */
.img-grid figure { margin: 0; }
.img-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.img-grid figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.img-grid figcaption strong { font-weight: 500; }

/* Zitat */
.quote { margin-block: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.35; font-weight: 600; color: var(--text); }
.quote blockquote p::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--bronze); margin-bottom: 12px; }
.quote figcaption { margin-top: 16px; color: var(--bronze-light); font: 600 .8rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }

/* Buttons */
.btn-list { list-style: none; margin: 0; padding: 0; }
.btn-list.is-center { justify-content: center; }

/* Abstand / Trennlinie */
.spacer { height: clamp(40px, 6vw, 80px); display: flex; align-items: center; }
.spacer-sm { height: clamp(20px, 3vw, 36px); }
.spacer-lg { height: clamp(80px, 11vw, 150px); }
.spacer > .container { display: block; height: 0; }
.spacer-line > .container { border-top: 1px solid var(--line-strong); }
.spacer-dots > .container { border-top: 3px dotted var(--line-strong); }

/* Video (lädt erst nach Einwilligung) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--bronze) 14%, transparent), transparent 60%), var(--surface); }
.video iframe, .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-poster { filter: brightness(.35); }
.video-consent { z-index: 1; }
.video-consent > .icon { width: 44px; height: 44px; color: var(--bronze); }
.block-video .section-title { margin-bottom: 24px; }

/* ================= News ================= */
.news-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.news-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .3s, transform .4s var(--ease); }
.news-link:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.news-body time { font: 600 .72rem var(--mono); letter-spacing: .14em; color: var(--bronze); }
.news-body h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.news-body p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.block-news .strip-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.post-back { padding-block: 0 clamp(48px, 7vw, 90px); }

/* ================= Popup ================= */
.popup { border: 1px solid var(--line-strong); border-radius: 14px; padding: 0; background: var(--surface); color: var(--text); width: min(520px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.popup::backdrop { background: rgba(0, 0, 0, .6); }
.popup-inner { padding: clamp(22px, 4vw, 34px); }
.popup-title { font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; margin-bottom: .5em; color: var(--bronze-light); }
.popup p { color: var(--text-2); }

/* ================= Layout-Abschnitte und Elemente (seit 5.0) =================
   Geräte: Handy ≤ 700 px · Tablet 701–1024 px · Desktop ≥ 1025 px
   Alle Gestaltungswerte kommen aus festen Klassen (Design-Palette) – keine Inline-Styles. */
@media (min-width: 701px) and (max-width: 1024px) { .hide-tablet { display: none !important; } }
@media (min-width: 1025px) { .hide-desk { display: none !important; } }

.lay { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
.lay.lgap-sm { gap: 16px; }
.lay.lgap-lg { gap: clamp(36px, 6vw, 96px); }
.lay.va-center { align-items: center; }
.lay.va-bottom { align-items: end; }
.lay-col { min-width: 0; display: flex; flex-direction: column; }
@media (min-width: 701px) {
  .lay-2, .lay-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lay-2-33-67 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .lay-2-67-33 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .lay-2-25-75 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .lay-2-75-25 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
  .lay-3, .lay-3-25-50-25 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  .lay-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lay-3-25-50-25 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
  .lay-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .lay.m-reverse { display: flex; flex-direction: column-reverse; }
}
.box-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.box-accent { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--bronze) 16%, transparent), color-mix(in srgb, var(--red) 8%, transparent)); border: 1px solid var(--line-strong); }

/* Elemente: Abstand darunter */
.w { margin: 0 0 1.4rem; }
.lay-col > :last-child, .lay-col > .ed-w:last-child > .w { margin-bottom: 0; }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: .6rem !important; }
.mb-lg { margin-bottom: 2.6rem !important; }

/* Palette: Schriftgrößen, Farben, Ausrichtung */
.w-heading { font-size: clamp(1.7rem, 3.6vw, 2.8rem); text-transform: uppercase; }
h3.w-heading { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4.w-heading { font-size: 1.1rem; letter-spacing: .04em; }
.fs-s { font-size: .9rem !important; }
.w-heading.fs-s { font-size: 1.05rem !important; }
.fs-l { font-size: 1.2rem !important; }
.w-heading.fs-l { font-size: clamp(2rem, 4.4vw, 3.4rem) !important; }
.fs-xl { font-size: 1.45rem !important; }
.w-heading.fs-xl { font-size: clamp(2.4rem, 5.6vw, 4.4rem) !important; }
.fs-xxl { font-size: 1.8rem !important; }
.w-heading.fs-xxl { font-size: clamp(2.8rem, 8vw, 6rem) !important; line-height: 1; }
.c-muted { color: var(--muted) !important; }
.c-accent { color: var(--bronze-light) !important; }
.c-red { color: #e0574f !important; }
.c-white { color: #fff !important; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
@media (max-width: 700px) {
  .tam-left { text-align: left !important; }
  .tam-center { text-align: center !important; }
  .tam-right { text-align: right !important; }
}

/* Button, Button-Gruppe, Social */
.w-button.ta-center, .w-buttons.ta-center, .w-social.ta-center { justify-content: center; }
.w-button.ta-right, .w-buttons.ta-right, .w-social.ta-right { justify-content: flex-end; }
.w-button { display: flex; }
.btn-full { width: 100%; justify-content: center; }
.w-buttons { list-style: none; padding: 0; margin-top: 0; }
@media (max-width: 700px) {
  .w-button.tam-center, .w-buttons.tam-center, .w-social.tam-center { justify-content: center; }
  .w-button.tam-left, .w-buttons.tam-left, .w-social.tam-left { justify-content: flex-start; }
  .w-button.tam-right, .w-buttons.tam-right, .w-social.tam-right { justify-content: flex-end; }
}
.w-social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.w-social a { font: 600 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* Liste mit Symbolen */
.w-iconlist { list-style: none; padding: 0; display: grid; gap: .55em; }
.w-iconlist li { position: relative; padding-left: 1.8em; }
.w-iconlist li::before { position: absolute; left: 0; top: 0; color: var(--bronze); font-weight: 800; }
.il-check li::before { content: "✓"; }
.il-arrow li::before { content: "→"; }
.il-dot li::before { content: "•"; font-size: 1.3em; line-height: 1.1; }
.il-star li::before { content: "★"; }
.w-iconlist.c-accent li::before, .w-iconlist.c-red li::before { color: inherit; }

/* Kennzahl */
.w-counter .counter-value { margin: 0; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--sans); color: var(--bronze-light); }
.w-counter .counter-label { margin: .4em 0 0; color: var(--muted); font: 600 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.w-counter.c-red .counter-value, .w-counter.c-white .counter-value, .w-counter.c-muted .counter-value { color: inherit; }

/* Bild */
.w-image { margin-inline: 0; }
.w-image img { width: 100%; border-radius: var(--radius); }
.w-image.aspect-square img { aspect-ratio: 1 / 1; object-fit: cover; }
.w-image.aspect-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.w-image.aspect-landscape img { aspect-ratio: 16 / 10; object-fit: cover; }
.w-image.iw-m { max-width: 66%; }
.w-image.iw-s { max-width: 40%; }
.w-image.ta-center { margin-inline: auto; }
.w-image.ta-right { margin-left: auto; }
@media (max-width: 700px) { .w-image.iw-m, .w-image.iw-s { max-width: 100%; } }

/* Zitat, Trennlinie, Abstand */
.w-quote.fs-s blockquote p { font-size: 1.15rem; }
.w-quote.fs-l blockquote p, .w-quote.fs-xl blockquote p, .w-quote.fs-xxl blockquote p { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.w-divider { border: 0; height: 0; margin-block: 1.6rem; }
.dv-line { border-top: 1px solid var(--line); }
.dv-bronze { border-top: 2px solid var(--bronze); width: 72px; }
.dv-bronze.ta-center { margin-inline: auto; }
.dv-dots { border-top: 3px dotted var(--line-strong); }
.w-spacer { margin: 0; }
.sp-sm { height: 24px; }
.sp-md { height: 56px; }
.sp-lg { height: 104px; }
.sp-xl { height: 168px; }
@media (max-width: 700px) { .sp-lg { height: 64px; } .sp-xl { height: 96px; } }
.w-video { position: relative; }
.w-accordion { margin-top: 0; }
.w-gallery { margin-top: 0; }

/* AVIF-Bilder (seit 5.2): <picture> ist nur Hülle, Layout und Größe bestimmt weiterhin das <img> */
picture { display: contents; }
