/* ============================================================
   NOVUS – Sanierung & Innenausbau
   Stylesheet
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f6f4f1;
  --ink:       #15181d;
  --ink-soft:  #3a3f47;
  --muted:     #6b7280;
  --line:      #e7e3dd;
  --accent:    #e0952f;        /* warmes Ocker / Bau-Akzent */
  --accent-dk: #c47c1c;
  --dark:      #15181d;
  --dark-2:    #1c2027;
  --dark-soft: #b9bdc4;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 18px 50px -20px rgba(21, 24, 29, .35);
  --shadow-sm: 0 8px 24px -12px rgba(21, 24, 29, .25);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1a1206; box-shadow: 0 10px 24px -10px rgba(224,149,47,.7); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--accent-dk); }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-title-light { color: #fff; }
.section-intro { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section-title-light + .section-intro { color: var(--dark-soft); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0,0,0,.4);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #1a1206; font-size: 1.25rem; font-weight: 800;
}
.logo-text { font-size: 1.35rem; letter-spacing: .14em; color: #fff; transition: color .35s var(--ease); }
.scrolled .logo-text { color: var(--ink); }

/* Logo-Umschaltung: CSS-Schriftzug über dem Hero (dunkel), Canva-Logo im gescrollten weißen Header */
.logo-lockup { display: inline-flex; align-items: center; gap: .6rem; }
.logo-img { display: none; height: 40px; width: auto; mix-blend-mode: multiply; }
.scrolled .logo-lockup { display: none; }
.scrolled .logo-img { display: block; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  padding: .55rem .9rem; border-radius: 999px; font-weight: 500; font-size: .96rem;
  color: rgba(255,255,255,.88); transition: color .25s, background .25s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.scrolled .nav-link { color: var(--ink-soft); }
.scrolled .nav-link:hover { color: var(--ink); background: var(--bg-soft); }

.nav-cta { background: var(--accent); color: #1a1206 !important; font-weight: 600; margin-left: .4rem; }
.nav-cta:hover { background: var(--accent-dk); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: rgba(255,255,255,.12);
  border: none; border-radius: 10px; cursor: pointer;
}
.scrolled .nav-toggle { background: var(--bg-soft); }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(21,24,29,.9) 0%, rgba(21,24,29,.66) 45%, rgba(21,24,29,.46) 100%),
    url('../assets/img/hero.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 75% 20%, rgba(224,149,47,.18), transparent 70%);
}
.hero-inner { position: relative; }
.hero-content { max-width: 720px; }
.hero-title { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 600px; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.4rem;
  list-style: none; color: rgba(255,255,255,.82); font-weight: 500; font-size: .98rem;
}
.hero-badges li { display: inline-flex; align-items: center; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--dark); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 1rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--accent); }
.stat-label { color: var(--dark-soft); font-size: .98rem; }

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen { background: var(--bg); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #fdf3e3, #f8e6cb); color: var(--accent-dk); margin-bottom: 1.3rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.card p { color: var(--muted); }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.ueber-uns { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }

.about-media { position: relative; min-height: 480px; }
.about-img { position: absolute; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.about-img-main {
  inset: 0 22% 18% 0;
  background-image: url('../assets/img/about-main.webp');
}
.about-img-sub {
  width: 50%; height: 55%; right: 0; bottom: 0; border: 6px solid var(--bg-soft);
  background-image: url('../assets/img/about-sub.webp');
}
.about-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--accent); color: #1a1206; border-radius: 12px; padding: .8rem 1.1rem;
  display: grid; box-shadow: var(--shadow-sm);
}
.about-badge strong { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: .82rem; font-weight: 600; }

.about-content > p { color: var(--ink-soft); margin: 1rem 0 1.8rem; font-size: 1.06rem; }
.feature-list { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.feature-ico {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #1a1206; font-weight: 700; font-size: .85rem; margin-top: 3px;
}
.feature-list strong { font-family: var(--font-head); }
.feature-list div { color: var(--muted); line-height: 1.55; }

/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf { background: var(--bg); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--bg-soft); }
.step-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--accent); opacity: .55; }
.step h3 { font-size: 1.22rem; margin: .4rem 0 .5rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   REFERENZEN (Gallery)
   ============================================================ */
.referenzen { background: var(--bg-soft); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1.2rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(21,24,29,.85) 100%);
  transition: opacity .35s var(--ease); opacity: .85;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item img, .gallery-item { transition: transform .5s var(--ease); }
.gallery-item:hover { transform: scale(1.012); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.1rem 1.3rem; color: #fff;
  display: grid; gap: .25rem; transform: translateY(6px); transition: transform .35s var(--ease);
}
.gallery-item:hover figcaption { transform: translateY(0); }
.gi-tag { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.gi-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }

.gi-1 { grid-column: span 2; background-image: url('../assets/img/ref-altbau.webp'); }
.gi-2 { background-image: url('../assets/img/ref-bad.webp'); }
.gi-3 { background-image: url('../assets/img/ref-buero.webp'); }
.gi-4 { background-image: url('../assets/img/ref-kueche.webp'); }
.gi-5 { background-image: url('../assets/img/ref-praxis.webp'); }
.gi-6 { grid-column: span 2; background-image: url('../assets/img/ref-parkett.webp'); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--dark); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 2rem; color: #fff;
}
.stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 1rem; }
.quote p { color: rgba(255,255,255,.9); font-size: 1.05rem; }
.quote footer { margin-top: 1.4rem; display: grid; gap: .15rem; }
.quote footer strong { font-family: var(--font-head); }
.quote footer span { color: var(--dark-soft); font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .section-title { text-align: left; }
.faq-head .section-intro { margin: 1rem 0 1.6rem; text-align: left; }
.faq-list { display: grid; gap: .9rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--font-head);
  font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--dark); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.kontakt-lead { color: var(--dark-soft); margin: 1rem 0 2rem; font-size: 1.08rem; }
.contact-list { list-style: none; display: grid; gap: 1.4rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; color: #fff; }
.contact-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); font-size: 1.15rem;
}
.contact-list strong { font-family: var(--font-head); }
.contact-list a:hover { color: var(--accent); }
.contact-list div { color: var(--dark-soft); }
.contact-list div strong { color: #fff; }

/* Form */
.kontakt-form-wrap { background: var(--bg); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.kontakt-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: grid; gap: .4rem; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,149,47,.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #dc2626; }

.error-msg { color: #dc2626; font-size: .82rem; min-height: 0; display: none; }
.error-msg.show { display: block; }

.checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.inline-link { color: var(--accent-dk); text-decoration: underline; }

.form-success {
  background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; font-weight: 500; text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f1216; color: var(--dark-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin-top: 1.2rem; max-width: 280px; }
.footer-logo-card { display: inline-block; background: #fff; border-radius: 12px; padding: 14px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.footer-logo-card:hover { transform: translateY(-2px); }
.footer-logo-card img { display: block; height: 46px; width: auto; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: var(--dark-soft); margin-bottom: .55rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 24px; font-size: .9rem; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--accent); }

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cards-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .faq-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-head { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-media { min-height: 420px; max-width: 520px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column;
    align-items: stretch; gap: .2rem; background: #fff; padding: 90px 22px 30px;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); transform: translateX(100%);
    transition: transform .35s var(--ease); z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { color: var(--ink-soft); padding: .9rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav-link:hover { background: var(--bg-soft); color: var(--ink); }
  .nav-cta { text-align: center; margin: .6rem 0 0; }

  .cards-grid, .quotes-grid, .steps, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 200px; }
  .gi-1, .gi-6 { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1.2rem; }
  .stat:last-child { border-bottom: none; }
}
