/* Haus & Heim Instandhaltung – Stylesheet */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 500 900;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #1b5fa8;
  --blue-hi: #2268b5;
  --blue-deep: #134a86;
  --navy: #0d2747;
  --orange: #e8892b;
  --orange-hi: #f29a41;
  --orange-ink: #9c520c;      /* orange for text on light grounds (AA) */
  --oak: #e6d3b1;
  --sand: #f6efe3;
  --paper: #fffdf8;
  --ink: #1a2130;
  --muted: #4b5466;
  --line: rgba(26, 33, 48, 0.14);
  --on-blue: #ffffff;
  --on-blue-soft: #eef4fc;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Atkinson Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--blue) var(--sand);
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--ink); }

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

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 108%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 750; font-stretch: 104%; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--ink); color: #fff;
  padding: 0.75rem 1rem; border-radius: 10px;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 104%;
  font-size: 1.08rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.2s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(158, 76, 0, 0.55);
}
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(158, 76, 0, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 0.25s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { color: var(--on-blue); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--display); font-weight: 700; font-stretch: 104%;
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.text-link svg { width: 1.2em; height: 1.2em; transition: transform 0.25s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(13, 39, 71, 0.5); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--display); font-weight: 850; font-stretch: 112%;
  font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em;
  color: var(--blue-deep);
  display: flex; flex-direction: column;
  white-space: nowrap;
}
.brand-name small {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-ink); margin-top: 0.3rem;
}

.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a {
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  text-decoration: none; color: var(--ink);
  padding: 0.4rem 0;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.main-nav a:hover { background-size: 100% 2px; }

.header-call {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 48px; padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 700; font-stretch: 104%;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s;
}
.header-call:hover { background: var(--blue-deep); }
.header-call svg { width: 20px; height: 20px; }
.header-call-short { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--blue-hi) 0%, transparent 60%),
    var(--blue);
  color: var(--on-blue);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  /* large faint roofline from the logo */
  content: "";
  position: absolute;
  right: -18%; bottom: -62%;
  width: min(110vw, 1350px); aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  clip-path: polygon(50% 0, 100% 42%, 86% 42%, 86% 100%, 14% 100%, 14% 42%, 0 42%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6rem);
  font-weight: 880;
  font-stretch: 116%;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-lead {
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  color: var(--on-blue-soft);
  max-width: 34em;
}

.promise {
  display: flex; align-items: center; gap: 1.1rem;
  margin: 2rem 0 2.25rem;
  max-width: 32em;
}
.promise p { margin: 0; color: var(--on-blue-soft); }
.promise strong { color: #fff; display: block; font-size: 1.15rem; }
.promise-badge {
  flex: none;
  display: grid; place-content: center; justify-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  box-shadow: 0 0 0 6px rgba(232, 137, 43, 0.25), 0 12px 24px -10px rgba(0, 0, 0, 0.4);
  font-family: var(--display);
  transform: rotate(-8deg);
}
.promise-badge b { font-size: 2.1rem; font-weight: 900; line-height: 0.9; font-stretch: 112%; }
.promise-badge i { font-style: normal; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-photo {
  margin: 0;
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: 0 30px 60px -24px rgba(5, 20, 45, 0.6);
  transform: rotate(1.5deg);
}
.hero-photo figcaption {
  position: absolute; left: -1.25rem; bottom: 2rem;
  background: var(--paper); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  padding: 0.55rem 1rem 0.55rem 0.9rem;
  border-radius: 10px;
  box-shadow: 0 12px 24px -12px rgba(5, 20, 45, 0.55);
  display: flex; align-items: center; gap: 0.55rem;
}
.hero-photo figcaption::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange);
}

.hero-values {
  position: relative; z-index: 1;
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--on-blue-soft);
}
.hero-values li { display: flex; align-items: center; }
.hero-values li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); margin-inline: 1.1rem 0.6rem;
}
.hero-values li:first-child::before { margin-left: 0; }

