/* =====================================================
   MEISTER BAU KÖLN — styles.css
   Design: Weiß / Anthrazit — Seriös & Professionell
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variablen ── */
:root {
  --white:       #FFFFFF;
  --bg:          #FFFFFF;
  --bg-alt:      #F5F5F7;
  --bg-card:     #FAFAFA;
  --bg-dark:     #1C2335;
  --bg-dark2:    #141A28;
  --bg-dark3:    #252E43;

  --dark:        #1C2335;
  --dark-mid:    #2E3650;
  --text:        #3D4358;
  --text-muted:  #7A7F96;
  --text-light:  rgba(255,255,255,0.72);

  --border:      rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.08);

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow:      0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.14);

  --ease:        cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
::selection { background: var(--dark); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--dark); }

/* ── Container ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Scroll Progress ── */
#progress {
  position: fixed; top: 0; left: 0; z-index: 2000;
  height: 2px; width: 0%;
  background: var(--dark);
  transition: width .1s linear;
}

/* =====================================================
   NAVIGATION — Fixed, max-width 1200px, weiß
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  height: 72px;
}
.site-header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.09); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 46px; width: auto; display: block; }
.logo-img--mob { height: 38px; }

.main-nav { display: none; }
.nav-cta  { display: none; }

.hamburger {
  display: flex; flex-direction: column;
  gap: 6px; padding: .5rem; margin-left: auto;
}
.hamburger span {
  display: block; width: 28px; height: 2px;
  background: var(--dark);
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================
   NAV PANEL (TUNNO-Stil) — rechte Seite, dunkel
   ===================================================== */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

.mobile-overlay {
  position: fixed; top: 0; right: 0; bottom: 0;
  left: auto;
  width: min(400px, 92vw);
  z-index: 999;
  background: var(--bg-dark2);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,.35);
}
.mobile-overlay.open { transform: translateX(0); }

.mob-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 72px; flex-shrink: 0;
}
.mob-head .logo-img {
  filter: invert(1); mix-blend-mode: screen; opacity: .85;
}
.mob-close {
  font-size: 1.6rem; color: rgba(255,255,255,.55);
  padding: .5rem; line-height: 1; font-weight: 300;
  transition: color .2s;
}
.mob-close:hover { color: #fff; }

.mob-nav {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.5rem 0; gap: 0; justify-content: flex-start;
}
.mob-link {
  display: block; padding: .9rem 1.75rem;
  font-size: clamp(1.3rem, 4vw, 1.75rem); font-weight: 900;
  color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .06em;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: #fff; }

.mob-contact {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: .5rem; align-items: flex-end;
}
.mob-contact-item { font-size: .8rem; color: rgba(255,255,255,.3); text-align: right; }
.mob-contact-item a { color: rgba(255,255,255,.6); font-weight: 600; transition: color .2s; }
.mob-contact-item a:hover { color: #fff; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block; padding: .8rem 2rem;
  font-size: .78rem; font-weight: 700; font-family: 'Montserrat', sans-serif;
  text-transform: uppercase; letter-spacing: .1em;
  cursor: pointer; transition: all .25s var(--ease);
  border: 2px solid transparent;
}
.btn-gold, .btn-dark {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
.btn-gold:hover, .btn-dark:hover {
  background: transparent; color: var(--dark);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: #fff; color: var(--dark); border-color: #fff;
}
.btn-outline {
  background: transparent; color: var(--dark); border-color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* =====================================================
   TYPOGRAPHY HELPERS
   ===================================================== */
.headline-gold, .headline-dark {
  color: var(--dark); font-weight: 800; line-height: 1.2;
}
.body-text { font-size: .95rem; color: var(--text); line-height: 1.8; }
.subline    { font-size: 1rem; color: var(--text-muted); font-style: italic; }
.text-gold  { color: var(--dark); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.divider { height: 1px; background: var(--border); margin: 2.5rem 0; }

/* =====================================================
   SECTION LABEL
   ===================================================== */
.section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.section-label::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--dark); flex-shrink: 0;
}
.section-label.on-dark {
  color: rgba(255,255,255,.45);
}
.section-label.on-dark::before { background: rgba(255,255,255,.3); }

/* =====================================================
   HERO — Startseite (dunkel)
   ===================================================== */
.hero {
  position: relative; min-height: 85vh;
  display: flex; flex-direction: column;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(46,54,80,.5) 0%, transparent 70%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--bg-dark2) 0%, var(--bg-dark) 60%);
  opacity: .85;
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.tab-panel { display: none; width: 100%; padding: 6rem 0 3rem; }
.tab-panel.active { display: flex; align-items: center; }
.tab-panel .wrap { width: 100%; }
.tab-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.tab-label::before {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: rgba(255,255,255,.3);
}
.tab-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 1.25rem;
}
.tab-text { font-size: .95rem; color: rgba(255,255,255,.65); max-width: 560px; line-height: 1.75; }

.hero-tabs {
  position: relative; z-index: 2;
  display: flex; border-top: 1px solid rgba(255,255,255,.07);
}
.hero-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: .6rem; padding: 1.25rem 1rem;
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.hero-tab svg { opacity: .35; transition: opacity .25s; }
.hero-tab:hover { color: rgba(255,255,255,.65); }
.hero-tab.active { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.hero-tab.active svg { opacity: .75; }

/* =====================================================
   PAGE HERO — Unterseiten (dunkel)
   ===================================================== */
.page-hero {
  position: relative; min-height: 260px;
  display: flex; align-items: center;
  background: var(--bg-dark); overflow: hidden;
}
.page-hero--small { min-height: 180px; }
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(50,60,90,.35) 0%, transparent 70%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-dark2) 0%, var(--bg-dark) 100%);
  opacity: .88;
}
.page-hero-grid-deco {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; padding: 4rem 0; }
.page-hero-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: .75rem;
}
.page-hero-desc {
  font-size: .95rem; color: rgba(255,255,255,.6);
  max-width: 540px; line-height: 1.7;
}

