/* ==========================================================================
   Despic Allround Handwerk – Stylesheet
   Ruhiges System: Navy (Logo-Dach/Schrift) trägt, Cyan (Logo-Rohr) nur
   als feiner Akzent, Orange (Logo-Werkzeug) nur für den Fokusrahmen.
   ========================================================================== */

:root {
  /* Farben */
  --ink: #0f2b52;          /* Überschriften, Hauptbutton */
  --ink-hover: #1c3f6e;
  --text: #33435c;         /* Fliesstext, 10:1 auf Weiss */
  --muted: #5b6b80;        /* Nebentext, 5.4:1 auf Weiss */
  --link: #0a6f87;         /* Links und Icons, 5.8:1 auf Weiss */
  --accent: #06b4d3;       /* Logo-Cyan, nur Linien und Details */
  --focus: #f97c13;        /* Logo-Orange, nur Fokusrahmen */
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --tint: #e3f5f9;         /* helles Logo-Cyan für Icon-Felder */
  --on-dark: #c3cfdf;      /* Text auf Navy, 9:1 */
  --accent-on-dark: #5fd0e6;
  --line: #e1e6ec;
  --line-strong: #cdd5df;

  /* Schrift: zwei Familien, fünf Grössen */
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --fs-sm: 0.9375rem;                                   /* 15px */
  --fs-base: 1.0625rem;                                 /* 17px */
  --fs-lead: 1.1875rem;                                 /* 19px */
  --fs-h3: 1.1875rem;                                   /* 19px */
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);    /* 26–36px */
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);    /* 34–52px */

  /* Abstände */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --section: clamp(3rem, 2.4rem + 2.5vw, 4.5rem);

  /* Form */
  --radius: 10px;
  --pill: 999px;

  --container: 1140px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; overflow-wrap: break-word; }
@media (max-width: 359px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; } }
h1 { font-size: var(--fs-h1); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); margin: 0; }
.section-foot { margin-top: var(--space-4); }
.lead { font-size: var(--fs-lead); color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--pill); border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--link); text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; }
.text-link:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 38px; width: auto; }
@media (min-width: 380px) { .brand img { height: 40px; } }
@media (min-width: 1100px) { .brand img { height: 44px; } }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.975rem; color: var(--ink); text-decoration: none;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 280px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px -16px rgba(15, 43, 82, .25);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover > .nav-link .icon, .has-dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dropdown a .icon { color: var(--link); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown li:first-child a { color: var(--link); font-weight: 600; }

.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  height: 44px; padding: 0 16px 0 14px; border-radius: var(--pill); border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--ink); cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle--close { padding: 0; width: 44px; }

@media (min-width: 768px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .nav-list > li:last-child .nav-link { margin-left: 6px; padding-inline: 16px; border-radius: var(--pill); background: var(--ink); color: #fff; text-decoration: none; }
  .nav-list > li:last-child .nav-link:hover { background: var(--ink-hover); }
}
@media (min-width: 1100px) {
  .nav-link { padding: 10px 14px; font-size: 1rem; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 1rem; }
}

/* ---------- Mobile-Menü ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 150; background: #fff; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); flex: none; border-bottom: 1px solid var(--line); }
.mobile-menu__top img { height: 40px; width: auto; }
.mobile-menu nav { padding: 4px var(--gutter) 24px; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; font-family: var(--font-head); font-size: 1.1875rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.m-link .icon { width: 22px; height: 22px; transition: transform .2s; }
.m-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-sub { list-style: none; margin: 0; padding: 0 0 12px; }
.m-sub[hidden] { display: none; }
.m-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--ink); text-decoration: none; font-weight: 500; }
.m-sub a .icon { color: var(--link); }
.mobile-menu__foot { margin-top: auto; padding: 20px var(--gutter) 28px; display: grid; gap: 10px; background: var(--bg-soft); }
.mobile-menu__foot p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
body.menu-open { overflow: hidden; }

/* ---------- Seitenkopf / Hero ---------- */
.hero { position: relative; padding-block: clamp(2.25rem, 1.5rem + 4vw, 5rem); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' fill='none' stroke='%230f2b52' stroke-width='14' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M20 170 200 20l180 150M300 87V35h40v66M70 130v150h260V130'/%3E%3C/svg%3E") no-repeat right -60px bottom -70px / 460px auto; background-blend-mode: normal; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.94); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 959px) { .hero { background-size: 300px auto; background-position: right -80px bottom -60px; } }
.hero-grid { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 360px; gap: 64px; align-items: center; } }
.hero h1 { max-width: 14em; }
.hero .lead { max-width: 36em; }
.hero .btn-row { margin-top: var(--space-3); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: var(--space-3) 0 0; color: var(--muted); font-size: var(--fs-sm); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--link); }

