/* Holzbiene – Grundstil. Farben als Tokens, damit Anpassungen an einer Stelle passieren. */
:root {
  --bg: #fbf6ef;
  --surface: #ffffff;
  --text: #2b1d12;
  --muted: #6b5644;
  --accent: #b5651d;
  --accent-dark: #8a4a12;
  --line: #e8dccb;
  --radius: 14px;
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c140d;
    --surface: #2a1f16;
    --text: #f4e9dc;
    --muted: #c4ad96;
    --accent: #e0954f;
    --accent-dark: #f0b07a;
    --line: #3d2e21;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--text); text-decoration: none; }
.logo img { width: 44px; height: 44px; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 16px; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.hero img { border-radius: var(--radius); box-shadow: 0 20px 40px rgb(0 0 0 / .18); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); margin-left: 8px; }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 8px; }
.section-intro { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

/* Produkte */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .3s; }
.card a:hover img { transform: scale(1.03); }
.card > a { overflow: hidden; display: block; }
.tag { display: inline-block; font-size: .8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; }
.price { font-weight: 700; font-size: 1.1rem; }
.size { font-size: .9rem; color: var(--muted); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

/* Beleuchtung */
.card .material { font-size: .9rem; font-style: italic; }
.card .light-badge { margin-top: auto; padding-top: 10px; font-size: .85rem; color: var(--accent); font-weight: 600; }
.light-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.light-item { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.light-item h3 { margin: 0 0 6px; font-size: 1.1rem; }
.light-item p { margin: 0; color: var(--muted); }

/* Über mich */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.about img { border-radius: var(--radius); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* Kontakt */
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 640px; }
.contact-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 20px; }
.contact-box dt { font-weight: 600; }
.contact-box dd { margin: 0; }

/* Platzhalter-Markierung: sichtbar, damit nichts versehentlich live geht */
.todo { background: #fff3a8; color: #5a4300; padding: 0 4px; border-radius: 4px; font-size: .85em; }
@media (prefers-color-scheme: dark) { .todo { background: #5a4a10; color: #fff3a8; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 48px 0 64px; max-width: 760px; }
.legal h1 { font-family: var(--serif); }

@media (max-width: 760px) {
  .hero { padding: 40px 0; }
  .hero .container, .about { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: .95rem; }
  .btn-outline { margin: 10px 0 0; }
}
