/* ============================================================
   DACHWERK NORD — Premium Design-Tokens
   Farbwelt: Anthrazit, Dunkelgrau, Weiß, Schiefergrau, Dachziegel-Rot als Akzent, dezentes Blau
   ============================================================ */
:root{
  --white:#FFFFFF;
  --light:#F4F5F6;
  --slate:#E4E7EA;
  --anthracite:#1B1F23;
  --anthracite-2:#24282D;
  --ink:#2B2E33;
  --ink-70:rgba(43,46,51,0.7);
  --ink-55:rgba(43,46,51,0.55);
  --tile-red:#B5432E;
  --tile-red-light:#D3654C;
  --blue:#3E6B8A;
  --line:rgba(43,46,51,0.1);
  --line-dark:rgba(244,245,246,0.12);
  --shadow-sm:0 4px 20px rgba(20,20,22,0.06);
  --shadow-md:0 16px 40px rgba(20,20,22,0.12);
  --shadow-lg:0 30px 70px rgba(20,20,22,0.2);
  --radius-s:10px; --radius-m:16px; --radius-l:26px;
  --ease:cubic-bezier(.22,.9,.32,1);
  --font-display:'Space Grotesk', 'Inter', sans-serif;
  --font-body:'Inter', -apple-system, sans-serif;
}
@font-face{ font-family:'Space Grotesk'; src:url('fonts/space-grotesk-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Space Grotesk'; src:url('fonts/space-grotesk-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face{ font-family:'Space Grotesk'; src:url('fonts/space-grotesk-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Inter'; src:url('fonts/inter-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Inter'; src:url('fonts/inter-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Inter'; src:url('fonts/inter-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face{ font-family:'Inter'; src:url('fonts/inter-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--font-body); background:var(--white); color:var(--ink); line-height:1.65; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; line-height:1.12; letter-spacing:-0.01em; }
em{ font-style:normal; color:var(--tile-red); }
.container{ max-width:1220px; margin:0 auto; padding:0 6vw; }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
@media(prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

.demo-banner{ background:var(--anthracite); color:var(--light); text-align:center; padding:.7rem 1rem; font-size:.82rem; }
.demo-banner a{ color:var(--tile-red-light); font-weight:600; text-decoration:underline; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:1200; background:rgba(255,255,255,0.88); backdrop-filter:blur(14px) saturate(140%); -webkit-backdrop-filter:blur(14px) saturate(140%); border-bottom:1px solid var(--line); }
.header-inner{ display:flex; justify-content:space-between; align-items:center; padding:1.2rem 0; }
.logo{ display:flex; align-items:center; gap:.7rem; }
.logo-mono{ width:36px; height:36px; color:var(--tile-red); flex:none; }
.logo-mono svg{ width:100%; height:100%; }
.logo-word{ font-family:var(--font-display); font-size:1.1rem; font-weight:700; letter-spacing:.03em; color:var(--anthracite); }
.logo-word em{ font-weight:500; color:var(--ink-55); }
.main-nav{ display:flex; gap:2.1rem; font-size:.9rem; }
.main-nav a{ position:relative; padding:4px 0; color:var(--ink-70); transition:color .25s ease; }
.main-nav a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--tile-red); transition:width .3s var(--ease); }
.main-nav a:hover{ color:var(--anthracite); } .main-nav a:hover::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:1.1rem; }

.btn{ display:inline-flex; align-items:center; gap:.55rem; padding:.9rem 1.7rem; border-radius:8px; font-size:.86rem; font-weight:600; transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.btn-primary{ background:var(--anthracite); color:var(--white); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-accent{ background:var(--tile-red); color:var(--white); }
.btn-accent:hover{ background:var(--tile-red-light); transform:translateY(-2px); box-shadow:0 14px 32px rgba(181,67,46,0.3); }
.btn-glass{ background:rgba(255,255,255,0.14); color:var(--white); border:1px solid rgba(255,255,255,0.4); backdrop-filter:blur(6px); }
.btn-glass:hover{ background:rgba(255,255,255,0.24); transform:translateY(-2px); }

#nav-toggle{ display:none; width:42px; height:42px; border:1.5px solid var(--anthracite); border-radius:8px; position:relative; }
#nav-toggle span, #nav-toggle span::before, #nav-toggle span::after{ content:""; position:absolute; left:10px; width:22px; height:1.5px; background:var(--anthracite); transition:transform .25s ease, opacity .25s ease; }
#nav-toggle span{ top:20px; } #nav-toggle span::before{ top:-6px; } #nav-toggle span::after{ top:6px; }
#nav-toggle.open span{ background:transparent; }
#nav-toggle.open span::before{ transform:translateY(6px) rotate(45deg); }
#nav-toggle.open span::after{ transform:translateY(-6px) rotate(-45deg); }
#mobile-nav{ position:fixed; top:0; right:0; height:100vh; width:min(78vw,340px); background:var(--white); z-index:1100; display:flex; flex-direction:column; justify-content:center; gap:1.8rem; padding:0 2.6rem; transform:translateX(100%); transition:transform .45s var(--ease); box-shadow:var(--shadow-lg); }
#mobile-nav.open{ transform:translateX(0); }
#mobile-nav a{ font-family:var(--font-display); font-size:1.35rem; font-weight:600; }

/* ---------- Eyebrow / Section-Head ---------- */
.eyebrow{ text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; font-weight:700; color:var(--tile-red); margin-bottom:.8rem; }
.eyebrow--accent{ color:var(--tile-red-light); }
.section-head{ max-width:46ch; margin-bottom:3.2rem; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); }
.section-head p:last-child{ color:var(--ink-70); margin-top:1rem; max-width:48ch; }
h2.on-dark{ color:var(--light); }

.section{ padding:6.5rem 0; }
.section--light{ background:var(--light); }
.section--dark{ background:var(--anthracite); color:rgba(244,245,246,0.75); }
.section--asym{ padding-top:8.5rem; }

/* ---------- Hero (asymmetrisch, hohe Sektion) ---------- */
.hero{ position:relative; min-height:96vh; display:flex; align-items:center; overflow:hidden; }
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-overlay{ position:absolute; inset:0; background:linear-gradient(100deg, rgba(20,20,22,0.88) 30%, rgba(20,20,22,0.35) 65%, rgba(20,20,22,0.15) 100%); }
.hero-content{ position:relative; z-index:2; color:var(--white); max-width:640px; }
.hero-mono{ display:inline-block; width:48px; height:48px; color:var(--tile-red-light); margin-bottom:1.1rem; }
.hero-mono svg{ width:100%; height:100%; }
.hero-eyebrow{ text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; font-weight:700; color:var(--tile-red-light); margin-bottom:1rem; }
.hero-content h1{ font-size:clamp(2.6rem,5.6vw,4.2rem); color:var(--white); }
.hero-sub{ margin-top:1.3rem; max-width:44ch; font-size:1.05rem; color:rgba(255,255,255,0.85); }
.hero-trust{ display:flex; flex-wrap:wrap; gap:1.6rem; margin-top:1.8rem; }
.trust-item{ display:flex; align-items:center; gap:.5rem; font-size:.86rem; color:rgba(255,255,255,0.85); }
.trust-item svg{ width:18px; height:18px; color:var(--tile-red-light); flex:none; }
.hero-actions{ display:flex; gap:1rem; margin-top:2.2rem; flex-wrap:wrap; }
.hero-rating{ margin-top:1.8rem; color:var(--tile-red-light); font-size:.92rem; letter-spacing:1px; }
.hero-rating span{ color:rgba(255,255,255,0.7); font-size:.85rem; letter-spacing:normal; margin-left:.5rem; }
.scroll-cue{ position:absolute; bottom:1.8rem; left:6vw; z-index:2; }
.scroll-cue span{ display:block; width:1px; height:36px; background:rgba(255,255,255,0.5); animation:scrollPulse 2s infinite ease-in-out; }
@keyframes scrollPulse{ 0%,100%{ opacity:.3; } 50%{ opacity:1; } }

/* ---------- Leistungen ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.3rem; }
.service-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-m); padding:1.9rem 1.6rem; transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:var(--tile-red-light); }
.service-ic{ width:36px; height:36px; color:var(--tile-red); margin-bottom:1.1rem; }
.service-card h3{ font-size:1.05rem; margin-bottom:.5rem; }
.service-card p{ font-size:.86rem; color:var(--ink-70); }

/* ---------- Warum wir (asymmetrisch: Text links, Grid rechts) ---------- */
.warum-layout{ display:grid; grid-template-columns:.8fr 1.2fr; gap:3.5rem; align-items:center; }
.warum-copy p{ color:rgba(244,245,246,0.6); margin-top:1rem; max-width:36ch; }
.warum-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.6rem 2.2rem; }
.warum-item{ display:flex; align-items:center; gap:.9rem; }
.warum-item svg{ width:28px; height:28px; color:var(--tile-red-light); flex:none; }
.warum-item h4{ font-size:.98rem; font-weight:600; color:var(--light); }

/* ---------- Referenzen (asymmetrisch: eine große + zwei kleine Karten) ---------- */
.ref-grid{ display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:auto auto; gap:1.4rem; }
.ref-card--large{ grid-row:span 2; }
.ref-card{ border-radius:var(--radius-m); overflow:hidden; box-shadow:var(--shadow-sm); background:var(--white); }
.ref-img{ overflow:hidden; }
.ref-card--large .ref-img{ aspect-ratio:4/3; }
.ref-card:not(.ref-card--large) .ref-img{ aspect-ratio:16/10; }
.ref-img img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.ref-card:hover .ref-img img{ transform:scale(1.06); }
.ref-body{ padding:1.5rem; }
.ref-tag{ display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--tile-red); background:rgba(181,67,46,0.1); padding:.3rem .7rem; border-radius:20px; margin-bottom:.7rem; }
.ref-body h3{ font-size:1.1rem; margin-bottom:.5rem; }
.ref-body p{ font-size:.86rem; color:var(--ink-70); }

/* ---------- Ablauf-Timeline ---------- */
.timeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:1.6rem; position:relative; }
.timeline::before{ content:""; position:absolute; top:24px; left:10%; right:10%; height:1px; background:var(--line); z-index:0; }
.timeline-step{ text-align:center; position:relative; z-index:1; }
.timeline-num{ width:48px; height:48px; border-radius:50%; background:var(--anthracite); color:var(--white); display:flex; align-items:center; justify-content:center; margin:0 auto 1.2rem; font-family:var(--font-display); font-weight:700; font-size:1.1rem; }
.timeline-step h4{ font-size:1rem; margin-bottom:.5rem; }
.timeline-step p{ font-size:.84rem; color:var(--ink-70); }

/* ---------- Über den Betrieb ---------- */
.studio-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:center; }
.studio-visual img{ border-radius:var(--radius-l); aspect-ratio:4/3; object-fit:cover; box-shadow:var(--shadow-lg); }
.studio-copy h2{ margin-bottom:1.3rem; }
.studio-lead{ font-size:1.02rem; color:var(--ink); margin-bottom:1.1rem; }
.studio-copy p{ color:var(--ink-70); font-size:.94rem; margin-bottom:1rem; }

