/* ==========================================================================
   Werbetechnik Daniel Buß — main.css
   Nachbau der Originalgestaltung. Lokale Schriften, kein CDN, kein JS.
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/fonts/open-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("/fonts/open-sans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "BebasNeue";
  src: url("/fonts/bebas-neue-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/fonts/merriweather-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --c-light: #f8f8f8;
  --c-dark: #151515;
  --c-grey: #777777;
  --c-green: #1f821f;          /* Überschriften */
  --c-green-nav: #228212;      /* Navigation aktiv */
  --c-green-btn: #32cd32;      /* Button / Akzent */

  --f-head: "Poppins", Arial, Helvetica, sans-serif;
  --f-body: "OpenSans", Arial, Helvetica, sans-serif;
  --f-nav: "BebasNeue", Arial, Helvetica, sans-serif;
  --f-serif: "Merriweather", Georgia, "Times New Roman", serif;

  --w-large: 1300px;
  --w-small: 960px;

  /* Tiefe der Wellenform – skaliert proportional mit der Viewport-Breite
     (200px bei 1600px Breite). Alle davon abhängigen Abstände leiten sich ab. */
  --wave: 12.5vw;
}

/* ---------- Grundgerüst ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-light);
  color: var(--c-dark);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 16px 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--c-green-btn); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-dark); color: #fff;
  padding: 12px 20px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

.inner { margin: 0 auto; padding: 32px 20px; }
.inner--large { max-width: var(--w-large); }
.inner--small { max-width: var(--w-small); }

/* ==========================================================================
   Kopfbereich
   ========================================================================== */
.head {
  background: var(--c-light);
  padding-bottom: var(--wave);
}
.head__inner {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; flex: 0 1 auto; max-width: 342px; }
.logo img { width: 100%; height: auto; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 140;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--c-dark);
}
.nav-toggle__box {
  display: block;
  position: relative;
  width: 26px;
  height: 18px;
}
.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), opacity .2s ease, background-color .2s ease;
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__box span:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] { color: #fff; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) {
  bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item { position: relative; }
.nav__row { display: inline-flex; align-items: center; }

.nav__link {
  display: inline-block;
  font-family: var(--f-nav);
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-dark);
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--c-green-nav); }
.nav__link[aria-current="page"] {
  color: var(--c-green-nav);
  border-bottom-color: var(--c-green-nav);
}

/* ---------- Untermenü ---------- */
.nav__sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: -4px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--c-dark);
  cursor: pointer;
}
.nav__sub-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.nav__item--sub:hover .nav__sub-toggle svg,
.nav__item--sub:focus-within .nav__sub-toggle svg,
.nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item--sub:hover .nav__sub-toggle,
.nav__item--sub:hover .nav__link { color: var(--c-green-nav); }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 232px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .7, .3, 1), visibility .22s;
  z-index: 60;
}
.nav__item--sub:hover > .nav__sub,
.nav__item--sub:focus-within > .nav__sub,
.nav__sub-toggle[aria-expanded="true"] + .nav__sub,
.nav__row:has(.nav__sub-toggle[aria-expanded="true"]) + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub-link {
  display: block;
  font-family: var(--f-nav);
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-dark);
  padding: 10px 14px;
  border-radius: 9px;
  transition: background-color .18s ease, color .18s ease;
}
.nav__sub-link:hover { background: rgba(50, 205, 50, .12); color: var(--c-green-nav); }
.nav__sub-link[aria-current="page"] { color: var(--c-green-nav); background: rgba(50, 205, 50, .1); }

