/* =========================================================================
   style.css  –  Fliesenleger-Website
   Farbkonzept: Anthrazit-Schiefer (Primär) + Terrakotta (Akzent/CTA)
   auf warmer, neutraler Basis. Handwerklich, präzise, modern.
   Harmonie: warm/kalt-Kontrast (Stein-Schiefer kalt, Ton-Terrakotta warm).
   Kontrast-geprüft nach WCAG AA.
   ========================================================================= */

:root {
  /* PRIMÄR – Anthrazit-Schiefer */
  --color-primary: #273A47;        /* Header, Flächen, Footer */
  --color-primary-dark: #1A2A34;   /* Hover/aktiv */
  --color-primary-light: #EAF0F2;  /* helle Flächen */

  /* SEKUNDÄR – Stein-/Salbeigrau */
  --color-secondary: #5E7A78;

  /* AKZENT – Terrakotta (Links, Eyebrows, Hervorhebungen) */
  --color-accent: #BC5A34;
  --color-accent-dark: #9E4A2A;
  --color-accent-light: #F5E3DB;   /* zarte Akzentflächen */

  /* CTA – eigene Button-Farbe (Petrol-Grün), entkoppelt vom Akzent.
     Zum Ändern nur diese zwei Werte anpassen. */
  --color-cta: #1F7A5C;
  --color-cta-dark: #19654C;       /* Button-Hover */

  /* NEUTRAL */
  --color-text: #1F2933;
  --color-text-muted: #5B6770;
  --color-border: #E1E5E7;
  --color-bg: #F7F8F8;
  --color-bg-alt: #FFFFFF;
  --color-surface: #FFFFFF;

  /* SEMANTISCH */
  --color-success: #2F855A;
  --color-warning: #C05621;
  --color-error: #C53030;
  --color-info: #2B6CB0;

  /* Maße & Effekte */
  --maxw: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(26, 42, 52, .08), 0 1px 2px rgba(26, 42, 52, .06);
  --shadow-md: 0 6px 20px rgba(26, 42, 52, .10);
  --shadow-lg: 0 18px 50px rgba(26, 42, 52, .16);
  --header-h: 76px;
  --ease: cubic-bezier(.16, .84, .44, 1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent-dark); }
h1, h2, h3, h4 { color: var(--color-primary); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--primary { background: var(--color-primary); color: #fff; }
.section--primary h2, .section--primary h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: .6rem;
}
.section--primary .eyebrow { color: #E9A98C; }
.lead { font-size: 1.15rem; color: var(--color-text-muted); }
.section--primary .lead { color: #C9D6DC; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-cta-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }
.section--primary .btn--ghost { color: #fff; }
.section--primary .btn--ghost:hover { background: #fff; color: var(--color-primary); }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: var(--color-primary-light); color: var(--color-primary); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 18px;
}
.nav__logo img { height: 44px; width: auto; }
.nav__logo span { font-weight: 800; color: var(--color-primary); font-size: 1.2rem; letter-spacing: -.02em; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 10px 14px; color: var(--color-text);
  font-weight: 500; font-size: .97rem; border-radius: 8px; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-primary); background: var(--color-primary-light); }
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s var(--ease);
}
/* Unsichtbare Brücke über die Lücke zwischen Link und Dropdown,
   damit das Menü beim Herunterfahren mit der Maus nicht verschwindet. */
.nav__dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 14px;
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--color-text); font-size: .94rem; font-weight: 500; }
.nav__dropdown a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--color-primary); white-space: nowrap;
}
.nav__phone:hover { color: var(--color-accent); }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 2.5px; background: var(--color-primary); border-radius: 2px; transition: .25s var(--ease); }
.nav__cta { display: inline-flex; }
.nav__sub-toggle { display: none; }  /* nur im Mobilmenü sichtbar */

