/* =====================================================================
   Steinbach Bau – Design-System
   Farbkonzept: Anthrazit (Solidität) + Bau-Orange (Energie/Sicherheit)
   + Sandstein/Beton (warme, ruhige Flächen)
   ===================================================================== */

:root {
  /* --- Markenfarben --- */
  --anthracite:      #1E2A35;   /* Primär: Header, Footer, Headlines    */
  --anthracite-2:    #2A3A47;   /* Abstufung, Karten auf dunkel         */
  --anthracite-3:    #384D5C;   /* Hover auf dunkel                     */

  --accent:          #D35A1A;   /* Bau-Orange: Akzente, Links, Zahlen   */
  --accent-dark:     #B14910;   /* Hover                                */
  --accent-soft:     #FBEDE3;   /* Orange-Tint Hintergrund              */

  --cta:             #1E8A52;   /* Signal-Grün: CTA / Conversion-Buttons */
  --cta-dark:        #166B40;   /* Hover                                 */

  /* --- Neutrale / Beton- & Sandstein-Töne --- */
  --bg:              #F5F3EF;   /* Seitenhintergrund (warmes Off-White) */
  --bg-2:            #ECE8E1;   /* zweite Fläche                        */
  --surface:         #FFFFFF;   /* Karten                               */
  --border:          #E2DCD2;   /* Linien                               */
  --border-strong:   #CFC7B9;

  /* --- Text --- */
  --text:            #232B30;   /* Fließtext                            */
  --text-muted:      #5C6770;   /* Sekundär                             */
  --text-invert:     #F5F3EF;   /* auf dunkel                           */
  --text-invert-mut: #AEB9C1;

  /* --- Funktionsfarben --- */
  --success:         #2E7D4F;
  --info:            #2A6F8E;

  /* --- Maße --- */
  --maxw:            1180px;
  --radius:          14px;
  --radius-sm:       9px;
  --radius-lg:       22px;
  --shadow-sm:       0 1px 2px rgba(30,42,53,.06), 0 2px 6px rgba(30,42,53,.05);
  --shadow:          0 6px 22px rgba(30,42,53,.10);
  --shadow-lg:       0 18px 50px rgba(30,42,53,.18);

  --space:           clamp(3.5rem, 7vw, 6.5rem);   /* vertikaler Sektionsabstand */
  --ease:            cubic-bezier(.22,.61,.36,1);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

/* =====================================================================
   Reset / Basis
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
ul { padding-left: 1.15em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  color: var(--anthracite);
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); text-transform: none; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: var(--text); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* =====================================================================
   Layout-Helfer
   ===================================================================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--anthracite); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-invert-mut); }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--text-muted); max-width: 60ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: .92rem; color: var(--accent-dark);
  margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow { color: #F5A06A; }
.section--dark .eyebrow::before { background: var(--accent); }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --bw: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .4px;
  padding: .92rem 1.7rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .2s var(--ease), color .18s;
  text-align: center; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(30,138,82,.35); }
.btn--primary:hover { background: var(--cta-dark); color: #fff; box-shadow: 0 10px 26px rgba(30,138,82,.42); }

.btn--ghost { background: transparent; color: var(--anthracite); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--anthracite); color: var(--anthracite); background: #fff; }

.btn--light { background: #fff; color: var(--anthracite); }
.btn--light:hover { background: var(--cta); color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--lg { font-size: 1.15rem; padding: 1.05rem 2.1rem; }
.btn--block { display: flex; width: 100%; }

/* =====================================================================
   Header / Navigation
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; }

.topbar {
  background: var(--anthracite);
  color: var(--text-invert-mut);
  font-size: .9rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: .42rem; }
.topbar a { color: var(--text-invert); }
.topbar a:hover { color: #F5A06A; }
.topbar__info { display: flex; gap: 1.3rem; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__rating { display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.topbar__rating .stars { color: #FFC24B; letter-spacing: 1px; }

/* Topbar gestaffelt verschlanken: erst Öffnungszeiten + E-Mail weg,
   dann (sehr schmal) die ganze Topbar ausblenden. */
@media (max-width: 980px) {
  .topbar__info > *:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
  .topbar { display: none; }
}

.navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__logo { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--anthracite); letter-spacing: .5px; }
.brand__sub { font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .12rem; }
.nav a {
  color: var(--anthracite); font-weight: 500; font-size: .98rem;
  padding: .5rem .62rem; border-radius: 8px; position: relative;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-2); color: var(--anthracite); }