/* ==========================================================================
   Mobiles Menü: Schublade von rechts
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }

  .logo { max-width: 250px; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 84vw);
    z-index: 130;
    background: var(--c-dark);
    box-shadow: -18px 0 46px rgba(0, 0, 0, .3);
    padding: 96px 26px 40px;
    overflow-y: auto;
    overscroll-blocked: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.2, .7, .3, 1), visibility .38s;
  }
  .nav-toggle[aria-expanded="true"] ~ .nav {
    transform: translateX(0);
    visibility: visible;
  }

  /* Abdunkelung hinter der Schublade */
  .nav::before {
    content: "";
    position: fixed;
    inset: 0;
    right: min(360px, 84vw);
    background: rgba(21, 21, 21, .5);
    opacity: 0;
    transition: opacity .38s ease;
    pointer-events: none;
  }
  .nav-toggle[aria-expanded="true"] ~ .nav::before { opacity: 1; pointer-events: auto; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__row { display: flex; align-items: center; justify-content: space-between; }
  .nav__link {
    display: block;
    flex: 1;
    color: #fff;
    font-size: 21px;
    padding: 16px 4px;
    border-bottom: 0;
  }
  .nav__link:hover,
  .nav__link[aria-current="page"] { color: var(--c-green-btn); }

  .nav__sub-toggle {
    width: 44px;
    height: 44px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
  }
  .nav__sub-toggle svg { width: 20px; height: 20px; }

  /* Untermenü als aufklappbare Liste statt schwebendes Feld */
  .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav__item--sub:hover > .nav__sub { display: none; }
  .nav__sub-toggle[aria-expanded="true"] + .nav__sub,
  .nav__row:has(.nav__sub-toggle[aria-expanded="true"]) + .nav__sub,
  .nav__item--sub:focus-within > .nav__sub { display: block; }
  .nav__sub-link {
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    padding: 11px 12px;
  }
  .nav__sub-link:hover,
  .nav__sub-link[aria-current="page"] {
    background: rgba(50, 205, 50, .14);
    color: var(--c-green-btn);
  }

  .head__inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav::before, .nav__sub, .nav-toggle__box span, .nav__sub-toggle svg { transition: none; }
}

/* ==========================================================================
   Bühne
   ========================================================================== */
.stage {
  position: relative;
  margin-top: calc(var(--wave) * -1);
  background-color: var(--c-dark);
  color: var(--c-light);
  background-image:
    linear-gradient(rgba(21, 21, 21, .52), rgba(21, 21, 21, .52)),
    url("/img/hero.webp");
  background-size: cover;
  background-position: center;
  -webkit-clip-path: polygon(0px 100%, 0px 12.5vw, 0px 12.3238vw, 0.0433333% 11.6781vw, 0.17% 11.0456vw, 0.376667% 10.4288vw, 0.659167% 9.8325vw, 1.01167% 9.26vw, 1.43167% 8.7137vw, 1.915% 8.1981vw, 2.45583% 7.7162vw, 3.05167% 7.2713vw, 3.69667% 6.8669vw, 4.38833% 6.5062vw, 5.12083% 6.1931vw, 5.89167% 5.9313vw, 6.695% 5.7237vw, 7.5275% 5.5738vw, 8.385% 5.485vw, 91.615% 0.0238vw, 92.4725% 0vw, 93.305% 0.0406vw, 94.1083% 0.1431vw, 94.8792% 0.3038vw, 95.6117% 0.5206vw, 96.3033% 0.79vw, 96.9483% 1.11vw, 97.5442% 1.4769vw, 98.085% 1.8875vw, 98.5683% 2.34vw, 98.9883% 2.8312vw, 99.3408% 3.3575vw, 99.6233% 3.9169vw, 99.83% 4.5062vw, 99.9567% 5.1219vw, 100% 5.7625vw, 100% 12.5vw, 100% 100%);
  clip-path: polygon(0px 100%, 0px 12.5vw, 0px 12.3238vw, 0.0433333% 11.6781vw, 0.17% 11.0456vw, 0.376667% 10.4288vw, 0.659167% 9.8325vw, 1.01167% 9.26vw, 1.43167% 8.7137vw, 1.915% 8.1981vw, 2.45583% 7.7162vw, 3.05167% 7.2713vw, 3.69667% 6.8669vw, 4.38833% 6.5062vw, 5.12083% 6.1931vw, 5.89167% 5.9313vw, 6.695% 5.7237vw, 7.5275% 5.5738vw, 8.385% 5.485vw, 91.615% 0.0238vw, 92.4725% 0vw, 93.305% 0.0406vw, 94.1083% 0.1431vw, 94.8792% 0.3038vw, 95.6117% 0.5206vw, 96.3033% 0.79vw, 96.9483% 1.11vw, 97.5442% 1.4769vw, 98.085% 1.8875vw, 98.5683% 2.34vw, 98.9883% 2.8312vw, 99.3408% 3.3575vw, 99.6233% 3.9169vw, 99.83% 4.5062vw, 99.9567% 5.1219vw, 100% 5.7625vw, 100% 12.5vw, 100% 100%);
}
.stage__inner {
  max-width: var(--w-small);
  margin: 0 auto;
  padding: calc(var(--wave) * 1.61) 20px calc(var(--wave) * 2.025);
  text-align: center;
}
.stage h1 {
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  color: #fff;
  margin-bottom: 14px;
}
.stage__claim {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(1.05rem, .95rem + .6vw, 1.45rem);
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 22px;
}
.stage__text {
  max-width: 680px;
  margin: 0 auto;
  color: #fff;
}

