/* ==========================================================================
   Folien Manufaktur v2 — Entwurf
   Dunkles, dynamisches Design · Markenrot #e30613
   ========================================================================== */
:root {
  --bg: #0a0a0c;
  --bg2: #101014;
  --card: #15151b;
  --line: rgba(255, 255, 255, .08);
  --txt: #f4f4f6;
  --mut: #a2a2ad;
  --red: #e30613;
  --red2: #ff2433;
  --radius: 18px;
  --wrap: 1280px;
  --font-d: "Space Grotesk", sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 860px; }

h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--red); }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 600; color: var(--red2); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 2rem; height: 2px; background: var(--red); }

.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--mut); max-width: 46rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--red); padding: .5rem 1rem; border-radius: 8px; }

.draft-badge {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 90;
  background: rgba(227, 6, 19, .92); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 6px;
  pointer-events: none;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-d); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 30px rgba(227, 6, 19, .35); }
.btn-red:hover { background: var(--red2); box-shadow: 0 12px 40px rgba(227, 6, 19, .5); }
.btn-ghost { border-color: rgba(255, 255, 255, .25); color: var(--txt); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn-l { padding: .95rem 2rem; font-size: 1.02rem; }
.btn-s { padding: .5rem 1.1rem; font-size: .85rem; }

/* --- Header ------------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.head-in { display: flex; align-items: center; gap: 2rem; height: 76px; }
.brand img { width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: .1rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: .6rem .78rem; font-size: .92rem; font-weight: 500;
  color: #d6d6dd; border-radius: 8px; transition: color .2s, background .2s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  padding-top: .6rem; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s;
}
.main-nav li:hover .sub, .main-nav li:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav .sub ul {
  min-width: 250px; background: rgba(18, 18, 24, .96); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: var(--shadow);
}
.main-nav .sub a { display: block; padding: .55rem .9rem; font-size: .9rem; color: #cfcfd8; border-radius: 9px; }
.main-nav .sub a:hover { background: rgba(227, 6, 19, .14); color: #fff; }
.head-actions { display: flex; align-items: center; gap: .8rem; }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 76px 0 0 0; z-index: 99; overflow: auto;
  background: rgba(10, 10, 12, .97); backdrop-filter: blur(20px); padding: 1.5rem;
}
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  font-family: var(--font-d); font-weight: 600; font-size: 1.1rem;
  padding: 1rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between;
}
.mobile-nav summary::after { content: "+"; color: var(--red); }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-nav ul { padding: 0 0 1rem .5rem; }
.mobile-nav ul a { display: block; padding: .5rem 0; color: var(--mut); }
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; }
.mobile-tel { display: block; text-align: center; margin-top: 1rem; color: var(--mut); }

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 10, .93) 25%, rgba(8, 8, 10, .55) 60%, rgba(8, 8, 10, .35)),
              linear-gradient(to top, var(--bg) 0%, transparent 30%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-in { position: relative; padding-top: 5rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.hero-scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--red); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* --- Marquee ------------------------------------------------------------ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); padding: 1rem 0; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: #7c7c88; white-space: nowrap; }
.marquee-track i { color: var(--red); font-style: normal; font-size: .6rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Sections ----------------------------------------------------------- */
.sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 40rem; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 2rem; flex-wrap: wrap; }

