/* Böttcher & Trachsel – Zimmerei und Holzbau
   Layout: dunkle Bühne mit Holzbild oben, helle Steinflächen für Inhalte,
   Bernstein als einziger Akzent. Schriften lokal eingebunden (keine Drittanbieter). */

@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #0c0a09;          /* stone-950 */
  --ink-2: #1c1917;        /* stone-900 */
  --paper: #fafaf9;        /* stone-50 */
  --sand: #e8e3d8;         /* Projektfläche */
  --line: #d6d3d1;         /* stone-300 */
  --line-2: #e7e5e4;       /* stone-200 */
  --muted: #57534e;        /* stone-600 */
  --muted-2: #78716c;      /* stone-500 */
  --soft: #a8a29e;         /* stone-400 */
  --on-dark: #d6d3d1;
  --amber: #fbbf24;        /* amber-400 */
  --gold: #e3aa00;
  --amber-wash: #fffbeb;
  --white: #ffffff;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --wrap: 1480px;
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a, button, input, textarea, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--gold); }
::selection { background: var(--amber); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.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: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.display { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); flex: none; }
.eyebrow--light { color: var(--amber); }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.logo-shell {
  display: flex; align-items: center;
  height: 64px; width: 238px; padding: 0 16px; box-shadow: 0 1px 2px rgb(0 0 0 / .08);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  flex: none;
}
.logo-shell img { width: 100%; height: auto; }

.main-nav {
  display: none; align-items: center; gap: 32px;
  border: 1px solid rgb(255 255 255 / .15); background: rgb(12 10 9 / .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px; padding: 14px 28px; color: var(--white);
  font-size: 0.875rem; font-weight: 600; position: relative;
}
.nav-link { position: relative; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: right; transition: transform 180ms ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-item { position: static; }
.nav-item > .nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: min(880px, calc(100vw - 48px));
  background: var(--white); color: var(--ink); padding: 28px; box-shadow: 0 24px 48px rgb(12 10 9 / .28);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.mega h3 { font-size: 0.7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--gold); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; font-size: .9rem; }
.mega a:hover { color: var(--gold); }
.mega .mega-all { grid-column: 1 / -1; display: flex; justify-content: flex-end; border-top: 1px solid var(--line-2); padding-top: 14px; }
.mega .mega-all a { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.header-phone {
  display: none; align-items: center; gap: 12px; border-left: 1px solid rgb(255 255 255 / .3);
  padding-left: 28px; color: var(--white); font-size: .875rem; font-weight: 700; text-decoration: none; flex: none;
}
.header-phone .bubble { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 18px; }
.header-phone small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .6); }

.menu-toggle {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--amber); color: var(--ink); cursor: pointer; font-size: 22px; flex: none;
}
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }

.mobile-nav {
  display: none; margin: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  background: var(--white); border: 1px solid var(--line-2); padding: 12px; box-shadow: 0 24px 48px rgb(12 10 9 / .3);
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.menu-open .mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav > a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  font-size: 1.125rem; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav > a:hover, .mobile-nav summary:hover { background: var(--amber-wash); }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav .sub { padding: 0 16px 12px; display: grid; gap: 14px; }
.mobile-nav .sub h3 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 800; margin-bottom: 4px; }
.mobile-nav .sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mobile-nav .sub a { display: block; padding: 7px 0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mobile-nav .call { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: var(--white); padding: 16px; font-weight: 700; text-decoration: none; }

@media (min-width: 640px) {
  .logo-shell { height: 72px; width: 300px; padding: 0 20px; }
}
@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-nav, .menu-open .mobile-nav { display: none; }
}
@media (min-width: 1320px) {
  .header-phone { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px; background: var(--amber); color: var(--ink);
  padding: 16px 26px; font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer; transition: background .2s, color .2s; font-family: inherit;
}
.btn:hover { background: var(--white); }
.btn .icon { font-size: 20px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); color: var(--amber); }
.text-link {
  display: inline-flex; align-items: center; gap: 14px; border-bottom: 2px solid currentColor; padding-bottom: 6px;
  font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; width: fit-content;
}
.text-link .icon { font-size: 19px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 760px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; opacity: .75; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(12 10 9 / .9), rgb(12 10 9 / .35)),
    linear-gradient(0deg, rgb(12 10 9 / .94) 0%, transparent 70%);
}
.wood-grid {
  position: absolute; inset: 0; opacity: .25;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / .08) 1px, transparent 1px);
  background-size: 11.11% 100%, 100% 25%;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 160px 56px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; color: #fcd34d; font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 48px; height: 1px; background: var(--amber); flex: none; }
