/* Self-hosted fonts (not loaded from Google's servers) — avoids transmitting
   visitor IP addresses to a third party without consent, a common DSGVO
   compliance issue with the default Google Fonts CDN embed in Germany. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/PlayfairDisplay-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/SourceSans3-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/SourceSans3-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/SourceSans3-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/SourceSans3-Bold.woff2") format("woff2");
}

:root {
  --color-bg: #faf6ee;
  --color-bg-alt: #f1ead9;
  --color-dark: #1f2f24;
  --color-dark-alt: #16211a;
  --color-primary: #7c1f2a;
  --color-primary-dark: #5e161f;
  --color-gold: #d9ac52;
  --color-forest: #2d4a34;
  --color-text: #2a2622;
  --color-text-muted: #6b6357;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 12px 30px -12px rgba(31, 47, 36, 0.25);
  --container-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.2; color: var(--color-dark); }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.1em; }

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

/* Topbar */
.topbar {
  background: var(--color-dark-alt);
  color: #e9e3d5;
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__contact a { color: #e9e3d5; }
.topbar__contact a:hover { color: var(--color-gold); }
.icon { margin-right: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 47, 36, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-dark); }
.logo__text small { font-size: .72rem; color: var(--color-text-muted); letter-spacing: .04em; text-transform: uppercase; }

.stamp-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  background: var(--color-primary);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--color-primary);
}
.stamp-icon::before {
  content: "✉";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.stamp-icon--small { width: 26px; height: 26px; }
.stamp-icon--small::before { font-size: 12px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: var(--color-dark);
  font-weight: 600;
  font-size: .95rem;
}
.nav a:not(.btn):hover { color: var(--color-primary); }
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
/* Morph the three bars into an X when the mobile menu is open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn--ghost:hover { background: var(--color-dark); color: #fff; }
.btn--small { padding: 8px 18px; font-size: .85rem; }
.btn--block { width: 100%; text-align: center; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-bg-alt), var(--color-bg) 60%);
  overflow: hidden;
  padding: 40px 0 28px;
}
.hero__perforation {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 18px;
  background-image: radial-gradient(circle, var(--color-bg) 6px, transparent 7px);
  background-size: 24px 24px;
  background-position: center;
}
.hero__inner {
  display: flex;
  justify-content: center;
}
.hero__content { max-width: 640px; text-align: center; }
.hero__lead { margin-left: auto; margin-right: auto; }
.hero__teaser { align-items: center; }
.hero__teaser-chips { justify-content: center; }
.hero__cta { justify-content: center; }
.hero__trust { align-items: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.eyebrow--light { color: var(--color-gold); }
.hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .4em; }
.hero__lead { font-size: 1.02rem; color: var(--color-text-muted); max-width: 46ch; margin-bottom: .6em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; color: var(--color-forest); font-weight: 600; }

/* Hero price teaser */
.hero__teaser {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(31, 47, 34, 0.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 4px 0 18px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.hero__teaser-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--color-forest);
}
.hero__teaser-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chip {
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .85rem;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(31,47,34,0.08);
}
.hero__chip strong { font-family: var(--font-display); color: var(--color-dark); }
.hero__chip em { font-style: normal; color: var(--color-primary); font-weight: 700; margin-left: 4px; }
.hero__chip--muted { background: transparent; box-shadow: none; color: var(--color-text-muted); font-size: .8rem; }

/* Strip */
.strip { background: var(--color-forest); color: #fff; padding: 22px 0; }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip__item { display: flex; flex-direction: column; gap: 4px; }
.strip__item strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-gold); }
.strip__item span { font-size: .85rem; color: #dfe8e0; }

/* Sections */
.section { padding: 84px 0; }
.section--tinted { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-dark);
  color: #efe9dc;
}
.section--dark h2, .section--dark address strong { color: #fff; }
.section--dark address { color: #d8d2c4; }
.section--dark a:not(.btn) { color: var(--color-gold); }

.section__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.section__grid--reverse { grid-template-columns: 1.1fr .9fr; }
.section__intro { max-width: 70ch; color: var(--color-text-muted); }

.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-forest);
  font-weight: 700;
}

.section__text--wide { max-width: 70ch; }
.lead-in::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 700;
  float: left;
  line-height: .8;
  margin: .05em .08em 0 0;
  color: var(--color-primary);
}
.pull-quote {
  margin: 24px 0;
  padding: 20px 24px 20px 26px;
  border-left: 3px solid var(--color-forest);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.55;
}
.pull-quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Price tables */
.table-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 24px; align-items: start; }
.table-wrap--single { grid-template-columns: 1fr; }

