/* ==========================================================================
   Dachdeckerei Meus – Stylesheet
   Farben: Anthrazit aus dem Logo, Ziegelrot aus den eigenen Biberschwanz-
   Dächern als Akzent, Zinkgrau und warmes Off-White als Neutraltöne.
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/saira-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/saira-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --c-ink: #232322;
  --c-graphite: #3c3c3b;          /* Logofarbe */
  --c-graphite-900: #1e1e1d;
  --c-graphite-800: #2a2a29;
  --c-clay: #a84a24;              /* Ziegelrot (Biberschwanz) */
  --c-clay-700: #8c3c1c;
  --c-clay-100: #f5e6de;
  --c-zinc-300: #c9cdd0;
  --c-zinc-200: #e3e6e8;
  --c-paper: #f6f4f1;
  --c-white: #ffffff;
  --c-line: #e2ded8;
  --c-muted: #5b5955;
  --c-success: #2f6b3f;
  --c-error: #b42318;

  --font-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow-s: 0 1px 2px rgb(30 30 29 / .06), 0 2px 8px rgb(30 30 29 / .05);
  --shadow: 0 2px 6px rgb(30 30 29 / .06), 0 14px 34px rgb(30 30 29 / .09);
  --shadow-l: 0 30px 60px rgb(30 30 29 / .18);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--c-graphite-900); }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 650; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-clay); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-clay); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--c-paper); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pos-35 { object-position: 50% 35%; }
.pos-55 { object-position: 50% 55%; }
.pos-70 { object-position: 50% 70%; }
html:has(dialog[open]) { overflow: hidden; }
.visually-hidden { position: absolute !important; 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; padding: 10px 16px; background: var(--c-graphite-900); color: #fff; border-radius: var(--radius-s); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-clay); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--c-muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-clay); --btn-fg: #fff; --btn-bd: var(--c-clay);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .02em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--c-clay-700); --btn-bd: var(--c-clay-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgb(168 74 36 / .25); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-graphite-900); --btn-bd: var(--c-graphite); }
.btn--ghost:hover { --btn-bg: var(--c-graphite-900); --btn-fg: #fff; --btn-bd: var(--c-graphite-900); box-shadow: none; }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .7); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--c-graphite-900); --btn-bd: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--c-clay); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 6px 24px rgb(30 30 29 / .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 550; font-size: 1rem; text-decoration: none; color: var(--c-graphite);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--c-clay);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-graphite-900); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 14px; }
.nav__phone { display: none; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--c-line); border-radius: var(--radius-s); cursor: pointer;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-graphite-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--c-white); border-bottom: 1px solid var(--c-line); box-shadow: 0 24px 40px rgb(30 30 29 / .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--c-line); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--c-clay); }
  .nav__cta { margin: 22px 0 0; width: 100%; }
  .nav__phone {
    display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; min-height: 50px;
    font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--c-graphite-900);
    border: 2px solid var(--c-line); border-radius: var(--radius-s);
  }
  .nav__phone svg { width: 18px; height: 18px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--c-paper); overflow: hidden; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero__roofline { position: absolute; left: -6%; top: 50%; width: 70%; max-width: 900px; transform: translateY(-50%); color: var(--c-graphite); opacity: .05; pointer-events: none; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .eyebrow { display: flex; font-size: .82rem; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--c-clay); }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--c-muted); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--c-line); list-style: none; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--c-graphite); }
.hero__facts svg { width: 20px; height: 20px; color: var(--c-clay); flex: none; }

.hero__media { position: relative; z-index: 1; }
.hero__frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4 / 5; max-height: 74vh; margin-left: auto; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 16px 20px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero__badge img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex: none; }
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; color: var(--c-graphite-900); }
.hero__badge span { font-size: .85rem; color: var(--c-muted); line-height: 1.35; display: block; }