.hero h1 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(4rem, 11vw, 10rem); line-height: .8; letter-spacing: -0.045em; max-width: 64rem; }
.hero h1 span { display: block; margin-top: .08em; color: var(--amber); }
.hero-foot {
  margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  border-left: 2px solid var(--amber); padding-left: 24px; max-width: 56rem;
}
.hero-foot p { max-width: 36rem; color: #e7e5e4; font-size: 1rem; line-height: 1.75; }
.hero-badge { position: absolute; right: 0; bottom: 0; z-index: 3; display: none; align-items: center; gap: 32px; background: var(--paper); color: var(--ink); padding: 26px 40px; }
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1; text-transform: uppercase; }
.hero-badge small { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.hero-badge .sep { width: 1px; height: 44px; background: var(--line); }
.hero-badge .reg { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.hero-badge .reg .icon { font-size: 28px; }
@media (min-width: 640px) {
  .hero { min-height: 820px; }
  .hero .wrap { padding-bottom: 80px; }
  .hero-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-left: 32px; }
  .hero-foot p { font-size: 1.125rem; line-height: 2rem; }
}
@media (min-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(90deg, rgb(12 10 9 / .97) 0%, rgb(12 10 9 / .78) 42%, rgb(12 10 9 / .08) 78%),
      linear-gradient(0deg, rgb(12 10 9 / .88) 0%, transparent 48%);
  }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100vh, 980px); }
  .hero .wrap { padding-bottom: 96px; }
  .hero-badge { display: flex; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.page-hero .hero-overlay { background: linear-gradient(90deg, rgb(12 10 9 / .95) 0%, rgb(12 10 9 / .7) 50%, rgb(12 10 9 / .25) 100%), linear-gradient(0deg, rgb(12 10 9 / .85), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; padding-block: 168px 64px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(3.25rem, 8vw, 7rem); line-height: .86; letter-spacing: -0.03em; max-width: 56rem; }
.page-hero .lead { margin-top: 28px; max-width: 40rem; border-left: 2px solid var(--amber); padding-left: 24px; color: #e7e5e4; font-size: 1.0625rem; line-height: 1.8; }
.page-hero--plain { background: var(--ink); }
.page-hero--plain .wrap { padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs span[aria-hidden] { color: var(--amber); }
@media (min-width: 1024px) { .page-hero .wrap { padding-block: 200px 88px; } }

/* ---------- Abschnitte ---------- */
.section { padding-block: 88px; }
.section--dark { background: var(--ink); color: var(--white); }
.section--sand { background: var(--sand); }
@media (min-width: 640px) { .section { padding-block: 128px; } }
.section-head { display: grid; gap: 28px; margin-bottom: 56px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(3.25rem, 8vw, 6rem); line-height: .9; letter-spacing: -0.02em; margin-top: 20px; }
.section-head > p { max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: var(--muted); }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: .9fr 1.1fr; align-items: end; }
  .section-head > p { justify-self: end; }
}

/* ---------- Leistungskarten (Startseite) ---------- */
.service-grid { display: grid; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 390px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); text-decoration: none; transition: background .3s, color .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover, .service-card:focus-visible { background: var(--ink); color: var(--white); }
.service-card:hover::before, .service-card:focus-visible::before { transform: scaleX(1); }
.service-card .top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card .badge { display: grid; place-items: center; width: 56px; height: 56px; background: var(--amber); color: var(--ink); font-size: 27px; }
.service-card .count { font-family: var(--font-display); font-size: 1.5rem; color: var(--soft); }
.service-card:hover .count { color: rgb(255 255 255 / .4); }
.service-card h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 2.25rem; line-height: 1; }
.service-card p { margin-top: 18px; font-size: .875rem; line-height: 1.5rem; color: var(--muted); }
.service-card:hover p { color: var(--line); }
.service-card .more { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .55; transition: opacity .2s; }
.service-card:hover .more { opacity: 1; color: var(--amber); }
@media (min-width: 640px) { .service-card { padding: 36px; } }
@media (hover: none) { .service-card .more { opacity: 1; } }
@media (max-width: 639px) { .service-card { min-height: 0; gap: 32px; } }

.tag-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .875rem; font-weight: 600; color: var(--muted); }
.tag-row a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.tag-row a::before { content: ""; width: 6px; height: 6px; background: var(--gold); }
.tag-row a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Meisterbetrieb ---------- */
.split { display: grid; gap: 64px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; } }
.framed { position: relative; padding: 0 20px 48px 0; }
.framed .corner { position: absolute; left: -16px; top: -16px; width: 160px; height: 160px; border-left: 1px solid rgb(251 191 36 / .5); border-top: 1px solid rgb(251 191 36 / .5); }
.framed img { position: relative; z-index: 1; width: 100%; height: 460px; object-fit: cover; }
.framed .note { position: absolute; right: 0; bottom: 0; z-index: 2; max-width: 270px; background: var(--amber); color: var(--ink); padding: 28px; }
.framed .note .icon { font-size: 34px; }
.framed .note p { margin-top: 18px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.875rem; line-height: 1; }
@media (min-width: 640px) { .framed { padding-right: 48px; } .framed img { height: 640px; } .framed .note { padding: 36px; } }
.split h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(3.25rem, 8vw, 6rem); line-height: .88; margin-top: 20px; }
.split .body { margin-top: 32px; max-width: 36rem; font-size: 1.125rem; line-height: 2rem; color: var(--on-dark); }
.values { margin-top: 48px; border-top: 1px solid rgb(255 255 255 / .15); }
.values > div { display: grid; gap: 10px; padding-block: 24px; border-bottom: 1px solid rgb(255 255 255 / .15); }
.values .n { font-family: var(--font-display); font-size: 1.25rem; color: var(--amber); }
.values h3 { font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.values p { font-size: .875rem; line-height: 1.5rem; color: var(--soft); }
@media (min-width: 640px) { .values > div { grid-template-columns: 52px 190px 1fr; } }
.section--light .values { border-color: var(--line); }
.section--light .values > div { border-color: var(--line); }
.section--light .values p { color: var(--muted); }
.section--light .values .n { color: var(--gold); }

/* ---------- Bildraster ---------- */
.mosaic { display: grid; gap: 16px; grid-auto-rows: 300px; }
@media (min-width: 768px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 270px; }
  .mosaic .m-1 { grid-column: span 7; grid-row: span 2; }
  .mosaic .m-2, .mosaic .m-3 { grid-column: span 5; }
}
.tile { position: relative; overflow: hidden; display: block; text-decoration: none; color: var(--white); background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 10 9 / .8), transparent 55%); }
.tile figcaption, .tile .cap { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; }
.tile .cap span { display: block; margin-bottom: 6px; color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tile .cap strong { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.head-row { display: flex; flex-direction: column; gap: 32px; margin-bottom: 56px; }
@media (min-width: 1024px) { .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.head-row h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(3.25rem, 8vw, 6rem); line-height: .9; margin-top: 20px; }

/* ---------- Notfall-Band ---------- */
.alert-band { background: var(--ink-2); color: var(--white); }
.alert-band .wrap { display: grid; gap: 24px; padding-block: 44px; }
.alert-band h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.alert-band p { color: var(--soft); margin-top: 10px; max-width: 40rem; }
.alert-band .nums { display: flex; flex-wrap: wrap; gap: 12px; }
.alert-band .nums a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgb(255 255 255 / .25); padding: 14px 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.alert-band .nums a:hover { border-color: var(--amber); color: var(--amber); }
@media (min-width: 1024px) { .alert-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Kontakt-Bereich (gelb) ---------- */
.contact-cta { position: relative; overflow: hidden; background: var(--amber); color: var(--ink); }
.contact-lines { position: absolute; inset: 0; opacity: .2; background-image: repeating-linear-gradient(115deg, transparent 0, transparent 84px, rgb(12 10 9 / .32) 85px, transparent 86px); }
.contact-cta .wrap { position: relative; display: grid; gap: 64px; }
@media (min-width: 1024px) { .contact-cta .wrap { grid-template-columns: 1.25fr .75fr; } }
.contact-cta .kicker { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.contact-cta h2 { margin-top: 28px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(4rem, 10vw, 9rem); line-height: .95; letter-spacing: -0.04em; max-width: 56rem; }
.contact-cta .intro { margin-top: 36px; max-width: 36rem; font-size: 1.125rem; font-weight: 500; line-height: 2rem; }
.contact-box { align-self: end; background: var(--ink); color: var(--white); padding: 28px; }
@media (min-width: 640px) { .contact-box { padding: 40px; } }
.contact-box .label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.contact-box a.row { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid rgb(255 255 255 / .2); padding-block: 22px; font-weight: 700; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.contact-box a.row:first-of-type { margin-top: 10px; font-size: 1.375rem; }
.contact-box a.row:hover { color: var(--amber); }
.contact-box a.row .icon { font-size: 27px; }
.contact-box .addr { margin-top: 26px; display: flex; gap: 20px; font-size: .875rem; line-height: 1.5rem; color: var(--line); }
.contact-box .addr .icon { font-size: 26px; }
.contact-box address { font-style: normal; }

/* ---------- Leistungsübersicht ---------- */
.group { padding-block: 72px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.group:first-of-type { border-top: 0; padding-top: 0; }
.group-head { display: grid; gap: 18px; margin-bottom: 36px; }
.group-head .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.group-head h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: .92; }
.group-head p { color: var(--muted); max-width: 40rem; font-size: 1.0625rem; }
@media (min-width: 1024px) { .group-head { grid-template-columns: 90px 1fr 1fr; align-items: end; gap: 32px; } }
.card-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-2); text-decoration: none; transition: border-color .2s, transform .2s; min-width: 0; }
.card:hover { border-color: var(--ink); }
.card .img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .img img { transform: scale(1.04); }
.card .txt { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.875rem; line-height: 1; }
.card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card:hover .more { color: var(--gold); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 64px; }
.jump a { padding: 10px 16px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; background: var(--white); }
.jump a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ---------- Leistungs-Detailseite ---------- */
.detail { display: grid; gap: 56px; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; align-items: start; } }
.prose { max-width: 44rem; min-width: 0; }
.prose > * + * { margin-top: 22px; }
.prose p { font-size: 1.0625rem; line-height: 1.85; color: #292524; }
.prose h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; margin-top: 48px; }
.prose h3 { font-size: 1rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 36px; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.prose ul li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.prose ul li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--gold); }
.prose ul.cols { grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 640px) { .prose ul.cols { grid-template-columns: 1fr 1fr; } }
.prose .callout { background: var(--sand); padding: 24px 26px; border-left: 3px solid var(--gold); font-size: .95rem; line-height: 1.7; }
.prose figure { margin: 40px 0 0; }
.prose figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.prose figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted-2); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .aside { position: sticky; top: 24px; } }
.aside .contact-box { align-self: auto; }
.aside .contact-box h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 2.25rem; line-height: .95; margin-top: 14px; }
.aside .contact-box p { color: var(--soft); font-size: .9rem; margin-top: 12px; }
.aside .contact-box a.row:first-of-type { margin-top: 14px; font-size: 1.25rem; }
.aside .contact-box a.row { padding-block: 16px; font-size: .95rem; }
.aside .contact-box .btn { margin-top: 22px; width: 100%; justify-content: space-between; }
.related { border: 1px solid var(--line); background: var(--white); padding: 24px; }
.related h2 { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.related ul { list-style: none; margin: 8px 0 0; padding: 0; }
.related a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.related li:last-child a { border-bottom: 0; }
.related a:hover { color: var(--gold); }
.related a[aria-current="page"] { color: var(--muted-2); }
.pager { margin-top: 72px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: grid; gap: 6px; padding: 22px 24px; background: var(--paper); text-decoration: none; }
.pager a:hover { background: var(--ink); color: var(--white); }
.pager small { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.pager strong { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.pager .next { text-align: right; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 2px solid var(--amber); outline-offset: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; font-weight: 600; border-left: 3px solid var(--gold); background: var(--amber-wash); }
.form-status.ok { border-color: #3f7d3a; background: #eef6ec; }
.form-status.err { border-color: #b42318; background: #fdecea; }
.req { color: #b42318; }

.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: start; } }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--gold); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 48rem; }
.legal h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 2.25rem; line-height: 1; margin-top: 56px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: .95rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-top: 30px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.8; color: #292524; }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; }
.legal a { overflow-wrap: anywhere; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.credits { margin-top: 18px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.credit { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--white); padding: 12px; }
.credit img { width: 88px; height: 62px; object-fit: cover; }
.credit .t { font-size: .85rem; line-height: 1.5; min-width: 0; }
.credit .t strong { display: block; font-size: .9rem; }
.credit .t span { color: var(--muted); }
.credit .t a { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer .wrap { padding-block: 56px 40px; }
.foot-top { display: grid; gap: 40px; border-bottom: 1px solid rgb(255 255 255 / .15); padding-bottom: 40px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.2fr 1fr 1fr auto; gap: 56px; align-items: start; } }
.foot-logo { width: 260px; filter: brightness(0) invert(1); }
.foot-top .tagline { margin-top: 16px; font-size: .875rem; color: var(--soft); display: grid; gap: 4px; }
.foot-col h2 { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--line); }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--amber); }
.foot-col address { font-style: normal; font-size: .9rem; line-height: 1.7; color: var(--line); }
.to-top { display: inline-flex; align-items: center; gap: 16px; font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.to-top .ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); transform: rotate(-90deg); transition: border-color .2s, color .2s; font-size: 18px; }
.to-top:hover .ring { border-color: var(--amber); color: var(--amber); }
.foot-bottom { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; font-size: .78rem; color: var(--muted-2); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--white); }
@media (min-width: 640px) { .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .menu-toggle, .alert-band, .contact-cta, .aside .btn { display: none !important; }
  .page-hero, .hero { color: #000; background: none; }
  .page-hero > img, .hero > img, .hero-overlay, .wood-grid { display: none; }
}