/* mobile */
@media (max-width: 980px) {
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__right { display: none; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 14px 18px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open .nav__menu { transform: translateY(0); }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--color-border); border-radius: 0; }

  /* Aufklappbares Untermenü */
  .nav__item--has-sub { display: flex; flex-wrap: wrap; align-items: stretch; }
  .nav__item--has-sub > .nav__link { flex: 1; }
  .nav__sub-toggle {
    display: flex; align-items: center; justify-content: center; width: 56px;
    background: none; border: none; border-bottom: 1px solid var(--color-border);
    color: var(--color-primary); cursor: pointer;
  }
  .nav__caret {
    width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
  }
  .nav__item--has-sub.open-sub .nav__caret { transform: rotate(-135deg) translate(-2px, -2px); }

  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 8px 12px; min-width: 0; flex-basis: 100%; display: none;
  }
  .nav__item--has-sub.open-sub .nav__dropdown { display: block; }
  .nav__dropdown::before { display: none; }  /* Hover-Brücke im Mobilmenü nicht nötig */
  .nav__dropdown a { font-size: 1rem; padding: 11px 12px; }
  .nav__cta.nav__cta--desktop { display: none; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .nav__phone .nav__phone-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(26,42,52,.94) 0%, rgba(39,58,71,.86) 55%, rgba(39,58,71,.72) 100%),
    var(--color-primary);
  color: #fff;
}
.hero::after {
  /* dezentes Fliesenraster als Textur */
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(120deg, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__sub { font-size: 1.2rem; color: #D6E0E5; max-width: 36ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .92rem; color: #C9D6DC; }
.hero__trust .star { color: #F0B429; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 13px; border-radius: 50px; color: #fff;
}
.hero__media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: linear-gradient(135deg, #34505E, #1A2A34);
  display: grid; place-items: center; position: relative;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { aspect-ratio: 16 / 11; order: -1; }
}

/* Bild-Platzhalter (falls noch keine Fotos vorhanden) */
.img-ph {
  width: 100%; height: 100%; min-height: 180px;
  display: grid; place-items: center; text-align: center;
  color: var(--color-secondary); background:
    repeating-linear-gradient(45deg, #EDEFF0 0 22px, #E4E8E9 22px 44px);
  font-size: .85rem; font-weight: 600; padding: 16px;
}
.hero__media .img-ph { color: #BcCBD1; background:
  repeating-linear-gradient(45deg, #2F4A57 0 26px, #34505E 26px 52px); }

/* ---------- Trust-Bar / Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { text-align: center; }
.stat__value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--color-accent); line-height: 1; }
.section--primary .stat__value { color: #E9A98C; }
.stat__label { color: var(--color-text-muted); font-weight: 500; margin-top: 6px; }
.section--primary .stat__label { color: #C9D6DC; }

/* ---------- Karten / Leistungen ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFD8DB; }
/* Karte mit Bild */
.card--media { padding: 0; overflow: hidden; }
.card--media .card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card--media:hover .card__media img { transform: scale(1.05); }
.card--media .card__icon { margin-top: -42px; position: relative; background: #fff; box-shadow: var(--shadow-sm); }

.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--color-accent-light); color: var(--color-accent); margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--color-text-muted); margin-bottom: 18px; }
.card__link {
  margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.card__link::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* ---------- Leistungs-Detailseite ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  color: #fff; padding: clamp(40px, 6vw, 70px) 0;
}
.page-hero .breadcrumb { color: #A9BCC4; font-size: .9rem; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: #C9D6DC; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #D6E0E5; font-size: 1.15rem; max-width: 60ch; margin: 0; }

.detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } }
.detail__body > section { margin-bottom: 40px; }
.detail__body h2 { margin-top: 0; }
.detail__body h3 { color: var(--color-primary); margin-top: 1.6em; }
.prose p { color: #38434C; }

/* Lead-/Detail-Bilder auf Leistungsseiten */
.lead-figure { margin: 0 0 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.lead-figure img { width: 100%; height: clamp(220px, 38vw, 420px); object-fit: cover; display: block; }
.detail-block { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.detail-block .detail-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.detail-block .detail-figure img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.detail-block:hover .detail-figure img { transform: scale(1.03); }
/* Abwechselnd Bild links/rechts ab Tablet */
@media (min-width: 680px) {
  .detail-block { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .detail-block:nth-child(even) .detail-block__text { order: 2; }
}
.detail-block__text h3 { margin-top: 0; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  position: relative; padding: 0 0 24px 58px; counter-increment: step;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--color-accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px;
  background: var(--color-border);
}
.steps h4 { margin: 4px 0 4px; color: var(--color-primary); font-size: 1.08rem; }
.steps p { margin: 0; color: var(--color-text-muted); }

.factbox {
  background: var(--color-primary-light); border-radius: var(--radius);
  padding: 22px; border-left: 4px solid var(--color-accent); margin: 26px 0;
}
.factbox strong { color: var(--color-primary); }

/* Sidebar (sticky CTA + Leistungsliste) */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.sidebar__cta {
  background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: 26px;
}
.sidebar__cta h3 { color: #fff; }
.sidebar__cta p { color: #C9D6DC; font-size: .96rem; }
.sidebar__list { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 14px; }
.sidebar__list h4 { padding: 8px 10px; margin: 0 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); }
.sidebar__list a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--color-text); font-size: .95rem; font-weight: 500; }
.sidebar__list a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.sidebar__list a[aria-current="page"] { background: var(--color-accent-light); color: var(--color-accent-dark); font-weight: 600; }

/* ---------- Referenzen ---------- */
.ref-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.ref-card__media { aspect-ratio: 4 / 3; position: relative; }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ref-card__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(26,42,52,.85); color: #fff;
  font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 50px;
}
.ref-card__body { padding: 20px; }
.ref-card__body h3 { font-size: 1.1rem; }
.ref-card__body p { color: var(--color-text-muted); font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before { content: "\201C"; font-size: 4rem; color: var(--color-accent-light); position: absolute; top: 4px; left: 16px; line-height: 1; font-family: Georgia, serif; }
.quote p { position: relative; font-size: 1.02rem; }
.quote__author { font-weight: 600; color: var(--color-primary); font-size: .95rem; }
.quote .stars { color: #F0B429; margin-bottom: 8px; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.about__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; min-height: 320px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 821px) { .about__media { aspect-ratio: auto; } }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--color-primary-light);
  color: var(--color-primary); font-weight: 600; font-size: .9rem; padding: 9px 15px; border-radius: 50px;
}
.badge svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ---------- Karriere ---------- */
.career-reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
@media (max-width: 640px) { .career-reasons { grid-template-columns: 1fr; } }
.career-reason { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 20px; }
.career-reason h4 { color: var(--color-primary); margin-bottom: 6px; }
.career-reason p { margin: 0; color: var(--color-text-muted); font-size: .95rem; }
/* Aufzählung mit Häkchen (Stellenseiten: Aufgaben/Profil) */
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; color: #38434C; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--color-accent-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23BC5A34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.position-list { list-style: none; padding: 0; margin: 0 0 22px; }
.position-list li { margin-bottom: 10px; }
.position-list li a {
  padding: 15px 18px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--color-primary); display: flex; align-items: center; gap: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.position-list li a::before { content: "›"; color: var(--color-accent); font-weight: 800; font-size: 1.3rem; }
.position-list li a::after { content: "→"; margin-left: auto; color: var(--color-accent); transition: transform .2s var(--ease); }
.position-list li a:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); color: var(--color-primary); }
.position-list li a:hover::after { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--color-primary);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--color-accent); font-weight: 400; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 22px 20px; color: var(--color-text-muted); }
.faq-item__body p { margin: 0; }

/* ---------- Kontakt / Formular ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--color-primary); margin-bottom: 6px; font-size: .95rem; }
.field label .req { color: var(--color-accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font: inherit; color: var(--color-text); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-light);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--color-text-muted); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--color-text-muted); }
.checkbox input { width: auto; margin-top: 3px; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 14px; font-weight: 500; display: none; }
.form-status.success { display: block; background: #E6F4EC; color: var(--color-success); border: 1px solid #B7E0C6; }
.form-status.error { display: block; background: #FDE8E8; color: var(--color-error); border: 1px solid #F5C2C2; }

.contact-info { display: grid; gap: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--color-primary-light); color: var(--color-accent); display: grid; place-items: center; flex: 0 0 auto; }
.contact-line__icon svg { width: 22px; height: 22px; }
.contact-line h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-line a, .contact-line p { margin: 0; color: var(--color-text-muted); }
.contact-line a { color: var(--color-accent); font-weight: 600; }

/* ---------- Kalkulator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.calc-result {
  background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: 30px;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.calc-result h3 { color: #fff; }
.calc-result__price { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: #E9A98C; margin: 8px 0; line-height: 1; }
.calc-result__range { color: #C9D6DC; font-size: .95rem; }
.calc-result small { display: block; color: #A9BCC4; font-size: .8rem; margin-top: 16px; line-height: 1.5; }
.range-row { display: flex; justify-content: space-between; font-weight: 600; color: var(--color-primary); margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--color-accent); }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(120deg, var(--color-accent), var(--color-accent-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FBE7DD; max-width: 60ch; margin: 0 auto 26px; font-size: 1.1rem; }

/* Notdienst-/Emergency-Hinweis */
.emergency {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--color-primary-dark); color: #fff; border-radius: var(--radius); padding: 22px 26px;
  border-left: 5px solid var(--color-warning);
}
.emergency p { margin: 0; color: #D6E0E5; }
.emergency strong { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #B9C7CE; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: #B9C7CE; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 46px; margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer-contact { display: grid; gap: 8px; font-size: .95rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8DA0A9;
}
.footer-bottom a { color: #8DA0A9; }

/* ---------- Animation (Fade-In on Scroll) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--color-primary);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
