/* ============================================================
   Die Burschen, Leistungs-/Service-Seite
   Ergänzt home.css. Nutzt Design-System-Tokens aus styles.css.
   ============================================================ */

/* ---------- Service-Hero ---------- */
.svc-hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; isolation: isolate; }
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 120% at 30% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(120% 120% at 30% 0%, #000 35%, transparent 80%);
}
.svc-hero__dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.svc-hero::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 540px; height: 540px; z-index: 0;
  background: radial-gradient(circle, rgba(232,128,28,.30), transparent 68%); pointer-events: none;
}
.svc-hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-8); align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.svc-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: var(--text-sm); color: rgba(255,255,255,.7); flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--orange-300); }
.crumbs i { width: 15px; height: 15px; opacity: .6; }
.crumbs span { color: #fff; font-weight: var(--fw-semibold); }
.svc-hero__eyebrow { color: var(--orange-300); }
.svc-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); max-width: 16ch; font-size: clamp(1.9rem, 6.4vw, 3rem); line-height: 1.08; }
.svc-hero__lead { color: rgba(255,255,255,.92); margin: 0; max-width: 46ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.svc-hero__rating {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .2rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: var(--radius-pill);
  padding: .5rem .9rem; color: #fff; font-size: var(--text-sm);
}
.svc-hero__rating .stars { color: var(--star); letter-spacing: 1px; }
.svc-hero__rating strong { font-family: var(--font-display); }
/* Hero-Foto als vollflächiger Hintergrund – wie auf der Startseite.
   Bricht per 100vw aus dem Container aus und deckt die ganze Sektion ab;
   der Text liegt darüber, ein Verlauf sorgt für Lesbarkeit. */
.svc-hero__media {
  position: absolute; inset: 0;
  left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: 0; margin: 0; border: 0; border-radius: 0;
  box-shadow: none; overflow: hidden; display: block;
}
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Ruhiger, gleichmäßiger Scrim wie auf der Startseite – Foto durchgehend
   gedimmt, unten/links (wo der Text sitzt) am dunkelsten. */
.svc-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,12,14,.8) 0%, rgba(12,12,14,.64) 48%, rgba(12,12,14,.66) 100%),
    rgba(12,12,14,.24);
}
.svc-hero__text { position: relative; z-index: 2; max-width: 640px; }
.svc-hero__dots { display: none; } /* Punkte-Textur hinter dem Foto nicht mehr nötig */

/* ---------- Leistungsumfang (Feature-Liste) ---------- */
.scope { background: #fff; }
.scope__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.scope__item {
  display: flex; align-items: flex-start; gap: var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6); box-shadow: var(--shadow-xs);
}
.scope__check {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--brand-soft); color: var(--orange-700);
}
.scope__check i { width: 22px; height: 22px; }
.scope__item h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-lg); color: var(--text-strong); margin-bottom: .25rem; }
.scope__item p { color: var(--text-body); font-size: var(--text-sm); margin: 0; }

/* ---------- Ablauf (nutzt .step aus home.css) ---------- */
.flow { background: var(--surface-muted); }
.flow__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }

/* ---------- Kosten ---------- */
.cost { background: #fff; }
.cost__card {
  display: grid; gap: var(--space-5); align-items: center;
  background: var(--surface-muted); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: var(--space-8);
}
.cost__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--ink-900); color: #fff; flex-shrink: 0;
}
.cost__icon i { width: 30px; height: 30px; }
.cost__body { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; min-width: 0; max-width: 100%; }
.cost__body h2 { margin: 0; max-width: 100%; hyphens: auto; overflow-wrap: break-word; }
.cost__body p { color: var(--text-body); margin: 0; max-width: 62ch; }
.cost__cta { margin-top: var(--space-2); }

/* ---------- Referenzen (Vorher/Nachher) ---------- */
.svc-refs { background: var(--surface-muted); }
.refphoto { max-width: 920px; margin: 0 auto; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; background: var(--ink-100); }
.refphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.refphoto__cap { text-align: center; font-weight: var(--fw-semibold); color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 860px; }
.faq__item {
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-lg); color: var(--text-strong);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .faq__chev {
  flex-shrink: 0; width: 22px; height: 22px; color: var(--brand);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] summary .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--space-6) var(--space-5); color: var(--text-body); }
.faq__answer p { margin: 0; max-width: 70ch; }