.nav a[aria-current="page"] { color: var(--accent-dark); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__cta { margin-left: .35rem; }

/* --- Untermenü / Dropdown (Leistungen) --- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item .nav-parent { padding-right: .35rem; }
.submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--anthracite);
  padding: .35rem; border-radius: 7px; line-height: 0;
}
.submenu-toggle:hover { background: var(--bg-2); }
.submenu-toggle svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.nav-item.is-open .submenu-toggle svg,
.nav-item.has-submenu:hover .submenu-toggle svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: .45rem; display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 60;
}
.submenu::before { /* unsichtbare Brücke, damit Hover nicht abreißt */
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
}
.nav-item.has-submenu:hover .submenu,
.nav-item.has-submenu:focus-within .submenu,
.nav-item.is-open .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  padding: .6rem .85rem; border-radius: 8px; font-size: .98rem; font-weight: 500;
  color: var(--anthracite); white-space: nowrap;
}
.submenu a:hover { background: var(--bg-2); color: var(--accent-dark); }
.submenu__all {
  margin-top: .25rem; padding-top: .65rem; border-top: 1px solid var(--border);
  color: var(--accent-dark); font-weight: 600; font-family: var(--font-head); font-size: 1.04rem;
}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  width: 46px; height: 46px; border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 2.5px; background: var(--anthracite); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; background: var(--anthracite); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,28,35,.94) 18%, rgba(20,28,35,.78) 48%, rgba(20,28,35,.45) 100%);
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero__inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: #F5A06A; }
.hero__lead { font-size: clamp(1.12rem, 1.7vw, 1.35rem); color: #D7DEE3; margin-top: 1.2rem; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__badge { display: flex; flex-direction: column; }
.hero__badge b { font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero__badge span { font-size: .9rem; color: var(--text-invert-mut); margin-top: .25rem; }

/* page hero (Unterseiten) */
.page-hero { background: var(--anthracite); color: #fff; position: relative; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,28,35,.93), rgba(20,28,35,.6)); }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #D7DEE3; max-width: 60ch; margin-top: 1rem; }
.breadcrumb { font-size: .9rem; color: var(--text-invert-mut); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: #F5A06A; }
.breadcrumb span { opacity: .6; }

/* =====================================================================
   Trust-Bar
   ===================================================================== */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.2rem 2rem; padding-block: 1.3rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--anthracite); font-size: .98rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--accent); flex: none; }

/* =====================================================================
   Cards / Leistungen
   ===================================================================== */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

.service-card { text-decoration: none; color: inherit; }
.service-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__num {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700;
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.service-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.service-card__body h3 { color: var(--anthracite); }
.service-card__body p { color: var(--text-muted); font-size: .98rem; }
.service-card__more { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: .4rem; padding-top: .4rem; }
.service-card:hover .service-card__more { gap: .65rem; color: var(--accent); }

/* =====================================================================
   Feature / Split-Sektionen
   ===================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p + p { margin-top: .9rem; }

.checklist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B14910' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* =====================================================================
   Stats / Zahlenband
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1rem; }
.stat b { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--accent); display: block; line-height: 1; }
.section--dark .stat b { color: #F5A06A; }
.stat span { display: block; margin-top: .5rem; color: var(--text-muted); font-weight: 500; }
.section--dark .stat span { color: var(--text-invert-mut); }

/* =====================================================================
   Prozess / Ablauf
   ===================================================================== */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  color: var(--accent); display: inline-block; margin-bottom: .5rem;
}
.step h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .96rem; }

/* =====================================================================
   Info-/Hinweis-Box
   ===================================================================== */
