/* Kromp Automations – Website-Stil
   Markenfarben laut Wissen/design/design.md. Eine Schriftfamilie: Poppins. */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700 800; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-bold.woff2") format("woff2"); }

:root {
  --petrol: #0C5057;
  --petrol-700: #0A454B;
  --petrol-900: #07363B;
  --petrol-950: #052A2E;
  --petrol-tint: #E8F0F0;
  --orange: #F1732D;
  --orange-hover: #F68A4D;
  --on-orange: #052A2E;
  --grey: #5C6B6C;
  --line: #E3E7E7;
  --cream: #F4F2EE;
  --white: #FFFFFF;

  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(5, 42, 46, .06), 0 12px 32px -12px rgba(5, 42, 46, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 11px, 17.5px);
  line-height: 1.65;
  color: var(--petrol);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.6vw + .6rem, 3.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 2.4vw + .7rem, 2.6rem); }
h3 { font-size: clamp(1.15rem, .6vw + .95rem, 1.4rem); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); line-height: 1.6; color: var(--petrol); max-width: 36em; }
.muted { color: var(--grey); }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--petrol); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  font: 600 1rem/1.2 var(--font); letter-spacing: 0;
  color: var(--on-orange); background: var(--orange);
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(241, 115, 45, .7);
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover { background: var(--orange-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }
.button--ghost {
  background: transparent; color: var(--petrol); box-shadow: inset 0 0 0 2px var(--petrol);
}
.button--ghost:hover { background: var(--petrol); color: var(--white); }
.button--light { background: var(--white); color: var(--petrol); box-shadow: none; }
.button--light:hover { background: var(--petrol-tint); }
.button svg { width: 1.15em; height: 1.15em; flex: none; }

.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--petrol); text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.textlink:hover { text-decoration-thickness: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.main-nav a {
  position: relative; padding: 6px 0; font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .98rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--orange); }
.header-actions .button { min-height: 44px; padding: .6em 1.15em; font-size: .95rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--petrol); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.site-header[data-open="true"] .menu-toggle .icon-open { display: none; }
.site-header[data-open="true"] .menu-toggle .icon-close { display: block; }