.price-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0 4px;
  position: relative;
}
.price-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 10px;
  background-image: radial-gradient(circle, var(--color-bg-alt) 5px, transparent 5.5px);
  background-size: 16px 16px;
  background-position: center;
}
.price-card__title {
  font-size: 1.1rem;
  padding: 14px 22px 12px;
  margin: 0;
  border-bottom: 1px dashed rgba(31,47,34,0.15);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table td {
  padding: 13px 22px;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: .92rem;
  vertical-align: middle;
}
.price-table tr:first-child td { border-top: none; }
.price-table td:last-child { text-align: right; white-space: nowrap; width: 1%; }

.price-pill {
  display: inline-block;
  background: var(--color-forest);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-pill--muted { background: var(--color-bg-alt); color: var(--color-text-muted); }

.fineprint { font-size: .82rem; color: var(--color-text-muted); max-width: 80ch; margin-bottom: 24px; }

.price-table__media { display: flex; align-items: center; gap: 14px; }
.price-table__media img {
  width: 96px;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.price-table__media span { font-weight: 400; }

/* Sample gallery (Ankauf-Beispielbilder) */
.sample-gallery { margin: 8px 0 32px; }
.sample-gallery__label { font-weight: 600; color: var(--color-forest); margin-bottom: 14px; }
.sample-gallery__items { display: flex; gap: 20px; flex-wrap: wrap; }
.sample-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  width: 150px;
  text-align: center;
}
.sample-card img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 8px; }
.sample-card figcaption { font-size: .82rem; color: var(--color-text-muted); font-weight: 600; }

/* Ankauf process timeline */
.process { margin-top: 64px; }
.process__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 28px;
  text-align: center;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(12.5% + 17px);
  right: calc(12.5% + 17px);
  height: 2px;
  background-image: linear-gradient(to right, var(--color-forest) 0 6px, transparent 6px 12px);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: .5;
}
.timeline__step {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.timeline__dot {
  position: relative;
  z-index: 1;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-forest);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 0 0 6px var(--color-bg-alt);
}
.timeline__text { display: flex; flex-direction: column; gap: 2px; }
.timeline__text strong { font-family: var(--font-display); color: var(--color-dark); }
.timeline__text span { font-size: .86rem; color: var(--color-text-muted); }

/* Focus states (keyboard navigation) */
a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Contact */
address { font-style: normal; margin-top: 20px; }
.contact-actions {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn--ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--color-dark); }
.contact-actions__hours { text-align: center; font-size: .85rem; color: #d8d2c4; margin: 4px 0 0; }

/* Impressum */
.impressum { max-width: 70ch; color: var(--color-text-muted); }
.impressum p { margin-bottom: 1.1em; }
.impressum strong { color: var(--color-dark); }

/* Footer */
.site-footer { background: var(--color-dark-alt); color: #cfc9bb; padding: 32px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a,
.footer__links button {
  color: #cfc9bb;
  font-size: .88rem;
  font-family: var(--font-body);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.footer__links a:hover,
.footer__links button:hover { color: var(--color-gold); }
.footer__copy { width: 100%; text-align: center; font-size: .78rem; color: #8c866f; margin-top: 8px; }

/* Dezenter Design-Credit, unterhalb des Copyrights, mit schmaler Linie
   genau in Breite des Textes (nicht der vollen Containerbreite). */
.footer__credit { width: 100%; text-align: center; margin-top: 10px; }
.footer__credit-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(140, 134, 111, 0.35);
  font-size: .72rem;
}
.footer__credit-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #8c866f;
}
.footer__credit-inner a {
  color: #cfc9bb;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.footer__credit-inner a:hover,
.footer__credit-inner a:focus-visible { color: var(--color-gold); }

/* Modals (Impressum, Datenschutz, AGB) */
.modal {
  width: min(560px, 90vw);
  max-height: 85vh;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.35);
}
.modal::backdrop { background: rgba(22, 33, 26, 0.55); }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.modal__head h2 { margin: 0; font-size: 1.3rem; }
.modal__close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal__close:hover { color: var(--color-primary); }
.modal__body { padding: 20px 24px 26px; overflow-y: auto; max-height: calc(85vh - 70px); }
.modal__body p { color: var(--color-text-muted); margin-bottom: 1em; }
.modal__body strong { color: var(--color-dark); }

/* Back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

/* Responsive */
@media (max-width: 900px) {
  .section__grid, .section__grid--reverse { grid-template-columns: 1fr; }
  .table-wrap { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .price-table__media { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 620px) {
  .timeline { flex-direction: column; gap: 20px; align-items: flex-start; }
  .timeline::before { display: none; }
  .timeline__step { flex-direction: row; text-align: left; align-items: flex-start; gap: 14px; padding: 0; }
  .timeline__dot { flex-shrink: 0; margin-bottom: 0; box-shadow: none; }
}

@media (max-width: 760px) {
  .topbar__hours { display: none; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(280px, 80vw);
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav__cta { margin-left: 0; margin-top: 8px; }
}

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