@media (max-width: 800px) {
  .stage__inner { padding: 200px 20px 160px; }
}

/* Unterer Abschluss der Bühne: weicher Verlauf auf die Hintergrundfarbe
   der folgenden Sektion */
.stage__inner { position: relative; z-index: 2; }
.stage::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--wave) * 1.4);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(248, 248, 248, 0) 0%,
    rgba(248, 248, 248, .18) 40%,
    rgba(248, 248, 248, .6) 72%,
    var(--c-light) 100%
  );
}

/* ==========================================================================
   Leistungen
   ========================================================================== */
.services {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--wave) * -0.77);
  padding-bottom: 100px;
}
.services__inner {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 0 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.card {
  position: relative;
  background: var(--c-light);
  padding: 28px 13% 36px;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0, 0, 0, .10);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--c-green-btn);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.card:hover,
.card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
}
.card:hover::after,
.card:focus-within::after { transform: scaleX(1); }

.card__media { padding: 0 0 8px; }
.card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card h2, .card h3 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.1rem + .35vw, 1.45rem);
  letter-spacing: -.02em;
  color: var(--c-green);
  margin: 20px 0 0;
  transition: color .25s ease;
}
.card:hover h2, .card:hover h3,
.card:focus-within h2, .card:focus-within h3 { color: var(--c-green-btn); }
.card p { margin: 16px 0 0; }

/* Ganze Karte klickbar, Link bleibt fokussierbar */
.card__link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--f-nav);
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--c-green);
  text-decoration: none;
  opacity: .7;
  transition: opacity .25s ease, color .25s ease, transform .25s ease;
}
.card__link::after {
  content: " →";
  display: inline-block;
  transition: transform .25s ease;
}
.card:hover .card__link,
.card:focus-within .card__link { opacity: 1; color: var(--c-green-btn); }
.card:hover .card__link::after { transform: translateX(4px); }
.card__link::before {
  content: "";
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .card, .card::after, .card h2, .card__link, .card__link::after {
    transition: none;
  }
  .card:hover, .card:focus-within { transform: none; }
}

