/* ==========================================================================
   Reiners Dachbau – Design System
   Anthrazit + Navyblau, Orange-Akzent (Markenfarben aus dem Logo)
   ========================================================================== */

/* ---------- Selbst gehostete Schriften (variabel: Plus Jakarta Sans + Inter) ---------- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/assets/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/assets/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colours */
  --ink:        #2b211a;   /* warmes Anthrazit-Braun – Text & dunkle Flächen */
  --ink-800:    #3a2e24;
  --navy:       #7c4a28;   /* Primärbraun (Holzbau-Logo) */
  --navy-700:   #683d20;
  --navy-900:   #462916;   /* tiefes Espressobraun – dunkle Sektionen/Footer */
  --orange:     #d07c38;   /* Terrakotta-Akzent (Logo) */
  --orange-600: #b9652a;
  --orange-100: #f7e9d9;

  /* Neutrals (warm) */
  --paper:  #ffffff;
  --mist:   #f7f2ea;       /* warmer cremefarbener Hintergrund */
  --mist-2: #efe7da;
  --line:   #e7dccd;
  --muted:  #6f6256;
  --muted-2:#8a7d6f;

  /* Typo */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);

  /* Metrics */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(46,30,18,.06), 0 2px 8px rgba(46,30,18,.05);
  --shadow-md: 0 8px 28px rgba(46,30,18,.10);
  --shadow-lg: 0 18px 50px rgba(46,30,18,.16);
  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p  { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(1.4rem, 3vw, 2.4rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--navy); color: #efe6da; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #cdbfb0; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section--ink .eyebrow { color: var(--orange); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--orange); color: #2a1a06; box-shadow: 0 8px 20px rgba(208,124,56,.35); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy); transform: translateY(-2px); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.link-arrow svg { width: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--orange-600); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 54px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 44px; }

.main-nav ul { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--ink-800); padding: .5rem .85rem; border-radius: 8px; position: relative; white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--mist); }
.main-nav a.is-active { color: var(--navy); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.main-nav .nav-ig a { display: flex; align-items: center; gap: .45rem; color: var(--navy); }
.main-nav .nav-ig svg { width: 22px; height: 22px; }
.main-nav .nav-ig .ig-label { display: none; }
.main-nav .nav-ig a:hover { color: var(--orange-600); background: transparent; }

.header-cta { display: flex; align-items: center; gap: .85rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 1.05rem; color: var(--orange-600); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--mist); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: rotate(-45deg) translateY(-2px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(46,30,18,.92) 0%, rgba(46,30,18,.78) 42%, rgba(46,30,18,.35) 100%);
}
.hero__inner { padding-block: clamp(4.5rem, 12vw, 8.5rem); max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.2rem; margin-top: 1.3rem; max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: .45rem 1rem .45rem .55rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #fff;
  backdrop-filter: blur(4px);
}
.hero__badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #2a1a06; display: grid; place-items: center; font-weight: 800; }

/* compact page hero (sub pages) */
.page-hero { position: relative; color: #fff; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(120deg, rgba(46,30,18,.9), rgba(46,30,18,.6)); }
.page-hero__inner { padding-block: clamp(3.5rem, 9vw, 6rem); max-width: 720px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.15rem; margin-top: 1rem; max-width: 600px; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat .lbl { margin-top: .5rem; font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   About split
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/4.6; object-fit: cover; }
.split__media .badge-float {
  position: absolute; left: -22px; bottom: 28px; background: var(--orange); color: #2a1a06;
  padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  font-family: var(--font-head); max-width: 220px;
}
.split__media .badge-float b { font-size: 1.8rem; display: block; line-height: 1; }
.feature-list { display: grid; gap: .9rem; margin-top: 1.6rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); }
.feature-list svg { flex: none; width: 24px; height: 24px; color: var(--orange-600); margin-top: 2px; }

/* ==========================================================================
   Cards / Services grid
   ========================================================================== */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16/10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .97rem; }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--orange-100); color: var(--orange-600);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }

/* small service card (no image) */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.svc h3 { margin-bottom: .5rem; }
.svc p { font-size: .96rem; }
.svc .card__icon { margin-bottom: 1.1rem; }

/* ==========================================================================
   References gallery
   ========================================================================== */
.ref-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.ref {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.ref img { width:100%; height:100%; object-fit: cover; transition: transform .55s var(--ease); }
.ref:hover img { transform: scale(1.07); }
.ref__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; color: #fff;
  background: linear-gradient(to top, rgba(46,30,18,.92) 0%, rgba(46,30,18,.35) 45%, rgba(46,30,18,0) 75%);
}
.ref__overlay h3 { color: #fff; font-size: 1.15rem; }
.ref__overlay p { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: .35rem; opacity: 0; max-height: 0; transition: opacity .3s, max-height .3s; }
.ref:hover .ref__overlay p { opacity: 1; max-height: 120px; }

.impressions { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.impressions .ref { aspect-ratio: 1/1; }

/* ==========================================================================
   Partner-Logos
   ========================================================================== */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.8rem, 5vw, 4.5rem); }
.partner { display: flex; align-items: center; justify-content: center; }
.partner img { max-height: 58px; max-width: 168px; width: auto; object-fit: contain; transition: transform .3s var(--ease), opacity .3s; opacity: .9; }
.partner:hover img { transform: translateY(-4px); opacity: 1; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(120deg, var(--navy-900), var(--navy)); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 1rem; }
.cta-band .hero__actions { justify-content: center; }
.cta-deco { position: absolute; inset: 0; z-index: -1; opacity: .12; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--orange-600); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(26,63,99,.1);
}
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--navy); }
.checkbox a { color: var(--navy); text-decoration: underline; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: .4rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-family: var(--font-head); display: none; }
.form-status.ok { display: block; background: #e7f6ec; color: #1d7a3e; }
.form-status.err { display: block; background: #fdeaea; color: #c0392b; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* contact info list */
.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; }
.info-item .ic svg { width: 24px; height: 24px; }
.info-item h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: .15rem; }
.info-item a, .info-item p { color: var(--muted); }
.info-item a:hover { color: var(--navy); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---- Consent-Banner & geblockte Drittanbieter-Embeds ---- */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(46,30,18,.14); transform: translateY(110%); transition: transform .35s var(--ease); }
.consent-banner.is-open { transform: translateY(0); }
.consent-banner__inner { max-width: 1200px; margin-inline: auto; padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.consent-banner__text { flex: 1; min-width: 240px; margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.consent-banner__text a { color: var(--orange-600); text-decoration: underline; }
.consent-banner__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.consent-banner .btn { padding: .58rem 1.3rem; font-size: .92rem; }
.consent-embed { position: relative; }
.consent-embed iframe { display: block; width: 100%; border: 0; }
.consent-embed iframe:not([src]) { display: none; }
.consent-embed__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 2rem 1.5rem; min-height: 340px; background: var(--mist); color: var(--muted); }
.consent-embed__ph p { max-width: 440px; margin: 0; font-size: .95rem; line-height: 1.5; }
@media (max-width: 560px) { .consent-banner__inner { flex-direction: column; align-items: stretch; } .consent-banner__actions .btn { flex: 1; } }

/* ==========================================================================
   Job cards / benefits
   ========================================================================== */
.job-card { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: box-shadow .3s, transform .3s var(--ease); }
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card .card__icon { width: 52px; height: 52px; margin: 0; }
.job-card h3 { margin-bottom: .4rem; }
.benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem 1.6rem; }
.benefits li { display: flex; gap: .7rem; align-items: flex-start; color: #d8cbbb; }
.benefits svg { flex: none; width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }

/* ==========================================================================
   Legal / prose
   ========================================================================== */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #d8cbbb; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand .footer-logo { background:#fff; border-radius: 12px; padding: 14px; width: max-content; }
.footer-brand .footer-logo img { width: 96px; }
.footer-brand p { margin-top: 1.1rem; max-width: 280px; font-size: .95rem; color: #b3a596; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; color: #cdbfb0; font-size: .96rem; margin-bottom: .7rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact .row { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .9rem; font-size: .96rem; }
.footer-contact svg { flex: none; width: 18px; margin-top: 3px; color: var(--orange); }
.socials { display: flex; gap: .6rem; margin-top: .4rem; }
.socials a { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--orange); color: #2a1a06; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.8rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .88rem; color: #9c8e7e; }
.footer-bottom a:hover { color: var(--orange); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,22,34,.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.12); color:#fff; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--orange); color:#2a1a06; }

/* ==========================================================================
   Dropdown-Navigation (Unternehmen)
   ========================================================================== */
.has-dropdown { position: relative; }
.main-nav .has-dropdown > a { display: inline-flex; align-items: center; gap: .3rem; }
.has-dropdown .caret { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  display: block; list-style: none;
  position: absolute; top: calc(100% - 4px); left: 0; min-width: 248px; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .45rem; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.main-nav ul.dropdown { display: block; align-items: stretch; gap: 0; }
.dropdown a { display: block; padding: .65rem .85rem; border-radius: 9px; font-size: .95rem; color: var(--ink-800); white-space: nowrap; }
.dropdown a:hover { background: var(--mist); color: var(--navy); }

/* ==========================================================================
   Kundenstimmen
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial .stars { display: flex; gap: 2px; color: var(--orange); }
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.testimonial .who .av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testimonial .who b { font-family: var(--font-head); font-size: .95rem; display: block; color: var(--ink); }
.testimonial .who span { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   Zeitleiste (Firmengeschichte)
   ========================================================================== */
.timeline { position: relative; max-width: 720px; margin-inline: auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(-2.2rem + 1px); top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }
.tl-item .yr { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.tl-item h3 { font-size: 1.1rem; margin: .15rem 0 .4rem; }
.tl-item p { font-size: .97rem; }
.tl-item .todo { font-size: .82rem; color: var(--orange-600); font-style: italic; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--3, .svc-grid, .ref-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .impressions { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  /* Hero-Foto: Hauptgebäude (rechtes Drittel) im schmalen Zuschnitt zeigen */
  .hero__media img { object-position: 82% center; }
}

@media (max-width: 1200px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 44px; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .site-header.is-scrolled .brand-logo { height: 40px; }
  .main-nav .nav-ig .ig-label { display: inline; }
  .main-nav .nav-ig a { gap: .7rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .35s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem; }
  .main-nav a { padding: .9rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: var(--mist); }
  .has-dropdown .caret { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 .3rem 0; min-width: 0; }
  .dropdown a { padding: .7rem 1rem .7rem 2rem; color: var(--muted); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
}

/* Layout: Split/Stats erst bei schmaleren Viewports einspaltig (nicht schon ab Hamburger-Breakpoint) */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img { aspect-ratio: 16/11; }
  .split__media .badge-float { left: auto; right: 16px; bottom: 16px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 1.8rem 1rem; }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--3, .grid--2, .svc-grid, .ref-grid, .impressions, .form-row, .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta-band .btn { width: 100%; }
  .split__media .badge-float { padding: .75rem .95rem; max-width: 185px; font-size: .88rem; }
  .split__media .badge-float b { font-size: 1.4rem; }
  .job-card { grid-template-columns: 1fr; }
  .ref__overlay p { opacity: 1; max-height: 120px; }
}

/* Mobiler Hero: Foto als eigenes Banner (weniger Zoom), Text darunter auf Blau */
@media (max-width: 640px) {
  .hero { display: block; }
  .hero::after { display: none; }
  .hero__media { position: static; }
  .hero__media img { height: auto; aspect-ratio: 3 / 2; object-position: 78% center; }
  .hero__inner { background: var(--navy); padding-block: 2.2rem 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