/* --- Service cards ------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s;
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(227, 6, 19, .5); box-shadow: var(--shadow); }
.sc-img { aspect-ratio: 16/10; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .sc-img img { transform: scale(1.07); }
.sc-body { padding: 1.3rem 1.4rem 1.5rem; }
.sc-body h3 { margin-bottom: .4rem; }
.sc-body p { color: var(--mut); font-size: .92rem; }
.sc-more { display: inline-block; margin-top: .9rem; font-family: var(--font-d); font-weight: 600; font-size: .88rem; color: var(--red2); }

/* --- Stats -------------------------------------------------------------- */
.stats { background: linear-gradient(120deg, #17171d, #101014); border-block: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.stats-in { display: flex; justify-content: space-around; gap: 2rem; flex-wrap: wrap; text-align: center; }
.stat strong { font-family: var(--font-d); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--red2); display: block; line-height: 1; }
.stat span { color: var(--mut); font-size: .95rem; }

/* --- Album strip & grid ------------------------------------------------- */
.strip-outer { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.strip { display: flex; gap: 1.2rem; padding-bottom: 1rem; }
.strip .album-card { flex: 0 0 300px; scroll-snap-align: start; }
.strip-outer { scroll-snap-type: x mandatory; }

.album-grid { display: grid; gap: 1.2rem; }
.album-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.album-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.album-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, border-color .3s;
}
.album-card:hover { transform: translateY(-5px); border-color: rgba(227, 6, 19, .5); }
.ac-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: #1c1c24; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover .ac-img img { transform: scale(1.06); }
.ac-count {
  position: absolute; bottom: .6rem; right: .6rem; background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px); font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px;
}
.ac-body { padding: .9rem 1rem 1rem; }
.ac-body h3 { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-body p { color: var(--mut); font-size: .8rem; margin-top: .2rem; }

/* --- Chips / Pager ------------------------------------------------------ */
.chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip {
  padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--mut); transition: all .2s;
}
.chip:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3rem; color: var(--mut); }
.pg-btn { font-family: var(--font-d); font-weight: 600; color: #fff; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s; }
.pg-btn:hover { border-color: var(--red); }

/* --- Gallery / Lightbox ------------------------------------------------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gal-item { border-radius: 12px; overflow: hidden; aspect-ratio: var(--gal-ratio, 4/3); background: #1c1c24; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gal-item:hover img { transform: scale(1.05); opacity: .85; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 7, .96);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff;
  font-size: 1.6rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: background .2s;
}
.lightbox button:hover { background: var(--red); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: var(--mut); font-size: .9rem; }

/* --- Page hero ---------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(8rem, 16vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-hero.has-img { min-height: 68vh; display: flex; align-items: flex-end; }
.ph-img { position: absolute; inset: 0; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.page-hero.has-img .ph-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 5%, rgba(10, 10, 12, .55) 50%, rgba(10, 10, 12, .35));
}
.page-hero .wrap { position: relative; }
.crumbs { font-size: .85rem; color: var(--mut); margin-bottom: 1rem; }
.crumbs a:hover { color: #fff; }

/* --- Split / Prose / Features ------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip .split-img { order: -1; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.prose h2 { margin-bottom: 1.2rem; }
.prose h3 { margin: 1.8rem 0 .6rem; font-size: 1.25rem; }
.prose p { color: #c9c9d2; margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem; padding: 0; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; color: #c9c9d2; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--red); }
/* Buttons ausnehmen – sonst überschreibt die Linkfarbe das Weiß der Buttons (Rot auf Rot) */
.prose a:not(.btn) { color: var(--red2); }
.prose a:not(.btn):hover { text-decoration: underline; }
.prose img { border-radius: 12px; margin: 1rem 0; }
/* Kleingedrucktes: Fußnoten, Preishinweise (MwSt.), Garantiebedingungen */
.fine, .prose p.fine { font-size: .85rem; line-height: 1.6; color: var(--mut); }

/* --- Leistungspakete ---------------------------------------------------- */
.pak-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.pak {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.pak:hover { border-color: rgba(227, 6, 19, .45); transform: translateY(-4px); }
.pak-top { border-color: rgba(227, 6, 19, .5); box-shadow: var(--shadow); }
.pak-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  font-family: var(--font-d); font-weight: 600; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--red); color: #fff; padding: .32rem .7rem; border-radius: 999px;
}
.pak-img { aspect-ratio: 16/10; background: linear-gradient(160deg, var(--bg2), var(--card)); }
.pak-img img { width: 100%; height: 100%; object-fit: contain; }
.pak-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.5rem 1.6rem; }
.pak-body h3 { font-size: 1.35rem; }
.pak-sub { color: var(--mut); font-size: .9rem; margin-top: .25rem; }
.pak-price { font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; color: var(--red2); margin: .9rem 0 1.2rem; }
.pak-head { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mut); margin-bottom: .7rem; }
.pak-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.pak-list li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; color: #c9c9d2; font-size: .95rem; }
.pak-list li::before {
  content: ""; position: absolute; left: 2px; top: .32em;
  width: 6px; height: 11px; border: solid var(--red2); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.pak-cta { margin-top: auto; align-self: flex-start; }
.pak-note { margin-top: 1.3rem; }
@media (max-width: 980px) { .pak-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Verlinktes Bild in media_text (z.B. auf das passende Showroom-Album) */
.split-link a { position: relative; display: block; }
.split-link img { transition: transform .5s; }
.split-link:hover img { transform: scale(1.03); }
.split-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem .95rem;
  font-family: var(--font-d); font-weight: 600; font-size: .88rem; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent);
}
.split-cap::after { content: " →"; }

/* --- Vorher/Nachher-Schieberegler --------------------------------------- */
.cmp { margin: 0; }
.cmp-pane {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg2), var(--card));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  touch-action: pan-y;   /* senkrecht scrollen bleibt möglich, waagerecht zieht den Regler */
}
.cmp-pane img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* Das obere Bild wird von links bis zur Reglerposition freigegeben */
.cmp-over { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cmp, 50%)) 0 0); }
.cmp-over img { width: 100%; height: 100%; object-fit: cover; }

.cmp-line {
  position: absolute; top: 0; bottom: 0; left: var(--cmp, 50%);
  width: 2px; margin-left: -1px; pointer-events: none;
  background: rgba(255, 255, 255, .9); box-shadow: 0 0 16px rgba(0, 0, 0, .6);
}
.cmp-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  transition: transform .2s, box-shadow .2s;
}
.cmp-grip::before, .cmp-grip::after {
  content: ""; position: absolute; top: 50%; margin-top: -6px;
  width: 0; height: 0; border: 6px solid transparent;
}
.cmp-grip::before { left: 10px;  border-right-color: #fff; }
.cmp-grip::after  { right: 10px; border-left-color: #fff; }
.cmp-pane:hover .cmp-grip { transform: translate(-50%, -50%) scale(1.08); }
.cmp-pane:focus-within .cmp-grip { box-shadow: 0 0 0 4px rgba(227, 6, 19, .45), 0 8px 24px rgba(0, 0, 0, .5); }

.cmp-tag {
  position: absolute; top: 1rem; pointer-events: none;
  font-family: var(--font-d); font-weight: 600; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(10, 10, 12, .72); color: #fff; border: 1px solid var(--line);
  transition: opacity .25s;
}
.cmp-tag-b { left: 1rem; }
.cmp-tag-a { right: 1rem; }
.cmp[data-edge="left"]  .cmp-tag-b,
.cmp[data-edge="right"] .cmp-tag-a { opacity: 0; }

/* Unsichtbarer Regler über der ganzen Fläche: Klicken, Ziehen und Pfeiltasten */
.cmp-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: ew-resize; background: transparent;
  -webkit-appearance: none; appearance: none;
}
.cmp-range:focus { outline: none; }
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 64px; height: 100vh; cursor: ew-resize; }
.cmp-range::-moz-range-thumb { width: 64px; height: 100vh; border: 0; border-radius: 0; background: transparent; cursor: ew-resize; }
.cmp-cap { margin-top: .9rem; }