@media (max-width: 1120px) { .header-phone span { display: none; } }
@media (max-width: 940px) {
  :root { --header-h: 68px; }
  .brand img { width: 148px; }
  .header-phone { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(5,42,46,.3);
  }
  .main-nav a { padding: 14px 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current] { color: var(--petrol); font-weight: 700; }
  .main-nav .nav-phone { display: flex; gap: 10px; align-items: center; border-bottom: 0; font-weight: 600; }
}
@media (min-width: 941px) { .main-nav .nav-phone { display: none; } }
@media (max-width: 420px) {
  .brand img { width: 128px; }
  .header-actions .button { padding: .55em .95em; font-size: .9rem; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%;
  background: var(--petrol-tint); border-bottom-left-radius: 120px; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .accent-line { color: var(--petrol); position: relative; display: inline-block; }
.hero h1 .accent-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: var(--orange); border-radius: 4px; z-index: -1; opacity: .9;
}
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.hero-call { display: flex; flex-direction: column; line-height: 1.35; font-size: .95rem; }
.hero-call a { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.hero-call a:hover { text-decoration: underline; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.check { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); display: inline-grid; place-items: center; }
.check svg { width: 12px; height: 12px; color: var(--on-orange); }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 860 / 941; max-height: 620px; margin-left: auto; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.person-card {
  position: absolute; left: clamp(-36px, -3vw, -12px); bottom: 28px;
  display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100% - 24px);
}
.person-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.person-card strong { display: block; font-size: .98rem; line-height: 1.25; }
.person-card span { display: block; font-size: .85rem; color: var(--grey); line-height: 1.35; }

@media (max-width: 1000px) {
  .hero::before { width: 100%; height: 46%; top: auto; bottom: 0; border-radius: 80px 80px 0 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3.4; max-height: none; }
  .person-card { left: 12px; bottom: 12px; }
}

/* ---------- Vertrauensleiste ---------- */
.proof { border-block: 1px solid var(--line); background: var(--white); }
.proof-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.proof-list li { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.proof-list li + li { border-left: 1px solid var(--line); }
.proof-list strong { font-size: 1.05rem; line-height: 1.3; }
.proof-list span { color: var(--grey); font-size: .9rem; line-height: 1.45; }
.proof-list .proof-seal { flex-direction: row; align-items: center; gap: 14px; }
.proof-seal img { width: 92px; flex: none; }
@media (max-width: 900px) {
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-list li:nth-child(3) { border-left: 0; }
  .proof-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .proof-list { grid-template-columns: 1fr; }
  .proof-list li { padding: 18px 4px; }
  .proof-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin-top: 18px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }
.accent-bar { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--orange); margin-bottom: 20px; }

/* ---------- Leistungen: Route mit drei Stationen ---------- */
.route { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); counter-reset: step; position: relative; }
.route::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 2 * clamp(20px, 2.4vw, 32px)) / 3 - 24px);
  height: 3px; background: repeating-linear-gradient(90deg, var(--petrol) 0 14px, transparent 14px 22px);
  opacity: .35;
}
.route > li { position: relative; display: flex; flex-direction: column; }
.route-node {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
  background: var(--petrol); color: var(--white); box-shadow: 0 0 0 6px var(--white);
}
.section--tint .route-node { box-shadow: 0 0 0 6px var(--cream); }
.route-node::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--white);
}
.service-card {
  margin-top: 24px; flex: 1; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
}
.service-card figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--petrol-tint); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service-body > p:first-of-type { color: var(--petrol); }
.dots { list-style: none; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 22px; line-height: 1.5; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.result {
  margin-top: auto; padding: 14px 16px; border-radius: var(--radius-s);
  background: var(--cream); border: 1px solid var(--line); font-size: .95rem; line-height: 1.5;
}
.result strong { display: block; font-size: .85rem; letter-spacing: .01em; color: var(--grey); font-weight: 600; margin-bottom: 2px; }
.service-card .textlink { margin-top: 4px; }

@media (max-width: 900px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before {
    top: 24px; bottom: 24px; left: 23px; right: auto; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--petrol) 0 14px, transparent 14px 22px);
  }
  .route > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding-bottom: 28px; }
  .route > li:last-child { padding-bottom: 0; }
  .service-card { margin-top: 0; }
}
@media (max-width: 480px) {
  .route > li { grid-template-columns: 1fr; }
  .route::before { display: none; }
  .route-node { margin-bottom: 14px; }
  .service-body { padding: 22px 20px 24px; }
}

/* ---------- Angebot / Erstgespräch ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.offer h2 { margin-bottom: 20px; }
.offer .stack p { max-width: 34em; }
.offer .button { margin-top: 28px; }
.principles { list-style: none; display: grid; gap: 14px; }
.principles li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.principles .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--petrol-tint); color: var(--petrol);
  display: grid; place-items: center;
}
.principles .icon svg { width: 22px; height: 22px; }
.principles strong { display: block; line-height: 1.35; margin-bottom: 2px; }
.principles span { color: var(--grey); font-size: .95rem; line-height: 1.5; display: block; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 20px 0 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--petrol); font-weight: 700; background: var(--white); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.is-key::before { background: var(--petrol); color: var(--white); }
.steps h3 { font-size: 1.08rem; margin-top: 18px; }
.steps .when { display: block; font-size: .85rem; font-weight: 600; color: var(--grey); margin-top: 4px; }
.steps p { margin-top: 8px; font-size: .95rem; line-height: 1.55; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 26px 60px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li::after { top: 40px; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .steps h3 { margin-top: 6px; }
}

/* Ausführliche Zeitleiste (Ablauf-Seite) */
.timeline { list-style: none; max-width: 880px; counter-reset: t; }
.timeline > li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 28px; padding-bottom: 44px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  counter-increment: t; content: counter(t);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; background: var(--white); border: 2px solid var(--petrol); position: relative; z-index: 1;
}
.timeline > li.is-key::before { background: var(--petrol); color: var(--white); }
.timeline > li::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child::after { display: none; }
.timeline-body { padding-top: 12px; }
.timeline-body h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 12px;
  border-radius: 999px; background: var(--petrol-tint); font-size: .85rem; font-weight: 600;
}
.chip--orange { background: var(--orange); color: var(--on-orange); }
.timeline-body p { margin-top: 12px; max-width: 40em; }
@media (max-width: 560px) {
  .timeline > li { grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; }
  .timeline > li::before { width: 44px; height: 44px; font-size: 1.1rem; }
  .timeline > li::after { left: 21px; top: 44px; }
  .timeline-body { padding-top: 4px; }
}

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait::after {
  content: ""; position: absolute; z-index: -1; inset: 28px -18px -18px 28px; border-radius: var(--radius-l); background: var(--petrol-tint);
}
.about h2 + .role, .about h1 + .role { margin-top: 8px; color: var(--grey); font-weight: 500; }
.about .stack { margin-top: 24px; }
.about .stack p { max-width: 36em; }
.about-facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 32px; align-items: center; }
.big-number { display: flex; align-items: baseline; gap: 12px; }
.big-number strong { font-size: clamp(2.6rem, 3vw + 1rem, 3.6rem); font-weight: 800; line-height: 1; }
.big-number span { font-size: .95rem; line-height: 1.35; max-width: 13em; }
.seal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px 16px; }
.seal img { width: 150px; }
.about .button, .about .textlink { margin-top: 32px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.info-card h2, .info-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: var(--petrol-tint); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px; border-radius: 50%;
  border: 46px solid rgba(12, 80, 87, .06);
}
.page-head .crumb { display: inline-block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; color: var(--grey); }
.page-head h1 { font-size: clamp(2rem, 3.6vw + .6rem, 3.3rem); max-width: 18em; }
.page-head .lead { margin-top: 18px; }

