/* ============================================================
   AN Metallbau GmbH – Website Styles
   Reines CSS, kein Framework. Mobile-first.
   ============================================================ */

:root {
  --anthracite: #0d0d0d;   /* schwarze Sektionen / Header / Hero (wie kragarmtreppen24) */
  --anthracite-2: #1a1a1a;
  --steel: #6b6256;
  --steel-light: #dccdb2;  /* heller, warmer Text auf Schwarz */
  --bg: #f4ecdd;           /* warmes Creme */
  --white: #ffffff;
  --accent: #c2904e;       /* Camel/Tan-Gold (kragarmtreppen24) */
  --accent-dark: #a2773b;
  --text: #1c1813;
  --text-muted: #6b6256;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.10);
  --maxw: 1140px;
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--anthracite); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 13, .96);
  backdrop-filter: blur(8px);
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; line-height: 1; margin-top: 8px; }
.logo-sub { font-family: 'Inter', sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); text-align: center; }
.logo-mark {
  background: var(--accent); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.3rem; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 8px;
}
.logo-text { font-size: 1.35rem; color: #fff; display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--steel-light); font-weight: 500; font-size: .98rem; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
  background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 8px;
}
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  background:
    linear-gradient(115deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.76) 45%, rgba(13,13,13,.5) 100%),
    url('../img/metallbau-moderne-villa-balkon.jpg') center 45% / cover no-repeat,
    #0d0d0d;
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 60px 20px; max-width: 760px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--steel-light); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; color: var(--steel-light); font-size: .92rem; font-weight: 500; }
.hero-badges span { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-dark { background: var(--anthracite); color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.eyebrow.light { color: var(--accent); }
.section h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 1.08rem; }
.section-dark .section-sub { color: var(--steel-light); }

/* ---------- Cards (Leistungen) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(194,144,78,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31,41,51,.16); }
.card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); }

/* ---------- Features (Warum) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature { text-align: center; padding: 10px; }
.feature-num {
  display: inline-grid; place-items: center; width: 70px; height: 70px;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 16px;
}
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: var(--steel-light); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
}
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 45%, rgba(13,13,13,.88)); }
.gallery-item figcaption { position: relative; z-index: 2; padding: 16px 18px; font-weight: 600; }

/* ---------- Split (Über uns) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-media {
  border-radius: var(--radius); overflow: hidden;
  position: relative; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--text-muted); margin-bottom: 16px; }
.check-list { list-style: none; margin: 22px 0 28px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-invite { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.contact-invite p { color: var(--text-muted); font-size: 1.08rem; line-height: 1.6; margin-bottom: 18px; }
.contact-benefits { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 0; margin: 0; }
.contact-benefits li { background: var(--white); border: 1px solid rgba(194,144,78,.3); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--text); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.05)); }
.contact-benefits li::before { content: "✓ "; color: var(--accent-dark); font-weight: 800; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); color: var(--text); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit;
  border: 1px solid var(--steel-light); border-radius: 8px; background: #fff; color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-note { margin-top: 14px; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: #2e7d32; }
.form-note.err { color: #c62828; }

.contact-info { color: var(--text-muted); padding-top: 6px; }
.contact-info h3 { color: var(--text); font-size: 1.5rem; margin-bottom: 18px; }
.info-line { display: flex; gap: 12px; margin-bottom: 16px; line-height: 1.5; }
.info-line span { color: var(--accent-dark); }
.info-line a:hover { color: var(--accent-dark); }
/* auf dunklen Sektionen helle Kontaktschrift */
.section-dark .contact-info { color: var(--steel-light); }
.section-dark .contact-info h3 { color: #fff; }
.section-dark .info-line span { color: var(--accent); }
.section-dark .info-line a:hover { color: #fff; }
.info-hint { font-size: .82rem; opacity: .65; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--steel-light); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { color: #fff; font-weight: 600; }
.footer-brand small { color: var(--steel-light); font-weight: 400; font-size: .8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a:hover { color: #fff; }
.footer-legal { text-align: right; font-size: .85rem; }
.footer-legal a { margin-left: 18px; }
.footer-legal a:hover { color: #fff; }
.footer-legal p { margin-top: 8px; opacity: .7; }

/* ---------- Floating CTA (mobil) ---------- */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  background: var(--accent); color: #fff; padding: 14px 20px; border-radius: 30px;
  font-weight: 600; box-shadow: 0 8px 24px rgba(232,116,30,.5); display: none;
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding-top: 56px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; color: var(--anthracite); }
.legal p { color: var(--text-muted); margin-bottom: 8px; }
.legal-note { margin-top: 32px; padding: 16px 18px; background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; font-size: .9rem; }

/* ---------- Bewertungen ---------- */
.section-reviews { background: var(--bg); }
.google-rating {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; background: var(--white); border: 1px solid rgba(194,144,78,.22);
  border-radius: var(--radius); padding: 24px 30px; box-shadow: var(--shadow); margin-bottom: 32px;
}
.google-badge { display: flex; align-items: center; gap: 16px; }
.g-logo {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.9rem; color: #fff;
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0 100%);
}
.google-badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.google-badge-text strong { font-size: 1.1rem; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.stars b { color: var(--text); margin-left: 6px; font-size: 1rem; }
.google-badge-text .muted { color: var(--text-muted); font-size: .9rem; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.review-card {
  background: var(--anthracite); color: #fff; border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.review-card .stars { font-size: 1.15rem; margin-bottom: 14px; display: block; }
.review-card blockquote { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.6; color: #ece6da; }
.review-card figcaption { color: var(--accent); font-weight: 600; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid rgba(194,144,78,.28);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(28,24,19,.05);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.7rem; color: var(--accent); font-weight: 400; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--accent); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-muted); }
.faq-answer a { color: var(--accent); font-weight: 600; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin: 0 auto;
  background: var(--anthracite); color: #ece6da;
  border: 1px solid rgba(194,144,78,.35); border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
  padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  justify-content: space-between; font-size: .88rem;
  opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-text { flex: 1 1 360px; min-width: 0; }
.cookie-text strong { display: block; margin-bottom: 2px; color: #fff; font-size: .92rem; }
.cookie-text p { font-size: .82rem; line-height: 1.45; margin: 0; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { padding: 8px 16px; font-size: .9rem; }
.btn-ghost-dark { background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--anthracite-2); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 20px 24px; transform: translateY(-120%);
    transition: transform .3s ease; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-media { min-height: 260px; order: -1; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-legal a { margin: 0 9px; }
  .floating-cta { display: block; }
  .section { padding: 64px 0; }
  .google-rating { flex-direction: column; align-items: stretch; text-align: left; }
  .google-rating .btn { text-align: center; }
  .cookie-banner { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; gap: 10px; }
  .cookie-text { flex: 0 0 auto; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; text-align: center; }
  .faq-item summary { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-badges { gap: 14px; font-size: .85rem; }
  .logo-text { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   MULTI-PAGE ERWEITERUNG (Dropdown, Unterseiten, Detail-Layout)
   ============================================================ */

/* ---------- Dropdown-Navigation ---------- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--steel-light); font-weight: 500; font-size: .98rem; transition: color .2s; }
.nav-drop-toggle .caret { font-size: .7em; transition: transform .2s ease; }
.nav-dropdown:hover .nav-drop-toggle, .nav-drop-toggle:hover, .nav-dropdown:focus-within .nav-drop-toggle { color: #fff; }
.nav-dropdown:hover .caret, .nav-dropdown:focus-within .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 290px; background: var(--anthracite-2); border: 1px solid rgba(194,144,78,.25);
  border-radius: 14px; padding: 10px; box-shadow: 0 22px 55px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 120;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a { padding: 11px 14px; border-radius: 8px; color: var(--steel-light); font-size: .95rem; font-weight: 500; }
.nav-drop-menu a:hover { background: rgba(194,144,78,.16); color: #fff; }
.nav-drop-menu a.active { color: var(--accent); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; color: #fff; padding: 78px 0 66px;
  background-color: var(--anthracite);
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.72) 55%, rgba(13,13,13,.45) 100%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 840px; }
.breadcrumb { font-size: .84rem; color: var(--steel-light); margin-bottom: 20px; letter-spacing: .02em; }
.breadcrumb a { color: var(--steel-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; margin: 0 8px; }
.breadcrumb .current { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.7rem); margin-bottom: 16px; }
.page-lead { color: var(--steel-light); font-size: clamp(1.02rem, 2.2vw, 1.24rem); max-width: 660px; margin-bottom: 28px; }

/* ---------- Detail-Layout (Leistungs-Unterseiten) ---------- */
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.detail-media img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; }
.detail-cta {
  margin-top: 18px; background: var(--anthracite); color: #fff; border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.detail-cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.detail-cta p { color: var(--steel-light); font-size: .95rem; margin-bottom: 16px; }
.detail-cta .info-line { color: var(--steel-light); margin-bottom: 10px; }

.prose > p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.07rem; }
.prose h3 { font-size: 1.55rem; margin: 34px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 26px; margin: 6px 0; }
.feature-list li { padding-left: 28px; position: relative; margin-bottom: 9px; font-weight: 500; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
.tag { background: #fff; border: 1px solid rgba(194,144,78,.3); color: var(--text); padding: 7px 15px; border-radius: 30px; font-size: .9rem; font-weight: 600; }

/* ---------- Related / weitere Leistungen ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.related-card {
  display: block; background: var(--white); border: 1px solid rgba(194,144,78,.22);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(31,41,51,.16); }
.related-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.related-card p { color: var(--text-muted); font-size: .94rem; margin-bottom: 12px; }
.related-card .arrow { color: var(--accent); font-weight: 700; font-size: .95rem; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 12px; color: #fff; }
.cta-band p { margin-bottom: 24px; font-size: 1.06rem; opacity: .96; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #0d0d0d; }
.cta-band .btn-primary:hover { background: #000; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.7); }

/* ---------- Leistungs-Übersicht: Kachel als Link ---------- */
a.card { color: inherit; }
a.card .card-more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 700; font-size: .95rem; }

/* ---------- Mobile-Anpassungen Multi-Page ---------- */
@media (max-width: 860px) {
  .nav-dropdown { display: block; width: 100%; }
  .nav-drop-toggle { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; justify-content: space-between; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 4px 0 4px 14px; min-width: 0;
  }
  .nav-dropdown:hover .caret, .nav-dropdown:focus-within .caret { transform: none; }
  .detail { grid-template-columns: 1fr; gap: 30px; }
  .detail-media { position: static; order: -1; }
  .cta-band { padding: 34px 22px; }
}

/* ============ Galerie klickbar + Lightbox ============ */
.gallery-item { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,8,8,.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 94vw; max-height: 92vh; text-align: center; }
.lightbox img {
  max-width: 94vw; max-height: 84vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 12px 50px rgba(0,0,0,.7);
}
.lightbox figcaption { color: #f4ecdd; margin-top: 12px; font-size: .95rem; letter-spacing: .02em; }
.lb-btn {
  position: absolute; background: rgba(0,0,0,.35); color: #fff; border: 0;
  width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #b8b0a2; font-size: .85rem; }
@media (max-width: 560px){ .lb-prev{left:6px;} .lb-next{right:6px;} .lb-btn{width:46px;height:46px;} }

/* Referenz-Vorschaukarten auf der Startseite */
.ref-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 16px; }
.ref-link {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 20px;
  background: var(--white); border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s;
}
.ref-link:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.ref-link strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; letter-spacing: .01em; }
.ref-link span { color: var(--accent-dark); font-weight: 600; font-size: .92rem; }

/* Footer Partnerbetriebe */
.footer-partner { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; font-size:.9rem; margin-top:4px; }
.footer-partner span { color: var(--steel-light); }
.footer-partner a { color: var(--accent); font-weight:600; }
.footer-partner a:hover { color:#fff; text-decoration:underline; }

/* Galerie: thematische Abschnitte + Sprung-Navigation */
.gallery-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 30px; }
.gallery-nav a { background:var(--white); border:1px solid rgba(194,144,78,.3); color:var(--accent-dark); padding:7px 14px; border-radius:999px; font-size:.9rem; font-weight:600; }
.gallery-nav a:hover { background:var(--accent); color:#fff; border-color:var(--accent); }
.gallery-cat { font-size:1.55rem; margin:46px 0 4px; scroll-margin-top:90px; }
.gallery-cat span { color:var(--accent); font-weight:600; font-size:1rem; }
.gallery-cat-sub { color:var(--text-muted); margin:0 0 18px; max-width:720px; }

/* Leistungs-Karten mit Foto */
.card { padding:0; overflow:hidden; }
.card-media { aspect-ratio:16/10; overflow:hidden; background:var(--anthracite); }
.card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.card:hover .card-media img { transform:scale(1.05); }
.card-body { padding:24px 26px 28px; }
.card-body h3 { font-size:1.4rem; margin-bottom:10px; }
.card-body p { color:var(--text-muted); }

/* Handwerk-Band (dekoratives Vollbild) */
.craft-band {
  position: relative; background-size: cover; background-position: center;
  background-attachment: fixed; color: #fff; text-align: center;
}
.craft-band::before { content:""; position:absolute; inset:0; background:linear-gradient(rgba(13,13,13,.62),rgba(13,13,13,.72)); }
.craft-band-inner { position: relative; z-index: 1; padding: 96px 20px; max-width: 760px; }
.craft-band h2 { font-size: clamp(2rem,5vw,3.2rem); margin: 10px 0 14px; }
.craft-band p { color: var(--steel-light); font-size: 1.1rem; }
@media (max-width: 768px){ .craft-band { background-attachment: scroll; } }

/* Einsatzgebiet: Gebiets-Raster + Karte */
.area-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-bottom:44px; }
.area-card { background:var(--white); border:1px solid rgba(194,144,78,.22); border-radius:var(--radius); padding:24px 24px 26px; box-shadow:var(--shadow); }
.area-card h3 { font-size:1.3rem; margin-bottom:8px; }
.area-card > p { color:var(--text-muted); margin-bottom:10px; }
.area-towns { font-size:.92rem; color:var(--text); line-height:1.85; }
.area-map { display:grid; grid-template-columns:1fr 1.15fr; gap:32px; align-items:center; }
.area-map-text h3 { font-size:1.5rem; margin-bottom:12px; }
.area-map-text p { color:var(--text-muted); margin-bottom:18px; }
.area-map-img img { border-radius:var(--radius); box-shadow:var(--shadow); width:100%; height:auto; }
@media (max-width:760px){ .area-map { grid-template-columns:1fr; } }

.area-map-img iframe { width:100%; height:440px; border:0; border-radius:var(--radius); box-shadow:var(--shadow); display:block; }

/* Echtes Marken-Logo */
.logo-img { height:46px; width:auto; display:block; }
.contact-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a2773b' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.footer-logo-img { height:40px; width:auto; }
@media (max-width:560px){ .logo-img { height:44px; } }
