/* Local Life V4: Ergaenzungen zu Jakobs Gestaltung (basis.css, site.css, v12.css).
   Enthaelt die Bausteine aus V3 (Full-Service, Weiterlesen-Kacheln) im hellen Gesamtbild, das Aufklappmenue,
   Kundenlogos auf den Karten und den Cookie-Banner. */

:root {
  --tief: #0F3319; --tief2: #133E1F; --tief3: #1A4A27; --moos: #22603A;
  --hell: #F2FBF4; --leise: #A9C9B2; --akzent: #71C487;
  --linie: rgba(113,196,135,.2); --linie2: rgba(113,196,135,.12);
  --max: 1200px; --gutter: clamp(20px, 4vw, 56px); --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Aufklappmenue Einsatzorte ---------- */
.topbar nav .aufklapp { position: relative; display: flex; }
.topbar nav .aufklapp > a { display: inline-flex; align-items: center; gap: 6px; }
.topbar nav .pfeilchen { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.topbar nav .unter { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 50px -28px rgba(15,51,25,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.topbar nav .unter::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.topbar nav .unter a { border-radius: 12px; }
.topbar nav .aufklapp:hover .unter, .topbar nav .aufklapp:focus-within .unter, .topbar nav .aufklapp.offen .unter { opacity: 1; visibility: visible; transform: none; }
.menue-blatt nav a.tief { padding-left: 34px; font-size: 15.5px; font-weight: 500; }
.menue-blatt nav .knopf { margin-top: 10px; justify-content: center; color: #fff; }

/* ---------- Dunkle Abschnitte aus V3 und Wellen als Uebergang ---------- */
.v4-dunkel { background: var(--tief); color: var(--hell); }
.v4-dunkel h2, .v4-dunkel h3 { color: var(--hell); }
.v4-dunkel h2 em, .v4-dunkel h3 em, .v4-dunkel b em { font-style: normal; color: var(--akzent); }
.v4-welle { display: block; width: 100%; height: clamp(46px, 7vw, 110px); fill: var(--tief); margin: -1px 0; }
.v4-welle.oben { background: var(--paper); }
.v4-welle.oben.auf-weiss { background: #fff; }
.v4-welle.unten { background: #fff; }
.inhalt-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.v4-dunkel .label { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--akzent); }
.v4-dunkel .kapitelzeile { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.v4-dunkel .kapitelzeile::before { content: ""; width: 34px; height: 1px; background: var(--green); }
.v4-dunkel .kat { display: block; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--akzent); }
.v4-dunkel .leitsatz { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; font-weight: 300; color: var(--leise); max-width: 46ch; }
.v4-dunkel h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; }

.r { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: .1s; } .r.d2 { transition-delay: .2s; } .r.d3 { transition-delay: .3s; }
.wortweise span { transition: opacity .35s var(--ease); opacity: .28; }
.wortweise span.an { opacity: 1; }

/* ---------- 2 Full-Service ---------- */
#service { position: relative; }
#service .pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(90px, 11vh, 120px) 0 clamp(30px, 5vh, 60px); }
#service .kopf { margin-bottom: clamp(26px, 4vh, 48px); }
#service .kopf h2 { font-size: clamp(32px, 4.2vw, 60px); }
#service .kopf .leitsatz { margin-top: clamp(14px, 1.8vh, 24px); }
.formel { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.stein { background: var(--tief2); border: 1px solid var(--linie); border-radius: 22px; padding: clamp(26px, 3vw, 44px); will-change: transform; position: relative; display: flex; flex-direction: column; justify-content: center; }
.stein .kat { margin-bottom: 12px; }
.stein h3 { font-size: clamp(23px, 2.3vw, 31px); margin-bottom: 12px; line-height: 1.12; }
.stein p { color: #cfe3d4; font-size: 16px; line-height: 1.55; max-width: 30ch; }
.stein.b { background: var(--green-2); } .stein.b .kat { color: #dff5e5; } .stein.c { background: var(--moos); }
.summe { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92); opacity: 0; pointer-events: none; text-align: center; z-index: 3;
  transition: opacity .5s var(--ease), transform .5s var(--ease); background: var(--tief); padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); border: 1px solid var(--green); border-radius: 26px; }
.summe .kat { margin-bottom: 10px; }
.summe b { display: block; font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; font-weight: 800; }
.summe p { margin-top: 14px; color: var(--leise); font-size: 15px; max-width: 44ch; margin-inline: auto; }
#service.fertig .summe { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.nichtmehr { margin-top: clamp(40px, 6vh, 72px); padding-top: clamp(24px, 3.4vh, 40px); border-top: 1px solid var(--linie);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 20px clamp(28px, 4vw, 64px); align-items: center; }
.nichtmehr .kat { margin-bottom: 8px; }
.nichtmehr h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; max-width: 12ch; }
.nichtmehr ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nichtmehr li { position: relative; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 12px; font-size: 15.5px; color: var(--hell);
  background: rgba(255,255,255,.03); transition: color .6s var(--ease), border-color .6s var(--ease); }
.nichtmehr li::before { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
#service.fertig .nichtmehr li { color: var(--leise); border-color: var(--linie2); }
#service.fertig .nichtmehr li::before { transform: scaleX(1); }
#service.fertig .nichtmehr li:nth-child(2)::before { transition-delay: .12s; } #service.fertig .nichtmehr li:nth-child(3)::before { transition-delay: .24s; }
#service.fertig .nichtmehr li:nth-child(4)::before { transition-delay: .36s; } #service.fertig .nichtmehr li:nth-child(5)::before { transition-delay: .48s; }
#service.fertig .nichtmehr li:nth-child(6)::before { transition-delay: .6s; }

/* ---------- 5 Einsatzorte: drei Karten mit Kundenlogo ---------- */
.karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karte .bild { position: relative; }
.karte .kunde { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; height: 44px; padding: 8px 14px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 24px -14px rgba(15,51,25,.6); font-weight: 700; font-size: 15px; color: var(--ink); }
.karte .kunde img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.karte .kunde.leer { background: rgba(255,255,255,.75); border: 1.5px dashed var(--line); box-shadow: none; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- 6 Weiterlesen: Kacheln aus V3, UBIQ-Block von Jakob ---------- */
#einstiege { padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 110px); }
#einstiege .kopf { margin-bottom: clamp(30px, 4vw, 52px); }
.wk-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.wk { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(400px, 42vw, 520px); border-radius: var(--radius-card, 28px); overflow: hidden;
  background: var(--paper); color: var(--ink); isolation: isolate; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.wk:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(0,0,0,.6); }
.wk::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(248,251,247,1) 0%, rgba(248,251,247,.98) 40%, rgba(248,251,247,.4) 56%, rgba(248,251,247,0) 66%); }
.wk .inhalt { position: relative; padding: clamp(24px, 3vw, 38px); }
.wk .label { margin-bottom: 10px; display: block; font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--green-2); }
.wk h3 { font-size: clamp(28px, 3.1vw, 42px); margin-bottom: 10px; line-height: 1.04; color: #28803D; }
.wk h3 em { font-style: normal; color: var(--green); }
.wk p { color: var(--muted); max-width: 36ch; font-size: 16px; line-height: 1.55; }
.wk .mehr { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-2); font-weight: 700; text-decoration: none; }
.wk .mehr i { display: block; width: 16px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.wk:hover .mehr i { width: 28px; }
.wk .motivfeld { position: absolute; left: 0; right: 0; top: 5%; bottom: 46%; display: flex; align-items: flex-end; justify-content: center; gap: 3%; padding: 0 6%; z-index: 1; }
.wk .motivfeld img { width: auto; height: 100%; max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.wk.automaten .motivfeld a { height: 100%; display: flex; align-items: flex-end; justify-content: center; flex: 1 1 0; min-width: 0; }
.wk.automaten .motivfeld a:hover img { transform: translateY(-6px); }
.wk .motivfeld .platz { width: 80%; height: 90%; border: 1.5px dashed var(--line); border-radius: 18px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-style: normal; background: rgba(255,255,255,.6); }
#einstiege .ubiq { border: 1px solid #3a2c23; }

/* ---------- Showroom, Formular ---------- */
.v4-stichwort { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.v4-foto img { width: 100%; border-radius: var(--radius-card, 28px); aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.v4-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formular .fehler, .formular label.fehler { border-color: var(--red) !important; color: var(--red-dark); }
.formular-meldung.ok { color: var(--green-2) !important; font-weight: 600; }
.formular-meldung.fehler { color: var(--red-dark) !important; }
.formular.gesendet input, .formular.gesendet textarea, .formular.gesendet fieldset { opacity: .5; pointer-events: none; }
.formular .check a { color: var(--green-2); }

/* ---------- Fuss und Cookie-Banner ---------- */
.cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.einwilligung { position: fixed; left: 50%; bottom: clamp(12px, 2vw, 24px); transform: translateX(-50%); z-index: 9999; width: min(720px, calc(100% - 24px));
  background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(8,30,15,.55), 0 0 0 1px rgba(15,51,25,.08); padding: clamp(20px, 2.6vw, 30px); font-size: 15px; line-height: 1.55; }
.einwilligung[hidden], .einwilligung [hidden] { display: none !important; }
.einwilligung h2 { font-size: 22px; color: #28803D; margin: 0 0 8px; }
.einwilligung p { color: var(--muted); }
.einwilligung a { color: var(--green-2); }
.einwilligung .wahlen { display: grid; gap: 10px; margin: 16px 0 4px; }
.einwilligung label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.einwilligung label b { display: block; color: var(--ink); font-weight: 600; }
.einwilligung label small { display: block; color: var(--muted); font-size: 13.5px; }
.einwilligung input[type=checkbox] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-2); flex: none; }
.einwilligung .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.einwilligung .knoepfe .knopf { padding: 13px 20px; font-size: 15px; flex: 1 1 auto; justify-content: center; }
.einwilligung .knopf.leise { box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); }

/* ---------- Platzhalterseiten und Rechtstexte ---------- */
.v4-folgt { padding: calc(var(--nav-h, 96px) + 80px) 0 120px; text-align: center; }
.v4-folgt p { color: var(--muted); max-width: 40em; margin: 18px auto 28px; }
.recht { padding: calc(var(--nav-h, 96px) + 50px) 0 90px; }
.recht .wrap { max-width: 860px; }
.recht h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 22px; }
.recht h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 40px 0 12px; }
.recht p, .recht li { color: var(--muted); margin: 0 0 12px; line-height: 1.6; overflow-wrap: anywhere; }
.recht ul { padding-left: 22px; }
.recht a { color: var(--green-2); }

@media (max-width: 980px) { .karten.drei { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .formel { grid-template-columns: 1fr; }
  .summe, #service.fertig .summe { position: static; transform: none; opacity: 1; pointer-events: auto; margin-top: 16px; }
  #service .pin { position: static; min-height: 0; }
  .nichtmehr { grid-template-columns: 1fr; }
  .nichtmehr ul { grid-template-columns: 1fr 1fr; }
  .wk-raster { grid-template-columns: 1fr; }
  .wk { min-height: 0; }
  .wk .motivfeld { position: relative; top: auto; bottom: auto; height: 250px; padding-top: 26px; }
  .wk::after { display: none; }
}
@media (max-width: 620px) {
  .karten.drei { grid-template-columns: 1fr; }
  .nichtmehr ul { grid-template-columns: 1fr; }
  .einwilligung .knoepfe { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .r { opacity: 1; transform: none; transition: none; }
  .wortweise span { opacity: 1; }
}

/* ---------- Markenband mit Originallogos ---------- */
.markenband span.mit-logo { padding: 0 22px; gap: 44px; }
.markenband .mlogo { display: inline-flex; align-items: center; justify-content: center; height: clamp(58px, 6vw, 74px); min-width: clamp(130px, 13vw, 180px); padding: 10px 22px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -16px rgba(15,51,25,.6); }
.markenband .mlogo img { height: clamp(34px, 3.6vw, 48px); width: auto; max-width: clamp(120px, 12vw, 170px); object-fit: contain; display: block; }
.markenband span.hell .mlogo { background: transparent; box-shadow: none; border: 2px solid rgba(255,255,255,.55); }

/* ---------- Weiterlesen hell ---------- */
.v4-hell { background: var(--green-tint); color: var(--ink); }
.v4-hell .label { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--green-2); }
.v4-hell .kapitelzeile { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.v4-hell .kapitelzeile::before { content: ""; width: 34px; height: 1px; background: var(--green); }
.v4-hell h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; }
.v4-hell h2 em { font-style: normal; color: var(--green); }
.v4-hell .wk { background: #fff; border: 1px solid var(--line); }
.v4-hell .wk::after { background: linear-gradient(to top, #fff 0%, rgba(255,255,255,.98) 40%, rgba(255,255,255,.4) 56%, rgba(255,255,255,0) 66%); }
.v4-hell .wk:hover { box-shadow: 0 22px 50px -26px rgba(15,51,25,.35); }

/* ---------- Showroom (Aufbau aus V3) ---------- */
.showroom { position: relative; background: var(--tief); color: var(--hell); min-height: clamp(460px, 48vw, 680px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.showroom-bild { position: absolute; inset: 0; z-index: -2; background: var(--tief3); }
.showroom-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.showroom::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(11,38,19,.94) 0%, rgba(11,38,19,.75) 38%, rgba(11,38,19,.1) 75%), linear-gradient(to top, rgba(11,38,19,.6), rgba(11,38,19,0) 50%); }
.showroom .inhalt-wrap { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); }
.showroom-text { max-width: 560px; }
.showroom-text .label { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--akzent); }
.showroom-text h2 { margin: 14px 0 18px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; color: var(--hell); }
.showroom-text h2 em { font-style: normal; color: var(--akzent); }
.showroom-text p { color: #d6e8db; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; margin-bottom: 26px; }
@media (max-width: 700px) { .showroom::after { background: linear-gradient(to top, rgba(11,38,19,.96) 0%, rgba(11,38,19,.8) 55%, rgba(11,38,19,.2) 100%); } }

/* ---------- Fuss wie in V3 ---------- */
.weiter { background: var(--tief); color: var(--hell); padding: clamp(56px, 7vw, 92px) 0; border-top: 1px solid var(--linie2); }
.weiter .inhalt-wrap { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 60px); flex-wrap: wrap; }
.weiter h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 20ch; color: var(--hell); }
.weiter p { color: var(--leise); margin-top: 12px; max-width: 44ch; }
.seitenfuss { background: var(--tief); color: var(--leise); padding: 26px 0 34px; }
.seitenfuss .inhalt-wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--linie2); font-size: 13px; }
.s-index .seitenfuss .inhalt-wrap { border-top: 0; padding-top: 8px; }
.seitenfuss img { height: 34px; filter: brightness(0) invert(1); opacity: .9; }
.seitenfuss a, .seitenfuss .cookie-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(169,201,178,.4); }
.seitenfuss a:hover, .seitenfuss .cookie-link:hover { color: var(--hell); }
.seitenfuss .links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Fuss im Aufbau von locallife.de, in den V4-Farben ---------- */
.v4-fuss { background: var(--tief); color: var(--leise); padding: clamp(56px, 7vw, 90px) 0 30px; margin: 0; font-size: 15px; }
.v4-fuss .fuss-spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.v4-fuss img { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.v4-fuss p { max-width: 30em; line-height: 1.6; color: #cfe3d4; }
.v4-fuss h4, .v4-fuss h2.fuss-titel { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); margin: 0 0 14px; }
.v4-fuss h4.oben, .v4-fuss h2.fuss-titel.oben { margin-top: 24px; }
.v4-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v4-fuss ul ul { margin: 8px 0 2px 14px; gap: 6px; font-size: 14px; }
.v4-fuss li.abstand { margin-top: 6px; font-size: 14px; }
.v4-fuss a { color: #e6f2e9; text-decoration: none; }
.v4-fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.v4-fuss .knopf.rot { margin-top: 20px; color: #fff; text-decoration: none; }
.v4-fuss .sozial { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.v4-fuss .sozial a { padding: 8px 14px; border: 1px solid var(--linie); border-radius: 999px; font-size: 13.5px; }
.v4-fuss .sozial a:hover { border-color: var(--akzent); text-decoration: none; }
.v4-fuss .sozial a { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; color: #e6f2e9; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.v4-fuss .sozial a svg { width: 18px; height: 18px; display: block; }
.v4-fuss .sozial a:hover { background: var(--hell); color: var(--tief); border-color: var(--hell); transform: translateY(-2px); }
.v4-fuss .fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--linie2); font-size: 13.5px; }
.v4-fuss .fuss-unten .links { display: flex; gap: 18px; flex-wrap: wrap; }
.v4-fuss .cookie-link { color: #e6f2e9; text-decoration: none; }
.v4-fuss .cookie-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 980px) { .v4-fuss .fuss-spalten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .v4-fuss .fuss-spalten { grid-template-columns: 1fr; } }
.v4-fuss .knopf.rot { white-space: nowrap; }
.weiter + .v4-fuss { border-top: 1px solid var(--linie2); }

/* ---------- Automatenseite: weitere Geraete ---------- */
.v4-geraete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 4vw, 52px); perspective: 1400px; }
.v4-geraet { --ton: var(--green-tint); --akz: var(--green-2); --wortfarbe: #dff1e4;
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 40px; overflow: hidden; scroll-margin-top: 120px; display: flex; flex-direction: column;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.v4-geraet.rot { --ton: #fdebe9; --akz: var(--red-dark); --wortfarbe: #fbdcd8; }
.v4-geraet.frisch { --ton: #e8f5f1; --akz: #1f7a52; --wortfarbe: #d5ede4; }
.v4-geraet:hover { box-shadow: 0 40px 80px -50px rgba(15,51,25,.55); }
.v4-geraet .bild { position: relative; overflow: hidden; height: clamp(240px, 34vh, 400px); padding: 0; background: radial-gradient(120% 90% at 50% 100%, #fff 0%, var(--ton) 70%); display: block; }
/* grosses Wort hinter dem Geraet, wie im Rondell der Startseite */
.v4-geraet .bild::before { content: attr(data-wort); position: absolute; left: 0; right: 0; top: 6%; text-align: center; font: 800 clamp(90px, 9vw, 150px)/.9 var(--font-display); color: var(--wortfarbe);
  letter-spacing: -.02em; transform: translateX(var(--wx, 0px)); transition: transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none; }
/* Boden-Schatten */
.v4-geraet .bild::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(15,51,25,.22), transparent); transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .6s; }
.v4-geraet .bild img { position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 7%; width: 84%; height: 84%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 18px 18px rgba(15,51,25,.16)); transform: translate3d(var(--gx, 0px), 0, 40px); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.v4-geraet:hover .bild img { transform: translate3d(var(--gx, 0px), -10px, 40px) scale(1.03); }
.v4-geraet:hover .bild::after { transform: scaleX(.86); opacity: .7; }
.v4-geraet .bild .plus { position: absolute; z-index: 2; right: 14px; top: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--akz); font: 700 12.5px/1 var(--font-body); font-style: normal; box-shadow: 0 10px 24px -14px rgba(15,51,25,.5); }
.v4-geraet .text { padding: clamp(18px, 2.4vh, 24px) clamp(20px, 2vw, 28px) clamp(22px, 3vh, 30px); }
.v4-geraet .tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--akz); background: var(--ton); border-radius: 999px; padding: 6px 12px; margin-bottom: 10px; }
.v4-geraet h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 8px; color: var(--ink); }
.v4-geraet p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.v4-fakten { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.v4-fakten li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; padding: 9px 0; }
.v4-fakten li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.v4-fakten b { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--akz); white-space: nowrap; }
.v4-fakten span { font-size: 14px; color: var(--muted); }

/* Erscheinen: Karte steigt auf, Wort faehrt herein, Geraet hebt sich aus dem Boden, Zeilen ziehen ihre Linie */
html.mal .v4-geraet:not(.da) .bild img { transform: translate3d(0, 34%, 40px) scale(.94); opacity: 0; }
html.mal .v4-geraet:not(.da) .bild::before { transform: translateX(-30%); opacity: 0; }
html.mal .v4-geraet:not(.da) .v4-fakten li { opacity: 0; transform: translateY(10px); }
html.mal .v4-geraet:not(.da) .v4-fakten li::before { transform: scaleX(0); }
html.mal .v4-geraet.da .bild img { transition: transform 1s cubic-bezier(.22,1,.36,1) calc(var(--v, 0s) + .18s), opacity .6s ease calc(var(--v, 0s) + .18s); }
html.mal .v4-geraet.da .bild::before { transition: transform 1.1s cubic-bezier(.22,1,.36,1) calc(var(--v, 0s) + .1s), opacity .8s ease calc(var(--v, 0s) + .1s); }
html.mal .v4-geraet.da .v4-fakten li { transition: opacity .5s ease calc(var(--v, 0s) + .45s + var(--z, 0s)), transform .6s cubic-bezier(.22,1,.36,1) calc(var(--v, 0s) + .45s + var(--z, 0s)); }
html.mal .v4-geraet.da .v4-fakten li::before { transition: transform .7s cubic-bezier(.65,0,.25,1) calc(var(--v, 0s) + .4s + var(--z, 0s)); }
html.mal .v4-geraet.da.fertig, html.mal .v4-geraet.da.fertig .bild img, html.mal .v4-geraet.da.fertig .bild::before { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .v4-geraet, .v4-geraet * { transition: none !important; } html.mal .v4-geraet:not(.da), html.mal .v4-geraet:not(.da) * { opacity: 1 !important; transform: none !important; } }
@media (max-width: 980px) { .v4-geraete, .einsatz-raster.v4-drei { grid-template-columns: 1fr; } }

/* ---------- Einsatzorte: Kundenlogo in der Bildgeschichte und auf den Unterseiten ---------- */
.v4-referenz { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.v4-referenz .kunde, .eo-kunde .kunde { display: inline-flex; align-items: center; height: 44px; padding: 8px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.v4-referenz .kunde img, .eo-kunde .kunde img { height: 26px; width: auto; max-width: 130px; object-fit: contain; }
.eo-bild { position: relative; margin: 0; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); }
.eo-bild > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.eo-kunde { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 20px; background: rgba(255,255,255,.94);
  box-shadow: 0 14px 30px -18px rgba(15,51,25,.6); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.eo-kunde .kunde { border: 0; padding: 4px 8px; height: 38px; }
.schritte-leiste.eo-drei { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.eo .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eo .karte .bild.geraet { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .eo .karten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .eo .karten { grid-template-columns: 1fr; } }

/* ---------- Menueleiste V4: kompakte Pille, die beim Hinzeigen aufgeht ---------- */
@media (min-width: 901px) {
  body .topbar .leiste, body.gescrollt .topbar .leiste {
    width: min(720px, 100% - 48px); height: 60px; gap: 8px; padding: 0 8px 0 18px;
    background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border: 1px solid rgba(214,238,220,.9); box-shadow: 0 16px 40px -30px rgba(15,51,25,.55);
    transition: width .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1), gap .6s cubic-bezier(.22,1,.36,1), padding .6s cubic-bezier(.22,1,.36,1), box-shadow .5s, background-color .5s; }
  body .topbar .logo, body.gescrollt .topbar .logo { height: 30px; transition: height .6s cubic-bezier(.22,1,.36,1); }
  body .topbar nav, body.gescrollt .topbar nav { display: flex; flex: 1 1 auto; justify-content: center; position: relative; gap: 0; margin: 0; transition: gap .6s cubic-bezier(.22,1,.36,1); }
  body .topbar .leiste { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  body .topbar .leiste > a:first-child { justify-self: start; }
  body .topbar .rechts { margin-left: 0; justify-self: end; }
  .topbar nav > a, .topbar nav .aufklapp > a { position: relative; z-index: 1; padding: 9px 11px; font-size: 14.5px; transition: padding .6s cubic-bezier(.22,1,.36,1), font-size .6s, color .3s; }
  .topbar nav > a:hover, .topbar nav .aufklapp > a:hover { background: none; }
  .topbar nav > a.aktiv, .topbar nav .aufklapp > a.aktiv { background: none; color: var(--green-2); }
  .topbar .anfrage { padding: 10px 16px; font-size: 14.5px; transition: padding .6s cubic-bezier(.22,1,.36,1), transform .3s; }
  .topbar .anfrage:hover { transform: scale(1.04); }
  .nav-zeiger { position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0; margin-top: -20px; border-radius: 999px; background: var(--green-tint); opacity: 0; pointer-events: none;
    transition: transform .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1), opacity .3s; }
  .topbar nav.zeigt .nav-zeiger { opacity: 1; }

  /* Aufgezogen: beim Hinzeigen oder mit Tastaturfokus */
  body.leiste-offen .topbar .leiste, body .topbar .leiste:focus-within {
    width: min(var(--container), 100% - 2 * clamp(16px, 5vw, 64px)); height: 72px; gap: 22px; padding: 0 12px 0 26px;
    background: rgba(255,255,255,.94); box-shadow: 0 26px 60px -34px rgba(15,51,25,.6); }
  body.leiste-offen .topbar .logo, body .topbar .leiste:focus-within .logo { height: 36px; }
  body.leiste-offen .topbar nav, body .topbar .leiste:focus-within nav { gap: clamp(8px, 2.4vw, 40px); }
  body.leiste-offen .topbar nav > a, body.leiste-offen .topbar nav .aufklapp > a,
  body .topbar .leiste:focus-within nav > a, body .topbar .leiste:focus-within nav .aufklapp > a { padding: 11px 16px; font-size: 15.5px; }
  body.leiste-offen .topbar .anfrage, body .topbar .leiste:focus-within .anfrage { padding: 13px 22px; font-size: 15.5px; }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  body .topbar .leiste, .topbar nav a, .nav-zeiger { transition: none !important; }
}

/* ---------- Titeltraeger als Pinselstrich (js/pinsel.js): ein durchgehender Pinselzug wie auf der Automatenfolierung,
   jeder Balken mit eigener Form und eigenem Tempo, die weisse Schrift erscheint direkt hinter dem Pinsel. Ohne JavaScript bleibt der Balken aus basis.css. ---------- */
.traeger.mit-pinsel::before { display: none; }
.traeger .pinsel { position: absolute; z-index: -1; left: calc(-.5 * var(--h, 1.14em)); top: -50%; width: calc(100% + var(--h, 1.14em)); height: 200%;
  overflow: visible; pointer-events: none; }
.traeger .pinsel path { fill: var(--green); stroke: none; }
.traeger.rot .pinsel path { fill: var(--red); }
.traeger .tt { display: inline-block; }
.traeger.mit-pinsel { margin-left: .08em; margin-right: .16em; }
.v4-fuss h2.fuss-titel { font-weight: 700; line-height: 1.3; }
@media (max-width: 600px) { .traeger { white-space: normal; max-width: 100%; } }

/* ---------- Feinschliff: Bilder nie ueber Text, nie abgeschnitten ---------- */
.wk { justify-content: flex-start; min-height: 0; }
.wk::after { display: none; }
.wk .motivfeld { position: relative; inset: auto; height: clamp(220px, 30vh, 320px); padding: clamp(18px, 2.6vh, 28px) 6% 0; background: radial-gradient(120% 90% at 50% 100%, #fff 0%, var(--green-tint) 75%); }
.wk .motivfeld .plus { position: absolute; right: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--green-2); font: 700 12.5px/1 var(--font-body); font-style: normal; box-shadow: 0 10px 24px -14px rgba(15,51,25,.5); }
.wk .inhalt { flex: 1 1 auto; }
.mx-bild { position: relative; padding: 0; }
.mx-bild img { position: absolute; left: 8%; right: 8%; top: 8%; bottom: 0; width: 84%; height: 92%; object-fit: contain; object-position: 50% 100%; }

/* Einsatzort-Karten auf der Automatenseite: Foto im Hintergrund, Schrift weiss auf dunklem Verlauf */
.einsatz.mit-bild { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(300px, 40vh, 420px); display: flex; flex-direction: column; justify-content: flex-end; border: 0; color: #fff; }
.einsatz.mit-bild .einsatz-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.einsatz.mit-bild::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,51,25,.94) 0%, rgba(15,51,25,.78) 42%, rgba(15,51,25,.15) 78%); }
.einsatz.mit-bild:hover .einsatz-bild { transform: scale(1.05); }
.einsatz.mit-bild h3 { color: #fff; }
.einsatz.mit-bild p { color: rgba(255,255,255,.86); }
.einsatz.mit-bild .tag { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); align-self: flex-start; }
.einsatz.mit-bild a { color: var(--green-light) !important; }
.wk .motivfeld.foto { padding: 0; overflow: hidden; }
.wk .motivfeld.foto img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.wk:hover .motivfeld.foto img { transform: scale(1.04); }

/* ---------- Reklamation: Knopf im Fuss und Formularseite ---------- */
.v4-fuss .knopf.fuss-rekla { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); text-decoration: none; }
.v4-fuss .knopf.fuss-rekla svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v4-fuss .knopf.fuss-rekla:hover { background: #fff; color: var(--tief); border-color: #fff; text-decoration: none; }
.v4-fuss .fuss-rekla-text { margin: 8px 0 0; font-size: 13px; color: var(--leise); max-width: 26ch; }
.v4-fuss .fuss-spalten > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.rk-kopf { padding-bottom: clamp(20px, 4vh, 40px) !important; }
.rk-kopf .wrap { max-width: 900px; }
.rk-block { padding-top: clamp(10px, 2vh, 24px) !important; }
.rk-block .wrap { max-width: 900px; }
.rk-form { gap: clamp(18px, 3vh, 28px) !important; padding: clamp(22px, 3.5vw, 44px) !important; }
.rk-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.rk-form legend { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); }
.rk-form legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; }
.rk-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.rk-feld { display: grid; gap: 6px; }
.rk-feld.breit { grid-column: 1 / -1; }
.rk-feld > span, .rk-titel { font-size: 14px; font-weight: 700; color: var(--ink); }
.rk-feld > span::after, .rk-titel::after { content: " *"; color: var(--red); }
.rk-feld.fehler input, .rk-feld.fehler textarea, .rk-grund.fehler label, .rk-datei.fehler { border-color: var(--red) !important; background: #fff6f5; }
.rk-grund { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rk-grund .rk-titel { width: 100%; }
.rk-grund label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rk-grund label:has(input:checked) { background: var(--green-tint); border-color: var(--green); color: var(--green-2); font-weight: 700; }
.rk-grund input { accent-color: var(--green-2); }
.rk-datei { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 28px 20px; border: 2px dashed var(--line); border-radius: 24px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.rk-datei:hover, .rk-datei.gewaehlt { border-color: var(--green); background: var(--green-tint); }
.rk-datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rk-datei b { color: var(--ink); }
.rk-datei b::after { content: " *"; color: var(--red); }
.rk-dateiname { font-size: 14px; color: var(--muted); }
.rk-form .senden { justify-self: start; }
.rk-hinweis { margin-top: 18px; color: var(--muted); font-size: 15px; text-align: center; }
.rk-hinweis a { color: var(--green-2); font-weight: 700; }
@media (max-width: 640px) { .rk-raster { grid-template-columns: 1fr; } }
.rk-form .rk-grund label { display: inline-flex !important; flex-direction: row; width: auto; grid-template-columns: none; white-space: nowrap; color: var(--ink); font-weight: 600; }
.rk-form .rk-grund label input { width: auto; margin: 0; }
.rk-form legend { font-size: clamp(20px, 1.8vw, 24px) !important; text-transform: none; letter-spacing: 0; font-weight: 800; }
.v4-fuss .knopf.fuss-rekla { white-space: nowrap; }
.rk-form legend { color: var(--ink) !important; }
/* Fuss: beide Knoepfe gleich breit, einzeilig, mittig */
.v4-fuss .fuss-spalten > div:last-child .knopf { width: 100%; max-width: 250px; box-sizing: border-box; justify-content: center; white-space: nowrap; padding: 12px 18px; font-size: 15px; line-height: 1.2; }
.v4-fuss .fuss-spalten > div:last-child .knopf.rot { margin-top: 20px; }
.v4-fuss .knopf.fuss-rekla { margin-top: 10px; gap: 8px; }
.v4-fuss .knopf.fuss-rekla svg { flex: none; }
.v4-fuss .fuss-rekla-text { max-width: 250px; }
.v4-fuss .fuss-spalten > div:last-child .knopf { height: 46px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }

/* Weiter-Band mit Bild im Hintergrund */
.weiter { position: relative; overflow: hidden; isolation: isolate; }
.weiter-bild { position: absolute; inset: 0; z-index: -1; }
.weiter-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.weiter-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,51,25,.95) 0%, rgba(15,51,25,.86) 45%, rgba(15,51,25,.55) 100%); }
.weiter .inhalt-wrap { position: relative; }