.note {
  display: flex; gap: .9rem; background: var(--accent-soft); border: 1px solid #F2D6C3;
  border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem; margin: 1.4rem 0; color: #6B3414;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--accent-dark); margin-top: 2px; }
.note strong { color: #5A2A0F; }
.note p { color: #6B3414; font-size: .97rem; }

/* =====================================================================
   Leistungs-Detailseite
   ===================================================================== */
.svc-section { padding-block: clamp(2.6rem, 5vw, 4.2rem); }
.svc-section + .svc-section { border-top: 1px solid var(--border); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.svc-block--reverse .svc-block__media { order: 2; }
.svc-block__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-block__body h2 { position: relative; margin-bottom: .9rem; padding-top: 1.15rem; }
.svc-block__body h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 52px; height: 4px; border-radius: 2px; background: var(--accent);
}
.svc-block__body p + p { margin-top: .85rem; }

.toc { display: flex; flex-wrap: wrap; gap: .6rem; }
.toc a { background: #fff; border: 1px solid var(--border); padding: .5rem .95rem; border-radius: 999px; font-size: .95rem; font-weight: 600; color: var(--anthracite); }
.toc a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* =====================================================================
   Referenzen / Galerie
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem; color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,28,35,.85));
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: #FFC24B; letter-spacing: 1px; margin-bottom: .6rem; }
.quote p { font-style: italic; color: var(--text); }
.quote footer { margin-top: 1rem; font-weight: 600; color: var(--anthracite); font-size: .95rem; }
.quote footer span { display: block; font-weight: 400; color: var(--text-muted); font-size: .88rem; }

/* =====================================================================
   FAQ (Accordion)
   ===================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--font-head);
  font-weight: 600; font-size: 1.18rem; color: var(--anthracite); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* =====================================================================
   CTA-Band
   ===================================================================== */
.cta-band { background: linear-gradient(120deg, var(--anthracite), var(--anthracite-3)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(211,90,26,.35), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7DEE3; max-width: 52ch; margin: .9rem auto 0; }
.cta-band .hero__actions { justify-content: center; }

/* =====================================================================
   Formulare
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(1.8rem, 4vw, 3rem); }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--anthracite); margin-bottom: .4rem; font-size: .96rem; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .9rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(211,90,26,.15); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__hint { font-size: .85rem; color: var(--text-muted); margin-top: -.3rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.consent input { width: auto; margin-top: .25rem; }

.contact-aside { display: grid; gap: 1.2rem; align-content: start; }
.contact-card { background: var(--anthracite); color: #fff; border-radius: var(--radius); padding: 1.6rem; }
.contact-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-card a { color: #fff; }
.contact-row { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: #F5A06A; flex: none; margin-top: 3px; }
.contact-row b { display: block; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-invert-mut); font-weight: 600; }
.contact-row span, .contact-row a { color: #fff; font-size: 1.05rem; }

/* =====================================================================
   Kalkulator
   ===================================================================== */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 2.6rem); align-items: start; }
.calc__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.2rem); box-shadow: var(--shadow); }
.calc__result { background: var(--anthracite); color: #fff; border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.2rem); position: sticky; top: 90px; }
.calc__result h3 { color:#fff; }
.calc__price { font-family: var(--font-head); font-size: clamp(2.4rem,6vw,3.4rem); color: #F5A06A; line-height: 1.05; margin: .4rem 0; }
.calc__price small { font-size: 1rem; color: var(--text-invert-mut); font-family: var(--font); }
.calc__disclaimer { font-size: .82rem; color: var(--text-invert-mut); margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1rem; }
.range-val { font-family: var(--font-head); font-weight: 700; color: var(--accent-dark); }

/* =====================================================================
   Recruiting
   ===================================================================== */
.job-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem; }
.job-card .tag { align-self: flex-start; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .82rem; padding: .25rem .7rem; border-radius: 999px; }
.job-card h3 { color: var(--anthracite); }
.job-card ul { color: var(--text-muted); font-size: .96rem; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--anthracite); color: var(--text-invert-mut); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: var(--text-invert-mut); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-invert-mut); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-contact .contact-row b { color: var(--text-invert-mut); }
.footer-contact .contact-row span, .footer-contact .contact-row a { font-size: .98rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* =====================================================================
   Legal-Seiten (Lesbarkeit)
   ===================================================================== */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .8rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: .8rem; }
.prose ul { margin-top: .6rem; }

/* =====================================================================
   Animationen (Scroll-Reveal) – progressive enhancement
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"] { transform: translateX(-28px); }
[data-reveal][data-reveal="right"] { transform: translateX(28px); }
[data-reveal].is-visible[data-reveal="left"], [data-reveal].is-visible[data-reveal="right"] { transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery, .quotes { grid-template-columns: repeat(2, 1fr); }
  .form-wrap, .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}

@media (max-width: 1120px) {
  /* viele Menüpunkte + CTA -> früher auf Hamburger umschalten,
     damit der "Projekt anfragen"-Button nicht aus dem Container ragt. */

  /* WICHTIG: backdrop-filter auf der Navbar würde fixed-Kinder (Slide-Panel)
     an die Navbar binden statt an den Viewport -> Panel deaktivieren. */
  .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 130; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 5.5rem 1.4rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
    z-index: 110;
  }
  .nav-open .nav { transform: none; }
  .nav a { padding: .85rem 1rem; border-radius: 10px; font-size: 1.1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--accent-soft); }

  /* Untermenü mobil: aufklappbares Akkordeon */
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-item.has-submenu {
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .2rem;
  }
  .nav-item .nav-parent { padding-right: 1rem; }
  .submenu-toggle { width: 46px; height: 46px; border-radius: 10px; }
  .submenu {
    position: static; grid-column: 1 / -1; min-width: 0;
    background: transparent; border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 0 .55rem; margin: .1rem 0 .3rem .4rem; border-left: 2px solid var(--border);
    transform: none; display: block;
    max-height: 0; overflow: hidden; opacity: 1; visibility: visible;
    transition: max-height .32s var(--ease);
  }
  .nav-item.is-open .submenu { max-height: 640px; }
  .submenu::before { display: none; }
  .submenu a { display: block; padding: .65rem .8rem; font-size: 1.02rem; white-space: normal; }
  .submenu__all { font-size: 1.06rem; }

  .nav__cta { margin: .8rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20,28,35,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 90; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split, .svc-block { grid-template-columns: 1fr; }
  .split--reverse .split__media, .svc-block--reverse .svc-block__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery, .quotes { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__badges { gap: 1.2rem; }
  .hero__badge b { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
