/* ============================================================
   harald-pfeifer.com/digital — Eigencode-Neubau
   Design-Tokens aus design_tokens.md (verbindlich)
   ============================================================ */

/* ============================================================
   Schriften — SELBST GEHOSTET (DSGVO + Speed)
   Kein Request an fonts.googleapis.com / fonts.gstatic.com.
   Oswald wird als Variable Font (Gewichtsachse 300–700) in EINER
   Datei ausgeliefert; Poppins als statische Schnitte 400/500/600.
   font-display:swap + local()-Fallback (nutzt eine evtl. lokal
   installierte Schrift, bevor die woff2 geladen ist).
   ============================================================ */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: local("Oswald"),
       url("assets/fonts/oswald-var-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: local("Oswald"),
       url("assets/fonts/oswald-var-latin-ext.woff2") format("woff2");
  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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poppins Regular"), local("Poppins"),
       url("assets/fonts/poppins-400-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poppins Regular"), local("Poppins"),
       url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Poppins Medium"),
       url("assets/fonts/poppins-500-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Poppins Medium"),
       url("assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Poppins SemiBold"),
       url("assets/fonts/poppins-600-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Poppins SemiBold"),
       url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  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;
}

:root {
  --bg:            #131313;
  --bg-soft:       #191919;
  --bg-card:       #1c1c1c;
  --bg-card-hover: #232323;
  --line:          #2b2b2b;
  --white:         #ffffff;
  --text:          #d3d3d3;
  --muted:         #9a9a9a;
  --orange:        #f5a111;
  --orange-2:      #fea601;
  --gold:          #fec101;
  --secondary:     #605be5;
  --highlight:     #e83d17;
  --cta:           linear-gradient(145deg, #ffc501 0%, #ff7f01 100%);
  --cta-hover:     linear-gradient(145deg, #ffd23a 0%, #ff9424 100%);

  --font-head: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --container-hero: 1024px;
  --pad-x: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 100px);
  --gap: clamp(16px, 2.2vw, 20px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--white);
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--orange);
  margin: 0 0 .6em;
}

.section-title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 .35em;
}

.section-lead {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(15px, 1.7vw, 17px);
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(14px, 1.6vw, 16px);
  padding: 14px 34px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, filter .25s ease;
  will-change: transform;
}
.btn--cta {
  background: var(--cta);
  color: #1a1200;
  box-shadow: 0 10px 24px -10px rgba(255,141,1,.6);
}
.btn--cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(255,141,1,.75);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--orange);
}
.btn--ghost:hover {
  background: rgba(245,161,17,.12);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19,19,19,.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(14,14,14,.94);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: auto; }
.brand__name {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .16em;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white);
  white-space: nowrap;
}
.header-cta { padding: 10px 24px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: flex;
  align-items: center;
  background-color: #0d0d0d;
  /* Fallback fuer aeltere Browser ohne image-set()-Support: */
  background-image: url("assets/hero-harald.png");
  /* Progressive Aufwertung: WebP wo unterstuetzt, sonst PNG. */
  background-image: image-set(url("assets/hero-harald.webp") type("image/webp"), url("assets/hero-harald.png") type("image/png"));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.86) 32%, rgba(13,13,13,.45) 60%, rgba(13,13,13,.15) 100%),
    linear-gradient(to top, rgba(19,19,19,.9) 0%, rgba(19,19,19,0) 40%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero__text { max-width: var(--container-hero); }
.hero__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(36px, 7.2vw, 85px);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: .38em;
}
.hero__title .accent { color: var(--orange); }
.hero__sub {
  max-width: 620px;
  font-size: clamp(15px, 1.9vw, 18px);
  color: #e6e6e6;
  margin-bottom: 2em;
}

/* Zähler */
.counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(14px, 3vw, 36px);
  margin-bottom: 2.4em;
  max-width: 640px;
}
.counter__num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1;
  color: var(--white);
}
.counter__num .unit { color: var(--orange); font-weight: 500; }
.counter__label {
  display: block;
  margin-top: .45em;
  font-size: clamp(11px, 1.5vw, 13px);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
}