/* Kontaktbox im Hero */
.contact-panel { background: var(--ink); color: var(--on-dark); border-radius: 0 0 14px 14px; padding: 8px 28px 28px; }
.contact-panel h2 { font-size: 1.375rem; color: #fff; margin-bottom: 6px; }
.contact-panel > p { color: var(--on-dark); font-size: var(--fs-sm); margin-bottom: var(--space-2); }
.contact-panel .contact-lines li { border-top-color: rgba(255, 255, 255, .14); }
.contact-panel .contact-lines a { color: #fff; }
.contact-panel .contact-lines .icon { color: var(--accent-on-dark); }
.contact-panel .contact-lines small { color: var(--on-dark); }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { border-top: 1px solid var(--line-strong); }
.contact-lines a, .contact-lines .line { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.contact-lines a:hover strong { text-decoration: underline; }
.contact-lines .icon { width: 22px; height: 22px; color: var(--link); }
.contact-lines strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-lines small { display: block; color: var(--muted); font-size: 0.875rem; }

/* Seitenkopf Unterseiten */
.page-head { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' fill='none' stroke='%230f2b52' stroke-width='14' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M20 170 200 20l180 150M300 87V35h40v66M70 130v150h260V130'/%3E%3C/svg%3E") no-repeat right -40px bottom -90px / 340px auto; position: relative; }
.page-head::after { content: ""; position: absolute; inset: 0; background: rgba(244,246,248,.93); pointer-events: none; }
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { max-width: 20em; margin-bottom: 12px; }
.page-head .lead { max-width: 40em; margin: 0; }
.page-head .btn-row { margin-top: var(--space-3); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: 0.875rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.page-head__icon { display: inline-grid; place-items: center; width: 58px; height: 60px; padding-top: 10px; background: var(--ink); color: var(--accent-on-dark); margin-bottom: 14px; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); }
.page-head__icon .icon { width: 28px; height: 28px; }

/* ---------- Leistungen als Kacheln ---------- */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.service-item { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.service-item:hover { border-color: var(--accent); box-shadow: 0 14px 30px -22px rgba(15, 43, 82, .5); }
.service-item > .icon { width: 52px; height: 54px; padding: 18px 13px 10px; background: var(--tint); color: var(--link); margin-bottom: 4px; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); }
.service-item h2, .service-item h3 { margin: 0; font-size: 1.25rem; }
.service-item :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.service-item :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.service-item p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.service-item .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--link); }
.service-item .more .icon { width: 18px; height: 18px; transition: transform .15s; }
.service-item:hover .more .icon { transform: translateX(3px); }

/* ---------- Zwei Spalten ---------- */
.split { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } .split--even { grid-template-columns: 1fr 1fr; } }
.split > div > p:last-child { margin-bottom: 0; }

/* Typische Anfragen */
.situations { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.situations li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .situations li { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } }
.situations li { gap: 8px; }
.situations span { color: var(--ink); }
.situations a { justify-self: start; font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 4px 12px; border-radius: var(--pill); background: var(--tint); color: var(--link); }
.situations a:hover { background: var(--ink); color: #fff; }

/* Häkchen-Liste */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--link); }

/* Fakten (Über uns / Startseite) */
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; border-bottom: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--fs-sm); padding-top: 14px; }
.facts dd { color: var(--ink); font-weight: 500; }
@media (max-width: 359px) { .facts { grid-template-columns: 1fr; } .facts dd { border-top: 0; padding-top: 0; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; position: relative; }
.step::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; }
@media (min-width: 1024px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 62px; right: -8px; height: 2px; background: var(--line); } }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--link); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 18px; max-width: 680px; }
.faq .answer p { margin: 0; }

