/* =========================================================
   web-part | Design-System
   ========================================================= */

/* --- Schriften: liegen lokal im Ordner assets/fonts --------------------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/worksans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../fonts/worksans-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Farben, Abstände, Grundwerte -------------------------------------- */
:root {
  --orange: #f94d1c;
  --orange-deep: #d63c0f;
  --orange-soft: #fdeee8;
  --ink: #22201e;
  --ink-soft: #3a3734;
  --text: #6c6c6b;
  --paper: #ffffff;
  --sand: #f6f4f1;
  --line: #e5e1dc;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(34, 32, 30, .06), 0 4px 14px rgba(34, 32, 30, .05);
  --shadow-md: 0 10px 34px rgba(34, 32, 30, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Work Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--ink-soft); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Grundgerüst -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding-top: clamp(36px, 4vw, 56px); }
.section--flush-top { padding-top: 0; }

.lead {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* Kleiner Zähler über Abschnittsüberschriften */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
}
.eyebrow::after {
  content: "";
  flex: 0 0 44px;
  height: 2px;
  background: var(--orange);
  opacity: .5;
}

.head-block { max-width: 48rem; margin-bottom: clamp(32px, 4vw, 56px); }

.mt-lg { margin-top: 32px; }
.grid--middle { align-items: center; }

/* Markierung wie der Strich im Logo */
.mark {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 92%;
  padding-bottom: 2px;
}

/* --- Kopfbereich der Seite ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34, 32, 30, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 172px; height: auto; }

.partner-badge {
  flex: 0 0 auto;
  height: 19px;
  width: auto;
  opacity: .82;
  transition: opacity .2s var(--ease);
}
.brand:hover .partner-badge { opacity: 1; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 10px 11px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:not(.btn)[aria-current="page"],
.nav a.is-active { color: var(--ink); }
.nav a:not(.btn)[aria-current="page"]::after,
.nav a.is-active::after { transform: scaleX(1); }

/* Untermenü unter „Leistungen" */
.nav-group { position: relative; }
.nav-chev {
  display: inline-block;
  margin-left: 2px;
  vertical-align: 1px;
  color: var(--orange);
  transition: transform .25s var(--ease);
}
.nav-group:hover .nav-chev,
.nav-group:focus-within .nav-chev { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.subnav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav .subnav a:not(.btn) {
  display: block;
  padding: 11px 14px;
  white-space: nowrap;
  border-radius: 4px;
}
.nav .subnav a:not(.btn)::after { display: none; }
.nav .subnav a:not(.btn):hover { background: var(--sand); }
.nav .subnav a:not(.btn)[aria-current="page"] { color: var(--orange); }

/* Brotkrümelpfad auf Unterseiten */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: .86rem;
  color: var(--text);
}
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--orange); font-weight: 600; }