/* ============================================================
   Feature-Boxen (digital gedacht)
   ============================================================ */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 34px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,161,17,.5);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.9);
}
.card__icon {
  width: 62px; height: 62px;
  object-fit: contain;
  margin-bottom: 18px;
  color: var(--orange);   /* faerbt die Inline-SVG (stroke=currentColor) */
  display: block;
}
.card__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  margin-bottom: .5em;
  line-height: 1.15;
}
.card__text { color: var(--text); font-size: 14.5px; }

/* ============================================================
   Prozess (So läuft die Zusammenarbeit)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(245,161,17,.5); }
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  color: var(--orange);
  opacity: .9;
  margin-bottom: .3em;
}
.step__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 19px;
  color: var(--white);
  margin-bottom: .5em;
}
.step__text { color: var(--text); font-size: 14px; }

.deliver-head {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--white);
  margin: clamp(44px, 6vw, 68px) 0 clamp(20px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.deliver-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.deliver {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.deliver:hover { transform: translateY(-6px); border-color: rgba(245,161,17,.5); background: var(--bg-card); }
.deliver__title {
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--white);
  margin-bottom: .5em;
  display: flex; align-items: baseline; gap: 10px;
}
.deliver__title::before {
  content: "";
  width: 9px; height: 9px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cta);
  transform: translateY(-1px);
}
.deliver__text { color: var(--text); font-size: 14px; }

/* ============================================================
   Über mich
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.about__media { position: relative; }
.about__portrait {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.about__quote {
  margin-top: 22px;
  background: linear-gradient(145deg, rgba(245,161,17,.14), rgba(232,61,23,.06));
  border: 1px solid rgba(245,161,17,.32);
  border-radius: 16px;
  padding: 22px 24px;
}
.about__quote p {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.35;
  color: var(--white);
  font-style: italic;
}
.about__quote cite {
  display: block;
  margin-top: .7em;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
}
.about__bio { font-size: clamp(15px, 1.7vw, 17px); color: var(--text); margin-bottom: 28px; }
.about__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.mini {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  transition: transform .3s ease, border-color .3s ease;
}
.mini:hover { transform: translateY(-4px); border-color: rgba(245,161,17,.5); }
.mini__icon { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; color: var(--orange); display: block; }
.mini__title { font-family: var(--font-head); font-size: 17px; color: var(--white); margin-bottom: .35em; }
.mini__text { font-size: 13.5px; color: var(--text); }

/* ============================================================
   Leistungen
   ============================================================ */
.price {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.price:hover {
  transform: translateY(-8px);
  border-color: rgba(245,161,17,.55);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.9);
}
.price__icon { width: 58px; height: 58px; object-fit: contain; margin-bottom: 18px; color: var(--orange); display: block; }
.price__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  margin-bottom: .5em;
  line-height: 1.15;
}
.price__tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--orange);
  margin-bottom: 1em;
}
.price__desc { color: var(--text); font-size: 14px; margin-bottom: 1.2em; }
.price__list { list-style: none; margin: 0 0 1.6em; padding: 0; }
.price__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .7em;
  font-size: 14px;
  color: var(--text);
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 15px; height: 15px;
  background: var(--cta);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg-card);
}
.price__cta { margin-top: auto; }

/* ============================================================
   Referenzmappe (Formular)
   ============================================================ */
.refform-wrap {
  max-width: 620px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.field input[type=text],
.field input[type=email] {
  width: 100%;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,161,17,.18);
}
.field input::placeholder { color: #6a6a6a; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 24px;
}
.consent input[type=checkbox] {
  margin-top: 3px;
  width: 20px; height: 20px;
  flex: 0 0 auto;
  accent-color: var(--orange);
  cursor: pointer;
}
.consent label { font-size: 13px; color: var(--text); line-height: 1.45; }
.consent a { color: var(--orange); text-decoration: underline; }
.form-note { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: center; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact { text-align: center; }
.contact .section-title { margin-bottom: .6em; }
.contact__lead { max-width: 640px; margin: 0 auto 2.4em; color: var(--text); }
.contact__icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
}
.contact__icon {
  width: 66px; height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--white);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
}
.contact__icon svg { width: 28px; height: 28px; }
.contact__icon:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--cta);
  border-color: transparent;
  color: #1a1200;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0e0e0e;
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 72px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 44px; height: auto; }
.footer-brand span {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--white);
  font-size: 18px;
}
.footer-col h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col p { font-size: 14px; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--text); transition: color .2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   Reveal-Animation
   ============================================================ */