/* =====================================================
   TRÄUME / ÜBER UNS HOMEPAGE SECTION (weiß)
   ===================================================== */
.dreams-section { background: var(--bg); padding: 6rem 0; }
.dreams-inner { display: grid; gap: 4rem; }
@media (min-width: 900px) { .dreams-inner { grid-template-columns: 1fr 1fr; align-items: start; } }

.signature-wrap {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.signature-name { font-size: 1.5rem; font-weight: 800; color: var(--dark); letter-spacing: .03em; }
.signature-title { font-size: .75rem; color: var(--text-muted); margin-top: .3rem; text-transform: uppercase; letter-spacing: .1em; }

.contact-block { margin-top: 2rem; }
.contact-block-name { font-weight: 800; color: var(--dark); margin-bottom: .2rem; }
.contact-block-addr { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.contact-block-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.contact-block-links a {
  font-size: .78rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.contact-block-links a:hover { color: var(--dark); border-color: var(--dark); }

/* =====================================================
   LEISTUNGEN SECTION (hellgrau, TUNNO-Stil)
   ===================================================== */
.leistungen-section { background: var(--bg-alt); padding: 6rem 0; }
.leistungen-grid { display: grid; gap: 4rem; }
@media (min-width: 900px) { .leistungen-grid { grid-template-columns: 5fr 6fr; align-items: start; } }

/* ── Service Akkordeon (rechts, hellem Bg) ── */
.service-panel { border-top: 1px solid var(--border); }
.service-panel-item { border-bottom: 1px solid var(--border); cursor: pointer; }
.spi-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; transition: opacity .2s;
}
.spi-header:hover { opacity: .55; }
.service-panel-item-name {
  font-size: .82rem; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: .07em;
}
.service-panel-item-arrow {
  color: var(--text-muted); font-size: 1.1rem;
  transition: transform .3s var(--ease); flex-shrink: 0;
}
.service-panel-item.active .service-panel-item-arrow { transform: rotate(90deg); }
.spi-body {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease);
}
.service-panel-item.active .spi-body { max-height: 300px; padding-bottom: 1.25rem; }
.spi-body-text { font-size: .875rem; color: var(--text); line-height: 1.8; }

.idea-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900; color: var(--dark); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.idea-text { font-size: .9rem; color: var(--text); line-height: 1.8; margin-bottom: 1rem; }

/* ── Akkordeon ── */
.accord-list { list-style: none; }
.accord-item { border-bottom: 1px solid var(--border); }
.accord-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0; text-align: left;
  font-size: .82rem; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: .07em;
  background: none; border: none; cursor: pointer;
  transition: opacity .2s;
}
.accord-trigger:hover { opacity: .6; }
.accord-dot {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: var(--text-muted);
  flex-shrink: 0; transition: background .25s, color .25s, border-color .25s;
}
.accord-item.active .accord-dot {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
.accord-label { flex: 1; }
.accord-arrow { color: var(--text-muted); font-size: 1.1rem; transition: transform .3s; }
.accord-item.active .accord-arrow { transform: rotate(90deg); }
.accord-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; }
.accord-item.active .accord-body { max-height: 400px; padding: 0 0 1.5rem; }
.accord-body-text { font-size: .875rem; color: var(--text); line-height: 1.8; margin-bottom: 1rem; }
.accord-body-link {
  font-size: .72rem; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1px solid var(--dark); padding-bottom: 1px;
  transition: opacity .2s;
}
.accord-body-link:hover { opacity: .55; }