/* ---------- Checklist section ---------- */
.list-section {
  background: var(--sand);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.list-copy h2 { margin-bottom: 1.5rem; color: var(--blue-deep); }
.list-copy p { max-width: 34em; color: var(--muted); }
.list-copy p:first-of-type { color: var(--ink); font-size: 1.2rem; }

.note {
  position: relative;
  background:
    repeating-linear-gradient(to bottom, transparent 0 51px, rgba(27, 95, 168, 0.12) 51px 52px),
    #fff;
  background-position: 0 66px;
  border-radius: 6px 6px 14px 14px;
  padding: 2.4rem clamp(1.5rem, 4vw, 2.5rem) 1.8rem;
  box-shadow:
    0 2px 2px rgba(80, 55, 20, 0.06),
    0 24px 48px -20px rgba(80, 55, 20, 0.38);
  transform: rotate(-1.4deg);
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.note-magnet {
  position: absolute; top: -14px; left: 50%;
  width: 34px; height: 34px; margin-left: -17px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--orange-hi), var(--orange) 55%, #c76d16);
  box-shadow: 0 6px 10px -4px rgba(120, 60, 0, 0.6);
}
.note-title {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: 1.5rem; color: var(--blue-deep);
  margin-bottom: 0.4rem;
}
.note ul { list-style: none; margin: 0; padding: 0; }
.note li {
  --i: 0;
  display: flex; align-items: center; gap: 0.9rem;
  min-height: 52px;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: line-through;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  transition: color 0.5s ease, text-decoration-color 0.5s ease;
  transition-delay: calc(var(--i) * 260ms + 260ms);
}
.tick { width: 28px; height: 28px; flex: none; }
.tick rect { fill: none; stroke: #b9c3d2; stroke-width: 2; transition: stroke 0.4s; transition-delay: inherit; }
.tick path {
  fill: none; stroke: var(--orange); stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.45s var(--ease-out);
  transition-delay: calc(var(--i) * 260ms);
}
.note.is-done li { color: var(--muted); text-decoration-color: rgba(232, 137, 43, 0.75); }
.note.is-done .tick path { stroke-dashoffset: 0; }
.note.is-done .tick rect { stroke: var(--orange); }
.note-sign {
  margin: 1rem 0 0; text-align: right;
  font-size: 1rem; color: var(--muted);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: 2.1s;
}
.note-sign strong { color: var(--blue-deep); font-family: var(--display); }
.note.is-done .note-sign { opacity: 1; transform: none; }
.no-js .note li, .no-js .note-sign { color: var(--ink); opacity: 1; transform: none; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { color: var(--blue-deep); margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.2rem; margin: 0; }

/* ---------- Services ---------- */
.services { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.service-icon { width: 44px; height: 44px; color: var(--orange); margin-bottom: 1rem; }
.service h3 { color: var(--ink); margin-bottom: 0.6rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; }
.service p { color: var(--muted); max-width: 34em; }

.examples { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.examples li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.9rem;
  border-top: 1px solid var(--line);
}
.examples li:last-child { border-bottom: 1px solid var(--line); }
.examples li::before {
  content: "";
  position: absolute; left: 0.15rem; top: 1.15rem;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

.service-photo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6.5rem);
}
.service-photo figure { margin: 0; }
.service-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -26px rgba(13, 39, 71, 0.55);
}
.service-photo.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
.service-photo.is-flipped figure { order: 2; }
.service-photo:first-of-type img { object-position: 50% 60%; }
.service-photo.is-flipped img { object-position: 50% 30%; }

.service-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--sand);
}
.service-wide .examples { margin-top: 0; }


/* ---------- Why ---------- */
.why {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.why-rows { border-top: 2px solid var(--ink); }
.why-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.why-row h3 { color: var(--blue-deep); }
.why-row p { margin: 0; color: var(--muted); }
.why-row strong { color: var(--ink); }

.steps { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.steps-title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.steps ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 4.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 850; font-size: 1.4rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute; top: 26px; left: 64px; right: -1rem;
  border-top: 2px dashed rgba(27, 95, 168, 0.35);
}
.steps li:last-child::before { background: var(--orange); color: var(--ink); }
.steps b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 750; margin-bottom: 0.35rem; }
.steps span { color: var(--muted); }