@media (max-width: 899px) {
  .hero { background: var(--c-graphite-900); color: #fff; }
  .hero__inner { grid-template-columns: 1fr; padding-block: 0; min-height: calc(100svh - var(--header-h)); align-items: end; }
  .hero__media { position: absolute; inset: 0; margin-inline: calc(var(--gutter) * -1); }
  .hero__frame { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; max-height: none; }
  .hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 20 19 / .05) 0%, rgb(20 20 19 / .35) 38%, rgb(20 20 19 / .88) 72%, rgb(20 20 19 / .96) 100%); }
  .hero__badge, .hero__roofline { display: none; }
  .hero__content { padding: 22vh 0 32px; }
  .hero h1 { color: #fff; }
  .hero h1 em { color: #f0a17c; }
  .hero h1 .eyebrow { color: #f0a17c; }
  .hero__lead { color: rgb(255 255 255 / .86); }
  .hero__actions .btn { flex: 1 1 200px; }
  .hero__actions .btn--ghost { --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .7); }
  .hero__actions .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--c-graphite-900); --btn-bd: #fff; }
  .hero__facts { border-color: rgb(255 255 255 / .18); margin-top: 30px; padding-top: 22px; gap: 10px 20px; }
  .hero__facts li { color: rgb(255 255 255 / .9); font-size: .9rem; }
  .hero__facts svg { color: #f0a17c; }
}
@media (max-width: 479px) {
  .hero h1 { font-size: 2.35rem; margin-bottom: 16px; }
  .hero h1 .eyebrow { margin-bottom: 14px; }
  .hero__lead { font-size: 1rem; line-height: 1.55; margin-bottom: 24px; }
  .hero__actions { gap: 10px; }
  .hero__facts { margin-top: 22px; padding-top: 18px; }
}

/* ---------- Leistungen ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-zinc-200); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.service-card__num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--c-clay); margin-bottom: 8px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--c-muted); font-size: .98rem; margin-bottom: 20px; }
.service-card--feature .link-arrow { margin-top: 4px !important; }
.service-card .link-arrow { margin-top: auto; background: none; border: 0; padding: 0; cursor: pointer; font-size: 1rem; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card:hover .link-arrow svg { transform: translateX(4px); }

.service-card--feature { grid-column: span 2; flex-direction: row; }
.service-card--feature .service-card__media { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.service-card--feature .service-card__body { flex: 1; padding: clamp(26px, 3vw, 40px); justify-content: center; }
.service-card--feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

.service-card--cta {
  justify-content: center; padding: clamp(26px, 3vw, 36px);
  background: var(--c-graphite-900); color: #fff; border-color: var(--c-graphite-900);
}
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: rgb(255 255 255 / .75); }
.service-card--cta .btn { margin-top: 6px; align-self: flex-start; }
.service-card--cta:hover { transform: none; }
.service-card--cta .cta-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.service-card--cta .cta-phone svg { width: 20px; height: 20px; color: #f0a17c; }

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature, .service-card--cta { grid-column: span 2; }
}
@media (max-width: 639px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--feature, .service-card--cta { grid-column: auto; }
  .service-card--feature { flex-direction: column; }
  .service-card--feature .service-card__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .service-card--feature .service-card__body { padding: 24px 24px 26px; }
}

/* ---------- Leistungs-Dialoge ---------- */
.modal {
  width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 0; border-radius: var(--radius-l); background: #fff; color: var(--c-ink); box-shadow: var(--shadow-l);
  overflow: hidden;
}
.modal[open] { display: flex; animation: modal-in .35s var(--ease); }
.modal::backdrop { background: rgb(20 20 19 / .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade-in .3s ease; }
.modal__media { flex: 0 0 42%; position: relative; background: var(--c-zinc-200); }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { flex: 1; overflow-y: auto; padding: clamp(28px, 4vw, 44px); }
.modal__body h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.modal__body p { color: var(--c-muted); }
.modal__body h4 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-graphite); margin: 26px 0 12px; }
.modal__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.modal__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-s);
  transition: background-color .2s, transform .2s;
}
.modal__close:hover { background: var(--c-paper); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .modal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-l) var(--radius-l) 0 0; }
  .modal[open] { flex-direction: column; animation: sheet-in .35s var(--ease); overflow-y: auto; }
  .modal__media { flex: none; height: 230px; }
  .modal__body { overflow: visible; padding: 26px 22px 32px; }
  .modal__actions .btn { flex: 1 1 100%; }
}

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-clay-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a84a24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1fr .62fr; gap: 16px; align-items: end; }
.about__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__media figure:first-child { aspect-ratio: 3 / 4; }
.about__media figure:last-child { aspect-ratio: 3 / 4; margin-bottom: 56px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__content p { color: var(--c-muted); }
.about__content p.lead { font-size: 1.2rem; color: var(--c-ink); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 34px 0; list-style: none; }
.values li { display: flex; gap: 14px; }
.values__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--c-paper); color: var(--c-clay); }
.values__icon svg { width: 22px; height: 22px; }
.values strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--c-graphite-900); line-height: 1.3; margin-bottom: 2px; }
.values span { font-size: .93rem; color: var(--c-muted); line-height: 1.5; display: block; }
.contact-person { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 22px; background: var(--c-paper); border-radius: var(--radius); border-left: 3px solid var(--c-clay); }
.contact-person__text { flex: 1 1 200px; }
.contact-person__text strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--c-graphite-900); }
.contact-person__text span { font-size: .93rem; color: var(--c-muted); }
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about__media { order: 2; }
}
@media (max-width: 479px) {
  .values { grid-template-columns: 1fr; }
  .about__media figure:last-child { margin-bottom: 32px; }
}

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn {
  min-height: 42px; padding: 8px 18px;
  font-family: var(--font-head); font-weight: 550; font-size: .95rem;
  background: #fff; color: var(--c-graphite); border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--c-graphite); }
.filter-btn[aria-pressed="true"] { background: var(--c-graphite-900); color: #fff; border-color: var(--c-graphite-900); }
@media (max-width: 639px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; list-style: none; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-zinc-200); }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.gallery__item[hidden] { display: none; }
.gallery__link { display: block; width: 100%; height: 100%; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery__caption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  font-size: .9rem; font-weight: 500; line-height: 1.35; color: #fff;
  background: linear-gradient(180deg, transparent, rgb(20 20 19 / .78));
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.gallery__caption small { display: block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #f0a17c; margin-bottom: 2px; }
.gallery__zoom {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px;
  background: rgb(255 255 255 / .92); border-radius: 50%; color: var(--c-graphite-900);
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__link:hover img, .gallery__link:focus-visible img { transform: scale(1.04); }
.gallery__link:hover .gallery__caption, .gallery__link:focus-visible .gallery__caption,
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__link:focus-visible { outline-offset: -3px; }
@media (hover: none) {
  .gallery__caption { opacity: 1; transform: none; padding-top: 30px; font-size: .82rem; }
}
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 639px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
  .gallery__caption { padding: 26px 10px 9px; }
  .gallery__caption small { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0;
  border: 0; background: rgb(14 14 13 / .96); color: #fff; overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; animation: fade-in .25s ease; }
.lightbox::backdrop { background: rgb(14 14 13 / .9); }
.lightbox__stage { position: relative; flex: 1; display: grid; place-items: center; padding: 64px 72px 12px; min-height: 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); transition: opacity .25s; }
.lightbox__img.is-loading { opacity: .25; }
.lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 24px 22px; text-align: center; }
.lightbox__caption { font-size: .98rem; color: rgb(255 255 255 / .88); max-width: 720px; margin: 0; }
.lightbox__count { font-family: var(--font-head); font-size: .85rem; letter-spacing: .1em; color: rgb(255 255 255 / .55); white-space: nowrap; }
.lightbox__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); border-radius: 50%; color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgb(255 255 255 / .22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) {
  .lightbox__stage { padding: 64px 8px 8px; }
  .lightbox__img { max-height: calc(100dvh - 170px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
  .lightbox__bar { padding: 14px 70px 22px; flex-direction: column; gap: 4px; min-height: 76px; }
  .lightbox__caption { font-size: .9rem; }
}

/* ---------- Warum wir ---------- */
.why { position: relative; background: var(--c-graphite-900); color: #fff; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: url("../img/biberschwanz-zinkverwahrung-dachreiter-800.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.why .container { position: relative; }
.why h2 { color: #fff; }
.why .section-head p { color: rgb(255 255 255 / .72); }
.why .eyebrow { color: #f0a17c; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; list-style: none; }
.why-item { padding: clamp(26px, 3vw, 38px); background: var(--c-graphite-900); transition: background-color .35s var(--ease); }
.why-item:hover { background: var(--c-graphite-800); }
.why-item__num { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 300; line-height: 1; color: #f0a17c; margin-bottom: 20px; }
.why-item h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.why-item p { color: rgb(255 255 255 / .72); font-size: .98rem; margin: 0; }
@media (max-width: 1023px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .why-grid { grid-template-columns: 1fr; } .why-item__num { font-size: 2rem; margin-bottom: 14px; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__info p.lead { font-size: 1.12rem; color: var(--c-muted); }
.contact-list { list-style: none; display: grid; gap: 12px; margin: 30px 0 36px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.contact-list a:hover { border-color: var(--c-clay); box-shadow: var(--shadow-s); transform: translateX(3px); }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--c-clay-100); color: var(--c-clay); }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.contact-list strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--c-graphite-900); word-break: break-word; line-height: 1.35; }
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.steps li { position: relative; padding-left: 52px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--c-graphite-900); border: 2px solid var(--c-graphite); border-radius: 50%;
}
.steps strong { display: block; font-family: var(--font-head); color: var(--c-graphite-900); }
.steps span { font-size: .95rem; color: var(--c-muted); }

.form-card { padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--c-muted); font-size: .95rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--c-graphite-900); }
.field label .opt { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-size: 1rem; background: var(--c-paper); border: 1.5px solid var(--c-line); border-radius: var(--radius-s);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c3c3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-zinc-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--c-graphite); box-shadow: 0 0 0 4px rgb(60 60 59 / .1); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); background-color: #fff; }
.field__error { display: none; font-size: .87rem; color: var(--c-error); font-weight: 500; }
.field.has-error .field__error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); line-height: 1.5; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-clay); cursor: pointer; }
.consent a { color: var(--c-graphite-900); font-weight: 600; }
.consent-wrap.has-error .consent { color: var(--c-error); }
.consent-wrap .field__error { margin: 6px 0 0 34px; }
.consent-wrap.has-error .field__error { display: block; }
.hp-field { display: none !important; }
.form-note { font-size: .82rem; color: var(--c-muted); margin: 14px 0 0; }
.form-status { display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-s); font-size: .97rem; margin-bottom: 20px; }
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.form-status--success { background: #e9f3ec; color: var(--c-success); border: 1px solid #c3dfcb; }
.form-status--error { background: #fbeceb; color: var(--c-error); border: 1px solid #f1c7c3; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .btn__icon { display: none; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 539px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; margin-inline: -4px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-graphite-900); color: rgb(255 255 255 / .74); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .88rem; }
.footer-bottom ul { display: flex; gap: 22px; list-style: none; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .96); border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgb(30 30 29 / .08);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 48px; padding-inline: 12px; }
  body.has-action-bar .site-footer { padding-bottom: 76px; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: calc(820px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin-bottom: 28px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 44px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #3f3d3a; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal a { color: var(--c-clay); }
.legal address { font-style: normal; }
.todo { background: #fff4cc; border: 1px dashed #c99a00; padding: 1px 6px; border-radius: 4px; font-size: .95em; color: #6b5200; }
.site-header__inner > .btn { white-space: nowrap; }
@media (max-width: 399px) { .site-header__inner > .btn { padding-inline: 12px; font-size: .88rem; } }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-family: var(--font-head); font-weight: 600; color: var(--c-graphite); text-decoration: none; }
.legal-back svg { width: 18px; height: 18px; }

/* ---------- Animationen ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes sheet-in { from { transform: translateY(40px); opacity: .4; } }
@keyframes spin { to { transform: rotate(360deg); } }

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