/* Bildformen des Originals (SVG-Masken) */
.shape-1 {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M41.52%2C0S3.23-.77%2C2%2C43.69-5.24%2C119.05%2C12.23%2C127%2050.51%2C140.55%2087%2C140s47.28-6.19%2C50.11-26.94%2C5.29-47-1.59-68.45C124.75%2C10.79%2085.56%2C8.39%2068.16%2C3%2064.06%2C1.73%2058.63%2C0%2041.52%2C0Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M41.52%2C0S3.23-.77%2C2%2C43.69-5.24%2C119.05%2C12.23%2C127%2050.51%2C140.55%2087%2C140s47.28-6.19%2C50.11-26.94%2C5.29-47-1.59-68.45C124.75%2C10.79%2085.56%2C8.39%2068.16%2C3%2064.06%2C1.73%2058.63%2C0%2041.52%2C0Z%22%2F%3E%3C%2Fsvg%3E");
}
.shape-2 {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M20%2C32.68s13.65%2C26.78%2C1.49%2C33.47S3.69%2C68.9.85%2C78.66%201%2C137.71%2030%2C139s68%2C2.52%2C79.34-5.16%2026.35-19.54%2029.19-50.49%201-44.12-1.35-58.6S128.84-1.82%2C103.16.23%2057.48%2C3.92%2032.61%2C2.94s-18%2C18-18%2C18Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M20%2C32.68s13.65%2C26.78%2C1.49%2C33.47S3.69%2C68.9.85%2C78.66%201%2C137.71%2030%2C139s68%2C2.52%2C79.34-5.16%2026.35-19.54%2029.19-50.49%201-44.12-1.35-58.6S128.84-1.82%2C103.16.23%2057.48%2C3.92%2032.61%2C2.94s-18%2C18-18%2C18Z%22%2F%3E%3C%2Fsvg%3E");
}
.shape-3 {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M9.89%2C19.67S-1%2C55%2C.07%2C79.24-2.21%2C140.29%2039.71%2C140s94.7-4.27%2C98.21-27.51%201.93-60.46%2C0-73.26S130.2-3.21%2C99.16.28s-34.9%2C6.15-54%2C5.41S15%2C7.16%209.89%2C19.67Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%20140%20140%22%3E%3Cpath%20d%3D%22M9.89%2C19.67S-1%2C55%2C.07%2C79.24-2.21%2C140.29%2039.71%2C140s94.7-4.27%2C98.21-27.51%201.93-60.46%2C0-73.26S130.2-3.21%2C99.16.28s-34.9%2C6.15-54%2C5.41S15%2C7.16%209.89%2C19.67Z%22%2F%3E%3C%2Fsvg%3E");
}
.shape-1, .shape-2, .shape-3 {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ==========================================================================
   Kontaktbereich
   ========================================================================== */
.contact {
  background: var(--c-dark);
  color: var(--c-light);
  -webkit-clip-path: polygon(0% 100%, 0% 0vw, 0.0433% 7.3781vw, 0.17% 7.9938vw, 0.3767% 8.5831vw, 0.6592% 9.1425vw, 1.0117% 9.6687vw, 1.4317% 10.16vw, 1.915% 10.6125vw, 2.4558% 11.0231vw, 3.0517% 11.39vw, 3.6967% 11.71vw, 4.3883% 11.9794vw, 5.1208% 12.1962vw, 5.8917% 12.3569vw, 6.695% 12.4594vw, 7.5275% 12.5vw, 8.385% 12.4763vw, 91.615% 7.015vw, 92.4725% 6.9262vw, 93.305% 6.7763vw, 94.1083% 6.5687vw, 94.8792% 6.3069vw, 95.6117% 5.9938vw, 96.3033% 5.6331vw, 96.9483% 5.2287vw, 97.5442% 4.7838vw, 98.085% 4.3019vw, 98.5683% 3.7862vw, 98.9883% 3.24vw, 99.3408% 2.6675vw, 99.6233% 2.0713vw, 99.83% 1.4544vw, 99.9567% 0.8219vw, 100% 0.1762vw, 100% 0vw, 100% 100%);
  clip-path: polygon(0% 100%, 0% 0vw, 0.0433% 7.3781vw, 0.17% 7.9938vw, 0.3767% 8.5831vw, 0.6592% 9.1425vw, 1.0117% 9.6687vw, 1.4317% 10.16vw, 1.915% 10.6125vw, 2.4558% 11.0231vw, 3.0517% 11.39vw, 3.6967% 11.71vw, 4.3883% 11.9794vw, 5.1208% 12.1962vw, 5.8917% 12.3569vw, 6.695% 12.4594vw, 7.5275% 12.5vw, 8.385% 12.4763vw, 91.615% 7.015vw, 92.4725% 6.9262vw, 93.305% 6.7763vw, 94.1083% 6.5687vw, 94.8792% 6.3069vw, 95.6117% 5.9938vw, 96.3033% 5.6331vw, 96.9483% 5.2287vw, 97.5442% 4.7838vw, 98.085% 4.3019vw, 98.5683% 3.7862vw, 98.9883% 3.24vw, 99.3408% 2.6675vw, 99.6233% 2.0713vw, 99.83% 1.4544vw, 99.9567% 0.8219vw, 100% 0.1762vw, 100% 0vw, 100% 100%);
}
.contact__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--wave) * 1.5) 20px 80px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.field { margin: 0; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) {
  .logo { max-width: 190px; }

  .form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
}

