/* ============================================================
   Bündgen Bau — Redesign-Entwurf (site-v2)
   Palette aus dem Logo: Ziegelrot / Anthrazit / warmes Papierweiß
   ============================================================ */

:root {
  --red: #a6201b;
  --red-dark: #7d1512;
  --ink: #17181a;
  --ink-soft: #2a2c2f;
  --paper: #f7f5f2;
  --paper-warm: #efeae4;
  --line: #e2ddd6;
  --text: #26272a;
  --text-mute: #6b6e73;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 24, 26, .08);
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-right: .6rem;
  vertical-align: middle;
}

.lead { font-size: 1.15rem; color: var(--text-mute); max-width: 46rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 242, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 72px;
}
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .3rem 0; border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

/* Telefon-Button im Menü: Menü-Link-Regeln neutralisieren */
.main-nav a.btn { color: #fff; padding: .68rem 1.4rem; border-bottom: 0; }
.main-nav a.btn:hover { color: #fff; }

.btn {
  display: inline-block;
  background: var(--red); color: #fff;
  font-weight: 700; text-decoration: none;
  padding: .78rem 1.5rem; border: 0; border-radius: 999px;
  font-size: .95rem; font-family: inherit; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 3px solid rgba(166, 32, 27, .35); outline-offset: 2px; }
.btn.ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1b1c1f 0%, #232528 55%, #2b1a18 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/img/hero-skizze.png") center / cover no-repeat;
  opacity: .14;
  filter: grayscale(35%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}
.hero .wrap {
  position: relative;
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
  max-width: var(--maxw);
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: rgba(255, 255, 255, .78); margin: 1.4rem 0 2.4rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero .kicker { color: #ffb3ae; }
.hero .kicker::before { background: var(--red); }

/* ---------- Sektionen ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(23, 24, 26, .12); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(140deg, var(--red), var(--red-dark));
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 24px; height: 24px; stroke: #fff; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-mute); font-size: .97rem; }

/* Über uns / Meister-Band */
.band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .75); margin-top: 1rem; }
.band .facts { display: grid; gap: 1rem; }
.fact {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}
.fact strong { display: block; font-size: 1.05rem; color: #fff; }
.fact span { color: rgba(255, 255, 255, .65); font-size: .92rem; }

/* Öffnungszeiten */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours-table th, .hours-table td {
  text-align: left; padding: .85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
}
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 600; color: var(--ink); width: 45%; }
.hours-table td { color: var(--text-mute); }
.hours-table tr.closed td { color: #b3494a; }
.hours-note {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.hours-note h3 { margin-bottom: .5rem; }
.hours-note p { color: var(--text-mute); font-size: .97rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.3rem;
}
.info-item svg { width: 22px; height: 22px; stroke: var(--red); flex-shrink: 0; margin-top: .15rem; }
.info-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); font-weight: 700; margin-bottom: .15rem; }
.info-item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.info-item a:hover { color: var(--red); }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
  display: grid; gap: 1rem;
}
.contact-form label { font-weight: 700; font-size: .88rem; display: grid; gap: .4rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(166, 32, 27, .14);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 400; color: var(--text-mute); }
.checkbox input { margin-top: .28rem; accent-color: var(--red); }
.checkbox a { color: var(--red); }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; font-weight: 600; }
.form-status.ok { display: block; background: #eaf5ec; color: #22662e; border: 1px solid #bfe0c6; }
.form-status.err { display: block; background: #fbeaea; color: #8c1d1d; border: 1px solid #eec3c3; }
.hint { font-size: .85rem; color: var(--text-mute); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 2.2rem 0;
  font-size: .92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.site-footer img { height: 30px; }
.site-footer nav { display: flex; gap: 1.4rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-mute); }
.legal ul { padding-left: 1.3rem; margin: .5rem 0; }
.legal a { color: var(--red); }

/* ---------- Scroll-Reveal (nur mit JS aktiv, sonst alles sichtbar) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .hours-grid, .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: .5rem 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 24px; border-bottom: 0; }
  .main-nav .btn { margin: .6rem 24px; text-align: center; }
}
