/* ==========================================================================
   notbusch – objekteinrichtungen & feine möbel
   Basis-Stylesheet. Keine Abhängigkeiten, kein Build-Schritt.
   ========================================================================== */

:root {
  --ink: #1a1917;
  --ink-2: #3a3733;
  --muted: #6b665e;
  --paper: #faf9f7;
  --surface: #efece6;
  --surface-2: #e6e2da;
  --line: #d8d3c9;
  --brass: #8a6a32;
  --brass-dark: #6f5527;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 4vw, 3rem);

  --step-0: 1.125rem;   /* 18px Fließtext – bewusst groß für gute Lesbarkeit */
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 2.4vw, 1.95rem);
  --step-3: clamp(1.9rem, 3.4vw, 2.7rem);
  --step-4: clamp(2.3rem, 5vw, 3.6rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: Spectral, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0; }

a { color: var(--brass); }
a:hover { color: var(--brass-dark); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
  color: var(--paper);
}

/* --------------------------------------------------------------- Kopfbereich */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

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

.brand {
  text-decoration: none;
  color: var(--ink);
  display: block;
  line-height: 1.25;
}
.brand-name {
  font-family: Spectral, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  border-radius: 2px;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 1rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.site-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--brass);
}
.site-nav .nav-phone {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; flex-shrink: 0; }
  .header-inner { gap: 1rem; }
  .brand { min-width: 0; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: 0.66rem; letter-spacing: 0.09em; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.5rem 1rem;
  }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: none;
  }
  .site-nav a.is-active { border-left: 3px solid var(--brass); padding-left: 0.75rem; }
  .header-inner { flex-wrap: wrap; }
}

/* -------------------------------------------------------------------- Layout */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
  display: block;
}

.lede {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.15rem; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* --------------------------------------------------------------------- Hero */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--gap);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-img {
  width: 100%;
  height: auto;        /* sonst gewinnt das height-Attribut gegen aspect-ratio */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .hero-img { aspect-ratio: 16 / 10; }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 48px; /* großzügige Klickfläche */
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-2); color: var(--paper); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ------------------------------------------------------- Bild-Platzhalter */

.ph {
  position: relative;
  background-color: var(--surface);
  background-image:
    linear-gradient(to top right,
      transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - 0.5px), var(--line) 50%, transparent calc(50% + 0.5px));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  aspect-ratio: 4 / 3;
}
.section--surface .ph { background-color: var(--surface-2); }

.ph--wide { aspect-ratio: 16 / 10; }
.ph--tall { aspect-ratio: 3 / 4; }

.ph-label {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 90%;
}
.ph-label strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* -------------------------------------------------------------- Leistungen */

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.section--surface .card { background: var(--paper); }
.card h3 { margin-bottom: 0.9rem; }

.list-clean {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.list-clean li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 8px;
  height: 1px;
  background: var(--brass);
}

/* ---------------------------------------------------------------- Galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}
.gallery figure { margin: 0; }
/* Die Originalbilder haben sehr unterschiedliche Seitenverhältnisse
   (Hoch- und Querformat gemischt) – ein einheitlicher Zuschnitt hält
   das Raster ruhig. */
.gallery img {
  width: 100%;
  height: auto;        /* sonst gewinnt das height-Attribut gegen aspect-ratio */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery figcaption {
  margin-top: 0.8rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.gallery figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  background: var(--surface);
  border-left: 3px solid var(--brass);
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  color: var(--ink-2);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section--surface .note { background: var(--surface-2); }

/* -------------------------------------------------------------- Bewertungen */

.ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.rating-item .rating-value {
  font-family: Spectral, Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}
.rating-item .rating-source {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}
.stars { color: var(--brass); letter-spacing: 0.12em; font-size: 1.05rem; }

blockquote.quote {
  margin: 0;
  border-left: 2px solid var(--brass);
  padding-left: 1.25rem;
  font-family: Spectral, Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
}
blockquote.quote cite {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt,
.contact-list .label {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-list a { font-weight: 600; }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
.hours th,
.hours td {
  text-align: left;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:first-child th,
.hours tr:first-child td { border-top: none; }
.hours .is-closed { color: var(--muted); }

/* ----------------------------------------------------------------- Formular */

.form-field { margin-bottom: 1.35rem; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brass);
  outline: 2px solid rgba(138, 106, 50, 0.25);
  outline-offset: 0;
}

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}
.form-consent input {
  width: 22px;
  height: 22px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------- Karte */

.map-consent {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.map-consent p { color: var(--ink-2); max-width: 46ch; font-size: 1rem; }
.map-frame { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -------------------------------------------------------------- Hinweisbox */

.todo-box {
  border: 2px dashed var(--brass);
  background: #fdf8ef;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 2.5rem;
}
.todo-box h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.todo-box ul { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.todo-box li { margin-bottom: 0.4rem; }
.missing {
  background: #f6e9d2;
  border-bottom: 1px solid var(--brass);
  padding: 0.05em 0.3em;
  font-weight: 600;
}

/* ------------------------------------------------------------------- Footer */

.site-footer {
  background: var(--ink);
  color: #cfcac2;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.site-footer a { color: #e6ddcd; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-grid h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9c968c;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-brand .brand-name { color: var(--paper); font-size: 1.3rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.98rem; max-width: 34ch; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.92rem;
  color: #9c968c;
}
.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