@media (max-width: 760px) {
  .cmp-grip { width: 40px; height: 40px; }
  .cmp-grip::before { left: 8px; } .cmp-grip::after { right: 8px; }
  .cmp-tag { top: .6rem; font-size: .68rem; padding: .3rem .6rem; }
  .cmp-tag-b { left: .6rem; } .cmp-tag-a { right: .6rem; }
}

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border-color .3s, transform .3s; }
.feat:hover { border-color: rgba(227, 6, 19, .45); transform: translateY(-4px); }
.feat-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 1rem; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-ico { width: 54px; height: 54px; margin-bottom: .9rem; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(227, 6, 19, .12); border: 1px solid rgba(227, 6, 19, .35); }
.feat-ico img { width: 34px; height: 34px; object-fit: contain; }
.feat.compact { padding: 1.2rem 1.3rem; }
a.feat { display: block; color: inherit; }
a.feat:hover h3 { color: var(--red2); }
.feat-more { display: inline-block; margin-top: .8rem; font-family: var(--font-d); font-weight: 600; font-size: .88rem; color: var(--red2); }
.feat-more::after { content: " →"; }
.feat h3 { margin-bottom: .5rem; }
.feat p { color: var(--mut); font-size: .93rem; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: .8rem; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem;
  font-family: var(--font-d); font-weight: 600; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq .prose { padding: 0 1.4rem 1.2rem; }

/* --- Forms -------------------------------------------------------------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label { display: block; font-size: .88rem; font-weight: 500; color: var(--mut); margin-bottom: 1.2rem; }
.form input, .form textarea, .form select {
  width: 100%; margin-top: .4rem; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem 1rem; color: var(--txt); font: inherit; transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--red); }
/* Auswahlfelder: eigener Pfeil statt der Browser-Optik */
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a2ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 1.05rem;
}
.form select:hover { border-color: rgba(255, 255, 255, .22); }
.form select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form select option { background: var(--card); color: var(--txt); }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--mut); margin-bottom: 1.4rem; }
.form-note a { color: var(--red2); }
.form-err { background: rgba(227, 6, 19, .15); border: 1px solid rgba(227, 6, 19, .5); border-radius: 10px; padding: .8rem 1.2rem; margin-bottom: 1.4rem; }
.form-ok { text-align: center; padding: 4rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.form-ok h3 { font-size: 1.6rem; margin-bottom: .5rem; color: var(--red2); }
/* Hinweistext im Formular (Feldtyp 'note') */
.form-hint { font-size: .88rem; color: var(--mut); background: rgba(227, 6, 19, .08); border-left: 3px solid var(--red2); border-radius: 8px; padding: .6rem .9rem; margin: 0 0 1rem; }
/* Übersicht der Angaben auf der Bestätigungsseite */
.form-summary { text-align: left; max-width: 680px; margin: 2rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.form-summary h4 { font-family: var(--font-d); font-size: 1.05rem; margin: 0 0 .9rem; color: var(--red2); }
.form-ticket { text-align: center; font-size: 1.05rem; margin: 0 0 1.4rem; padding: .9rem 1rem; border: 1px dashed var(--red2); border-radius: 10px; }
.form-ticket strong { font-size: 1.25rem; letter-spacing: .04em; color: var(--red2); }
.form-ticket small { color: var(--mut); font-size: .82rem; }
.form-summary dl { margin: 0; }
.form-summary dl > div { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; gap: .2rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.form-summary dl > div:last-child { border-bottom: 0; }
.form-summary dt { color: var(--mut); font-size: .86rem; }
.form-summary dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 520px) { .form-summary dl > div { grid-template-columns: 1fr; gap: 0; } }

.form-group { border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.2rem .1rem; margin-bottom: 1.1rem; }
.form-group legend { font-family: var(--font-d); font-weight: 600; font-size: .95rem; padding: 0 .6rem; color: var(--red2); }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.fg .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fg { grid-template-columns: 1fr; } }
.form-choices { margin-bottom: 1rem; }
.fc-label { display: block; font-size: .88rem; font-weight: 500; color: var(--mut); margin-bottom: .4rem; }
.fc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .1rem .8rem; }
.choice { display: flex; align-items: flex-start; gap: .55rem; padding: .22rem 0; font-size: .92rem; color: #d6d6dd; cursor: pointer; }
.choice input { width: auto; margin-top: .25rem; accent-color: var(--red); }
.choice-single { margin-bottom: 1rem; }
.form input[type=file] { padding: .55rem; }
.form label { margin-bottom: .95rem; }

.fg-hint { color: var(--mut); font-size: .9rem; margin: -.2rem 0 .8rem; }
.fg-choose { border-color: rgba(227, 6, 19, .45); }
.form-body.open { animation: formIn .45s ease-out; }
@keyframes formIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Betriebsferien: bernsteinfarben, damit der Hinweis sich klar vom roten CTA
   und vom übrigen Dunkelgrau absetzt */
.vacation-note {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255, 176, 32, .18), rgba(255, 176, 32, .05) 65%);
  border: 1px solid rgba(255, 176, 32, .55); border-left: 4px solid #ffb020;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem; margin-bottom: 1.2rem;
  box-shadow: 0 10px 34px rgba(255, 176, 32, .10);
}
.vacation-note .vn-icon {
  flex-shrink: 0; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(255, 176, 32, .16); border: 1px solid rgba(255, 176, 32, .45);
  color: #ffb020;
}
.vacation-note .vn-icon svg { width: 28px; height: 28px; }
.vacation-note > div { flex: 1; min-width: 240px; }
.vacation-note h3 { margin-bottom: .3rem; color: #ffc35c; }
.vacation-note p { color: #ddddE4; font-size: .93rem; margin: 0; }

.admin-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .9rem; color: var(--mut); }
.admin-bar .badge-off { background: #8a6d00; color: #fff; border-radius: 999px; padding: .1rem .6rem; font-size: .75rem; font-weight: 600; }
.btn-s { padding: .45rem 1rem; font-size: .85rem; }
.album-desc { margin-bottom: 2rem; max-width: 820px; }

/* Anfrage-Layout: Formular + Seitenkarten */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.2rem; align-items: start; }
.form-main { min-width: 0; }
.form-side { position: sticky; top: calc(var(--nav-h, 76px) + 1rem); display: grid; gap: 1rem; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.side-card h3 { font-size: 1.05rem; margin: .3rem 0 .6rem; line-height: 1.25; }
.side-card p { color: var(--mut); font-size: .92rem; margin: 0 0 .8rem; }
.side-card p:last-child { margin-bottom: 0; }
.side-card a:not(.btn) { color: var(--red2); }
.termin-card { background: linear-gradient(150deg, rgba(227, 6, 19, .14), var(--card) 65%); border-color: rgba(227, 6, 19, .35); }
.termin-card .tn-icon { font-size: 1.8rem; line-height: 1; }
.termin-card .btn { width: 100%; margin-top: .4rem; }
@media (max-width: 960px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-side { position: static; }
}

.termin-note {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(227, 6, 19, .12), rgba(227, 6, 19, .03) 60%);
  border: 1px solid rgba(227, 6, 19, .35); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-bottom: 1.6rem;
}
.termin-note .tn-icon { font-size: 1.9rem; }
.termin-note > div { flex: 1; min-width: 240px; }
.termin-note h3 { margin-bottom: .25rem; }
.termin-note p { color: var(--mut); font-size: .92rem; margin: 0; }

.seg { display: flex; flex-wrap: wrap; gap: .6rem; padding-bottom: .8rem; }
.seg-opt {
  position: relative; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.3rem;
  cursor: pointer; font-family: var(--font-d); font-weight: 600; font-size: .93rem; color: var(--mut);
  transition: all .2s; user-select: none;
}
.seg-opt:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.seg-opt.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(227, 6, 19, .35); }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }

.filter-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 2rem; }
.filter-sel span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin-bottom: .3rem; }
.filter-sel select {
  background: var(--card); color: var(--txt); border: 1px solid var(--line); border-radius: 10px;
  padding: .55rem 2.2rem .55rem .9rem; font: inherit; font-size: .92rem; cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23e30613'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
}
.filter-sel select:focus { outline: none; border-color: var(--red); }
.filter-bar .chip { align-self: center; }

.specs { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.spec { display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .5rem .9rem .5rem .7rem; }
.spec .sp-ico { font-style: normal; font-size: 1.15rem; line-height: 1; width: 1.6rem; text-align: center; }
.spec .sp-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.ac-img img.ac-logo { position: absolute; left: .6rem; top: .6rem; width: 34px; height: 34px; object-fit: contain; border-radius: 7px; background: rgba(255,255,255,.94); padding: 3px; transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.page-hero.compact { padding: calc(var(--nav-h, 76px) + 2rem) 0 1.2rem; }
.page-hero.compact h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.sec.sec-tight { padding-top: 1.2rem; }

/* Showroom-Suche */
.sr-search { display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .5rem .35rem 1rem; margin: -.6rem 0 1.6rem; max-width: 620px; transition: border-color .2s, box-shadow .2s; }
.sr-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .15); }
.sr-search svg { color: var(--mut); flex-shrink: 0; }
.sr-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--txt); font: inherit; font-size: .95rem; outline: none; }
.sr-search input::placeholder { color: var(--mut); }
.sr-search input::-webkit-search-cancel-button { filter: invert(1); }
.muted-line { color: var(--mut); font-size: .9rem; margin: -.4rem 0 1.4rem; }
.muted-line a { color: var(--red2); }