/* ---------- Hub: Leistungs-Kacheln mit Foto ---------- */
.hub { background: #fff; }
.hub__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.hub-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft); }
.hub-card__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.hub-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.hub-card:hover .hub-card__shot img { transform: scale(1.05); }
.hub-card__badge {
  position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-md); background: rgba(255,255,255,.94); color: var(--orange-700); box-shadow: var(--shadow-sm);
}
.hub-card__badge i { width: 24px; height: 24px; }
.hub-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); flex-grow: 1; align-items: flex-start; }
.hub-card__body h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-xl); color: var(--text-strong); }
.hub-card__body p { color: var(--text-body); font-size: var(--text-sm); margin: 0; flex-grow: 1; }
.hub-card__link { display: inline-flex; align-items: center; justify-content: center; align-self: center; gap: .4rem; font-weight: var(--fw-bold); color: var(--text-strong); font-size: var(--text-sm); margin-top: .2rem; }
.hub-card:hover .hub-card__link { color: var(--brand); }
.hub-card__link i { width: 16px; height: 16px; transition: transform var(--dur-base); }
.hub-card:hover .hub-card__link i { transform: translateX(4px); }

/* ---------- Interne Links ---------- */
.ilinks { background: var(--surface-muted); }
.ilinks__row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.ilinks__lbl { font-weight: var(--fw-bold); color: var(--text-strong); margin-right: .25rem; }
.ilink {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  padding: .55rem 1rem; font-weight: var(--fw-semibold); font-size: var(--text-sm); color: var(--text-strong);
  transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base);
}
.ilink i { width: 16px; height: 16px; color: var(--brand); }
.ilink:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 680px) {
  .scope__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__grid { grid-template-columns: repeat(2, 1fr); }
  .cost__card { grid-template-columns: auto 1fr; }
  .hub__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  /* Foto bleibt Vollflächen-Hintergrund; Text sitzt links über dem dunklen Verlauf */
  .svc-hero__inner { grid-template-columns: 1fr; align-items: center; min-height: 560px; align-content: center; }
  .svc-hero__text { max-width: 620px; }
  /* Desktop: gleichmäßiger Scrim, links & unten am dunkelsten, rechts leicht gelichtet */
  .svc-hero__media::after {
    background:
      linear-gradient(90deg, rgba(12,12,14,.86) 0%, rgba(12,12,14,.64) 44%, rgba(12,12,14,.48) 74%, rgba(12,12,14,.42) 100%),
      linear-gradient(0deg, rgba(12,12,14,.32) 0%, rgba(12,12,14,0) 55%),
      rgba(12,12,14,.16);
  }
  .scope__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__grid { grid-template-columns: repeat(4, 1fr); }
  .hub__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .svc-hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
    max-width: 24ch;
    line-height: 1.1;
  }
  .svc-hero__lead { font-size: var(--text-base); }
  .svc-hero__inner { padding-block: var(--space-10); }
}

/* ============================================================
   ÜBER-UNS-BEREICH (Inhaltsseiten, Team, Karriere, Formulare, Rechtstexte)
   ============================================================ */

/* ---------- Prosa-Inhaltsseiten (Über uns) ---------- */
.prose { background: #fff; }
.prose__col { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-8); }
.prose__block { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.prose__block h2 {
  font-family: var(--font-display); font-weight: var(--fw-extra); font-size: var(--text-2xl);
  color: var(--text-strong); line-height: var(--leading-snug); letter-spacing: var(--tracking-snug);
}
.prose__block p { color: var(--text-body); font-size: var(--text-base); line-height: var(--leading-relaxed); max-width: 70ch; margin: 0; }

/* ---------- Zwei-Spalten-Split (Text + Bild) ---------- */
.split { background: var(--surface-muted); }
.split__grid { display: grid; gap: var(--space-8); align-items: center; }
.split__text { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.split__text p { color: var(--text-body); margin: 0; max-width: 56ch; }
.split__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--ink-100); }
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .split__grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-12); } }

/* ---------- Vertrauens-Streifen ---------- */
.trustline { background: #fff; }
.trustline__inner {
  display: inline-flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: .7rem 1.2rem; font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--text-strong);
}
.trustline__inner .stars { color: var(--star); letter-spacing: 1px; font-size: var(--text-lg); }

/* ---------- Team ---------- */
.team { background: #fff; }
.team__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); max-width: 760px; }
.member {
  display: flex; align-items: center; gap: var(--space-5);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.member__photo, .member__ph {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: var(--ink-100);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__ph { display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--orange-700); }
.member__ph i { width: 46px; height: 46px; }
.member__body { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.member__body h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-xl); color: var(--text-strong); }
.member__role { font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--brand); background: var(--brand-tint); padding: .25rem .75rem; border-radius: var(--radius-pill); }
@media (min-width: 680px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Formulare (Kontakt / Karriere) ---------- */
.formsec { background: var(--surface-muted); }
.dbform {
  max-width: 720px; display: grid; gap: var(--space-5);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.field label { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--text-strong); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-strong);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: .7rem .9rem; width: 100%;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { max-width: 440px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring-focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input[type="file"] { padding: .55rem .9rem; background: var(--warm-50); cursor: pointer; }
.dbform__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.dbform__note { font-size: var(--text-xs); color: var(--text-muted); margin: 0; max-width: 58ch; }

/* Spam-Falle: unsichtbar fuer Menschen */
.dbform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Einwilligung (DSGVO) */
.field--check { gap: 0; }
.dbform__check { display: flex; align-items: flex-start; gap: .6rem; font-weight: var(--fw-regular); font-size: var(--text-sm); color: var(--text-body); line-height: 1.45; cursor: pointer; }
.dbform__check input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--brand); }
.dbform__check a { color: var(--brand); }

