/* ==========================================================================
   moebel-agentur.de  –  Gestaltung für ALLE Seiten
   --------------------------------------------------------------------------
   Tipp: Farben, Schriften und Abstände ändern Sie zentral hier unter :root.
   Eine Änderung wirkt sofort auf jeder Seite der Website.
   ========================================================================== */

:root {
  /* --- Farben --- */
  --bg:          #f7f4ef;   /* Seitenhintergrund (warmes Off-White) */
  --surface:     #ffffff;   /* Karten / Boxen */
  --ink:         #1d1b18;   /* Haupttextfarbe */
  --muted:       #6b655c;   /* Nebentext */
  --line:        #e3dbcf;   /* feine Linien */
  --soft:        #efe7da;   /* helle Akzentfläche */
  --accent:      #a8662f;   /* Eiche / Kupfer – Akzentfarbe */
  --accent-dark: #7c4a1e;
  --deep:        #23302b;   /* dunkles Waldgrün für Kontrastbereiche */
  --deep-ink:    #f3eee6;   /* Text auf dunklen Flächen */
  --ok:          #3f6b4f;
  --no:          #9b3b2e;

  /* --- Schriften (Systemschriften: schnell & DSGVO-freundlich, keine Google Fonts) --- */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Maße --- */
  --radius: 16px;
  --max:    1180px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: .9em;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Kopfbereich & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px; flex-wrap: wrap;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.28rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.logo span { color: var(--accent); }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem;
  padding: 8px 13px; border-radius: 999px; transition: background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); }
.nav a.nav-cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--accent-dark); }
.menu-check { display: none; }
.menu-btn { display: none; cursor: pointer; font-size: .95rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 16px; }
  .nav a { padding: 12px 14px; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .menu-check:checked ~ .nav { display: flex; }
}

/* ---------- Brotkrumen ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { margin: 0 .45em; opacity: .6; }

/* ---------- Abschnitte ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.alt  { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--deep); color: var(--deep-ink); }
.dark .lead, .dark p { color: #cfd6cf; }
.dark .eyebrow { color: #e0a86f; }
.dark a { color: #f0c18f; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 60px -40px rgba(60, 40, 20, .35);
}
.hero-visual .tag {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; color: var(--muted);
}
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage > div { background: var(--soft); border-radius: 18px; padding: 16px; }
.hero-collage .wide { grid-column: span 2; }
.hero-collage small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 60px; }
  section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--soft); color: var(--deep); }

/* ---------- Werte-Leiste ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values div { padding: 26px 22px; border-right: 1px solid var(--line); }
.values div:last-child { border-right: 0; }
.values strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.values span { color: var(--muted); font-size: .93rem; }
@media (max-width: 800px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values div:nth-child(2) { border-right: 0; }
  .values div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Karten & Raster ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card.soft { background: var(--bg); }

/* Kategorie-Karte mit Skizze */
.cat-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(60, 40, 20, .45); color: var(--ink); }
.cat-card .cat-img { background: var(--soft); padding: 30px 26px 18px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-body { padding: 24px 26px 28px; }
.cat-card .cat-body p { color: var(--muted); margin-bottom: 14px; }
.cat-card .more { font-weight: 600; color: var(--accent-dark); }

.mini-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none; color: var(--ink);
}
.mini-link:hover { border-color: var(--accent); color: var(--ink); }
.mini-link svg { width: 56px; height: 42px; flex: none; }
.mini-link small { display: block; color: var(--muted); }

/* Zielgruppen-Karten */
.audience { padding: 36px; border-radius: 24px; }
.audience.b2b { background: var(--deep); color: var(--deep-ink); }
.audience.b2b p, .audience.b2b li { color: #cfd6cf; }
.audience.b2c { background: var(--soft); }
.audience ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.audience li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid rgba(127, 127, 127, .2); }
.audience li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.audience.b2b li::before { color: #e0a86f; }

/* ---------- Skizzen (SVG-Zeichnungen) ---------- */
.sketch { color: var(--ink); }
.sketch .s  { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sketch .t  { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; opacity: .45; }
.sketch .a  { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.sketch .f  { fill: var(--soft); stroke: none; }
.sketch .w  { fill: #fff; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.sketch text { font-family: var(--sans); font-size: 9px; fill: var(--muted); }

/* ---------- Listen: Checkliste / Do & Don't ---------- */
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid var(--line); }
.check li:last-child { border-bottom: 0; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--soft); color: var(--accent-dark);
  font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.check li strong { display: block; }
.dos, .donts { list-style: none; padding: 0; margin: 0; }
.dos li, .donts li { padding: 9px 0 9px 30px; position: relative; }
.dos li::before   { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.donts li::before { content: "✕"; position: absolute; left: 0; color: var(--no); font-weight: 700; }
.box-ok { border-top: 4px solid var(--ok); }
.box-no { border-top: 4px solid var(--no); }

/* ---------- Schritte ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--ink); }
.step::before { content: "0" counter(s); font-family: var(--serif); font-size: 2.4rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 14px; }
.dark .step { border-top-color: #e0a86f; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 650; }
td.no  { color: var(--no); font-weight: 650; }
td.mid { color: var(--accent-dark); font-weight: 650; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li, .chips a {
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; font-size: .9rem;
  color: var(--ink); text-decoration: none;
}
.chips a:hover { border-color: var(--accent); }

/* ---------- Hinweis-Box ---------- */
.note {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.note.warn { border-left-color: var(--no); }
.note p:last-child { margin: 0; }

/* Praxis-/Marktbeispiel-Box */
.feature {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden;
}
.feature .feature-img { background: var(--soft); padding: 32px; display: flex; align-items: center; }
.feature .feature-body { padding: 40px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature .feature-body { padding: 28px; } }

/* ---------- Ratgeber ---------- */
.guide-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.guide-block aside { position: sticky; top: 100px; }
.guide-block aside .card { padding: 22px; }
@media (max-width: 900px) { .guide-block { grid-template-columns: 1fr; } .guide-block aside { position: static; } }
.guide-block h3 { margin-top: 1.6em; }
.guide-block h3:first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 0 24px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0;
  font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }

/* ---------- Aufruf (CTA) ---------- */
.cta-band {
  background: var(--deep); color: var(--deep-ink);
  border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band p { color: #cfd6cf; margin: 0; }
.cta-band h2 { margin-bottom: .3em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Fußbereich ---------- */
.site-footer { background: #191816; color: #bdb6aa; padding: 64px 0 28px; margin-top: 0; font-size: .94rem; }
.site-footer a { color: #e7e0d4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid #33302b; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal address { font-style: normal; }
.legal .card { margin: 18px 0; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 24px; box-shadow: 0 24px 60px -20px rgba(30, 20, 10, .45);
}
.cookie-banner h2 { font-size: 1.2rem; margin-bottom: .4em; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; justify-content: center; padding: 11px 18px; font-size: .92rem; cursor: pointer; font-family: inherit; }
