/* Schreinerei Holzmann – Stylesheet */
:root {
  --brand: #5b3a21;        /* Nussbaum */
  --brand-dark: #3d2615;
  --accent: #c9853a;       /* Eiche / Honig */
  --accent-dark: #9a5f1f;
  --ink: #2a1f17;
  --text: #3b3029;
  --muted: #6e6157;
  --bg: #fbf8f3;
  --tint: #f2e9dc;
  --tint-2: #e9dccb;
  --dark: #241a13;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(61, 38, 21, .25), 0 2px 6px rgba(61, 38, 21, .06);
  --shadow-lg: 0 24px 50px -18px rgba(61, 38, 21, .35);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --section: clamp(64px, 10vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-weight: 750; font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 65ch; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--dark); box-shadow: 0 8px 20px -8px rgba(201, 133, 58, .7); }
.btn-primary:hover { background: #d9964b; color: var(--dark); transform: translateY(-2px); }
.btn-ghost { color: var(--white); border: 2px solid rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--brand); color: var(--white); }
.btn-dark:hover { background: var(--brand-dark); color: var(--white); transform: translateY(-2px); }

.pill {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  background: var(--tint); color: var(--brand);
}

/* Kopfzeile */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 248, 243, .82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(91, 58, 33, .1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-text { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.header-call { padding: .6rem 1rem; font-size: .95rem; }
.header-call span { display: none; }
@media (min-width: 560px) { .header-call span { display: inline; } }

/* Startbereich */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 26, 19, .35) 0%, rgba(36, 26, 19, .55) 45%, rgba(36, 26, 19, .92) 100%),
    linear-gradient(90deg, rgba(36, 26, 19, .7) 0%, rgba(36, 26, 19, 0) 70%);
}
.hero-content { padding: 140px 0 clamp(56px, 9vw, 110px); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: #f0c48f; }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 46ch; }
.hero .pill { background: rgba(255, 255, 255, .14); color: var(--white); border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Abschnitte */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; }
  .section-head h2, .section-head p { margin-bottom: 0; }
}

/* Leistungen */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--tint); color: var(--brand); margin-bottom: 1.25rem;
}
.icon svg { width: 28px; height: 28px; }
.card-accent { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%); color: rgba(255, 255, 255, .85); }
.card-accent h3 { color: var(--white); }
.card-accent p { color: rgba(255, 255, 255, .82); }
.card-accent .icon { background: rgba(255, 255, 255, .12); color: #f0c48f; }
.card-accent .pill { background: var(--accent); color: var(--dark); margin-bottom: 1rem; }

/* Bild-Text-Raster */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse .split-media { order: 2; }
}
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.img-main { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split-media.has-overlap { padding-bottom: 18%; } }
.img-overlap {
  display: none;
}
@media (min-width: 900px) {
  .img-overlap {
    display: block; position: absolute; right: -8%; bottom: 0; width: 55%;
    aspect-ratio: 4 / 3; border: 8px solid var(--tint);
  }
  .split-media.has-overlap .img-main { width: 82%; aspect-ratio: 1 / 1; }
}
.badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--white); color: var(--ink); border-radius: 14px;
  padding: .75rem 1rem; box-shadow: var(--shadow); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; gap: .6rem;
}
.badge svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; margin-top: .2rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact { background: var(--tint); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--brand); line-height: 1.1; }
.fact span { font-size: .92rem; color: var(--muted); }

.owner { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--tint-2); }
.owner-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #f0c48f; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; flex: none; }
.owner strong { display: block; color: var(--ink); }
.owner span { color: var(--muted); font-size: .95rem; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--accent); margin-bottom: 1rem;
}
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 800px) { .step:nth-child(2) { transform: translateY(2rem); } }

/* Kontakt (dunkel) */
.section-dark {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(201, 133, 58, .22), transparent 60%),
    var(--dark);
  color: rgba(255, 255, 255, .82);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #f0c48f; }
.section-dark .lead { color: rgba(255, 255, 255, .78); }
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list a, .contact-list .item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  border-radius: 16px; background: rgba(255, 255, 255, .06); color: var(--white); text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.contact-list a:hover { background: rgba(255, 255, 255, .12); color: var(--white); transform: translateX(4px); }
.contact-list svg { width: 24px; height: 24px; color: #f0c48f; flex: none; }
.contact-list small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact-list strong { font-weight: 650; word-break: break-word; }
.hours { background: rgba(255, 255, 255, .06); border-radius: var(--radius); padding: 1.75rem; }
.hours h3 { display: flex; align-items: center; gap: .6rem; }
.hours h3 svg { width: 24px; height: 24px; color: #f0c48f; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 400; vertical-align: top; }
.hours th { color: var(--white); font-weight: 600; padding-right: 1rem; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: rgba(255, 255, 255, .55); }
.hours-note { margin: 1.25rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .7); }

/* Fusszeile */
.site-footer { background: #1a120c; color: rgba(255, 255, 255, .7); padding: 4rem 0 2rem; font-size: .98rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #f0c48f; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer .logo { color: var(--white); margin-bottom: 1rem; }
.site-footer .logo-text small { color: rgba(255, 255, 255, .55); }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f0c48f; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(255, 255, 255, .55); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* Rechtstexte */
.page-head { padding: calc(72px + clamp(48px, 8vw, 96px)) 0 clamp(32px, 5vw, 56px); background: var(--tint); }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: .3em; }
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2rem; max-width: 65ch; }
.legal li { margin-bottom: .4rem; }
.legal address { font-style: normal; margin-bottom: 1em; }

/* Einblenden beim Scrollen (nur wenn das Script aktiv ist) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