.field > label,
.form-label {
  display: block;
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(248, 248, 248, .75);
  margin-bottom: 6px;
  transition: color .2s ease;
}
.field:focus-within > label { color: var(--c-green-btn); }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--c-light);
  background: rgba(248, 248, 248, .12);
  border: 2px solid rgba(248, 248, 248, .12);
  border-radius: 10px;
  padding: 12px 14px;
  transition: background-color .25s ease, border-color .25s ease,
              box-shadow .25s ease, transform .25s cubic-bezier(.2, .7, .3, 1);
}
.field input:hover,
.field textarea:hover {
  background: rgba(248, 248, 248, .18);
  border-color: rgba(248, 248, 248, .25);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(248, 248, 248, .2);
  border-color: var(--c-green-btn);
  box-shadow: 0 0 0 4px rgba(50, 205, 50, .18);
  transform: translateY(-2px);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(248, 248, 248, .45); }
.field textarea { min-height: 132px; resize: vertical; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(248, 248, 248, .75);
  transition: color .2s ease;
}
.consent:hover { color: var(--c-light); }
.consent input {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--c-green-btn);
  cursor: pointer;
}
.consent a { color: var(--c-light); }

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: rgba(248, 248, 248, .6);
}

.btn {
  display: inline-block;
  width: 100%;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--c-green-btn);
  background: transparent;
  border: 2px solid var(--c-green-btn);
  border-radius: 24px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.2, .7, .3, 1);
}
.form .btn { grid-column: 1 / -1; }
.btn:hover {
  background: var(--c-green-btn);
  color: var(--c-dark);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .field input, .field textarea, .btn { transition: none; }
  .field input:focus, .field textarea:focus, .btn:hover { transform: none; }
}

/* ==========================================================================
   Fußbereich
   ========================================================================== */
