/* =========================================================
   Vitali Weigandt – Tischlermeister
   Statische Marketing-Website · style.css
   Selbst gehostete System-Schriften (keine externen CDNs).
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben: 1 Markenfarbe (Holz), Neutrale, 1 Akzent */
  --holz:        #7a4a24;   /* warmes Nussbaum / Marke */
  --holz-dunkel: #4a2c14;   /* dunkles Holz, Text-auf-hell-Akzent */
  --akzent:      #b7863f;   /* messing / gebeiztes Gold */
  --sand:        #f4efe7;   /* heller Hintergrund */
  --sand-tief:   #e9e0d2;   /* Karten / Sektionen */
  --tinte:       #2b241d;   /* Haupttext */
  --tinte-weich: #5d5347;   /* Sekundärtext */
  --weiss:       #fbf9f5;
  --linie:       #d9cebb;

  --radius: 10px;
  --radius-gross: 18px;
  --schatten: 0 8px 30px rgba(74, 44, 20, 0.12);
  --schatten-tief: 0 18px 50px rgba(74, 44, 20, 0.18);

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --breite: 1160px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinte);
  background: var(--sand);
  line-height: 1.6;
  font-size: 1.0625rem;
}

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

a { color: var(--holz); text-decoration: none; }
a:hover { color: var(--holz-dunkel); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--holz-dunkel);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---------- Hilfsklassen / Layout ---------- */
.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--sand { background: var(--sand-tief); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
}

.section-head p {
  color: var(--tinte-weich);
  font-size: 1.1rem;
  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;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--holz);
  --_fg: var(--weiss);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--_bg);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--schatten);
  color: var(--_fg);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--holz-dunkel);
  border-color: var(--linie);
}
.btn--ghost:hover {
  --_bg: var(--weiss);
  border-color: var(--holz);
}

.btn--gold {
  --_bg: var(--akzent);
  --_fg: #1f1608;
}

.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Kopfzeile / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--holz-dunkel);
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.brand__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--tinte);
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover { background: var(--sand-tief); }
.nav__links a.active {
  color: var(--holz-dunkel);
  background: var(--sand-tief);
}

.nav__cta { margin-left: 0.5rem; }

/* Burger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--holz-dunkel);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--tinte-weich);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
}
.hero__meta div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--holz-dunkel);
}
.hero__meta div span {
  font-size: 0.9rem;
  color: var(--tinte-weich);
}

.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten-tief);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.hero__badge {
  position: absolute;
  bottom: 1.25rem; left: -1.25rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--schatten);
  max-width: 220px;
}
.hero__badge strong {
  display: block;
  font-family: var(--serif);
  color: var(--holz-dunkel);
}
.hero__badge span { font-size: 0.85rem; color: var(--tinte-weich); }

/* ---------- Leistungs-Karten ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten);
}
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sand-tief);
  color: var(--holz);
  margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--tinte-weich); margin: 0; }

/* Leistung mit Bild (Leistungen-Seite) */
.leistung {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--linie);
}
.leistung:last-child { border-bottom: 0; }
.leistung--flip .leistung__media { order: -1; }
.leistung__media img {
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.leistung__body h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.leistung__body p { color: var(--tinte-weich); }
.leistung__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.leistung__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.leistung__list li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--akzent);
  transform: rotate(45deg);
}

/* ---------- Prozess / Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
}
.step__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--akzent);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--tinte-weich); margin: 0; }

/* ---------- Über / Portrait ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media img {
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten-tief);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about__body h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.about__body p { color: var(--tinte-weich); }
.about__sign {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--holz-dunkel);
  margin-top: 1.5rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.value h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--holz-dunkel);
  margin-bottom: 0.35rem;
}
.value p { margin: 0; color: var(--tinte-weich); font-size: 0.98rem; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--holz-dunkel);
  color: var(--sand);
  border-radius: var(--radius-gross);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { color: var(--weiss); font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.4rem; }
.cta-band p { color: color-mix(in srgb, var(--sand) 80%, transparent); margin: 0; max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.info-list .info-ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--sand-tief);
  color: var(--holz);
}
.info-list .info-ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: var(--holz-dunkel); font-family: var(--serif); }
.info-list a, .info-list span { color: var(--tinte-weich); }

.form-card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--schatten);
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--holz-dunkel);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--holz); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--tinte);
  background: var(--sand);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--holz);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent);
}
.field textarea { min-height: 140px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--tinte-weich);
  margin-bottom: 1.25rem;
}
.form-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--holz); }

.form-note {
  font-size: 0.82rem;
  color: var(--tinte-weich);
  margin-top: 1rem;
}

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hinweis-Box (Datenschutz-Platzhalter) ---------- */
.callout {
  background: var(--sand-tief);
  border-left: 4px solid var(--akzent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
}
.callout strong { color: var(--holz-dunkel); }

/* ---------- Rechtstext-Seiten ---------- */
.prose {
  max-width: 72ch;
}
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.prose p, .prose li { color: var(--tinte-weich); }
.prose ul { padding-left: 1.2rem; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 1rem 0; }
.prose dt { font-weight: 600; color: var(--holz-dunkel); }
.prose dd { margin: 0; color: var(--tinte-weich); }

/* ---------- Seitenkopf (innere Seiten) ---------- */
.page-hero {
  background: var(--sand-tief);
  border-bottom: 1px solid var(--linie);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--tinte-weich); font-size: 1.15rem; max-width: 58ch; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--tinte-weich); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--holz); }

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--holz-dunkel);
  color: color-mix(in srgb, var(--sand) 85%, transparent);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 {
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer .brand__name { color: var(--weiss); }
.site-footer .brand__tag { color: var(--akzent); }
.footer-about p { color: color-mix(in srgb, var(--sand) 70%, transparent); max-width: 38ch; margin: 1rem 0 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-list a, .footer-list span { color: color-mix(in srgb, var(--sand) 80%, transparent); }
.footer-list a:hover { color: var(--weiss); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--sand) 20%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--sand) 65%, transparent);
}
.footer-bottom a { color: color-mix(in srgb, var(--sand) 80%, transparent); }

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .about { grid-template-columns: 1fr; }
  .leistung,
  .leistung--flip { grid-template-columns: 1fr; }
  .leistung--flip .leistung__media { order: 0; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--sand);
    border-bottom: 1px solid var(--linie);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    box-shadow: var(--schatten);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 0.85rem 1rem; }
  .nav__cta { margin: 0.5rem 0 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .prose dl { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .prose dt { margin-top: 0.6rem; }
}