/* =====================================================
   SERVICE DETAIL SEITEN (weiß)
   ===================================================== */
.service-detail { background: var(--bg); padding: 5rem 0; }
.sd-intro { display: grid; gap: 4rem; margin-bottom: 5rem; }
@media (min-width: 900px) { .sd-intro { grid-template-columns: 5fr 4fr; align-items: start; } }

.sd-ba { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .sd-ba { grid-template-columns: 1fr 1fr; } }
.sd-ba-item {
  background: var(--bg-alt); border: 1px solid var(--border);
  min-height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
}
.sd-ba-label {
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; color: var(--text-muted);
}
.sd-ba-ph { display: none; }

/* Vorteile grid */
.sd-vorteile {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-bottom: 5rem;
}
.sd-vorteil {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-top: 3px solid var(--dark);
  padding: 1.75rem;
}
.sd-vorteil-icon { display: none; }
.sd-vorteil-title {
  font-size: .82rem; font-weight: 800; color: var(--dark);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem;
}
.sd-vorteil-text { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* Steps */
.sd-steps {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.sd-step {
  padding: 2rem;
  border-left: 3px solid var(--border);
  transition: border-left-color .25s;
}
.sd-step:hover { border-left-color: var(--dark); }
.sd-step-num {
  font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: .75rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.15);
}
.sd-step-title {
  font-size: .82rem; font-weight: 800; color: var(--dark);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem;
}
.sd-step-text { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* =====================================================
   CTA SECTION (dunkel)
   ===================================================== */
.cta-section {
  background: var(--bg-dark); padding: 5rem 0; text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.cta-section p {
  font-size: .92rem; color: rgba(255,255,255,.6);
  margin: 0 auto 2rem; max-width: 540px;
}
.cta-section .text-gold { color: rgba(255,255,255,.85); }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* =====================================================
   REFERENZEN (hellgrau bg)
   ===================================================== */
.ref-intro { margin-bottom: 3rem; }
.ref-gallery {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-bottom: 3rem;
}
.ref-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid transparent;
  overflow: hidden;
  transition: border-top-color .25s, box-shadow .25s;
}
.ref-item:hover { border-top-color: var(--dark); box-shadow: var(--shadow); }
.ref-img {
  height: 200px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
}
.ref-img-ph { font-size: 2rem; opacity: .06; }
.ref-info { padding: 1.5rem; }
.ref-cat {
  font-size: .62rem; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: .4rem;
}
.ref-title { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: .5rem; }
.ref-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* =====================================================
   ÜBER UNS (weiß bg)
   ===================================================== */
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.about-value-item {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-top: 3px solid var(--dark);
  padding: 2rem 1.5rem; text-align: center;
}
.about-value-num {
  font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; color: var(--dark);
  line-height: 1; margin-bottom: .4rem;
}
.about-value-label {
  font-size: .7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em;
}

/* =====================================================
   KONTAKT (weiß bg)
   ===================================================== */
.contact-section { background: var(--bg); padding: 5rem 0; }

.contact-cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-top: 3px solid var(--dark);
  padding: 2rem 1.5rem; text-align: center;
  transition: box-shadow .25s;
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card-icon { display: none; }
.contact-card-title {
  font-size: .65rem; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: .75rem;
}
.contact-card-detail { font-size: .875rem; color: var(--text); margin-bottom: .25rem; }
.contact-card-detail a { color: var(--dark); font-weight: 700; transition: opacity .2s; }
.contact-card-detail a:hover { opacity: .55; }
.contact-card-hint { font-size: .75rem; color: var(--text-muted); margin-top: .5rem; }

.map-wrap { margin-bottom: 3rem; }
.form-wrap { max-width: 860px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em;
}
.form-input {
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--dark); padding: .85rem 1rem; font-size: .9rem;
  font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  border-radius: 0;
}
.form-input:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(28,35,53,.07);
}
.form-input::placeholder { color: var(--text-muted); opacity: .7; }
.form-input.error { border-color: #c0392b; }
.form-textarea {
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--dark); padding: .85rem 1rem; font-family: inherit;
  font-size: .9rem; outline: none; resize: vertical; min-height: 140px;
  transition: border-color .2s; border-radius: 0;
}
.form-textarea:focus { border-color: var(--dark); }
.form-textarea::placeholder { color: var(--text-muted); opacity: .7; }
.form-err { font-size: .72rem; color: #c0392b; display: none; }
.form-err.show { display: block; }
.form-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.form-select {
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--dark); padding: .85rem 1rem; font-size: .9rem;
  font-family: inherit; outline: none; cursor: pointer;
  transition: border-color .2s; border-radius: 0;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231C2335' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select:focus { border-color: var(--dark); box-shadow: 0 0 0 3px rgba(28,35,53,.07); }
.form-check {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--text); cursor: pointer;
}
.form-check input[type="checkbox"] { accent-color: var(--dark); cursor: pointer; width: 15px; height: 15px; flex-shrink: 0; }
.form-check-datenschutz { font-size: .8rem; align-items: flex-start; gap: .6rem; }
.form-check-datenschutz a { color: var(--dark); text-decoration: underline; }
.btn-submit { margin-top: .5rem; }
.form-success {
  display: none; background: rgba(40,167,69,.05);
  border: 1px solid rgba(40,167,69,.2); padding: 2.5rem; text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { font-size: 1.1rem; color: #2d8b46; margin-bottom: .5rem; }
.form-success p { font-size: .9rem; color: var(--text); }
.form-success-icon { display: none; }
/* Legacy form classes */
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.field-error { font-size: .72rem; color: #c0392b; display: none; }
.field-error.show { display: block; }

/* =====================================================
   FOOTER (dunkel)
   ===================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-top {
  padding: 3.5rem 0;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr auto 1fr; }
}
.footer-addr { display: flex; align-items: flex-start; gap: 1.25rem; }
.footer-logo-img {
  height: 38px; width: auto;
  filter: invert(1); mix-blend-mode: screen; opacity: .9;
  flex-shrink: 0;
}
.footer-logo-sm { color: rgba(255,255,255,.35); font-size: 1.1rem; }
.footer-firm-name { font-weight: 800; color: #fff; font-size: .9rem; margin-bottom: .25rem; }
.footer-firm-addr { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-legal-links { display: flex; flex-direction: column; gap: .35rem; margin-top: .75rem; }
.footer-legal-links a { font-size: .75rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.7); }

.footer-center-logo {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
}
.footer-center-logo-img {
  height: 48px; width: auto;
  filter: invert(1); mix-blend-mode: screen; opacity: .7;
}
.footer-center-logo .logo-main { font-size: 1rem; color: rgba(255,255,255,.55); font-weight: 800; }
.footer-center-logo .logo-sub { font-size: .65rem; color: rgba(255,255,255,.3); letter-spacing: .14em; text-transform: uppercase; }

.footer-right { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-end; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: flex-end; }
.footer-nav a { font-size: .75rem; color: rgba(255,255,255,.38); transition: color .2s; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav a:hover { color: rgba(255,255,255,.8); }
.footer-contacts { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; }
.footer-contact-line { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-contact-line a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-contact-line a:hover { color: rgba(255,255,255,.8); }
.footer-contact-icon { display: none; }
.footer-social { display: flex; gap: .75rem; margin-top: .25rem; }
.footer-social a { color: rgba(255,255,255,.3); font-size: 1rem; transition: color .2s; }
.footer-social a:hover { color: rgba(255,255,255,.75); }

@media (max-width: 767px) {
  .footer-center-logo { display: none; }
  .footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0.4rem;
  }
  .footer-nav {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0;
  }
  .footer-contacts {
    align-items: flex-end;
    min-width: 0;
  }
  .footer-contact-line {
    font-size: .72rem;
    word-break: break-word;
    text-align: right;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 1.25rem 0; text-align: center;
}
.footer-bottom p { font-size: .72rem; color: rgba(255,255,255,.25); }

/* =====================================================
   STICKY BOTTOM BAR (nur mobil)
   ===================================================== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  border-top: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
@media (max-width: 900px) { .sticky-bar { display: flex; } }
.sbar-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 1rem .5rem;
  font-size: .7rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .08em;
  border: none; cursor: pointer; font-family: inherit;
  text-decoration: none; transition: filter .2s;
}
.sbar-btn:hover { filter: brightness(.9); }
.sbar-icon { display: none; }
.sbar-call    { background: var(--dark); }
.sbar-wa      { background: #16a34a; }
.sbar-angebot { background: var(--dark-mid); }
@media (max-width: 900px) { body { padding-bottom: 60px; } }

/* =====================================================
   LEGAL SEITEN
   ===================================================== */
.legal-section { background: var(--bg); padding: 5rem 0; }
.legal-content { max-width: 800px; }
.legal-content h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--dark);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 .4rem; }
.legal-content p { font-size: .875rem; color: var(--text); line-height: 1.8; margin-bottom: .75rem; }
.legal-content a { color: var(--dark); text-decoration: underline; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: .75rem; }
.legal-content ul li { font-size: .875rem; color: var(--text); line-height: 1.7; padding: .15rem 0; }
.legal-updated { font-size: .78rem; color: var(--text-muted); font-style: italic; margin-top: 2rem; }

/* =====================================================
   HERO SLIDESHOW
   ===================================================== */
.hero-slide-section {
  position: relative; min-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden; background: var(--bg-dark);
}
.slide-track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,26,40,.72) 0%, rgba(28,35,53,.58) 100%);
}
.hero-content-inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center;
  padding: 6rem 0 3rem;
}
.slide-dots {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: .6rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.15);
}
.slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.slide-dot.active { background: rgba(255,255,255,.85); transform: scale(1.3); }

/* =====================================================
   LEISTUNGEN SERVICE GRID (11 Karten)
   ===================================================== */
.service-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 2rem;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid var(--dark);
  padding: 2rem 1.75rem;
  transition: box-shadow .25s;
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card-num {
  font-size: .6rem; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .18em; margin-bottom: .6rem;
}
.service-card-title {
  font-size: .9rem; font-weight: 800; color: var(--dark);
  margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .04em;
}
.service-card-text { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }

/* =====================================================
   REFERENZ PROJEKTE (mit echten Bildern)
   ===================================================== */
.ref-project { margin-bottom: 4rem; }
.ref-project-header { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.ref-project-title { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: .3rem; }
.ref-project-cat { font-size: .62rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .16em; }
.ref-project-photos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ref-photo { width: 100%; height: 300px; object-fit: cover; display: block; }

/* =====================================================
   SCROLL ANIMATIONEN
   ===================================================== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-left.in { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-right.in { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .08s !important; }
.d2 { transition-delay: .16s !important; }
.d3 { transition-delay: .24s !important; }
.d4 { transition-delay: .32s !important; }
.d5 { transition-delay: .40s !important; }
.page-enter { animation: pageIn .4s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