.foot {
  background: var(--c-dark);
  color: #fff;
}
.foot__inner {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
}
.foot__nav ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
}
.foot__nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}
.foot__nav a:hover { text-decoration: underline; }
.foot__nav a[aria-current="page"] { border-bottom-color: #fff; }
/* Cookie-Punkte sind reine PS-Marker ohne href — ProntoSite verdrahtet sie
   beim Veröffentlichen. Bis dahin sollen sie wenigstens wie Links aussehen. */
.foot__nav a:not([href]) { cursor: pointer; }

.foot__copy {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
  margin: 8px 0 20px;
}
.social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.social li { margin: 12px; }
.social a { display: block; color: #fff; }
.social svg { width: 27px; height: 27px; fill: currentColor; }

/* ==========================================================================
   Inhaltsseiten (Impressum, Datenschutz, Danke, 404)
   ========================================================================== */
/* Rechts- und Hinweisseiten haben keine Welle unter dem Kopfbereich — der
   große Vorlauf von --wave wäre dort nur Leerraum. Den Abstand trägt hier
   allein .page__inner. */
body:has(.page) .head { padding-bottom: 0; }

.page {
  background: var(--c-light);
}
.page__inner {
  max-width: var(--w-small);
  margin: 0 auto;
  padding: 60px 20px;
}
/* ProntoSite liefert den generierten Rechtstext in .ps-legal und begrenzt ihn
   per eingebettetem <style> auf 820px. Die Breite regelt hier schon
   .page__inner, deshalb heben wir die zweite Begrenzung auf. Zwei Klassen,
   damit die Regel die später eingebettete PS-Regel schlägt — ohne !important. */
.page .ps-legal { max-width: none; }

.page h1 {
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.75rem);
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.page h2 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem);
  letter-spacing: -.02em;
  color: var(--c-green);
  margin: 34px 0 8px;
}
.page address { font-style: normal; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.page .btn { width: auto; padding: 8px 24px; color: var(--c-green); border-color: var(--c-green); }
.page--center { text-align: center; }
.page--center .page__inner { padding: 100px 20px; }

/* ==========================================================================
   Unterseiten: Kopfbereich, Inhaltsbausteine
   ========================================================================== */
.pagehead {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  background-image:
    linear-gradient(rgba(21, 21, 21, .52), rgba(21, 21, 21, .52)),
    var(--pagehead-img, url("/img/pagehead.webp"));
  background-size: cover;
  background-position: center;
  margin-top: calc(var(--wave) * -1);
  -webkit-clip-path: polygon(0px 100%, 0px 12.5vw, 0px 12.3238vw, 0.0433333% 11.6781vw, 0.17% 11.0456vw, 0.376667% 10.4288vw, 0.659167% 9.8325vw, 1.01167% 9.26vw, 1.43167% 8.7137vw, 1.915% 8.1981vw, 2.45583% 7.7162vw, 3.05167% 7.2713vw, 3.69667% 6.8669vw, 4.38833% 6.5062vw, 5.12083% 6.1931vw, 5.89167% 5.9313vw, 6.695% 5.7237vw, 7.5275% 5.5738vw, 8.385% 5.485vw, 91.615% 0.0238vw, 92.4725% 0vw, 93.305% 0.0406vw, 94.1083% 0.1431vw, 94.8792% 0.3038vw, 95.6117% 0.5206vw, 96.3033% 0.79vw, 96.9483% 1.11vw, 97.5442% 1.4769vw, 98.085% 1.8875vw, 98.5683% 2.34vw, 98.9883% 2.8312vw, 99.3408% 3.3575vw, 99.6233% 3.9169vw, 99.83% 4.5062vw, 99.9567% 5.1219vw, 100% 5.7625vw, 100% 12.5vw, 100% 100%);
  clip-path: polygon(0px 100%, 0px 12.5vw, 0px 12.3238vw, 0.0433333% 11.6781vw, 0.17% 11.0456vw, 0.376667% 10.4288vw, 0.659167% 9.8325vw, 1.01167% 9.26vw, 1.43167% 8.7137vw, 1.915% 8.1981vw, 2.45583% 7.7162vw, 3.05167% 7.2713vw, 3.69667% 6.8669vw, 4.38833% 6.5062vw, 5.12083% 6.1931vw, 5.89167% 5.9313vw, 6.695% 5.7237vw, 7.5275% 5.5738vw, 8.385% 5.485vw, 91.615% 0.0238vw, 92.4725% 0vw, 93.305% 0.0406vw, 94.1083% 0.1431vw, 94.8792% 0.3038vw, 95.6117% 0.5206vw, 96.3033% 0.79vw, 96.9483% 1.11vw, 97.5442% 1.4769vw, 98.085% 1.8875vw, 98.5683% 2.34vw, 98.9883% 2.8312vw, 99.3408% 3.3575vw, 99.6233% 3.9169vw, 99.83% 4.5062vw, 99.9567% 5.1219vw, 100% 5.7625vw, 100% 12.5vw, 100% 100%);
}
/* Motiv je Seite – Vorgabe ist /img/pagehead.webp */
.pagehead--leistungen     { --pagehead-img: url("/img/head-leistungen.webp"); }
.pagehead--beschriftungen { --pagehead-img: url("/img/head-beschriftungen.webp"); }
.pagehead--folierungen    { --pagehead-img: url("/img/head-folierungen.webp"); }
.pagehead--werbeloesungen { --pagehead-img: url("/img/head-werbeloesungen.webp"); }
.pagehead--ueber-uns      { --pagehead-img: url("/img/head-ueber-uns.webp"); }
.pagehead--kontakt        { --pagehead-img: url("/img/head-kontakt.webp"); }

.pagehead__inner {
  position: relative;
  z-index: 2;
  max-width: var(--w-small);
  margin: 0 auto;
  padding: calc(var(--wave) * 1.05) 20px calc(var(--wave) * 0.85);
  text-align: center;
}

/* Unterer Abschluss des Seitenkopfs: gleicher Verlauf wie bei der Bühne */
.pagehead::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--wave) * 0.85);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(248, 248, 248, 0) 0%,
    rgba(248, 248, 248, .18) 40%,
    rgba(248, 248, 248, .6) 72%,
    var(--c-light) 100%
  );
}
.pagehead h1 {
  font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(21, 21, 21, .45);
}
.pagehead p {
  color: #fff;
  margin: 0 auto;
  max-width: 680px;
  text-shadow: 0 1px 12px rgba(21, 21, 21, .5);
}

