/* ==========================================================
   schornsteinsysteme24.de – Stylesheet
   ========================================================== */

/* Schrift: Manrope lokal (Dateien in /fonts ablegen, siehe LIESMICH.txt).
   Fehlen die Dateien, greift automatisch die System-Schrift. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --orange: #e8591a;
  --orange-dark: #cf4a10;
  --orange-soft: rgba(232, 89, 26, .12);
  --ink: #232323;
  --text: #4a4a4a;
  --muted: #7d7d7d;
  --beige: #f4efe8;
  --beige-2: #ece5db;
  --line: #e6e1da;
  --dark: #262628;
  --dark-2: #2f2f31;
  --dark-line: #3c3c3f;
  --footer: #1c1b1a;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .08);
  --container: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1em 1.6em; border-radius: 8px; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 89, 26, .28);
  transition: background .2s, transform .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(232, 89, 26, .34); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { font-size: .85rem; padding: .85em 1.25em; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { width: 26px; height: 32px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); letter-spacing: -.01em; }
.logo-name span, .brand-accent { color: var(--orange); }
.logo-claim { font-size: .72rem; color: var(--text); font-weight: 500; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); transition: color .2s; }
.main-nav a:hover { color: var(--orange); }
.main-nav .nav-cta { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Eyebrow / Badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 99px; background: #fff; color: var(--ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.eyebrow-dark { background: var(--dark-2); color: #e6e6e6; border: 1px solid var(--dark-line); }

.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: .95rem; }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #9a9a9d; }
.section-beige { background: var(--beige); }

/* ---------- Hero ---------- */
.hero { background: var(--beige); padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hero-lead { font-size: 1.05rem; margin: 22px 0 28px; max-width: 420px; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #ddd5ca; flex-wrap: wrap; }
.hero-stats strong { display: block; color: var(--orange); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: .78rem; color: var(--text); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1400 / 1186; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .14); }
.hero-badge {
  position: absolute; left: -10px; bottom: -14px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px; padding: 10px 16px 10px 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}
.hero-badge-icon { width: 26px; height: 26px; border-radius: 6px; background: var(--orange); display: grid; place-items: center; }
.hero-badge-icon svg { width: 10px; height: 10px; fill: #fff; }
.hero-badge strong { display: block; font-size: .82rem; color: var(--ink); line-height: 1.2; }
.hero-badge small { font-size: .7rem; color: var(--muted); }

/* ---------- Vorteile ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px;
  padding: 28px 24px 26px; transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: rgba(232, 89, 26, .55); transform: translateY(-2px); }
.feature-icon { font-size: 1.1rem; margin-bottom: 18px; height: 28px; display: flex; align-items: center; }
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature p { font-size: .84rem; color: #a5a5a8; margin: 0; }

/* ---------- Ablauf ---------- */
.process-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; max-width: 840px; margin: 0 auto; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 38px; width: 2px; height: 26px;
  background: linear-gradient(var(--orange), rgba(232, 89, 26, 0));
  opacity: .5;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  box-shadow: 0 6px 14px rgba(232, 89, 26, .3);
}
.step h3 { font-size: .92rem; font-weight: 700; margin: 4px 0 6px; }
.step p { font-size: .8rem; margin: 0; }
.cta-card { background: #fff; border-radius: 14px; padding: 28px 22px 22px; box-shadow: var(--shadow); }
.cta-card .big { font-size: 2.3rem; font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -.02em; }
.cta-card h3 { font-size: .95rem; margin: 12px 0 14px; }
.cta-card p { font-size: .78rem; margin-bottom: 18px; }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 840px; margin: 0 auto; }
.stat { background: #fff; border-radius: 12px; padding: 24px 18px 22px; }
.stat strong { display: block; color: var(--orange); font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.stat h3 { color: var(--ink) !important; font-size: .82rem; font-weight: 700; margin: 4px 0 10px; }
.stat p { font-size: .72rem; color: var(--text); margin: 0; }

/* ---------- Kontakt ---------- */
.contact { background: var(--beige); padding: 72px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; max-width: 840px; margin: 0 auto; }
.contact-intro .eyebrow { width: 100%; max-width: 370px; }
.contact-intro h2 { font-size: clamp(1.6rem, 3vw, 1.85rem); font-weight: 800; margin: 18px 0 14px; }
.contact-intro p { font-size: .85rem; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 22px; font-size: .82rem; color: var(--ink); margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--orange); font-weight: 800; }

.form-card { background: #fff; border-radius: 14px; padding: 30px 28px 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .72rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .85rem; color: var(--ink);
  background: var(--beige); border: 1px solid #e1d9cd; border-radius: 6px;
  padding: .75em .9em; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 82px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a39d95; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px var(--orange-soft);
}
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .7rem; color: var(--text); margin: 4px 0 18px; }
.field-check input { margin-top: 2px; accent-color: var(--orange); }
.field-check a { color: var(--orange); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: .82rem; }
.form-msg.ok { display: block; background: #eaf6ec; color: #1f6b30; }
.form-msg.err { display: block; background: #fdecec; color: #9b1c1c; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #b9b6b1; border-top: 3px solid var(--orange); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #34322f; }
.footer-brand { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-about { font-size: .74rem; line-height: 1.65; max-width: 200px; }
.footer-col h4 { color: var(--orange); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .78rem; }
.footer-col a { color: #f1efec; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-col .addr { color: #a19e99; font-size: .74rem; line-height: 1.55; }
.copyright { text-align: center; font-size: .7rem; color: #8f8c87; margin-top: 22px; }

/* ---------- Unterseiten (Rechtliches) ---------- */
.page-hero { background: var(--beige); padding: 22px 0 46px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin: 14px 0 26px; }
.back-link:hover { color: var(--orange); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { font-size: .85rem; color: var(--ink); margin: 10px 0 0; max-width: 360px; }

.legal { padding: 40px 0 80px; }
.legal-grid { display: grid; grid-template-columns: 196px 1fr; gap: 56px; align-items: start; }
.legal-aside { position: sticky; top: 96px; }

.toc { border: 1px solid var(--line); border-radius: 10px; padding: 16px 12px; background: #fff; }
.toc-title { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 6px; }
.toc a { display: block; font-size: .7rem; color: var(--muted); text-decoration: none; padding: 6px 10px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; transition: all .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--orange); background: var(--beige); border-left-color: var(--orange); font-weight: 600; }

.info-card { border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 8px; background: #fff; padding: 20px 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .05); }
.info-card .label { font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-card .label.accent { color: var(--orange); }
.info-card .value { font-size: .76rem; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.info-card .value a[href^="mailto"] { font-size: .7rem; }
.info-card .value.strong { font-size: .9rem; font-weight: 700; }
.info-card .row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-card .row:first-child { padding-top: 0; }
.info-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }

.legal-content { font-size: .8rem; line-height: 1.8; }
.legal-section { margin-bottom: 48px; }
.legal-h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.35rem; font-weight: 700; margin-bottom: 26px; position: relative; padding-bottom: 12px; }
.legal-h2 .num { font-size: .62rem; font-weight: 700; color: var(--orange); letter-spacing: .05em; }
.legal-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--orange); }
.legal-content h3 { font-size: .85rem; font-weight: 700; margin: 26px 0 6px; }
.legal-content h4 { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 18px 0 4px; }
.legal-content .sub { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: -4px 0 12px; }
.legal-content ul { padding-left: 18px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 2px; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.qa { border-left: 3px solid var(--orange); padding: 2px 0 2px 14px; margin: 12px 0 18px; }
.qa h4 { text-transform: none; letter-spacing: 0; font-size: .78rem; margin: 0 0 6px; }
.qa p { margin: 0; }

.contact-box { display: inline-block; background: var(--beige); border-left: 3px solid var(--orange); border-radius: 0 6px 6px 0; padding: 16px 18px; margin: 12px 0 16px; font-size: .74rem; line-height: 1.85; color: var(--ink); }
.contact-box strong { font-weight: 700; }

.note-box { background: var(--beige); border: 1px solid var(--beige-2); border-radius: 8px; padding: 16px 20px; margin: 14px 0; }
.note-box .item { position: relative; padding-left: 22px; margin-bottom: 10px; }
.note-box .item:last-child { margin-bottom: 0; }
.note-box .item::before { content: "✺"; position: absolute; left: 0; top: 0; color: var(--orange); font-size: .8rem; }
.note-box .item strong { display: block; color: var(--ink); font-size: .74rem; }
.note-box .item span { font-size: .72rem; }

/* Impressum */
.imprint-section { display: grid; grid-template-columns: 30px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 36px; position: relative; }
.imprint-section::before { content: ""; position: absolute; top: -1px; left: 0; width: 30px; height: 2px; background: var(--orange); }
.imprint-section .num { font-size: .6rem; font-weight: 700; color: var(--orange); padding-top: 4px; }
.imprint-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .site-header.open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .main-nav .nav-cta { display: block; color: var(--orange); font-weight: 700; border-bottom: 0; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.open { padding-bottom: 0; }

  .hero { padding: 56px 0 72px; }
  .hero-grid, .process-grid, .contact-grid, .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-aside { position: static; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .features, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .hero-stats { gap: 24px; }
  .hero-badge { left: 12px; }
  .form-card { padding: 24px 18px; }
  .logo-claim { font-size: .66rem; }
}