/* SEO 05.10.: Suchbegriff als Stichwort ueber der Ueberschrift, steht jetzt innerhalb der H1 (sieht aus wie vorher) */
h1 .h1-kw { display: flex; width: fit-content; font-family: var(--font-body); line-height: 1.3; }
h1 .h1-satz { display: block; }
.so-kopf h1 .h1-kw { justify-self: auto; }

/* Full-Service: Steine verschwinden hinter der Summe */
@media (min-width: 861px) { .stein { transition: opacity .35s ease; } }

/* Kundenlogo auf den Einsatzort-Karten der Automatenseite (07.10.), wie auf der Startseite */
.einsatz.mit-bild .kunde { position: absolute; top: 26px; left: 28px; display: inline-flex; align-items: center; height: 44px; padding: 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -14px rgba(15,51,25,.6); }
.einsatz.mit-bild .kunde img { height: 28px; width: auto; max-width: 130px; object-fit: contain; }
.einsatz.mit-bild .kunde.text { color: var(--ink); font-weight: 700; font-size: 14px; }
.einsatz.mit-bild .kunde img[src*="w-tec"] { height: 36px; }

/* Datenblatt zum Herunterladen unter den Geraetefakten (07.10.) */
.v4-datenblatt { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--akz, var(--green-2)); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.v4-datenblatt::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.6l3.3-3.3 1.4 1.4L12 17.4l-5.7-5.7 1.4-1.4 3.3 3.3V3zM4 19h16v2H4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.6l3.3-3.3 1.4 1.4L12 17.4l-5.7-5.7 1.4-1.4 3.3 3.3V3zM4 19h16v2H4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.v4-datenblatt:hover { opacity: .8; }

/* Standortcheck (07.10.): die Weiter-Zeile in den Schritten ist kein dunkles Weiter-Band */
.anf .schritt .weiter { background: none; color: inherit; padding: 0; border-top: 0; overflow: visible; isolation: auto; }