/* ---------- Leistungen im Detail ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 112px); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.feature-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--petrol); color: var(--white); font-weight: 700; margin-bottom: 18px; }
.feature h2 { font-size: clamp(1.6rem, 2vw + .7rem, 2.2rem); }
.feature .sub { margin-top: 10px; font-weight: 600; color: var(--grey); }
.feature .stack { margin-top: 20px; }
.feature .dots { margin-top: 22px; }
.feature .result { margin-top: 24px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
}

.note-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-l); background: var(--cream); border: 1px solid var(--line);
}
.note-box h2 { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.8rem); margin-bottom: 12px; }
.note-box p { max-width: 40em; }
.note-box .seal { padding: 14px 18px; }
.note-box .seal img { width: 190px; }
@media (max-width: 720px) { .note-box { grid-template-columns: 1fr; } }

/* ---------- Kontaktbereich ---------- */
.contact { background: var(--petrol-900); color: var(--white); padding-block: var(--section); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .035);
}
.contact a { color: var(--white); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-grid--simple { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(255, 255, 255, .86); margin-top: 18px; }
.contact-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .95rem; color: rgba(255,255,255,.86); }
.contact-facts li { display: flex; align-items: center; gap: 8px; }
.direct { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.direct a, .direct div {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; text-decoration: none;
}
.direct .icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center;
  transition: background-color .15s ease;
}
.direct a:hover .icon { background: var(--orange); color: var(--on-orange); }
.direct .icon svg { width: 21px; height: 21px; }
.direct small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .7); line-height: 1.3; }
.direct strong { display: block; font-size: 1.1rem; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.direct address { font-style: normal; }
.contact-simple-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 280px; }
@media (max-width: 900px) {
  .contact-grid, .contact-grid--simple { grid-template-columns: 1fr; }
  .contact-simple-actions { min-width: 0; align-items: flex-start; }
}