.nav-cta { margin-left: 10px; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: background .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .28s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Schaltflächen ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { flex: 0 0 auto; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(249, 77, 28, .28);
}
.btn--primary:hover {
  background: var(--orange-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(249, 77, 28, .34);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover { background: var(--sand); color: var(--ink); transform: translateY(-2px); }

.btn--sm { padding: 11px 18px; font-size: .94rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { transition: transform .28s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --- Startbereich ------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 92px) 0 clamp(52px, 6vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(249, 77, 28, .13), rgba(249, 77, 28, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: .93rem;
  color: var(--ink-soft);
}
.trust-row svg { flex: 0 0 auto; color: var(--orange); }

/* --- Platzhalter-Flächen für Bilder -------------------------------------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 13px);
  z-index: -1;
}
.ph--dark {
  background:
    radial-gradient(circle at 50% 45%, rgba(249, 77, 28, .22), rgba(249, 77, 28, 0) 62%),
    var(--ink);
  color: var(--orange);
}
.ph--light {
  background: linear-gradient(150deg, var(--orange-soft), #fbe3d9);
  color: var(--orange);
}
.ph--light::after { background-image: repeating-linear-gradient(135deg, rgba(249, 77, 28, .07) 0 2px, transparent 2px 13px); }
.ph svg { width: clamp(76px, 26%, 148px); height: auto; opacity: .95; }
.ph-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
}
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--16x10 { aspect-ratio: 16 / 10; }

.portrait {
  position: relative;
  max-width: 460px;
  margin: 0;
}
.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.portrait::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 56%;
  height: 50%;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 62%;
  height: 58%;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* --- Kennzahlen-Reihe ---------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

/* --- Hervorgehobenes Zitat ------------------------------------------------ */
.quote {
  position: relative;
  padding: clamp(26px, 3vw, 36px) clamp(26px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.quote p {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -.01em;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: .92rem;
  color: var(--text);
}

/* --- Punktlisten auf hellem Hintergrund ---------------------------------- */
.points-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.points-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .98rem;
  color: var(--ink-soft);
}
.points-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--orange); }

/* --- Hinweis-Kasten ------------------------------------------------------ */
.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--orange-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.notice svg { flex: 0 0 auto; margin-top: 3px; color: var(--orange); }
.notice p { margin: 0; font-size: .98rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* --- Kundenlogos, laufendes Band ----------------------------------------- */
.logo-strip-head {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.logo-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 42s linear infinite;
}
.logo-track-wrap:hover .logo-track,
.logo-track-wrap:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.logo-set img {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: .82;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.logo-set img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Karten ------------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 30px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width .38s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: #d8d3cc;
  box-shadow: var(--shadow-md);
}
.card:hover::before { width: 64px; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: 16px; }

.card--plain { background: transparent; border: 0; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }
.card--plain::before { display: none; }

/* --- Kundenstimmen -------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.testimonial p {
  font-size: .96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.testimonial cite {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem;
}
.testimonial cite span {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  color: var(--text);
  font-size: .85rem;
}
.testimonial-tags {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .82rem !important;
  color: var(--text) !important;
}

/* --- Symbole ------------------------------------------------------------ */
.ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: var(--orange);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.ico svg { width: 28px; height: 28px; }
.card:hover .ico { background: var(--orange); color: #fff; transform: rotate(-4deg); }

/* Signet-Marke: nimmt die Funkwellen aus dem web-part-Logo als wiederkehrendes Detail auf jedem Icon auf */
.ico::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='20' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='20' cy='4' r='6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='20' cy='4' r='10' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='20' cy='4' r='14' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='20' cy='4' r='1.6' fill='%23fff'/%3E%3Ccircle cx='20' cy='4' r='6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='20' cy='4' r='10' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='20' cy='4' r='14' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.ico-accent {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.card:hover .ico-accent,
.step:hover .ico-accent {
  animation: draw .75s var(--ease);
}
@keyframes draw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* --- Leistungs-Blöcke (lange Beschreibungen) ----------------------------- */
.service {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 28px;
  padding: clamp(28px, 3vw, 42px) 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .ico { margin-bottom: 0; width: 66px; height: 66px; }
.service .ico svg { width: 32px; height: 32px; }
.service:hover .ico { background: var(--orange); color: #fff; }
.service h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  position: relative;
  padding-left: 26px;
  font-size: .97rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}
.service-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--sand);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem;
}
.section--sand .service-note { background: #fff; }

/* --- Ablauf-Schritte ----------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
  transition: border-color .3s var(--ease);
}
.step:hover { border-top-color: var(--orange); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -16px;
  left: 0;
  padding-right: 12px;
  background: var(--sand);
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
}
.section:not(.section--sand) .step::before { background: #fff; }
.step h3 { margin-bottom: .4em; }
.step p { font-size: .97rem; }

/* --- Fragen und Antworten ------------------------------------------------ */
.faq { max-width: 56rem; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); }
.faq summary .chev {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--orange);
  transition: transform .3s var(--ease);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer {
  padding: 0 0 24px;
  max-width: 62ch;
  animation: fade-up .35s var(--ease);
}
.faq .answer p:first-child { margin-top: 0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Dunkler Abschluss-Bereich ------------------------------------------- */
.band {
  position: relative;
  background: var(--ink);
  color: #cfcac4;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 44px);
}
.band::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(249, 77, 28, .34), rgba(249, 77, 28, 0) 66%);
}
.band > * { position: relative; z-index: 1; }
.band h2, .band h3 { color: #fff; }
.band .lead { color: #cfcac4; }

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.band-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.band-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .98rem;
}
.band-points svg { flex: 0 0 auto; margin-top: 3px; color: var(--orange); }

/* --- Formular ------------------------------------------------------------ */
.form-card {
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.section--sand .form-card { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--text); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #cdc7c0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 77, 28, .16);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 22px;
  font-size: .92rem;
  line-height: 1.55;
}
.check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--orange);
}

/* Spamschutz: für Menschen unsichtbar */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .96rem;
}
.form-status.is-ok { display: block; background: #edf7ee; border-left: 3px solid #3f8f48; color: #2c6633; }
.form-status.is-error { display: block; background: #fdeee8; border-left: 3px solid var(--orange); color: #a8360f; }

.form-legal { margin-top: 16px; font-size: .86rem; line-height: 1.5; }

/* --- Kontaktdaten -------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--orange); }
.contact-list .label {
  display: block;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--orange); }

/* --- Vertrauens-Block ---------------------------------------------------- */
.partner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.section--sand .partner { background: #fff; }
.partner img { width: 100%; max-width: 210px; }

/* --- Textseiten (Impressum, Datenschutz) --------------------------------- */
.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  margin-top: 2.2em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose .note {
  padding: 18px 22px;
  background: var(--orange-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem;
}

/* --- Fußbereich ---------------------------------------------------------- */
.band + .site-footer { border-top: 1px solid rgba(255, 255, 255, .09); }

.site-footer {
  background: var(--ink);
  color: #a9a49e;
  padding: clamp(48px, 5vw, 72px) 0 32px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer img { width: 168px; margin-bottom: 18px; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .site-footer address a {
  color: #a9a49e;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-links a:hover, .site-footer address a:hover { color: var(--orange); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: .88rem;
}

/* --- Einblenden beim Scrollen -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   Ansicht auf Tablet und Handy
   ========================================================= */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual::before { display: none; }
  .hero-visual .ph { max-height: 290px; }
  .ph--4x3 { aspect-ratio: 16 / 9; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner { grid-template-columns: 1fr; text-align: left; }
  .partner img { max-width: 180px; }
}

@media (max-width: 800px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    display: block;
    padding: 12px var(--gutter) 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) {
    display: block;
    padding: 15px 4px;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"]:not(.btn),
  .nav a.is-active { color: var(--orange); }
  .nav-chev { display: none; }
  .subnav {
    position: static;
    min-width: 0;
    padding: 0 0 0 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .subnav::before { display: none; }
  .nav .subnav a:not(.btn) {
    padding: 13px 4px;
    font-size: 1rem;
    white-space: normal;
    border-radius: 0;
  }
  .nav .subnav a:not(.btn):hover { background: transparent; }
  .nav-cta { display: block; margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  h1, h2, h3 { hyphens: auto; }
  h1 { font-size: clamp(1.95rem, 1.1rem + 3.8vw, 2.6rem); }
  .header-inner { min-height: 68px; }
  .nav { inset-block-start: 68px; }
  .logo img { width: 142px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .service { grid-template-columns: 1fr; gap: 18px; }
  .service .ico { width: 54px; height: 54px; }
  .service-list { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-row { gap: 12px; flex-direction: column; }
  .hero-visual .ph { max-height: 210px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .ph--4x5 { aspect-ratio: 4 / 3; }
  .portrait { max-width: 100%; }
  .portrait::before { display: none; }
  .ph-tag { font-size: .68rem; }
  .faq summary { gap: 14px; }
  .logo-set { gap: 36px; padding-right: 36px; }
  .logo-set img { height: 34px; }
  .notice { padding: 16px 18px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none !important; flex-wrap: wrap; width: 100%; justify-content: center; }
  .logo-set[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .site-footer, .band, .form-card { display: none; }
}