.crumbs {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 14px;
  color: var(--c-grey);
  text-align: center;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "› "; color: var(--c-grey); }
.crumbs a { color: var(--c-grey); text-decoration: none; }
.crumbs a:hover { color: var(--c-green); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--c-dark); }

/* Text-Bild-Blöcke */
.split {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 800px) { .split--reverse .split__media { order: 0; } }
.split__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(21, 21, 21, .12);
}
.split__media img { width: 100%; height: auto; }
.split__body h2 {
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 16px;
}
.split__body h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px;
  background: var(--c-green-btn);
}
.split__body p { margin-top: 0; }

/* Aufzählung mit Haken */
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 16px; height: 8px;
  border-left: 3px solid var(--c-green-btn);
  border-bottom: 3px solid var(--c-green-btn);
  transform: rotate(-45deg);
}

/* Kachelraster – gleiche Optik wie die Karten auf der Startseite */
.tiles {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

/* Zahlen / Fakten */
.facts {
  background: var(--c-light);
}
.facts__inner {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.fact__num {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--c-green);
  display: block;
}
.fact__label { display: block; margin-top: 6px; }

/* Ablauf in Schritten */
.steps {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}

/* Aufruf zum Handeln – wie der Kontaktbereich der Startseite */
.cta {
  background: var(--c-dark);
  color: #fff;
  text-align: center;
  -webkit-clip-path: polygon(0% 100%, 0% 0vw, 0.0433% 7.3781vw, 0.17% 7.9938vw, 0.3767% 8.5831vw, 0.6592% 9.1425vw, 1.0117% 9.6687vw, 1.4317% 10.16vw, 1.915% 10.6125vw, 2.4558% 11.0231vw, 3.0517% 11.39vw, 3.6967% 11.71vw, 4.3883% 11.9794vw, 5.1208% 12.1962vw, 5.8917% 12.3569vw, 6.695% 12.4594vw, 7.5275% 12.5vw, 8.385% 12.4763vw, 91.615% 7.015vw, 92.4725% 6.9262vw, 93.305% 6.7763vw, 94.1083% 6.5687vw, 94.8792% 6.3069vw, 95.6117% 5.9938vw, 96.3033% 5.6331vw, 96.9483% 5.2287vw, 97.5442% 4.7838vw, 98.085% 4.3019vw, 98.5683% 3.7862vw, 98.9883% 3.24vw, 99.3408% 2.6675vw, 99.6233% 2.0713vw, 99.83% 1.4544vw, 99.9567% 0.8219vw, 100% 0.1762vw, 100% 0vw, 100% 100%);
  clip-path: polygon(0% 100%, 0% 0vw, 0.0433% 7.3781vw, 0.17% 7.9938vw, 0.3767% 8.5831vw, 0.6592% 9.1425vw, 1.0117% 9.6687vw, 1.4317% 10.16vw, 1.915% 10.6125vw, 2.4558% 11.0231vw, 3.0517% 11.39vw, 3.6967% 11.71vw, 4.3883% 11.9794vw, 5.1208% 12.1962vw, 5.8917% 12.3569vw, 6.695% 12.4594vw, 7.5275% 12.5vw, 8.385% 12.4763vw, 91.615% 7.015vw, 92.4725% 6.9262vw, 93.305% 6.7763vw, 94.1083% 6.5687vw, 94.8792% 6.3069vw, 95.6117% 5.9938vw, 96.3033% 5.6331vw, 96.9483% 5.2287vw, 97.5442% 4.7838vw, 98.085% 4.3019vw, 98.5683% 3.7862vw, 98.9883% 3.24vw, 99.3408% 2.6675vw, 99.6233% 2.0713vw, 99.83% 1.4544vw, 99.9567% 0.8219vw, 100% 0.1762vw, 100% 0vw, 100% 100%);
}
.cta__inner {
  max-width: var(--w-small);
  margin: 0 auto;
  padding: calc(var(--wave) * 1.55) 20px 110px;
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  letter-spacing: -.028em;
  margin-bottom: 12px;
}
.cta p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.cta .btn { width: auto; min-width: 260px; }

/* Abschnittsüberschrift */
.sechead {
  max-width: var(--w-large);
  margin: 0 auto;
  padding: 60px 20px 0;
  text-align: center;
}
.sechead h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  letter-spacing: -.028em;
  color: var(--c-green);
  margin-bottom: 8px;
}
.sechead p { max-width: 680px; margin: 0 auto; }