/* ---------- Kundenbewertungen ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.testi-card{ background:var(--white); border-radius:var(--radius-m); padding:2rem; box-shadow:var(--shadow-sm); }
.testi-stars{ color:var(--tile-red); letter-spacing:2px; margin-bottom:1rem; }
.testi-card p{ font-size:.92rem; color:var(--ink); margin-bottom:1.4rem; }
.testi-person{ display:flex; align-items:center; gap:.8rem; }
.testi-avatar{ width:40px; height:40px; border-radius:50%; background:var(--anthracite); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:.9rem; flex:none; }
.testi-person strong{ display:block; font-size:.9rem; } .testi-person span{ font-size:.78rem; color:var(--ink-55); }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ width:100%; display:flex; justify-content:space-between; align-items:center; padding:1.3rem 0; text-align:left; font-family:var(--font-display); font-size:1rem; font-weight:600; color:var(--anthracite); }
.faq-plus{ color:var(--tile-red); font-size:1.3rem; transition:transform .25s ease; flex:none; margin-left:1rem; }
.faq-item.open .faq-plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease), padding .4s var(--ease); }
.faq-a p{ font-size:.9rem; color:var(--ink-70); }
.faq-item.open .faq-a{ max-height:180px; padding-bottom:1.3rem; }

/* ---------- Kontakt ---------- */
.kontakt-grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:2.4rem; }
.kontakt-options{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; align-content:start; }
.contact-option{ display:flex; flex-direction:column; align-items:center; gap:.6rem; padding:1.3rem .6rem; border-radius:var(--radius-s); background:rgba(244,245,246,0.05); border:1px solid var(--line-dark); color:var(--light); font-size:.82rem; transition:background .25s ease, transform .25s ease; }
.contact-option:hover{ background:rgba(244,245,246,0.1); transform:translateY(-3px); }
.contact-option svg{ width:22px; height:22px; color:var(--tile-red-light); }
.kontakt-form{ background:rgba(244,245,246,0.05); border:1px solid var(--line-dark); border-radius:var(--radius-l); padding:2.2rem; }
.form-row{ margin-bottom:1.2rem; }
.form-row label{ display:block; font-size:.76rem; letter-spacing:.04em; text-transform:uppercase; color:rgba(244,245,246,0.5); margin-bottom:.5rem; }
.form-row input, .form-row textarea{ width:100%; background:transparent; border:none; border-bottom:1px solid var(--line-dark); color:var(--light); padding:.6rem 0; font-size:.96rem; font-family:inherit; }
.form-row input::placeholder, .form-row textarea::placeholder{ color:rgba(244,245,246,0.3); }
.form-row input:focus, .form-row textarea:focus{ outline:none; border-color:var(--tile-red-light); }
.form-row textarea{ resize:vertical; min-height:80px; }
.kontakt-hours{ display:flex; justify-content:center; gap:3rem; margin-top:3rem; flex-wrap:wrap; text-align:center; }
.kontakt-hours span{ display:block; color:var(--tile-red-light); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:.3rem; }
.kontakt-hours p{ color:rgba(244,245,246,0.7); font-size:.95rem; }