/* Ohne JS bleibt alles sichtbar (kein Content-Verlust bei JS-Fehler/Crawler).
   Der Verstecker greift nur, wenn script.js die .js-Klasse gesetzt hat. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin-inline: auto; }
  .hero { background-position: 76% center; }
}

/* Tablet-Hochkant (~768–900): dreispaltige Raster (Leistungen + "Das
   bekommen Sie am Ende") sind hier zu schmal gequetscht -> zweispaltig,
   luftiger. Auf dem Handy (<=760, weiter unten) brechen sie auf 1 Spalte. */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .header-cta { display: none; }
  .hero { background-position: 80% center; min-height: 78vh; }
  .hero::before {
    background:
      linear-gradient(105deg, rgba(11,11,11,.95) 0%, rgba(11,11,11,.82) 45%, rgba(13,13,13,.42) 100%),
      linear-gradient(to top, rgba(19,19,19,.96) 0%, rgba(19,19,19,0) 45%);
  }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .brand__name { font-size: 16px; }

  /* Handy hochkant: die H1 muss klar lesbar bleiben, Harald aber sichtbar.
     Deshalb (a) Bild weiter nach rechts, sodass Harald am rechten Rand steht
     statt hinter dem Text, und (b) auf der Textseite deutlich mehr
     Verlauf-Deckung, die erst zum rechten Rand hin aufreisst. Zusaetzlich
     etwas geringere Hoehe, damit Text und Person weniger uebereinanderliegen. */
  .hero { background-position: 86% center; min-height: 72vh; }
  .hero::before {
    background:
      linear-gradient(100deg, rgba(11,11,11,.97) 0%, rgba(11,11,11,.93) 46%, rgba(11,11,11,.72) 70%, rgba(13,13,13,.22) 100%),
      linear-gradient(to top, rgba(19,19,19,.97) 0%, rgba(19,19,19,0) 52%);
  }
}

/* Handy quer / niedrige Höhe */
@media (max-height: 460px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero__inner { padding-block: 72px; }
  .counters { margin-bottom: 1.4em; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .step, .price, .mini, .contact__icon, .deliver { transition: none !important; }
}

/* ============================================================
   Rechtliche Modals (Impressum / Datenschutz)
   Natives <dialog>: showModal() blendet ::backdrop ein und faengt
   den Fokus; ESC schliesst von selbst.
   ============================================================ */
.legal-modal {
  width: min(680px, 92vw);
  max-height: 86vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  color: var(--text);
  overflow: hidden;               /* runde Ecken clippen den Scroll-Bereich */
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.legal-modal::backdrop {
  background: rgba(8,8,8,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.legal-modal__inner {
  position: relative;
  max-height: 86vh;
  overflow-y: auto;               /* Inhalt scrollbar */
  padding: clamp(28px, 4vw, 44px);
  -webkit-overflow-scrolling: touch;
}
.legal-modal__close {
  position: sticky;
  top: 0;
  float: right;
  margin: -6px -6px 0 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.legal-modal__close:hover {
  color: var(--white);
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: rotate(90deg);
}
.legal-modal__close:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,161,17,.22);
}
.legal-modal__title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--orange);
  margin-bottom: .7em;
}
.legal-modal__body { font-size: 14.5px; line-height: 1.6; }
.legal-modal__body h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--orange);
  margin: 1.6em 0 .5em;
}
.legal-modal__body p { color: var(--text); margin: 0 0 1em; }
.legal-modal__body a { color: var(--orange); text-decoration: underline; }
.legal-modal__body strong { color: var(--white); font-weight: 600; }
.legal-modal__body .legal-date {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Button-Variante, falls ein Rechts-Link als <button> statt <a> genutzt wird:
   sieht aus wie ein normaler Footer-Link. */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}
.linklike:hover { color: var(--orange); }