/* ==========================================================================
   Karten mit Icon (Unterseiten) – Optik der Startseiten-Karten
   ========================================================================== */
.card--icon { padding: 36px 28px 32px; }
.card--icon .card__link { margin-top: 18px; }

.card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(50, 205, 50, .12);
  display: grid;
  place-items: center;
  transition: background-color .35s ease, transform .35s cubic-bezier(.2, .7, .3, 1);
}
.card__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--c-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease;
}
.card:hover .card__icon,
.card:focus-within .card__icon {
  background: rgba(50, 205, 50, .2);
  transform: scale(1.06);
}
.card:hover .card__icon svg,
.card:focus-within .card__icon svg { stroke: var(--c-green-btn); }

/* Nummerierte Schritt-Karte */
.card--step { counter-increment: step; }
.card--step .card__icon { position: relative; }
.card--step .card__icon::after {
  content: counter(step);
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-green-btn);
  color: #fff;
  font-family: var(--f-nav);
  font-size: 17px;
  line-height: 28px;
  text-align: center;
}

/* Merkmalsliste innerhalb einer Karte */
.card .ticks {
  text-align: left;
  margin-top: 18px;
  display: inline-grid;
}

/* Einleitungsblock wie der Willkommenstext der Startseite */
.intro {
  max-width: var(--w-small);
  margin: 0 auto;
  padding: 56px 20px 12px;
  text-align: center;
}
.intro h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  letter-spacing: -.028em;
  color: var(--c-green);
  margin-bottom: 14px;
}
.intro p { max-width: 680px; margin: 12px auto 0; }

@media (prefers-reduced-motion: reduce) {
  .card__icon { transition: none; }
  .card:hover .card__icon, .card:focus-within .card__icon { transform: none; }
}

/* ==========================================================================
   Überschriften: Akzentlinie unter zentrierten Abschnittstiteln
   ========================================================================== */
.intro h2::after,
.sechead h2::after,
.cta h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--c-green-btn);
}