/* ---------- Footer ---------- */
footer{ background:#101315; color:rgba(244,245,246,0.6); padding:4rem 0 2rem; text-align:center; font-size:.85rem; }
.footer-inner > *{ margin-bottom:1.3rem; }
.footer-brand-mark{ display:flex; flex-direction:column; align-items:center; gap:.7rem; }
.footer-mono{ width:52px; height:52px; color:var(--tile-red); }
.footer-mono svg{ width:100%; height:100%; }
.footer-logo{ font-family:var(--font-display); font-size:1.7rem; letter-spacing:.04em; color:var(--light); font-weight:700; }
.footer-logo em{ font-weight:500; color:rgba(244,245,246,0.55); }
.footer-address{ font-size:1rem; color:var(--light); }
.footer-contact strong{ font-size:1rem; color:var(--light); }
.footer-contact a{ color:rgba(244,245,246,0.6); }
.footer-nav{ display:flex; justify-content:center; gap:1.6rem; flex-wrap:wrap; font-size:.82rem; }
.footer-nav a:hover{ color:var(--light); }
.footer-social{ display:flex; justify-content:center; gap:1rem; }
.footer-social a{ width:42px; height:42px; border-radius:50%; background:rgba(244,245,246,0.08); display:flex; align-items:center; justify-content:center; color:var(--light); transition:background .25s ease; }
.footer-social a:hover{ background:var(--tile-red); }
.footer-social svg{ width:18px; height:18px; }
.footer-copy{ font-size:.78rem; padding-top:1.1rem; border-top:1px solid rgba(244,245,246,0.12); }
.footer-copy a{ color:var(--tile-red-light); text-decoration:underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .warum-layout{ grid-template-columns:1fr; gap:2.4rem; }
  .ref-grid{ grid-template-columns:1fr; }
  .ref-card--large{ grid-row:auto; }
  .studio-grid{ grid-template-columns:1fr; gap:2.4rem; }
  .kontakt-grid{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:repeat(3,1fr); gap:2rem; }
  .timeline::before{ display:none; }
}
@media(max-width:860px){
  .main-nav{ display:none; }
  #nav-toggle{ display:flex; }
  .testi-grid{ grid-template-columns:1fr; }
}
@media(max-width:640px){
  .section{ padding:4.5rem 0; }
  .services-grid{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr 1fr; }
  .warum-grid{ grid-template-columns:1fr; }
  .kontakt-options{ grid-template-columns:1fr 1fr; }
  .hero{ min-height:100vh; }
}