/* ---------- Dunkler Abschnitt ---------- */
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section--dark a:not(.btn) { color: var(--accent-on-dark); }
.section--dark .facts, .section--dark .facts dt, .section--dark .facts dd { border-color: rgba(255, 255, 255, .14); }
.section--dark .facts dt { color: var(--on-dark); }
.section--dark .facts dd { color: #fff; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--on-dark:hover { border-color: #fff; color: #fff; }

/* ---------- Abschluss ---------- */
.cta-end { padding-block: var(--section); }
.section:not(.section--soft) + .cta-end { padding-top: 0; }
.cta-box { display: grid; gap: var(--space-3); align-items: center; padding: clamp(28px, 4vw, 44px); }
.cta-box h2 { margin-bottom: 6px; }
.cta-box p { margin: 0; max-width: 34em; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Verspielte Details aus Logo und Werkstatt ----------
   Haus:     die zwei wichtigsten Anfrage-Kästen bekommen das Dach mit Kamin aus dem Logo
   Zettel:   Abschluss und Instagram-Hinweis hängen wie ein Zettel an der Werkstattwand
   Meterstab: einmal pro Seite als Kante über dem Footer */
.roofed { position: relative; margin-top: 58px; }
.roof { position: absolute; left: 1.25px; right: 1.25px; bottom: calc(100% - 1px); height: 58px; pointer-events: none; }
.roof svg { width: 100%; height: 100%; overflow: visible; }
.roof path { fill: #fff; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.contact-panel .roof { left: 0; right: 0; }
.contact-panel .roof path { fill: var(--ink); }

.zettel { position: relative; background: #fffdf8; border: 1px solid #ece6da; border-radius: 4px; box-shadow: 0 1px 0 #ece6da, 0 18px 32px -26px rgba(15, 43, 82, .5); transform: rotate(-0.8deg); }
.zettel::before { content: ""; position: absolute; top: -13px; left: 50%; width: 112px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(232, 214, 170, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.stamp { position: absolute; top: 18px; right: 18px; transform: rotate(8deg); border: 2.5px solid #ad520a; color: #ad520a; border-radius: 6px; padding: 3px 9px; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 559px) { .zettel { transform: rotate(-0.5deg); } .cta-box.zettel { padding-top: 68px; } .cta-box .stamp { top: 22px; } }

.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 18px; background:
    repeating-linear-gradient(90deg, rgba(15, 43, 82, .75) 0 2px, transparent 2px 50px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(15, 43, 82, .55) 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat,
    #f3c34a; }
.site-footer { padding-top: calc(var(--space-5) + 18px); }

/* ---------- Instagram-Hinweis ---------- */
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.note.zettel { border-color: #ece6da; border-radius: 4px; }
.note p { margin: 0; max-width: 40em; }

/* ---------- Leistungs-Detail ---------- */
.detail-layout { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) { .detail-layout { grid-template-columns: 1fr 320px; gap: 64px; align-items: start; } .detail-layout .aside-box { position: sticky; top: calc(var(--header-h) + 24px); } }
.detail-layout h2 { font-size: 1.5rem; }
.feature-list { margin: 0 0 var(--space-5); display: grid; grid-template-columns: 1fr; column-gap: 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.feature-list dt { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.feature-list dd { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.aside-box { border: 2.5px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px; padding: 8px var(--space-3) var(--space-3); background: #fff; }
.aside-box h2 { font-size: var(--fs-h3); margin-bottom: 6px; }
.aside-box p { color: var(--muted); font-size: var(--fs-sm); }
.aside-box .btn { width: 100%; margin-top: 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip-list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); background: #fff; }
.chip-list a:hover { border-color: var(--ink); }
.chip-list .icon { width: 18px; height: 18px; color: var(--link); }

/* ---------- Vorher / Nachher ---------- */
.ba-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } }
.ba-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ba-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.ba-media > [data-state] { position: absolute; inset: 0; transition: opacity .25s; }
.ba-media > [data-state][hidden] { display: block; opacity: 0; pointer-events: none; }
.ba-media img { width: 100%; height: 100%; object-fit: cover; }
.ba-switch { position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; padding: 3px; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); }
.ba-switch button { border: 0; background: none; padding: 6px 12px; border-radius: var(--pill); font-family: var(--font-head); font-weight: 600; font-size: 0.8125rem; color: var(--muted); cursor: pointer; }
.ba-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ba-body { padding: 14px 16px 16px; }
.ba-body h3 { font-size: 1rem; margin: 0 0 2px; }
.ba-body p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.ph-photo { display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; height: 100%; color: var(--muted); font-size: 0.875rem; text-align: center; padding: 16px; }
.ph-photo .icon { width: 28px; height: 28px; color: var(--line-strong); }

/* ---------- Über uns ---------- */
.values { display: grid; gap: var(--space-3) var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
.values h3 { margin-bottom: 4px; }
.values p { margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; } }
.contact-layout .contact-lines li:last-child { border-bottom: 1px solid var(--line-strong); }
.form-box { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form-box h2 { margin-bottom: 4px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--line-strong); font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2b52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(6, 180, 211, .25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.photo-hint p { margin: 0; padding: 14px 16px; border-radius: 8px; background: var(--bg-soft); color: var(--text); font-size: var(--fs-sm); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin: 0; border-radius: 8px; font-weight: 500; }
.form-status:not(:empty) { padding: 12px 14px; }
.form-status.is-ok { background: #e6f4ea; color: #1e5631; }
.form-status.is-error { background: #fdecea; color: #8c1d18; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.legal-box { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); }
.legal-box p { margin: 0; color: var(--ink); }
.legal-box p + p { margin-top: 4px; }
.todo { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #fff3e0; color: #8a4a00; border: 1px dashed var(--focus); font-weight: 600; font-size: 0.95em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: var(--space-5); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr; gap: 40px; } }
.footer-brand img { width: 96px; height: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 24em; }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-list a { color: var(--text); text-decoration: none; }
.f-list a:hover { color: var(--ink); text-decoration: underline; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--link); }
.f-contact a { overflow-wrap: break-word; min-width: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--space-5); padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Kontaktleiste Handy ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; border-radius: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.8125rem; }
.action-bar a .icon { width: 22px; height: 22px; }
.action-bar a.is-main { background: var(--ink); color: #fff; }
body { padding-bottom: 72px; }
@media (min-width: 768px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Dezentes Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .action-bar, .progress, .cta-end, .mobile-menu { display: none !important; }
  body { padding: 0; }
}