/* ---------- About ---------- */
.about {
  background: var(--sand);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.about-photo { margin: 0; position: relative; }
.about-photo::before {
  content: "";
  position: absolute; inset: 8% -6% -6% 10%;
  background: var(--oak);
  border-radius: calc(var(--radius) + 8px);
}
.about-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(80, 55, 20, 0.5);
}
.about-copy h2 { color: var(--blue-deep); margin-bottom: 1.25rem; }
.about-lead { font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.about-copy p { max-width: 36em; }
.about-copy p:not(.about-lead):not(.about-sign) { color: var(--muted); }
.about-sign {
  margin: 2rem 0 0;
  font-family: var(--display); font-weight: 800; font-stretch: 110%;
  font-size: 1.5rem; color: var(--ink);
}
.about-sign span {
  display: block;
  font-family: var(--text); font-weight: 400; font-stretch: 100%;
  font-size: 1rem; color: var(--muted);
}

/* ---------- Region ---------- */
/* ---------- Kundenstimmen ---------- */
.reviews { background: var(--paper); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.reviews-head {
  max-width: none;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.reviews-head .rating { margin-bottom: 0; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.section-head .rating { color: var(--ink); font-size: 1.1rem; }
.rating b { font-family: var(--display); font-weight: 850; font-stretch: 112%; font-size: 2.4rem; line-height: 1; color: var(--blue-deep); }
.rating small { color: var(--muted); font-size: 0.9rem; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.rating .stars svg { width: 1.6rem; height: 1.6rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.review { margin: 0; }
.review blockquote { margin: 0.75rem 0 0.9rem; }
.review blockquote p { margin: 0; color: var(--ink); }
.review figcaption { font-family: var(--display); font-weight: 750; color: var(--blue-deep); }
.review figcaption span { display: block; font-family: var(--text); font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.review-lead {
  background: var(--sand);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.review-lead blockquote { margin-block: 1.1rem 1.5rem; }
.review-lead blockquote p {
  font-family: var(--display); font-weight: 650; font-stretch: 104%;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem);
  line-height: 1.3; color: var(--blue-deep);
  text-wrap: pretty;
}
.reviews-list { border-top: 2px solid var(--ink); }
.reviews-list .review { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.reviews-list blockquote p { font-size: 1.1rem; }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.region { padding-block: clamp(4.5rem, 9vw, 7.5rem); border-top: 1px solid var(--line); }
.region-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.region-copy h2 { color: var(--blue-deep); margin-bottom: 1.25rem; }
.region-copy > p { color: var(--muted); max-width: 32em; }
.towns {
  list-style: none; margin: 1.75rem 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.towns li {
  font-family: var(--display); font-weight: 650;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid rgba(156, 82, 12, 0.18);
}
.towns li:first-child { background: var(--blue); color: #fff; border-color: var(--blue); }
.region-more { font-size: 1rem; }

.map { margin: 0; }
.map svg {
  width: 100%; height: auto;
  background: var(--sand);
  border-radius: calc(var(--radius) + 6px);
}
.map-rings circle { fill: none; stroke: rgba(27, 95, 168, 0.22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.map-rings circle:first-child { fill: rgba(27, 95, 168, 0.07); }
.map-road { fill: none; stroke: #d7c39d; stroke-width: 4; stroke-linecap: round; }
.map-town circle { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.map text { font-family: var(--display); font-weight: 650; font-size: 13px; fill: var(--ink); }
.map-home circle { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.map-home text { font-weight: 800; font-size: 15px; fill: var(--blue-deep); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(90% 80% at 0% 100%, var(--blue-deep) 0%, transparent 70%),
    var(--blue);
  color: #fff;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 1.25rem; }
.contact-copy > p { color: var(--on-blue-soft); font-size: 1.2rem; max-width: 30em; }

.contact-ways { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.contact-ways li + li { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-ways a, .contact-ways div {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  overflow-wrap: anywhere;
}
.contact-ways a:hover span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.contact-ways svg {
  flex: none; width: 48px; height: 48px; padding: 12px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--orange-hi);
}
.contact-ways small {
  display: block;
  font-family: var(--text); font-weight: 400; font-size: 0.95rem;
  color: var(--on-blue-soft);
}

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 40px 80px -40px rgba(3, 15, 35, 0.75);
}
.field { margin-bottom: 1.25rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label {
  display: block;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.4rem;
}
.opt { font-family: var(--text); font-weight: 400; color: var(--muted); }
.req { color: var(--orange-ink); font-weight: 800; }
.form-legend { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.08rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #bcc5d3;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  min-height: 54px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7385; }
.field input:hover, .field textarea:hover { border-color: #8f9bb0; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 95, 168, 0.18);
}
.field-error { display: none; margin: 0.4rem 0 0; font-size: 0.95rem; color: #a3261b; }
.has-error input, .has-error textarea { border-color: #b8322a; }
.has-error .field-error, .field-error.is-visible { display: block; }

.check {
  display: flex; gap: 0.8rem; align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem; line-height: 1.5;
  cursor: pointer;
}
.check input {
  appearance: none;
  flex: none;
  width: 26px; height: 26px; margin: 0;
  border: 1.5px solid #8f9bb0; border-radius: 7px;
  background: #fff;
  display: grid; place-content: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.check input::after {
  content: "";
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.2s var(--ease-out);
}
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--blue-deep); }
.check.has-error input { border-color: #b8322a; }
#f-ds-err { margin: -0.5rem 0 1rem 2.4rem; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; margin-top: 0.75rem; font-size: 1.15rem; }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn-submit.is-loading svg { animation: nudge 0.9s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.form-status { margin: 1rem 0 0; font-size: 1rem; min-height: 1.5em; }
.form-status.is-error { color: #a3261b; }
.form-done {
  text-align: center;
  padding: 2rem 0.5rem;
}
.form-done svg { width: 72px; height: 72px; margin: 0 auto 1.25rem; }
.form-done h3 { color: var(--blue-deep); margin-bottom: 0.75rem; font-size: 1.8rem; }
.form-done p { color: var(--muted); margin: 0 auto; max-width: 26em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c8d5e6;
  padding-block: 3rem;
  font-size: 1rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 3rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand p, .footer-contact { margin: 0; }
.footer-brand strong { color: #fff; }
.site-footer a { text-decoration-color: rgba(232, 137, 43, 0.7); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; gap: 1.5rem; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 860px) {
  .hero-grid, .list-grid, .service-photo, .service-photo.is-flipped,
  .about-grid, .region-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-photo.is-flipped figure { order: 0; }
  .hero-photo { justify-self: center; width: min(88%, 420px); margin-top: 0.5rem; }
  .hero-photo figcaption { left: -0.5rem; }
  .service-wide { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; }
  .about-photo { width: min(88%, 420px); }
  .note { transform: rotate(-1deg); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  .brand img { width: 38px; }
  .brand-name { font-size: 1.1rem; }
  .header-call { padding: 0.5rem 0.95rem; }
  .header-call-num { display: none; }
  .header-call-short { display: inline; }
  .hero-actions .btn { width: 100%; }
  .promise-badge { width: 72px; height: 72px; }
  .promise-badge b { font-size: 1.8rem; }
  .hero-values { font-size: 0.95rem; justify-content: flex-start; }
  .hero-values li::before { margin-inline: 0.7rem 0.45rem; }
  .hero-values li:first-child::before { margin-left: 0; }
  .steps ol { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps li { padding: 0 0 0 4.25rem; min-height: 52px; }
  .steps li:not(:last-child)::after { top: 60px; bottom: -1.5rem; left: 25px; right: auto; border-top: 0; border-left: 2px dashed rgba(27, 95, 168, 0.35); }
  .field-row { grid-template-columns: 1fr; }
  .service-wide { padding: 1.75rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .call-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -18px rgba(13, 39, 71, 0.5);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 52px; border-radius: 999px;
    font-family: var(--display); font-weight: 700; text-decoration: none;
    background: var(--blue); color: #fff;
  }
  .call-bar a svg { width: 20px; height: 20px; }
  .call-bar .call-bar-primary { background: var(--orange); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); font-weight: 850; color: var(--blue-deep); margin-bottom: 1.25rem; }
.legal h2 { font-size: 1.5rem; color: var(--ink); margin: 2.75rem 0 0.75rem; }
.legal p { color: var(--muted); }
.legal a { color: var(--blue-deep); }
.legal-note { font-size: 1rem; }
.legal dl { margin: 2.5rem 0 0; border-top: 2px solid var(--ink); }
.legal dt { font-family: var(--display); font-weight: 700; padding-top: 1.1rem; }
.legal dd { margin: 0.2rem 0 0; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
@media (min-width: 720px) {
  .legal dl { display: grid; grid-template-columns: 15rem 1fr; }
  .legal dt, .legal dd { padding-block: 1.1rem; border-bottom: 1px solid var(--line); margin: 0; }
}
.legal-back { margin-left: auto; }
.legal-page { padding-bottom: 0; }
mark.todo { background: #ffe2c2; color: var(--ink); padding: 0 0.3em; border-radius: 4px; }

/* About: career stations */
.career { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 36em; }
.career li {
  position: relative;
  padding: 0 0 1.15rem 2rem;
}
.career li::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--sand); border: 3px solid var(--blue);
}
.career li:not(:last-child)::after {
  content: ""; position: absolute; left: 6px; top: 1.35em; bottom: 0.1em;
  border-left: 2px solid rgba(27, 95, 168, 0.3);
}
.career li:last-child { padding-bottom: 0; }
.career li:last-child::before { background: var(--orange); border-color: var(--orange); }
.career b { display: block; font-family: var(--display); font-weight: 750; font-size: 1.1rem; color: var(--ink); }
.career span { display: block; color: var(--muted); font-size: 1rem; }

/* ---------- Photo upload ---------- */
.field .label {
  display: block;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.4rem;
}
.upload-input {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.upload {
  display: flex; align-items: center; gap: 1rem;
  min-height: 76px;
  padding: 0.9rem 1.1rem;
  border: 2px dashed #a9b4c6;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.upload:hover, .upload.is-dragover { border-color: var(--blue); background: #f3f7fc; }
.upload-input:focus-visible + .upload { outline: 3px solid var(--orange); outline-offset: 3px; }
.upload svg {
  flex: none; width: 46px; height: 46px; padding: 11px;
  border-radius: 50%; background: var(--sand); color: var(--orange-ink);
}
.upload b { display: block; font-family: var(--display); font-weight: 700; color: var(--blue-deep); }
.upload small { display: block; font-size: 0.95rem; color: var(--muted); line-height: 1.4; }
.field-photos.is-full .upload { display: none; }

.thumbs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.6rem;
}
.thumbs:not(:empty) { margin-top: 0.75rem; }
.thumbs li {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 6px 14px -8px rgba(13, 39, 71, 0.45);
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px;
  width: 30px; height: 30px; padding: 6px;
  border: 0; border-radius: 50%;
  background: rgba(26, 33, 48, 0.78); color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
}
.thumbs button:hover { background: #a3261b; }
.thumbs button svg { width: 16px; height: 16px; }
.field-photos .field-error:not(:empty) { display: block; }

/* "… und vieles mehr" closes the example lists */
.examples li.more { color: var(--muted); font-style: italic; border-bottom: 0; }
.examples li.more::before { display: none; }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .main-nav { gap: 1.25rem; }
}

/* ---------- Einwilligung (Google Analytics / Ads) ---------- */
.footer-link {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.2em;
}
.consent {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 80;
  width: min(460px, calc(100vw - 2.5rem));
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 30px 60px -25px rgba(13, 39, 71, 0.55);
}
.consent h2 { font-size: 1.3rem; font-weight: 800; color: var(--blue-deep); margin: 0 0 0.5rem; }
.consent p { font-size: 0.98rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.1rem; }
.consent p a { color: var(--blue-deep); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.consent-btn {
  min-height: 48px; border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: transparent; color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}
.consent-btn:hover { background: rgba(19, 74, 134, 0.08); }
.consent-yes { background: var(--blue-deep); color: #fff; }
.consent-yes:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 720px) {
  .consent {
    left: 0; right: 0; bottom: 0; width: auto;
    border-radius: var(--radius) var(--radius) 0 0; border-width: 1px 0 0;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}

/* ---------- FAQ ---------- */
.faq { background: var(--sand); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-head { margin-bottom: 0; position: sticky; top: 7rem; }
.faq-head p { font-size: 1.1rem; margin-bottom: 1.25rem; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding-block: 1.3rem;
  font-family: var(--display); font-weight: 750; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--orange);
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after {
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    var(--orange);
}
.faq-item summary:hover { color: var(--blue-deep); }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.faq-item p { margin: 0 0 1.4rem; max-width: 40em; color: var(--muted); }
.faq-item p a { color: var(--blue-deep); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