/* ---------- Formular ---------- */
.form-card { background: var(--white); color: var(--petrol); border-radius: var(--radius-l); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.form-card h2, .form-card h3 { color: var(--petrol); font-size: 1.45rem; }
.form-card .form-intro { margin-top: 6px; color: var(--grey); font-size: .95rem; }
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label span { font-weight: 400; color: var(--grey); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--petrol);
  padding: 12px 14px; border: 1.5px solid #C9D3D3; border-radius: 10px; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(12, 80, 87, .15); }
.field input:user-invalid { border-color: #C93B32; }
.check-field { display: flex; align-items: center; gap: 12px; font-weight: 500; cursor: pointer; width: fit-content; }
.check-field input { width: 20px; height: 20px; accent-color: var(--petrol); margin: 0; }
.form-note { font-size: .85rem; color: var(--grey); line-height: 1.5; }
.form-note a { color: var(--petrol); }
.contact-form .button { width: 100%; }
.form-result { font-size: .95rem; font-weight: 500; min-height: 1.5em; }
.form-result.is-ok { color: var(--petrol); }
.form-result.is-error { color: #C93B32; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-950); color: rgba(255, 255, 255, .8); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 16px; color: var(--white); font-weight: 600; }
.site-footer h2 { font-size: .9rem; color: var(--white); margin-bottom: 12px; letter-spacing: .01em; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile Kontaktleiste ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px -16px rgba(5, 42, 46, .35);
  }
  .mobile-bar .button { min-height: 48px; padding: .6em .8em; font-size: .97rem; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal section { padding-block: 28px; border-top: 1px solid var(--line); }
.legal section:first-of-type { border-top: 0; padding-top: 0; }
.legal h2 { font-size: 1.2rem; margin-bottom: 10px; }
.legal p + p { margin-top: 6px; }

.placeholder-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.placeholder-list div { padding: 20px; border: 1px dashed #C9D3D3; border-radius: var(--radius-m); background: var(--white); }
.placeholder-list dt { font-weight: 700; }
.placeholder-list dd { margin: 4px 0 0; color: var(--grey); }
@media (max-width: 600px) { .placeholder-list { grid-template-columns: 1fr; } }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Kontaktliste auf hellem Grund (Kontaktseite) */
.direct--light { margin-top: 24px; }
.direct--light .icon { background: var(--petrol-tint); color: var(--petrol); }
.direct--light small { color: var(--grey); }
.direct--light a:hover .icon { background: var(--orange); color: var(--on-orange); }

/* Kompakte, immer senkrechte Schrittliste */
.steps--compact { grid-template-columns: 1fr; }
.steps--compact li { padding: 0 0 22px 60px; }
.steps--compact li::before { position: absolute; left: 0; top: 0; }
.steps--compact li::after { top: 40px; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
.steps--compact li:last-child { padding-bottom: 0; }
.steps--compact h3 { margin-top: 6px; }
.textlink svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .15s ease; }
.textlink:hover svg { transform: translateX(3px); }
.chip svg { width: 14px; height: 14px; }
.portrait, .hero { isolation: isolate; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .header-actions .button { display: none; }
  .mobile-bar { grid-template-columns: auto minmax(0, 1fr); }
  .mobile-bar .button { white-space: nowrap; font-size: .92rem; padding: .55em 1em; gap: .4em; min-width: 0; }
}
@media (max-width: 700px) {
  .mobile-bar { right: auto; width: 100%; }
}
@media (max-width: 1000px) {
  .hero::before { height: 38%; }
}
@media (max-width: 860px) {
  .feature-media img { aspect-ratio: 16 / 9; }
  .feature > div:last-child { max-width: 40em; }
}

/* ---------- Hilfsklassen (statt Inline-Styles, für eine strenge Content-Security-Policy) ---------- */
.contact-cta { margin-top: 32px; }
.form-card--light { box-shadow: var(--shadow); border: 1px solid var(--line); }
.h-small { font-size: 1.45rem; }
.mt-l.h-small { font-size: 1.25rem; }
.mt-xs { margin-top: 6px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 44px; }
.section--flush-top { padding-top: 0; }

/* Noch fehlende Pflichtangaben (Warnfarbe laut Marke) */
mark.offen {
  display: inline; padding: 2px 8px; border-radius: 6px;
  background: #FBECEB; color: #A42F27; border: 1px dashed #C93B32; font-weight: 600; font-size: .92em;
}

/* Mobiles Menü: standardmäßig zu; ohne JavaScript blendet nojs.css es dauerhaft ein */
@media (max-width: 940px) {
  .main-nav { display: none; }
  .site-header[data-open="true"] .main-nav { display: flex; }
}

/* Startseiten-Überschrift: passt auch bei mittleren Breiten in ihre Spalte */
.hero h1 { font-size: clamp(1.7rem, 3.2vw + .9rem, 3.7rem); overflow-wrap: break-word; }
@media (max-width: 600px) { .hero h1 { font-size: min(8.6vw, 2.4rem); } }
@media (max-width: 1000px) {
  .hero-media { max-width: 640px; }
}
.about-points { margin-top: 24px; }

/* Untere Kontaktleiste auf der Startseite erst nach dem großen Knopf einblenden */
@media (max-width: 700px) {
  body.bar-ready .mobile-bar { transition: transform .25s ease, visibility 0s; }
  body.bar-hidden .mobile-bar { transform: translateY(110%); visibility: hidden; }
  body.bar-ready.bar-hidden .mobile-bar { transition: transform .25s ease, visibility 0s .25s; }
}

/* Mehrzeilige Knopftexte mittig */
.button { text-align: center; }

/* Handy: Porträt quer und halb so hoch, damit Überschrift und Text gleich mit im Blick sind */
@media (max-width: 700px) {
  .portrait img { aspect-ratio: 6 / 5; object-position: 50% 12%; }
}

/* Handy: weniger Leerraum über dem Porträt, Hintergrundfläche bleibt im Bildschirm */
@media (max-width: 700px) {
  .section:has(.about) { padding-top: 32px; }
  .portrait::after { inset: 14px 0 -14px 14px; }
}

/* Handy: Seitenüberschriften kleiner, lange Wörter mit Bindestrich trennen statt abschneiden */
.page-head h1 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 700px) {
  .page-head h1 { font-size: min(7.6vw, 2.1rem); }
}

/* Einstieg, schmale Bildschirme: hellgrüne Fläche beginnt auf Höhe des Fotos */
@media (max-width: 1000px) {
  .hero::before { display: none; }
  .hero-media::before {
    content: ""; position: absolute; z-index: -1;
    top: 0; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    bottom: calc(-1 * clamp(48px, 7vw, 96px));
    background: var(--petrol-tint); border-radius: 60px 60px 0 0;
  }
}

/* Handy: Nummer in der Leistungskarte statt einzelner großer Kreise, Link unter den Karten */
.card-num, .route-more { display: none; }
@media (max-width: 700px) {
  .route::before, .route-node { display: none; }
  .route > li { display: block; padding-bottom: 20px; }
  .card-num {
    display: inline-grid; place-items: center; flex: none;
    width: 30px; height: 30px; margin-right: 10px; border-radius: 50%;
    background: var(--petrol); color: var(--white); font-size: .95rem; vertical-align: .15em;
  }
  .head-link { display: none; }
  .route-more { display: inline-flex; margin-top: 8px; }
}
@media (max-width: 700px) {
  .service-body h3 { display: flex; align-items: flex-start; gap: 10px; }
  .card-num { margin: .05em 0 0; }
}

/* Handy: "Rund 20" in einer Zeile, Text darunter, Siegel kleiner */
@media (max-width: 700px) {
  .about-facts { flex-direction: column; align-items: flex-start; gap: 20px; }
  .big-number { flex-direction: column; align-items: flex-start; gap: 6px; }
  .big-number strong { font-size: 2.4rem; white-space: nowrap; }
  .big-number span { max-width: none; font-size: 1rem; }
  .about-facts .seal { padding: 10px 14px; }
  .about-facts .seal img { width: 120px; }
}

/* Startseite: kurzer Vorstellungsblock (Details auf "Über mich") */
.about--teaser { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.about--teaser .teaser-text { margin-top: 20px; max-width: 32em; }
.teaser-fact { margin-top: 16px; font-size: 1.05rem; }
.teaser-fact strong { font-weight: 700; }
.about--teaser .textlink { margin-top: 24px; }
@media (max-width: 860px) {
  .about--teaser { grid-template-columns: 1fr; }
  .about--teaser .portrait { max-width: 300px; }
}

/* Über mich: Foto am PC etwa 380 Pixel breit */
@media (min-width: 861px) {
  .about:not(.about--teaser) { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

/* "Rund 20" mit Text darunter, Siegel daneben */
.big-number { flex-direction: column; align-items: flex-start; gap: 6px; }
.big-number span { max-width: 24em; font-size: 1rem; line-height: 1.5; }

/* Leistungen: Foto oben bündig mit dem Text, weniger Abstand nach dem Kopfbereich */
@media (min-width: 861px) {
  .feature { align-items: start; }
  .feature-media { padding-top: 8px; }
}
.page-head + .section:has(.feature) { padding-top: calc(var(--section) / 2); }

/* Grüner Kopfbereich der Unterseiten: niedriger, Überschrift etwas kleiner */
.page-head { padding: clamp(32px, 4.6vw, 64px) 0 clamp(28px, 3.4vw, 44px); }
@media (min-width: 701px) {
  .page-head h1 { font-size: clamp(1.9rem, 2.8vw + .7rem, 2.9rem); }
}

/* Startseite: Pointe "Ja, klar." in Orange (bewusste Ausnahme von Peter, 17.11.2026) */
.hero h1 span { color: var(--orange); }

/* Namenskarte unter dem großen Knopf statt auf dem Foto */
.hero-copy .person-card {
  position: static; margin-top: 28px; width: fit-content; max-width: 100%;
  box-shadow: none; border: 1px solid var(--line);
}
.hero-copy .facts { margin-top: 20px; }

/* Impressum/Datenschutz: Textspalte schmal, aber links bündig unter der Überschrift */
.wrap.legal { max-width: none; }
.wrap.legal > * { max-width: 760px; }

/* Alle Unterseiten: gleicher, kleinerer Abstand nach dem grünen Kopf */
.page-head + .section { padding-top: calc(var(--section) / 2); }

/* Leistungen, Handy: kleine Nummer vor dem Titel statt großem Einzelkreis */
@media (max-width: 700px) {
  .feature-num { display: none; }
  .feature h2 { display: flex; align-items: flex-start; gap: 10px; }
  .feature h2 .card-num { margin: .12em 0 0; }
  .feature-media + div { margin-top: -8px; }
}

/* Kontakt, Handy: kürzerer Einleitungstext, Häkchen nebeneinander */
@media (max-width: 700px) {
  .nur-pc { display: none; }
  .page-head .facts { gap: 8px 16px; margin-top: 18px; }
}

/* Startseite: schlanker Ablauf (nur Titel und Dauer) */
.steps--slim h3 { margin-top: 14px; }
@media (max-width: 980px) {
  .steps--slim li { padding-bottom: 18px; }
  .steps--slim h3 { margin-top: 8px; }
}

/* Startseite: Ablauf als fünf kleine Karten */
.section:has(.steps--cards) { padding-block: calc(var(--section) * .75); }
.steps--cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps--cards li {
  position: relative; padding: 22px 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.steps--cards li::after { display: none; }
.steps--cards h3 { margin-top: 16px; font-size: 1.05rem; }
.steps--cards .when { margin-top: 4px; }
.steps--cards p { margin-top: 10px; font-size: .95rem; line-height: 1.5; }
.steps-more { margin-top: 28px; }
@media (max-width: 980px) {
  .steps--cards { grid-template-columns: 1fr; gap: 12px; }
  .steps--cards li { padding: 16px 18px 16px 72px; }
  .steps--cards li::before { position: absolute; left: 18px; top: 16px; }
  .steps--cards h3 { margin-top: 0; }
  .steps--cards p { margin-top: 6px; }
}

/* Datenschutz-Siegel früh zeigen (19.11.2026): in der Namenskarte der Startseite */
.hero-copy .person-card .person-seal {
  width: 136px; height: auto; border-radius: 0; margin-left: 6px;
  padding-left: 16px; border-left: 1px solid var(--line);
}
@media (max-width: 420px) {
  .hero-copy .person-card { gap: 10px; padding-right: 14px; }
  .hero-copy .person-card .person-seal { width: 108px; padding-left: 10px; margin-left: 0; }
}

/* Startseite, Ablauf-Karten (19.11.2026): Titel, Zeitangabe und Text stehen in allen Karten auf einer Linie */
@media (min-width: 981px) {
  .steps--cards { grid-template-rows: repeat(4, auto); }
  .steps--cards li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .steps--cards li > * { align-self: start; }
}
