@charset "UTF-8";
/* =====================================================================
   UNDERDOGS Wertstoffzentrum Templin — Base / Design System
   Desktop design canvas: 1536px  ·  Mobile design canvas: 430px
   ---------------------------------------------------------------------
   SCALE SYSTEM
   Every desktop value from the design is written as calc(N * var(--s)).
   --s equals 1px at a 1536px viewport and scales proportionally in BOTH
   directions - it shrinks below 1536 and grows above it, so the layout
   always fills the full window width without white margins.
   Small type gets a legibility floor via max(<floor>, calc(N*var(--s))).
   Below 1024px the mobile design takes over with literal px values.
   ===================================================================== */

:root {
  /* brand */
  --o: #F26716;
  --o-dark: #d95a10;
  --o-light: #ff8a3d;
  --o-soft: #ffe3d1;

  /* ink + text */
  --ink: #1c1c1c;
  --ink-2: #141414;
  --ink-3: #1a1a1a;
  --tx: #2e2e2e;
  --tx-2: #3d3d3d;
  --tx-3: #4d4d4d;
  --mut: #8a8781;
  --mut-2: #7a776f;

  /* light surfaces */
  --sand: #f8f7f5;
  --sand-2: #fbf9f7;
  --sand-3: #fcfcfa;
  --sand-4: #fdfdfc;

  /* lines */
  --line: #e2e0dc;
  --line-2: #eeece9;
  --line-3: #ecebe8;
  --line-4: #e6e3e0;
  --line-5: #dedcd8;
  --line-dark: #33322f;
  --line-dark-2: #2a2926;

  /* dark surfaces */
  --d-0: #0a0b0c;
  --d-1: #0b0b0b;
  --d-2: #0d0d0d;
  --d-3: #101112;
  --d-4: #101114;
  --d-5: #131311;
  --d-6: #181818;

  /* scale + gutter */
  --s: 1px;
  --gx: 22px;
}

@media (min-width: 1024px) {
  :root {
    /* Das Design ist auf einer 1536er Leinwand gebaut. --s skaliert diese
       Leinwand proportional auf die volle Fensterbreite - ohne Deckel, damit
       links und rechts kein weisser Rand bleibt. */
    --s: calc(100vw / 1536);
    --gx: calc(66 * var(--s));
  }
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  color: var(--tx);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
svg { flex: none; }

a { color: var(--ink-3); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--o); }

h1, h2, h3, h4, p { margin: 0; }

button { font-family: inherit; }

.page {
  position: relative;
  overflow-x: clip;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .page {
    width: 100%;
  }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--o); color: #fff; padding: 12px 18px;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------------ */
/* Typography helpers                                                  */
/* ------------------------------------------------------------------ */
.anton { font-family: Anton, "Arial Narrow", sans-serif; font-weight: 400; }
.accent { color: var(--o); }

/* orange uppercase kicker above headlines */
.eyebrow {
  color: var(--o);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .eyebrow { font-size: max(11px, calc(14 * var(--s))); }
}

/* section headline */
.h-sec {
  font-family: Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: .5px;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .h-sec { font-size: calc(62 * var(--s)); line-height: 1.13; }
}

/* lead paragraph */
.lead {
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--tx);
}
@media (min-width: 1024px) {
  .lead { font-size: max(12.5px, calc(15 * var(--s))); line-height: 1.65; }
}

