/*
Theme Name: Schlüsseldienst Hamburg (Hanseatisch)
Theme URI: https://schluesseldienst-hamburg.de/
Author: Schlüsseldienst Hamburg
Description: Traditionell-hanseatisches Theme für schluesseldienst-hamburg – Pergament-Hintergrund, Backstein-Rot, Slab-Serif-Überschriften (Bitter), ruhige, gerahmte Optik statt moderner Effekte. Selbst gehostete Schriften (DSGVO), keine externen Requests.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: schluesseldienst-hamburg
*/

/* ==========================================================================
   0. Schriften: Bitter (Slab-Serif, Überschriften) + PT Sans (Fließtext)
   ========================================================================== */
@font-face { font-family:"Bitter"; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/bitter-400.woff2") format("woff2"); }
@font-face { font-family:"Bitter"; font-style:normal; font-weight:600; font-display:swap; src:url("fonts/bitter-600.woff2") format("woff2"); }
@font-face { font-family:"Bitter"; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/bitter-700.woff2") format("woff2"); }
@font-face { font-family:"PT Sans"; font-style:normal; font-weight:400; font-display:swap; src:url("fonts/ptsans-400.woff2") format("woff2"); }
@font-face { font-family:"PT Sans"; font-style:normal; font-weight:700; font-display:swap; src:url("fonts/ptsans-700.woff2") format("woff2"); }

/* ==========================================================================
   1. Design-Token – traditionell/hanseatisch
   ========================================================================== */
:root {
  --red: #8a1f1f;
  --red-dark: #6f1717;
  --red-deep: #551212;
  --ink: #241e18;
  --ink-soft: #423a30;
  --text: #3d352c;
  --muted: #6f6456;
  --paper: #f3ecdd;
  --paper-2: #ebe1cd;
  --cream: #faf5ea;
  --gold: #9a7b3f;
  --gold-soft: #c4a86d;
  --line: #d9cdb3;
  --line-strong: #c1b287;
  --ok: #4d6b2f;
  --warn: #9a5b12;
  --warn-bg: #f6ead0;
  --info-bg: #efe6d2;
  --radius: 2px;
  --radius-sm: 2px;
  --container: 1140px;
  --container-narrow: 800px;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.66; color: var(--text); background: var(--paper); }
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink); line-height: 1.22; margin: 0 0 0.55em; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { padding-left: 1.3em; }
strong { color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }

/* ==========================================================================
   3. Icons (CSS-Masken)
   ========================================================================== */
.ico { display:inline-block; width:1.25em; height:1.25em; flex:none; background-color:currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align:-0.25em; }
.ico--key    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E"); }
.ico--lock   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.ico--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.ico--clock  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.ico--phone  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico--check  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.ico--star   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.ico--alert  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.ico--map    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ico--users  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.ico--award  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.ico--bolt   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.ico--wrench { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.ico--home   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.ico--door   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='1'/%3E%3Ccircle cx='15' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.ico--car    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.7-4.2A2 2 0 0 1 8.6 5.5h6.8a2 2 0 0 1 1.9 1.3L19 11'/%3E%3Cpath d='M3 16v-3a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3'/%3E%3Ccircle cx='7.5' cy='16.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.8'/%3E%3C/svg%3E"); }
.ico--safe   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='11' r='3.5'/%3E%3Cpath d='M7 18v2m10-2v2'/%3E%3C/svg%3E"); }
.ico--mail   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E"); }
.ico--euro   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.5 5.5A7.5 7.5 0 1 0 18.5 18.5'/%3E%3Cline x1='3.5' y1='10.5' x2='13' y2='10.5'/%3E%3Cline x1='3.5' y1='13.5' x2='12' y2='13.5'/%3E%3C/svg%3E"); }
.ico--file   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
.ico--smart  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cline x1='11' y1='18' x2='13' y2='18'/%3E%3C/svg%3E"); }
.ico--build  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='1'/%3E%3Cpath d='M9 22v-4h6v4M9 6h.01M15 6h.01M9 10h.01M15 10h.01M9 14h.01M15 14h.01'/%3E%3C/svg%3E"); }
.ico--up     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E"); }

/* ==========================================================================
   4. Buttons – rechteckig, gerahmt
   ========================================================================== */
.btn { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.7em 1.4em; border-radius: var(--radius-sm); font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease; white-space: nowrap; }
.btn--accent { background: var(--red); color: #f7efe0; border-color: var(--red); }
.btn--accent:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(0,0,0,0.04); }
.btn--dark { background: var(--ink); color: #f7efe0; border-color: var(--ink); }
.btn--lg { padding: 0.85em 1.7em; font-size: 1.06rem; }

/* ==========================================================================
   5. Topbar + Header + Navigation
   ========================================================================== */
.topbar { background: var(--ink); color: #d8cbb0; font-size: 0.85rem; border-bottom: 2px solid var(--gold); }
.topbar__inner { max-width: var(--container); margin: 0 auto; padding: 0.45em 24px; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.topbar .ico { color: var(--gold-soft); margin-right: 0.35em; }
.topbar a { color: #fbf4e6; font-weight: 700; }
.topbar__right { display: flex; gap: 1.6em; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line-strong); }
.site-header.is-scrolled { box-shadow: 0 2px 0 rgba(36,30,24,0.06); }
.header__inner { max-width: var(--container); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none !important; margin-right: auto; }
.brand__logo { flex: none; }
.brand__text { line-height: 1.12; }
.brand__name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: 0; }
.brand__claim { display: block; font-size: 0.7rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.13em; font-weight: 700; margin-top: 2px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__list a { display: block; padding: 0.5em 0.8em; color: var(--ink); font-weight: 700; font-size: 0.95rem; text-decoration: none !important; border-bottom: 2px solid transparent; }
.nav__list a:hover { color: var(--red); border-bottom-color: var(--gold); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current_page_item > a { color: var(--red); border-bottom-color: var(--red); }
.nav__list li { position: relative; }
.nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 280px; max-height: 74vh; overflow-y: auto; background: var(--cream); border: 1px solid var(--line-strong); border-top: 3px solid var(--red); list-style: none; margin: 0; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s; z-index: 60; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list .sub-menu a { font-size: 0.92rem; border-bottom: none; }
.nav__list .sub-menu a:hover { background: var(--paper-2); color: var(--red); }
.nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 10px; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle span { display: block; height: 3px; border-radius: 1px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   6. Brotkrumen
   ========================================================================== */
.breadcrumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.breadcrumbs__inner { max-width: var(--container); margin: 0 auto; padding: 0.55em 24px; display: flex; flex-wrap: wrap; gap: 0.55em; align-items: center; color: var(--muted); }
.breadcrumbs a { color: var(--red); font-weight: 700; }
.breadcrumbs__sep { color: var(--line-strong); }
.breadcrumbs__current { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: #efe6d3; border-bottom: 3px solid var(--gold); }
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 60px 24px 54px; }
.hero--home .hero__inner { padding: 80px 24px 70px; }
.hero__kicker { display: inline-block; font-family: var(--sans); color: var(--gold-soft); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; padding-bottom: 0.5em; margin: 0 0 1em; border-bottom: 1px solid rgba(196,168,109,0.4); }
.hero__title { font-family: var(--serif); color: #fdf7ea; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 0.5em; max-width: 24ch; line-height: 1.16; }
.hero__lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: #d6c9b0; max-width: 64ch; margin-bottom: 1.6em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.7em; }
.hero .btn--ghost { color: #f0e7d4; border-color: rgba(240,231,212,0.5); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--gold-soft); }
.hero__usps { display: flex; flex-wrap: wrap; gap: 0.6em 1.8em; list-style: none; margin: 0; padding: 0; }
.hero__usps li { display: flex; align-items: center; gap: 0.5em; color: #e7dcc4; font-weight: 700; font-size: 0.94rem; }
.hero__usps li::before { content: ""; width: 1.05em; height: 1.05em; flex: none; background-color: var(--gold-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ==========================================================================
   8. Trust-Chips
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.chip { display: inline-flex; align-items: center; gap: 0.55em; background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.55em 1em; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.chip .ico { color: var(--red); }
.hero .chip, .section--dark .chip { background: rgba(255,255,255,0.06); border-color: rgba(196,168,109,0.4); color: #f0e7d4; }
.trustbar { background: var(--cream); border-bottom: 1px solid var(--line-strong); }
.trustbar .chips { max-width: var(--container); margin: 0 auto; padding: 14px 24px; justify-content: space-between; }
.trustbar .chip { border: none; padding: 0.3em 0; }

/* ==========================================================================
   9. Sektionen
   ========================================================================== */
.section { padding: 64px 0; }
.section--alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #d6c9b0; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fdf7ea; }
.section--dark a { color: var(--gold-soft); }
.section__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section__inner--narrow { max-width: var(--container-narrow); }
.section__kicker { display: inline-block; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); margin-bottom: 0.7em; }
.section__kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 0.6em; margin-bottom: 0.2em; }
.section--dark .section__kicker { color: var(--gold-soft); }
.section__title { font-size: clamp(1.5rem, 2.7vw, 2.1rem); max-width: 30ch; }
.section__lead { font-size: 1.1rem; color: var(--muted); max-width: 72ch; margin-bottom: 2em; }
.section--dark .section__lead { color: #c8baa0; }

/* ==========================================================================
   10. Raster & Karten
   ========================================================================== */
.grid { display: grid; gap: 20px; margin: 1.6em 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--cream); border: 1px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; transition: border-top-color 0.12s ease; }
.card:hover { border-top-color: var(--red); }
.section--dark .card { background: rgba(255,255,255,0.05); border-color: rgba(196,168,109,0.35); }
.card__icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; -webkit-mask: none; mask: none; margin-bottom: 15px; }
.card .card__icon::before { content: ""; width: 24px; height: 24px; background-color: var(--red); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.card__title { font-size: 1.12rem; margin-bottom: 0.35em; }
.card__text { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card__link { font-weight: 700; color: var(--red); margin-top: 0.7em; }

/* ==========================================================================
   11. Schritte, Checklisten, Badges, Kennzahlen
   ========================================================================== */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2em 0; padding: 0; }
.step { counter-increment: step; background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px 22px 20px; position: relative; }
.section--dark .step { background: rgba(255,255,255,0.05); border-color: rgba(196,168,109,0.35); }
.step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); background: var(--red); color: #f7efe0; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 13px; }
.step__title { font-size: 1.08rem; margin-bottom: 0.3em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 0.96rem; }
.checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 0.6em; }
.checklist li { position: relative; padding-left: 1.9em; font-weight: 400; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1em; height: 1.1em; background-color: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0; }
.badge { display: inline-flex; align-items: center; gap: 0.45em; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.45em 0.95em; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--ink); text-transform: uppercase; }
.badge a { color: inherit; text-decoration: none; }
.badge a:hover { color: var(--red); }
.badge .ico { color: var(--gold); }
.section--dark .badge { background: rgba(255,255,255,0.06); border-color: rgba(196,168,109,0.4); color: #f0e7d4; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 2em 0; text-align: center; }
.stat { background: var(--cream); border: 1px solid var(--line-strong); border-bottom: 3px solid var(--red); border-radius: var(--radius); padding: 24px 14px; }
.section--dark .stat { background: rgba(255,255,255,0.05); border-color: rgba(196,168,109,0.35); border-bottom-color: var(--gold); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--red); }
.section--dark .stat__num { color: var(--gold-soft); }
.stat__label { display: block; margin-top: 0.3em; color: var(--muted); font-weight: 700; font-size: 0.88rem; }
.section--dark .stat__label { color: #c8baa0; }

/* ==========================================================================
   12. Tabellen
   ========================================================================== */
.prices, .table { width: 100%; border-collapse: collapse; margin: 1.6em 0 0.8em; background: var(--cream); border: 1px solid var(--line-strong); }
.prices th, .table th { background: var(--ink); color: #f3e9d4; text-align: left; padding: 13px 18px; font-family: var(--serif); font-size: 0.95rem; }
.prices td, .table td { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }
.prices tbody tr:nth-child(even), .table tbody tr:nth-child(even) { background: var(--paper-2); }
.prices td a, .table td a { font-weight: 700; }
.prices__price { font-family: var(--serif); font-weight: 700; color: var(--red); white-space: nowrap; text-align: right; }
.prices__note, .table__note { font-size: 0.88rem; color: var(--muted); }
.section--dark .prices th, .section--dark .table th { background: var(--red); }
.hours { width: 100%; max-width: 560px; border-collapse: collapse; margin: 1.4em 0; background: var(--cream); border: 1px solid var(--line-strong); }
.hours td { padding: 12px 18px; border-top: 1px solid var(--line); }
.hours tr:first-child td { border-top: none; }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--red); }

/* ==========================================================================
   13. FAQ-Akkordeon
   ========================================================================== */
.faq { display: grid; gap: 10px; margin: 1.6em 0; }
.faq__item { background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 50px 16px 20px; font-family: var(--serif); font-weight: 700; color: var(--ink); position: relative; user-select: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform 0.18s ease; }
.faq__item[open] summary { color: var(--red); border-bottom: 1px solid var(--line); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 14px 20px 16px; color: var(--text); overflow: hidden; }
.faq__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   14. Hinweisboxen, Zitate, Zweispalter
   ========================================================================== */
.notice { border: 1px solid var(--line-strong); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; margin: 1.6em 0; background: var(--info-bg); }
.notice h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5em; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--info { background: var(--info-bg); border-left-color: var(--gold); }
.notice--warn { background: var(--warn-bg); border-left-color: var(--warn); }
.notice--warn h3 { color: var(--warn); }
.notice--warn h3::before { content: ""; width: 1.15em; height: 1.15em; flex: none; background-color: var(--warn); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote { margin: 0; background: var(--cream); border: 1px solid var(--line-strong); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 28px 24px 22px; position: relative; }
.quote::before { content: "\201E"; position: absolute; top: 2px; left: 16px; font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--red); }
.quote p { font-family: var(--serif); font-style: italic; color: var(--ink); position: relative; z-index: 1; margin-top: 0.3em; }
.quote__author { font-size: 0.9rem; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.55em; align-items: center; }
.quote__stars { color: var(--gold); letter-spacing: 0.1em; }
.split { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 32px; align-items: start; margin: 1.6em 0; }
.split__aside .card, .split__aside .notice { margin: 0; }

/* ==========================================================================
   15. CTA-Banner
   ========================================================================== */
.cta-banner { padding: 60px 24px; background: var(--red-deep); color: #f0e3cf; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.cta-banner__inner { max-width: 820px; margin: 0 auto; }
.cta-banner h2 { color: #fdf7ea; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-banner p { font-size: 1.08rem; margin-bottom: 1.6em; color: #ecdcc4; }
.cta-banner .hero__ctas { margin-bottom: 0; }
.cta-banner .btn--accent { background: #f3e9d4; color: var(--red-deep); border-color: #f3e9d4; }
.cta-banner .btn--accent:hover { background: #fff; border-color: #fff; }
.cta-banner .btn--ghost { color: #f0e3cf; border-color: rgba(240,227,207,0.5); }

/* ==========================================================================
   16. Formular
   ========================================================================== */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 30px; margin: 1.6em 0; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.form label .req { color: var(--red); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { font: inherit; padding: 0.65em 0.85em; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%; transition: border-color 0.12s ease; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.form__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.form__consent input { margin-top: 0.3em; width: 1.05em; height: 1.05em; }
.form__submit { grid-column: 1 / -1; }
.form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-result { border-radius: var(--radius); padding: 18px 22px; margin: 1.4em 0; font-weight: 700; }
.form-result--ok { background: #e9efdc; border: 1px solid #c2cf9e; color: #44561f; }
.form-result--error { background: var(--warn-bg); border: 1px solid #e0bd86; color: var(--warn); }

/* ==========================================================================
   17. Footer + mobile Anrufleiste + Nach-oben
   ========================================================================== */
.site-footer { background: var(--ink); color: #c4b89f; font-size: 0.93rem; border-top: 3px solid var(--gold); }
.footer__grid { max-width: var(--container); margin: 0 auto; padding: 54px 24px 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fdf7ea; font-family: var(--serif); font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: 0.9em; padding-bottom: 0.4em; border-bottom: 1px solid rgba(196,168,109,0.3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; }
.site-footer a { color: #c4b89f; }
.site-footer a:hover { color: var(--gold-soft); }
.footer__brand .brand__name { color: #fdf7ea; font-family: var(--serif); }
.footer__brand .brand__claim { color: var(--gold-soft); }
.footer__contact li { display: flex; gap: 0.6em; align-items: baseline; }
.footer__contact .ico { color: var(--gold-soft); }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.footer__badges .badge { background: rgba(255,255,255,0.05); border-color: rgba(196,168,109,0.35); color: #e7dcc4; font-size: 0.76rem; padding: 0.35em 0.8em; }
.footer__bottom { border-top: 1px solid rgba(196,168,109,0.25); }
.footer__bottom-inner { max-width: var(--container); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em; font-size: 0.84rem; color: #9b8f78; }
.footer__legal { display: flex; gap: 1.4em; list-style: none; margin: 0; padding: 0; }
.mobile-call { display: none; position: fixed; left: 14px; bottom: 14px; z-index: 60; width: auto; max-width: calc(100vw - 80px); background: var(--red); color: #f7efe0; font-weight: 700; font-size: 0.98rem; padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--red-dark); box-shadow: 0 6px 18px rgba(36,30,24,0.3); text-decoration: none !important; align-items: center; justify-content: center; gap: 0.5em; white-space: nowrap; }
.mobile-call small { font-weight: 400; opacity: 0.9; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 65; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #f3e9d4; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0.18s, background 0.12s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); border-color: var(--red); }
.to-top .ico { width: 22px; height: 22px; }

/* ==========================================================================
   18. Rechtsseiten & 404
   ========================================================================== */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal p, .legal li { font-size: 0.98rem; }
.error-404 .hero__inner { text-align: left; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__cta { display: none; }
  .trustbar .chips { justify-content: flex-start; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .topbar { font-size: 0.8rem; }
  .topbar__inner { padding: 0.5em 14px; gap: 0.7em; }
  .topbar span { white-space: nowrap; }
  .topbar__right span:not(:last-child) { display: none; }
  .topbar__more { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .hero__inner, .hero--home .hero__inner { padding: 46px 20px 40px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; max-width: 100%; }
  .notice .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line-strong); box-shadow: 0 8px 18px rgba(36,30,24,0.12); max-height: calc(100vh - 130px); overflow-y: auto; }
  body.nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 12px 16px 18px; gap: 2px; }
  .nav__list a { padding: 0.75em 0.9em; font-size: 1.02rem; border-bottom: none; }
  .nav__list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--red); border-bottom: none; }
  .nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 3px solid var(--line-strong); border-top: none; border-radius: 0; margin-left: 1em; padding: 0; min-width: 0; max-height: none; }
  .nav__list .menu-item-has-children > a::after { display: none; }
  .mobile-call { display: flex; }
  body { padding-bottom: 76px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .prices, .table { display: block; overflow-x: auto; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* Fix: schmale Inhaltsspalte auch ohne Basisklasse zentrieren + Innenabstand */
.section__inner--narrow { margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.nowrap { white-space: nowrap; }