/* Hersteller-Dropdown mit Logos */
.brand-pick { position: relative; }
.brand-pick summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem; background: var(--card); color: var(--txt); border: 1px solid var(--line); border-radius: 10px; padding: .45rem 2.2rem .45rem .6rem; font-size: .92rem; min-width: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23e30613'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.brand-pick summary::-webkit-details-marker { display: none; }
.brand-pick[open] summary { border-color: var(--red); }
.bp-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; background: #fff; padding: 2px; }
.bp-list { position: absolute; z-index: 50; top: calc(100% + .4rem); left: 0; min-width: 280px; max-height: 60vh; overflow: auto; background: #15151b; border: 1px solid var(--line); border-radius: 12px; padding: .4rem; box-shadow: 0 18px 50px rgba(0,0,0,.6); display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }
.bp-list a { display: flex; align-items: center; gap: .55rem; padding: .4rem .5rem; border-radius: 8px; color: var(--txt); text-decoration: none; font-size: .88rem; }
.bp-list a:hover, .bp-list a.on { background: rgba(227, 6, 19, .18); }
.bp-list a small { color: var(--mut); margin-left: auto; }
.bp-list .bp-noimg { width: 26px; height: 26px; border-radius: 5px; background: #2a2a33; display: inline-block; }
.spec span { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mut); }
.spec strong { font-family: var(--font-d); font-size: .92rem; font-weight: 600; }

/* Album-Seite: kompakter Kopf, Fotos oben, Text seitlich */
.album-head { padding: calc(var(--nav-h, 76px) + 2rem) 0 1.4rem; }
.album-head .kicker { margin-bottom: .4rem; }
.album-head .kicker a { color: inherit; text-decoration: none; }
.album-head .kicker a:hover { color: var(--red2); }
.album-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.1; }
.ah-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.album-head .admin-bar { margin-top: 0; }
.album-main { padding: .6rem 0 clamp(3rem, 6vw, 5rem); }
.album-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.album-layout.no-desc { grid-template-columns: 1fr; }
.album-side { position: sticky; top: calc(var(--nav-h, 76px) + 1rem); }
.album-side .album-desc { margin: 0 0 1.4rem; font-size: .95rem; }
.album-side .album-desc h2, .album-side .album-desc h3 { font-size: 1.05rem; margin: 1.1rem 0 .4rem; }
.album-side .album-cta { text-align: left; margin-top: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.album-side .album-cta .btn { display: block; text-align: center; margin-top: .6rem; }
.album-layout.no-desc .album-side { position: static; }
.album-layout.no-desc .album-cta { max-width: 420px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.tag { font-size: .8rem; color: var(--red2); border: 1px solid rgba(227, 6, 19, .35); border-radius: 999px; padding: .25rem .7rem; text-decoration: none; transition: all .2s; }
.tag:hover { background: var(--red); border-color: var(--red); color: #fff; }
.sec-similar { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.gal-wrap { position: relative; }
.gal-wrap .gal-item { display: block; }
.gal-admin { position: absolute; top: .5rem; right: .5rem; z-index: 2; opacity: 0; transition: opacity .2s; }
.gal-wrap:hover .gal-admin, .gal-admin:has(.on) { opacity: 1; }
.ga-btn { background: rgba(0, 0, 0, .7); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.ga-btn:hover { background: var(--red); border-color: var(--red); }
.ga-btn.on { background: var(--red); border-color: var(--red); }
@media (hover: none) { .gal-admin { opacity: 1; } }
/* Video-Block: eigenständig, breit, 16:9 */
.video-block { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.video-block.multi { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.video-block .gal-item { aspect-ratio: 16/9; border-radius: 16px; box-shadow: 0 16px 50px rgba(0,0,0,.45); }
.video-block .yt-play { width: 76px; height: 76px; font-size: 1.9rem; }
.video-block .yt-ph p { font-size: .82rem; max-width: 420px; }
.album-media { min-width: 0; }
.yt-consent { position: relative; cursor: pointer; }
.yt-consent .yt-poster { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.yt-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; text-align: center; }
.yt-play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.4rem; cursor: pointer; box-shadow: 0 8px 30px rgba(227, 6, 19, .5); transition: transform .2s; }
.yt-play:hover { transform: scale(1.08); }
.yt-ph p { font-size: .72rem; color: #e6e6ec; line-height: 1.35; max-width: 260px; margin: 0; }
.yt-ph p a { text-decoration: underline; }
.yt-consent.yt-loaded { cursor: default; }
.gal-video { display: flex; align-items: center; background: #000; }
.gal-video video, .gal-video iframe { width: 100%; height: 100%; object-fit: contain; border: 0; }
@media (max-width: 960px) {
  .album-layout { grid-template-columns: 1fr; }
  .album-side { position: static; }
}

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* --- CTA band / Footer --------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, #16060a, #0d0d11 60%), radial-gradient(circle at 80% 20%, rgba(227, 6, 19, .35), transparent 55%);
  background-blend-mode: screen; border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-sub { color: var(--mut); margin-top: .6rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.site-foot { background: #08080a; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand img { width: 150px; margin-bottom: 1rem; }
.foot-brand p { color: var(--mut); font-size: .92rem; max-width: 20rem; }
.socials { display: flex; gap: 1rem; margin-top: 1.2rem; }
.socials a { font-size: .85rem; font-weight: 600; color: var(--mut); border: 1px solid var(--line); padding: .4rem .9rem; border-radius: 999px; transition: all .2s; }
.socials a:hover { color: #fff; border-color: var(--red); }
.foot-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #7c7c88; margin-bottom: 1rem; }
.foot-col ul li { margin-bottom: .5rem; }
.foot-col ul a { color: #c9c9d2; font-size: .93rem; }
.foot-col ul a:hover { color: var(--red2); }
.foot-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #7c7c88; font-size: .85rem; }
.foot-legal a:hover { color: #fff; }

.album-cta { text-align: center; margin-top: 3rem; }
.album-cta p { color: var(--mut); margin-bottom: 1rem; }
.empty-note { color: var(--mut); font-style: italic; }

/* --- Reveal animations --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .svc-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .album-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .svc-grid, .svc-grid.cols-2, .feat-grid, .form-row { grid-template-columns: 1fr; }
  .album-grid.cols-4, .album-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-img { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .head-actions .btn { display: none; }
  .hero { min-height: 78vh; }
}

/* Tipp-Box (roter Verlauf wie auf der alten Seite) + Video in media_text + Feature-Icons */
.sec-tip { padding-top: 0; }
.tip-box { background: linear-gradient(135deg, #e30613, #ff6a3d); border-radius: var(--radius); padding: 1.6rem 1.8rem; color: #fff; max-width: 860px; }
.tip-box h2 { color: #fff; font-size: 1.3rem; margin-bottom: .6rem; }
.tip-box p { color: rgba(255,255,255,.92); }
.tip-box a { color: #fff; text-decoration: underline; }
/* Roter Button auf rotem Verlauf ist nicht lesbar -> in der Tipp-Box invertiert */
.tip-box .btn-red { background: #fff; color: var(--red); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.tip-box .btn-red:hover { background: #fff; color: var(--red2); box-shadow: 0 12px 32px rgba(0, 0, 0, .26); }
.tip-box .btn { text-decoration: none; }
.split-video video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; background: #000; }

/* ==========================================================================
   Mobile-Optimierung (Tablet / Smartphone)
   ========================================================================== */
@media (max-width: 960px) {
  .page-hero { padding-top: clamp(6.5rem, 22vw, 9rem); }
  .page-hero.has-img { min-height: 52vh; }
  .album-head { padding-top: calc(var(--nav-h, 76px) + 1.2rem); }
  .filter-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .filter-sel select, .brand-pick summary { width: 100%; min-width: 0; }
  .filter-bar .chip, .filter-bar noscript { grid-column: 1 / -1; justify-self: start; }
  .sr-search { max-width: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 9vw, 2.9rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 2rem); }
  .sec { padding: clamp(2.6rem, 9vw, 4rem) 0; }
  .hero { min-height: 84vh; }
  .hero-in { padding-top: 6rem; }
  .hero-actions .btn { width: 100%; }
  .lead { font-size: 1.02rem; }
  .stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .stats-in .stat:last-child { grid-column: 1 / -1; }
  .sec-head.row .btn { width: 100%; }
  .strip .album-card { flex-basis: 78vw; max-width: 320px; }
  .split { gap: 1.4rem; }
  .split-img { box-shadow: none; }
  .feat { padding: 1.2rem 1.25rem; }
  .form-group { padding: .8rem .9rem .1rem; }
  .fg { grid-template-columns: 1fr; }
  .form .btn-l { width: 100%; }
  .seg { gap: .45rem; }
  .seg-opt { padding: .5rem .95rem; font-size: .88rem; }
  .side-card { padding: 1.1rem 1.15rem; }
  .termin-note, .vacation-note { padding: .95rem 1.05rem; }
  .termin-note .btn { width: 100%; }
  .album-layout { gap: 1.4rem; }
  .album-side .album-cta { padding: 1rem; }
  .specs { gap: .45rem; }
  .spec { padding: .4rem .7rem .4rem .55rem; }
  .spec strong { font-size: .86rem; }
  .video-block .gal-item { border-radius: 12px; }
  .video-block .yt-play { width: 60px; height: 60px; font-size: 1.5rem; }
  .yt-ph p { font-size: .7rem; max-width: 92%; }
  .gal-grid { gap: .5rem; }
  .gal-item { border-radius: 9px; }
  .tags .tag { font-size: .76rem; }
  .pager { gap: .8rem; flex-wrap: wrap; }
  .tip-box { padding: 1.2rem 1.25rem; }
  .prose img, .prose iframe, .prose video { max-width: 100%; height: auto; }
  .prose table { display: block; overflow-x: auto; }
  .lightbox img { max-width: 100vw; max-height: 80vh; border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 3.5rem; transform: none; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
  .map-embed iframe { min-height: 260px; }
  .cta-in { text-align: center; }
  .cta-in .btn { width: 100%; }
}
@media (max-width: 640px) {
  .filter-bar { grid-template-columns: 1fr; }
  /* Hersteller-Liste als Bottom-Sheet, damit sie nicht aus dem Bild läuft */
  .bp-list { position: fixed; left: .6rem; right: .6rem; top: auto; bottom: .6rem; min-width: 0; max-height: 62vh; grid-template-columns: 1fr 1fr; z-index: 300; }
  .bp-list a { padding: .55rem .5rem; }
  .brand-pick[open]::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 299; }
  .album-grid.cols-4, .album-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .ac-body { padding: .7rem .8rem; }
  .ac-body h3 { font-size: .92rem; }
  .ac-body p { font-size: .8rem; }
  .ac-img img.ac-logo { width: 28px; height: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand img { width: 112px; }
  .draft-badge { display: none; }
}
@media (max-width: 350px) {
  .album-grid.cols-4, .album-grid.cols-3 { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .video-block.multi { grid-template-columns: 1fr; }
}
/* Touch-Geräte: Hover-Effekte, die auf Touch stören, deaktivieren; größere Tap-Flächen */
@media (hover: none) {
  .album-card:hover, .svc-card:hover, .btn:hover { transform: none; }
  .main-nav .sub { display: none; }
  .btn { min-height: 44px; }
  .chip, .tag { min-height: 36px; display: inline-flex; align-items: center; }
  select, .brand-pick summary { min-height: 44px; }
}

/* Hero-Hintergrundvideo (Desktop): Bild bleibt als Poster, Video blendet ein sobald es läuft */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero-video.on { opacity: 1; }
.hero-bg::after { z-index: 1; }
.hero-bg img { position: relative; z-index: 0; }

/* Hero mit Video: kräftigere Abdunklung + Textschatten für sicheren Kontrast */
.hero-bg.video-on::after {
  background: linear-gradient(100deg, rgba(8, 8, 10, .96) 30%, rgba(8, 8, 10, .78) 62%, rgba(8, 8, 10, .55)),
              linear-gradient(to top, var(--bg) 0%, rgba(10,10,12,.35) 40%, transparent 70%);
}
.hero-bg.video-on + .hero-in h1, .hero-bg.video-on + .hero-in .lead, .hero-bg.video-on + .hero-in .kicker { text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.9); }
.hero-video { filter: brightness(.82) saturate(1.05); }

/* Hero-Text: immer weiß und kräftig, mit dunklem Panel hinter dem Textblock (bei Video) */
.hero-in h1 { color: #fff; }
.hero-in .lead { color: rgba(255, 255, 255, .92); }
.hero-in .kicker { color: #ff3b48; }
.hero-bg.video-on::after {
  background: linear-gradient(90deg, rgba(6, 6, 8, .97) 0%, rgba(6, 6, 8, .9) 42%, rgba(6, 6, 8, .62) 68%, rgba(6, 6, 8, .45) 100%),
              linear-gradient(to top, var(--bg) 0%, rgba(10,10,12,.5) 35%, transparent 65%);
}
.hero-video { filter: brightness(.7) saturate(1.05); }
.hero-bg.video-on + .hero-in h1 { text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 6px 30px rgba(0,0,0,.8); }
.hero-bg.video-on + .hero-in .lead { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.95), 0 4px 22px rgba(0,0,0,.8); }
.admin-create { margin: .2rem 0 1rem; padding: .6rem .9rem; border: 1px dashed rgba(227, 6, 19, .5); border-radius: 12px; background: rgba(227, 6, 19, .06); }
.admin-create > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red2); font-weight: 700; }

/* Fix Stapelreihenfolge: Text immer über Video + Overlay (volle Deckkraft) */
.hero-in, .hero-scroll { position: relative; z-index: 3; }
.hero-scroll { position: absolute; }
.hero-bg { z-index: 0; }
.hero-bg.video-on::after {
  background: linear-gradient(90deg, rgba(6, 6, 8, .82) 0%, rgba(6, 6, 8, .62) 45%, rgba(6, 6, 8, .35) 75%, rgba(6, 6, 8, .25) 100%),
              linear-gradient(to top, var(--bg) 0%, rgba(10,10,12,.35) 30%, transparent 60%);
}
.hero-video { filter: brightness(.75) saturate(1.05); }
.hero-bg.video-on + .hero-in h1, .hero-bg.video-on + .hero-in .lead { text-shadow: 0 2px 8px rgba(0,0,0,.7), 0 6px 26px rgba(0,0,0,.55); }
.job-card { display: block; text-decoration: none; }
.job-card .sc-more { color: var(--red2); font-weight: 600; font-size: .9rem; display: inline-block; margin-top: .6rem; }
.map-consent { min-height: 380px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #1c1c25, #101014 70%); position: relative; }
.map-ph { text-align: center; padding: 2rem 1.5rem; max-width: 640px; }
.map-pin { font-size: 2.6rem; margin-bottom: .6rem; }
.map-ph h3 { margin-bottom: .5rem; }
.map-ph p { color: var(--mut); font-size: .85rem; margin-bottom: 1.1rem; }
.map-ph p a { text-decoration: underline; }
.map-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.map-loaded { min-height: 0; display: block; }
.map-loaded iframe { height: 460px; }
@media (max-width: 760px) { .map-actions .btn { width: 100%; } .map-loaded iframe { height: 340px; } }

/* Hero-Video deutlicher sichtbar: heller, Overlay nur links hinter dem Text */
.hero-video { filter: brightness(.95) saturate(1.05); }
.hero-bg.video-on::after {
  background: linear-gradient(90deg, rgba(6, 6, 8, .78) 0%, rgba(6, 6, 8, .5) 38%, rgba(6, 6, 8, .12) 62%, rgba(6, 6, 8, 0) 100%),
              linear-gradient(to top, var(--bg) 0%, rgba(10,10,12,.25) 22%, transparent 45%);
}
.hero-bg.video-on + .hero-in h1, .hero-bg.video-on + .hero-in .lead { text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 8px 30px rgba(0,0,0,.7); }

/* --- Folienfarben-Datenbank ---------------------------------------------- */
.farb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.farb-grid.design-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.farb-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s, border-color .25s; margin: 0; }
a.farb-card:hover { transform: translateY(-4px); border-color: rgba(227, 6, 19, .5); }
.fc-img { aspect-ratio: 4/3; overflow: hidden; background: #1c1c24; }
.design-grid .fc-img { aspect-ratio: 595/425; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; }
.design-grid .fc-img img { object-fit: contain; background: #fff; }
.fc-body { padding: .7rem .85rem .9rem; }
.fc-body h3 { font-size: .95rem; line-height: 1.25; margin-bottom: .2rem; }
.fc-meta { color: var(--mut); font-size: .8rem; }
.fc-file { color: #6f6f7c; font-size: .72rem; font-family: ui-monospace, monospace; margin-top: .35rem; word-break: break-all; }

/* --- Dokumente-/Zertifikate-Galerie (feste Höhe, kein Lightbox) ----------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.doc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; height: 400px; display: flex; align-items: center; justify-content: center; }
.doc-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Logo statt Foto in media_text */
.split-logo { background: #fff; box-shadow: none; display: flex; align-items: center; justify-content: center; padding: 2rem clamp(1.5rem, 4vw, 3rem); }
.split-logo img { width: 100%; max-width: 360px; height: auto; object-fit: contain; }
@media (max-width: 760px) { .doc-item { height: 320px; } .farb-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; } }

/* --- Kundenbewertungen ---------------------------------------------------- */
.sec-reviews { background: var(--bg2); }
.rev-agg { display: flex; align-items: center; gap: .6rem; color: var(--mut); font-size: .95rem; margin-top: .6rem; }
.rev-agg strong { color: var(--txt); font-size: 1.15rem; }
.stars { display: inline-flex; gap: .1rem; }
.stars i { font-style: normal; color: #3a3a45; font-size: 1.05rem; line-height: 1; }
.stars i.on { color: #ffc72c; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.rev-card blockquote { color: #d8d8df; font-size: .95rem; line-height: 1.6; flex: 1; }
.rev-card blockquote::before { content: "„"; color: var(--red); font-size: 1.6rem; line-height: 0; vertical-align: -.2em; margin-right: .15rem; }
.rev-card figcaption { display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.rev-card figcaption span { color: var(--mut); font-size: .82rem; }
.fc-img.fc-design { background: #fff; }
.fc-img.fc-design img { object-fit: contain; padding: .3rem; }

/* --- Bilderband unter dem Hero ------------------------------------------ */
.photo-marquee {
  display: grid; gap: .7rem; padding: .7rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pm-row { overflow: hidden; }
.pm-track { display: flex; gap: .7rem; width: max-content; animation: marquee 70s linear infinite; }
.pm-track.rev { animation-duration: 95s; animation-direction: reverse; }
.photo-marquee:hover .pm-track { animation-play-state: paused; }
.pm-item {
  flex: 0 0 auto; width: 232px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.pm-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .photo-marquee { gap: .5rem; padding: .5rem 0; }
  .pm-track { gap: .5rem; }
  .pm-item { width: 152px; border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-track, .pm-track.rev { animation: none; }
}

/* Bildwechsel auf den Albumkarten weich überblenden */
.album-card[data-flip] .ac-img img { transition: transform .5s, opacity .18s ease-in-out; }

/* Hero-Parallax: Hintergrund darf über den Sektionsrand hinauslaufen */
.hero { overflow: hidden; }
.hero .hero-bg { will-change: transform; }

/* --- Vollbild-Band mit Zahlen (bricht das Karten-Raster auf) ------------- */
.band {
  position: relative; overflow: hidden; margin: 4.5rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 12, .95) 12%, rgba(10, 10, 12, .72) 55%, rgba(227, 6, 19, .28));
}
.band-in { position: relative; padding: 5rem 0; }
.band-in h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); max-width: 18ch; margin-bottom: 2.4rem; }
.band-in h2 em { color: var(--red2); font-style: normal; }
.band-stats { display: flex; flex-wrap: wrap; gap: 3rem 4rem; }
.band-stat strong {
  display: block; font-family: var(--font-d); font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700; line-height: 1; color: #fff;
}
.band-stat span { display: block; margin-top: .45rem; font-size: .9rem; color: #c9c9d2; letter-spacing: .04em; }
@media (max-width: 700px) {
  .band { margin: 3rem 0; }
  .band-in { padding: 3.2rem 0; }
  .band-stats { gap: 2rem 2.6rem; }
}

/* --- Features mit stehender Überschrift (style => 'sticky') -------------- */
.fs-grid { display: grid; grid-template-columns: minmax(260px, 3fr) 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fs-head { position: sticky; top: 108px; margin-bottom: 0; }
.fs-head .lead { font-size: 1rem; margin-top: 1rem; }
.fs-list { grid-template-columns: 1fr; gap: 1.2rem; }
.fs-list .feat { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; align-items: center; }
.fs-list .feat-img { margin-bottom: 0; aspect-ratio: 4/3; }
.fs-list .feat > h3, .fs-list .feat > p { grid-column: 2; }
.fs-list .feat > h3 { align-self: end; }
.fs-list .feat > p { align-self: start; margin-top: .4rem; }
@media (max-width: 960px) {
  .fs-grid { grid-template-columns: 1fr; }
  .fs-head { position: static; }
  .fs-list .feat { grid-template-columns: 1fr; }
  .fs-list .feat > h3, .fs-list .feat > p { grid-column: 1; }
}

/* Strich-Icons in Feature-Karten (fm_icon) */
.feat-ico-line { color: var(--red2); }
.feat-ico-line svg { width: 28px; height: 28px; }
.feat:hover .feat-ico-line { background: rgba(227, 6, 19, .2); border-color: rgba(227, 6, 19, .6); }
.feat-ico { transition: background .3s, border-color .3s; }

/* Sprachschalter im Header */
.lang-switch {
  font-family: var(--font-d); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
  color: #d6d6dd; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  padding: .38rem .7rem; transition: border-color .2s, color .2s, background .2s;
}
.lang-switch:hover { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
@media (max-width: 960px) { .lang-switch { padding: .32rem .6rem; } }

/* Video im Seiten-Hero (wie auf der Startseite, aber im kleineren Bildbereich) */
/* .ph-img bleibt absolut über die volle Breite (siehe oben) – das Video legt sich deckungsgleich darüber */
.page-hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.page-hero .hero-video.on { opacity: 1; }

/* Farbmuster-Auswahl auf Leistungsseiten (Sektionstyp farben_pick) */
.farb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.farb-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s, transform .3s; }
.farb-card:hover { border-color: rgba(227, 6, 19, .45); transform: translateY(-4px); }
.farb-card .fb-img { aspect-ratio: 3/2; overflow: hidden; background: #000; }
.farb-card .fb-img img { width: 100%; height: 100%; object-fit: cover; }
.farb-card .fb-body { padding: .7rem .85rem .9rem; }
.farb-card h3 { font-size: .95rem; margin-bottom: .2rem; }
.farb-card p { color: var(--mut); font-size: .8rem; }
@media (max-width: 560px) { .farb-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; } }

/* Admin-Leiste im Frontend (nur für eingeloggte Admins) */
.admin-toolbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: flex; align-items: center; gap: .2rem; flex-wrap: wrap;
  padding: .45rem 2.4rem .45rem .9rem;
  background: rgba(14, 14, 18, .96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-d); font-size: .82rem;
}
.admin-toolbar .at-label {
  background: var(--red); color: #fff; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .68rem; padding: .2rem .5rem; border-radius: 5px; margin-right: .5rem;
}
.admin-toolbar a { color: #d6d6dd; padding: .3rem .6rem; border-radius: 6px; transition: background .2s, color .2s; }
.admin-toolbar a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.admin-toolbar .at-right { margin-left: auto; }
.admin-toolbar .at-close {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #8a8a95; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: .2rem .4rem;
}
.admin-toolbar .at-close:hover { color: #fff; }
body:has(.admin-toolbar) .draft-badge { bottom: 3.2rem; }
@media (max-width: 700px) {
  .admin-toolbar { font-size: .75rem; padding: .4rem 2.2rem .4rem .6rem; }
  .admin-toolbar .at-right { margin-left: 0; }
}