.on-dark .h-sec, .h-sec--light { color: #ffffff; }

/* ------------------------------------------------------------------ */
/* Buttons + links                                                     */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 16px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
@media (min-width: 1024px) {
  .btn {
    font-size: max(11px, calc(13 * var(--s)));
    gap: calc(14 * var(--s));
    padding: calc(16 * var(--s)) calc(26 * var(--s));
    border-radius: calc(5 * var(--s));
  }
}

.btn--primary { background: var(--o); color: #ffffff; }
.btn--primary:hover { background: var(--o-dark); color: #ffffff; }

.btn--ghost { background: #ffffff; border-color: #dcdcdc; color: var(--ink-3); }
.btn--ghost:hover { border-color: var(--o); color: var(--o); }
.btn--ghost svg path { stroke: currentColor; }

.btn--glass {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { border-color: var(--o); color: var(--o); }
.btn--glass svg path { stroke: currentColor; }

.btn--pill { border-radius: 100px; }
.btn--block { width: 100%; }
.btn--shadow { box-shadow: 0 10px 34px rgba(242, 103, 22, .45); }

/* arrow link, orange */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--o);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.link-arrow:hover { color: var(--o-light); }
@media (min-width: 1024px) {
  .link-arrow { font-size: max(11px, calc(13 * var(--s))); gap: calc(16 * var(--s)); }
}

/* underlined arrow link (dark on light) */
.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink-3);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.link-rule:hover { color: var(--o); border-bottom-color: var(--o); }
@media (min-width: 1024px) {
  .link-rule { font-size: max(11px, calc(13 * var(--s))); gap: calc(22 * var(--s)); }
}
.link-rule--light { color: #ffffff; border-bottom-color: var(--o); }
.link-rule--light:hover { color: var(--o); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 18px;
  background: #ffffff;
  border-bottom: 1px solid #f0eeeb;
}
.hdr__logo { display: flex; }
.hdr__logo img { width: 118px; height: auto; display: block; }

.hdr__right { display: flex; align-items: center; gap: 12px; }

.hdr__cta { font-size: 11px; letter-spacing: .6px; padding: 11px 14px; border-radius: 5px; }
.hdr__cta svg { display: none; }
.hdr__cta .lbl-long { display: none; }

.hdr__burger {
  width: 44px; height: 44px;
  background: none; border: none; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
}
.hdr__burger span {
  display: block; width: 22px; height: 2px; background: var(--ink-2);
  transition: transform .3s ease, opacity .3s ease;
}
.hdr.is-open .hdr__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr.is-open .hdr__burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .hdr__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr__nav { display: none; }

@media (min-width: 1024px) {
  .hdr {
    position: relative;
    height: calc(105 * var(--s));
    padding: 0 calc(28 * var(--s)) 0 calc(36 * var(--s));
    border-bottom: none;
    justify-content: flex-start;
    z-index: 40;
  }
  .hdr__logo img { width: calc(196 * var(--s)); }
  .hdr__burger { display: none; }
  .hdr__right { margin-left: auto; }
  .hdr__cta {
    font-size: max(11px, calc(13 * var(--s)));
    letter-spacing: .8px;
    padding: calc(16 * var(--s)) calc(24 * var(--s));
    border-radius: calc(5 * var(--s));
  }
  .hdr__cta svg { display: block; }
  .hdr__cta .lbl-long { display: inline; }
  .hdr__cta .lbl-short { display: none; }

  .hdr__nav {
    display: flex;
    align-items: center;
    gap: calc(40 * var(--s));
    margin-left: calc(134 * var(--s));
    font-size: max(11px, calc(13 * var(--s)));
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--ink-3);
    text-transform: uppercase;
  }
  .hdr__nav > a,
  .navitem__trigger {
    padding: calc(12 * var(--s)) 0;
    color: var(--ink-3);
    white-space: nowrap;
  }
  .hdr__nav > a:hover, .navitem__trigger:hover { color: var(--o); }
  .hdr__nav a[aria-current="page"] { color: var(--o); }
}

/* Leistungen dropdown (desktop) */
.navitem { position: relative; }
.navitem__trigger {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit;
}
.navitem__chev { transition: transform .25s ease; }
.navitem.is-open .navitem__chev { transform: rotate(180deg); }

.navdrop {
  position: absolute;
  left: 0; top: 100%;
  width: calc(250 * var(--s));
  background: var(--sand-4);
  border-top: 2px solid var(--o);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
  padding: 4px calc(24 * var(--s));
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.navitem.is-open .navdrop { opacity: 1; visibility: visible; transform: translateY(0); }
.navdrop a {
  display: flex; align-items: center; gap: calc(16 * var(--s));
  padding: calc(18 * var(--s)) 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: max(12px, calc(14 * var(--s)));
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: none;
}
.navdrop a:last-child { border-bottom: none; }
.navdrop a:hover { color: var(--o); }

/* ------------------------------------------------------------------ */
/* Mobile menu                                                         */
/* ------------------------------------------------------------------ */
.mmenu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 49;
  background: #ffffff;
  padding: 10px 24px 30px;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
  overflow-y: auto;
}
.mmenu.is-open { transform: translateX(0); }
.mmenu__group {
  padding: 16px 0 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  color: var(--o); text-transform: uppercase;
}
.mmenu__group + .mmenu__group { padding-top: 22px; }
.mmenu a.mmenu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f0eeeb;
  font-size: 17px; font-weight: 700; color: var(--ink-2);
}
.mmenu a.mmenu__link[aria-current="page"] { color: var(--o); }
.mmenu__cta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px;
  background: var(--o); color: #ffffff;
  font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 16px 0; border-radius: 6px;
}
.mmenu__cta:hover { color: #ffffff; background: var(--o-dark); }
.mmenu__meta {
  margin-top: 26px;
  font-size: 13px; line-height: 1.8; font-weight: 500;
  color: var(--mut-2); text-align: center;
}
@media (min-width: 1024px) { .mmenu { display: none; } }

/* ------------------------------------------------------------------ */
/* Breadcrumb (subpages)                                               */
/* ------------------------------------------------------------------ */
.crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px;
  color: var(--mut); text-transform: uppercase;
}
.crumb a { color: var(--mut); }
.crumb a:hover { color: var(--o); }
.crumb strong { color: var(--o); font-weight: 800; }
@media (min-width: 1024px) {
  .crumb { font-size: max(10.5px, calc(12.5 * var(--s))); gap: calc(12 * var(--s)); }
}

/* ------------------------------------------------------------------ */
/* Swipe rows (mobile carousels) + dots                                */
/* ------------------------------------------------------------------ */
.swipe-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.swipe-row::-webkit-scrollbar { display: none; }
.swipe-row > * { scroll-snap-align: center; }

.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots > i {
  width: 18px; height: 4px; border-radius: 2px;
  background: #e2ded9; transition: background .3s ease;
}
.dots > i.is-on { background: var(--o); }
.dots--dark > i { background: #3a3a3a; }
.dots--dark > i.is-on { background: var(--o); }
@media (min-width: 1024px) { .dots { display: none; } }

/* ------------------------------------------------------------------ */
/* FAQ accordion                                                       */
/* ------------------------------------------------------------------ */
.faq {
  background: var(--sand-4);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 4px 18px;
}
@media (min-width: 1024px) {
  .faq { padding: calc(8 * var(--s)) calc(22 * var(--s)); box-shadow: 0 1px 3px rgba(0, 0, 0, .03); }
}

.faq-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-3);
  cursor: pointer;
}
.faq-item:last-child { border-bottom: none; }
.faq-item__icon { display: none; }
.faq-item__body { flex: 1; }
.faq-item__q { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.faq-plus { flex: none; margin-top: 3px; transition: transform .4s ease; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s ease, opacity .45s ease;
}
.faq-item.is-open .faq-answer { max-height: 240px; opacity: 1; }
.faq-answer p {
  padding-top: 10px;
  font-size: 13.5px; line-height: 1.6; font-weight: 500; color: var(--tx-3);
}
@media (min-width: 1024px) {
  .faq-item { gap: calc(20 * var(--s)); padding: calc(20 * var(--s)) 0; }
  .faq-item__icon { display: block; }
  .faq-item__q { font-size: max(13px, calc(15.5 * var(--s))); }
  .faq-answer p { font-size: max(12.5px, calc(14 * var(--s))); padding-top: calc(8 * var(--s)); max-width: calc(400 * var(--s)); }
}

/* ------------------------------------------------------------------ */
/* Anfrage form                                                        */
/* ------------------------------------------------------------------ */
.form-card {
  background: var(--sand-3);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 28px 22px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
@media (min-width: 1024px) {
  .form-card { padding: calc(36 * var(--s)) calc(38 * var(--s)) calc(30 * var(--s)); }
}

.form-card__title {
  font-family: Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: .5px;
  color: var(--ink);
  margin-top: 10px;
}
@media (min-width: 1024px) {
  .form-card__title { font-size: calc(36 * var(--s)); margin-top: calc(12 * var(--s)); }
}

.fld { display: block; margin-top: 16px; }
.fld:first-child { margin-top: 0; }
.fld > span {
  display: block;
  font-size: 11.5px; font-weight: 800; letter-spacing: .8px;
  color: #1f1f1f; text-transform: uppercase;
}
.fld input, .fld select, .fld textarea {
  margin-top: 8px;
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 15px;
  font-family: Archivo, sans-serif;
  font-weight: 500;
  color: #1f1f1f;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fld select { color: var(--tx-3); appearance: auto; }
.fld textarea { height: 84px; padding: 12px 14px; resize: none; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(242, 103, 22, .12);
}
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.fld-row .fld { margin-top: 0; }

@media (min-width: 1024px) {
  .fld { margin-top: calc(18 * var(--s)); }
  .fld > span { font-size: max(10.5px, calc(12 * var(--s))); }
  .fld input, .fld select, .fld textarea {
    height: calc(44 * var(--s));
    font-size: max(12.5px, calc(14 * var(--s)));
    border-radius: calc(6 * var(--s));
    padding: 0 calc(14 * var(--s));
    margin-top: calc(8 * var(--s));
  }
  .fld textarea { height: calc(56 * var(--s)); padding: calc(10 * var(--s)) calc(14 * var(--s)); }
  .fld-row { gap: calc(18 * var(--s)); margin-top: calc(18 * var(--s)); }
}

.dropzone {
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer;
  text-align: center;
  transition: border-color .25s ease, background .25s ease;
}
.dropzone.is-hover { border-color: var(--o); background: #fff7f2; }
.dropzone__hint { font-size: 13px; font-weight: 700; color: #1f1f1f; margin-top: 4px; }
.dropzone__sub { font-size: 11.5px; font-weight: 500; color: var(--mut); }
.dropzone input[type="file"] { display: none; }

.form-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px;
  font-size: 12px; line-height: 1.55; font-weight: 500; color: var(--tx-3);
}
@media (min-width: 1024px) {
  .form-note { font-size: max(11px, calc(13 * var(--s))); align-items: center; margin-top: calc(16 * var(--s)); }
}

.form-submit { margin-top: 20px; }
.form-submit.is-sent { background: #1f9d55; }
.form-submit.is-sent:hover { background: #1f9d55; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.ftr { position: relative; background: var(--d-5); overflow: hidden; }
.ftr__deco { display: none; }

.ftr__main { padding: 44px 24px 30px; position: relative; z-index: 1; }
.ftr__logo { width: 140px; height: auto; display: block; }
.ftr__claim {
  margin-top: 16px;
  font-size: 13.5px; line-height: 1.65; font-weight: 500; color: #b9b7b2;
}
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; margin-top: 30px; }
.ftr__h {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
  color: #ffffff; text-transform: uppercase;
}
.ftr__h svg { display: none; }
.ftr__txt {
  margin-top: 10px;
  font-size: 13px; line-height: 1.65; font-weight: 500; color: #d4d2cd;
}
.ftr__txt a { color: #d4d2cd; }
.ftr__txt a:hover { color: var(--o); }
.ftr__links { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 500; }
.ftr__links a { color: #d4d2cd; }
.ftr__links a:hover { color: var(--o); }
.ftr__more { display: none; }
.ftr__hours {
  margin-top: 10px;
  display: grid; grid-template-columns: max-content 1fr;
  column-gap: 8px; row-gap: 0;
  font-size: 13px; line-height: 1.65; font-weight: 500; color: #d4d2cd;
}
.ftr__col--zert { display: none; }

.ftr__bar {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 24px 26px;
  position: relative; z-index: 1;
}
.ftr__legal { display: flex; gap: 28px; }
.ftr__legal a { font-size: 12.5px; font-weight: 500; color: #d4d2cd; }
.ftr__legal a:hover { color: var(--o); }
.ftr__copy { font-size: 12px; font-weight: 500; color: #8b8985; }

@media (min-width: 1024px) {
  .ftr__deco {
    display: block;
    position: absolute; right: 0; bottom: 0;
    width: calc(406 * var(--s)); height: calc(130 * var(--s));
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 60%, #000 50%, transparent 95%);
    mask-image: radial-gradient(ellipse 80% 80% at 60% 60%, #000 50%, transparent 95%);
  }
  .ftr__main {
    display: flex; align-items: flex-start;
    padding: calc(44 * var(--s)) calc(60 * var(--s)) calc(40 * var(--s)) calc(78 * var(--s));
  }
  .ftr__brand { width: calc(250 * var(--s)); flex: none; }
  .ftr__logo { width: calc(158 * var(--s)); }
  .ftr__claim { margin-top: calc(18 * var(--s)); font-size: max(12px, calc(14 * var(--s))); }

  .ftr__cols {
    display: contents;
  }
  .ftr__col {
    flex: none;
    margin-left: calc(44 * var(--s));
    padding-left: calc(44 * var(--s));
    border-left: 1px solid var(--line-dark);
    align-self: stretch;
  }
  .ftr__col--standort { width: calc(210 * var(--s)); }
  .ftr__col--zeiten { width: calc(220 * var(--s)); }
  .ftr__col--kontakt { width: calc(230 * var(--s)); }
  .ftr__col--zert { display: block; flex: 1; width: auto; }
  .ftr__col--leist { display: none; }

  .ftr__h { font-size: max(12px, calc(14.5 * var(--s))); }
  .ftr__h svg { display: block; }
  .ftr__txt, .ftr__hours { margin-top: calc(16 * var(--s)); font-size: max(12px, calc(14 * var(--s))); line-height: 1.7; }
  .ftr__hours {
    display: grid; grid-template-columns: calc(56 * var(--s)) 1fr; row-gap: calc(6 * var(--s));
    line-height: 1.4;
  }
  .ftr__more {
    display: inline-flex; align-items: center; gap: calc(12 * var(--s));
    margin-top: calc(18 * var(--s));
    color: var(--o);
    font-size: max(11px, calc(13 * var(--s)));
    font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  }
  .ftr__more:hover { color: var(--o-light); }

  .ftr__bar {
    flex-direction: row; align-items: center; gap: 0;
    padding: calc(20 * var(--s)) calc(60 * var(--s)) calc(26 * var(--s)) calc(78 * var(--s));
  }
  .ftr__copy { font-size: max(11.5px, calc(13.5 * var(--s))); color: #b9b7b2; order: 0; }
  .ftr__legal { gap: calc(44 * var(--s)); margin-left: calc(200 * var(--s)); order: 1; }
  .ftr__legal a { font-size: max(11.5px, calc(13.5 * var(--s))); }
}

/* ------------------------------------------------------------------ */
/* Scroll reveal                                                       */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; }
}

/* ------------------------------------------------------------------ */
/* Scroll-Dock — zwei Aktionen, die erst beim Scrollen erscheinen       */
/* Sichtbar ab dem zweiten Bildschirm, wieder ausgeblendet, sobald das  */
/* Anfrageformular selbst im Bild ist (dort waere es doppelt gemoppelt) */
/* ------------------------------------------------------------------ */
.dock {
  position: fixed;
  z-index: 45;
  left: 12px;
  right: 12px;
  bottom: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 8px;
  /* Ausgangszustand: unsichtbar UND nicht fokussierbar. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility .3s;
}
.dock.is-in {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dock__btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  padding: 15px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.dock__btn svg { flex: none; }
.dock__btn svg path,
.dock__btn svg circle { stroke: currentColor; }

.dock__btn--cta {
  background: var(--o);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(242, 103, 22, .38);
}
.dock__btn--cta:hover { background: var(--o-dark); color: #ffffff; }

.dock__btn--call {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: #dcdcdc;
  color: var(--ink-3);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .14);
}
.dock__btn--call:hover { border-color: var(--o); color: var(--o); }

/* Offenes Mobilmenue liegt darueber — Dock solange wegnehmen. */
.hdr.is-open ~ .dock { opacity: 0; visibility: hidden; pointer-events: none; }

@media (min-width: 1024px) {
  /* Auf dem Desktop kein Vollbreiten-Balken, sondern ein kompaktes
     Paar unten rechts, das den Inhalt nicht zudeckt.                 */
  .dock {
    left: auto;
    right: calc(28 * var(--s));
    bottom: calc(28 * var(--s));
    gap: calc(10 * var(--s));
  }
  .dock__btn {
    flex: none;
    font-size: max(11px, calc(12.5 * var(--s)));
    gap: calc(10 * var(--s));
    padding: calc(15 * var(--s)) calc(22 * var(--s));
    border-radius: calc(5 * var(--s));
  }
}

@media (prefers-reduced-motion: reduce) {
  .dock { transform: none; transition: opacity .2s ease, visibility .2s; }
  .dock.is-in { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Shared helpers                                                      */
/* ------------------------------------------------------------------ */
.only-desktop { display: none; }
@media (min-width: 1024px) {
  .only-desktop { display: block; }
  .only-mobile { display: none !important; }
}

.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.mask-soft {
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 55%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 55%, transparent 90%);
}