/* Status-Meldung nach Absenden */
.dbform__status { margin: 0; font-size: var(--text-sm); font-weight: var(--fw-medium); padding: .85rem 1rem; border-radius: var(--radius-md); }
.dbform__status.is-ok { color: var(--green-500); background: var(--green-50); border: 1px solid var(--green-500); }
.dbform__status.is-err { color: var(--red-500); background: #FBEDEC; border: 1px solid var(--red-500); }
.dbform__status a { color: inherit; font-weight: var(--fw-bold); }

@media (min-width: 600px) { .field--grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { background: #fff; }
.legal__col { max-width: 780px; color: var(--text-body); font-size: var(--text-base); line-height: var(--leading-relaxed); }
.legal__col > :first-child { margin-top: 0; }
.legal__col h2 {
  font-family: var(--font-display); font-weight: var(--fw-extra); font-size: var(--text-xl);
  color: var(--text-strong); line-height: var(--leading-snug); margin: var(--space-10) 0 var(--space-4);
}
.legal__col h3 {
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-lg);
  color: var(--text-strong); margin: var(--space-8) 0 var(--space-3);
}
.legal__col p { margin: 0 0 var(--space-4); max-width: 78ch; }
.legal__col address { font-style: normal; margin: 0 0 var(--space-4); line-height: var(--leading-normal); }
.legal__col a { color: var(--brand); word-break: break-word; }
.legal__col strong { color: var(--text-strong); }

/* ===== GEO: Preistabellen auf Leistungsseiten (portiert aus article.css) ===== */
.art-table-wrap { overflow-x: auto; margin: 0 0 var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-md); }
.art-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--text-sm); }
.art-table caption {
  caption-side: top; text-align: left; padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-bold); color: var(--text-strong); background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}
.art-table th, .art-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border); }
.art-table thead th {
  background: var(--surface-dark); color: var(--text-ondark);
  font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; white-space: nowrap;
}
.art-table tbody tr:nth-child(even) { background: var(--surface-muted); }
.art-table tbody tr:last-child th, .art-table tbody tr:last-child td { border-bottom: none; }
.art-table tbody th { font-weight: var(--fw-bold); color: var(--text-strong); }
.art-table__note { color: var(--text-muted); font-size: var(--text-sm); margin-top: calc(-1 * var(--space-4)); margin-bottom: var(--space-6); }

/* Mobil: Tabellenzeilen werden zu eigenstaendigen Karten
   (Spaltentitel kommen aus data-label an den td-Zellen) */
@media (max-width: 599.98px) {
  .art-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .art-table { display: block; min-width: 0; width: 100%; border-collapse: separate; }
  .art-table caption {
    display: block; background: transparent; border: 0;
    padding: 0 0 var(--space-3);
    font-family: var(--font-display); font-size: var(--text-lg);
    letter-spacing: var(--tracking-snug);
  }
  .art-table thead { display: none; }
  .art-table tbody { display: flex; flex-direction: column; gap: var(--space-3); }
  .art-table tbody tr {
    display: block;
    background: var(--surface-card); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-4) var(--space-2);
  }
  .art-table tbody tr:nth-child(even) { background: var(--surface-card); }
  .art-table tbody th[scope="row"] {
    display: block; border: 0; padding: 0 0 var(--space-2);
    font-family: var(--font-display); font-size: var(--text-base);
    line-height: var(--leading-snug);
  }
  .art-table tbody td {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
    gap: .3rem var(--space-4);
    border: 0; border-top: 1px solid var(--border);
    padding: var(--space-2) 0; text-align: left;
  }
  .art-table tbody td::before {
    content: attr(data-label);
    flex-shrink: 0; text-align: left;
    color: var(--text-muted); font-size: var(--text-xs); font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-caps); text-transform: uppercase;
  }
  .art-table tbody tr:last-child th, .art-table tbody tr:last-child td { border-bottom: 0; }
  .art-table tbody td:first-of-type { border-top: 1px solid var(--border); }
  .art-table__note { margin-top: calc(-1 * var(--space-2)); }
}


/* Rating-Chip als Link zum Google-Profil */
a.svc-hero__rating { text-decoration: none; color: inherit; }
a.svc-hero__rating:hover { text-decoration: underline; }
