/* ==========================================================
   beneVitt – Stylesheet (reines HTML/CSS, ohne Bootstrap)
   Farben aus dem bestehenden Auftritt:
   Braun #624e42 · Beige #f3f3eb · Gold #d4b15a
   ========================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Variablen ---------- */
:root {
  --braun: #624e42;
  --braun-dunkel: #4a3a31;
  --beige: #f3f3eb;
  --beige-dunkel: #e8e5d8;
  --gold: #d4b15a;
  --gold-text: #9a7a35;      /* Gold mit genug Kontrast für Text */
  --text: #2a2522;
  --text-hell: #6b625b;
  --linie: #ddd6c6;
  --weiss: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;

  --breite: 1140px;
  --lesebreite: 760px;
}

/* ---------- Basis ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.125rem;      /* 18px */
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--braun); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--braun);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.6rem; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.lesebreite { max-width: var(--lesebreite); margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--braun); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--braun);
  color: #efe9df;
  font-size: .9rem;
  line-height: 1.4;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-kontakt { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header { background: var(--beige); padding: 28px 0 0; text-align: center; }
.logo { display: inline-block; }
.logo img { width: 300px; max-width: 70vw; margin: 0 auto; }
.slogan {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--braun);
  margin: 10px 0 18px;
}

/* ---------- Navigation ---------- */
.nav { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.nav li + li { border-left: 1px solid var(--linie); }
.nav a {
  display: block;
  padding: 14px 22px;
  color: var(--braun);
  text-decoration: none;
  font-size: .98rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--gold-text); }
.nav a[aria-current="page"] { color: var(--gold-text); font-weight: 600; }
.nav-toggle { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .9rem; color: var(--text-hell); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--text-hell); text-decoration: none; }
.breadcrumb a:hover { color: var(--braun); }

/* ---------- Hero ---------- */
.hero { margin-top: 14px; }
.hero img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }

/* ---------- Abschnitte ---------- */
.section { padding: 64px 0; }
.section--hell { background: var(--weiss); }
.section-kopf { text-align: center; margin-bottom: 40px; }
.section-kopf .icon { width: 64px; margin: 0 auto 16px; opacity: .85; }
.section-kopf p { color: var(--text-hell); max-width: 620px; margin: 0 auto; }
.zierlinie { width: 60px; height: 2px; background: var(--gold); border: 0; margin: 18px auto 0; }

/* ---------- Einleitung ---------- */
.intro .lead { font-size: 1.3rem; line-height: 1.55; color: var(--braun-dunkel); }
.zitat {
  margin: 2.2em 0;
  padding: 26px 30px;
  border-left: 3px solid var(--gold);
  background: var(--weiss);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--braun);
}
.zitat span { display: block; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--text-hell); margin-bottom: 8px; }
.intro h2 { font-size: 1.9rem; margin-top: 1.6em; }
.tags { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--weiss); border: 1px solid var(--linie); padding: 4px 14px; font-size: .98rem; border-radius: 999px; }

/* ---------- Objekt-Karten ---------- */
.objekte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.objekt {
  display: flex;
  align-items: flex-start;
  background: var(--weiss);
  border: 1px solid var(--linie);
}
.objekt-bild { flex: 0 0 38%; max-width: 38%; }
.objekt-bild img { display: block; width: 100%; height: auto; }
.objekt-text { flex: 1 1 auto; min-width: 0; padding: 22px 24px; }
.objekt-nr {
  font-variant-numeric: lining-nums;
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.objekt h3 { font-size: 1.45rem; margin-bottom: .45em; }
.objekt p { font-size: 1rem; line-height: 1.6; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--linie); background: transparent; }
.faq details:first-of-type { border-top: 1px solid var(--linie); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 56px 20px 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--braun);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; line-height: 30px; text-align: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--sans); font-size: 1.3rem; color: var(--gold-text);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover, .faq summary:focus-visible { color: var(--gold-text); outline: none; }
.faq-antwort { padding: 0 8px 22px; }
.faq-antwort p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--braun);
  color: #f3eee6;
  text-align: center;
  padding: 64px 0;
}
.cta h2 { color: #fff; }
.cta p { max-width: 640px; margin: 0 auto 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn {
  display: inline-block;
  min-width: 240px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.btn--voll { background: var(--gold); color: var(--braun-dunkel); }
.btn--voll:hover, .btn--voll:focus-visible { background: #e2c47a; color: var(--braun-dunkel); }
.btn--rahmen { background: transparent; color: #fff; }
.btn--rahmen:hover, .btn--rahmen:focus-visible { background: var(--gold); color: var(--braun-dunkel); }
.btn--whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366; border-color: #25d366; color: #fff;
  border-radius: 999px;
}
.btn--whatsapp:hover, .btn--whatsapp:focus-visible { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }
.btn--whatsapp svg { flex-shrink: 0; }
.cta-hinweis { font-size: .95rem; color: #d9cfc2; margin-top: 26px !important; margin-bottom: 0 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--braun-dunkel); color: #d9cfc2; font-size: .95rem; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1.35rem; color: #fff; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: #f3eee6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; }
.footer-unten { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; text-align: center; font-size: .85rem; color: #b3a89a; }


/* ---------- Themen-Abschnitte mit Slider (Uhr-Ikonen) ---------- */
.thema { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.thema + .thema { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--linie); }
.thema-nr { display: block; font-family: var(--serif); font-size: 1.3rem; font-variant-numeric: lining-nums; font-weight: 600; color: var(--gold-text); letter-spacing: .08em; margin-bottom: 4px; }
.thema h2 { margin-bottom: .6em; }
.thema-bild { position: sticky; top: 24px; }

.jahr { margin: 1.4em 0 0; padding-left: 18px; border-left: 2px solid var(--gold); }
.jahr strong { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--braun); line-height: 1.2; margin-bottom: 4px; }

/* ---------- Slider ---------- */
.slider { position: relative; background: var(--weiss); border: 1px solid var(--linie); }
.slider-spur {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slider-spur::-webkit-scrollbar { display: none; }
.slider-spur:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.slider-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--linie); background: rgba(255,255,255,.92);
  color: var(--braun); font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, opacity .2s;
}
.slider-pfeil:hover, .slider-pfeil:focus-visible { background: var(--gold); color: var(--braun-dunkel); outline: none; }
.slider-pfeil[disabled] { opacity: .35; cursor: default; background: rgba(255,255,255,.92); }
.slider-pfeil--zurueck { left: 12px; }
.slider-pfeil--vor { right: 12px; }

.slider-punkte { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.slider-punkte button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%;
  border: 1px solid var(--braun); background: transparent; cursor: pointer;
}
.slider-punkte button[aria-current="true"] { background: var(--braun); }
.slider-text { text-align: center; font-size: .9rem; color: var(--text-hell); margin: 8px 0 0; }

.fazit { text-align: center; }
.fazit p { font-size: 1.15rem; }

@media (max-width: 900px) {
  .thema { grid-template-columns: 1fr; gap: 28px; }
  .thema-bild { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
  .thema + .thema { margin-top: 48px; padding-top: 48px; }
}


/* ---------- Startseite: Überblend-Slider ---------- */
.fade-slider { position: relative; margin-top: 14px; aspect-ratio: 3 / 1; overflow: hidden; background: var(--beige-dunkel); }
.fade-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.fade-slider img.aktiv { opacity: 1; }
.fade-punkte { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.fade-punkte button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid #fff; background: rgba(255,255,255,.35);
}
.fade-punkte button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) { .fade-slider img { transition: none; } }

/* ---------- Startseite: Einleitung mit Buttons ---------- */
.start-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.btn--braun { background: var(--braun); border-color: var(--braun); color: #fff; }
.btn--braun:hover, .btn--braun:focus-visible { background: var(--braun-dunkel); border-color: var(--braun-dunkel); color: #fff; }

/* ---------- Startseite: Teaser ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teaser {
  display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--linie);
  text-decoration: none; color: var(--text);
  transition: box-shadow .25s, transform .25s;
}
.teaser:hover, .teaser:focus-visible { box-shadow: 0 10px 28px rgba(74,58,49,.14); transform: translateY(-3px); color: var(--text); }
.teaser img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.teaser-text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.teaser h3 { margin-bottom: .4em; }
.teaser p { font-size: 1rem; line-height: 1.6; margin-bottom: 1em; }
.teaser .mehr { margin-top: auto; font-weight: 600; color: var(--gold-text); }
.teaser:hover .mehr { color: var(--braun); }

/* ---------- Startseite: Vorteile ---------- */
.vorteile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.vorteil { border-top: 2px solid var(--gold); padding-top: 16px; }
.vorteil h3 { font-size: 1.35rem; margin-bottom: .35em; }
.vorteil p { font-size: 1rem; line-height: 1.6; margin: 0; color: var(--text-hell); }

/* ---------- Startseite: Spalten Leistungen / Extras / Kontakt ---------- */
.spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.spalte h3 { font-size: 1.7rem; }
.spalte p { font-size: 1rem; line-height: 1.65; }
.spalte .mehr { font-weight: 600; color: var(--gold-text); text-decoration: none; }
.spalte .mehr:hover { color: var(--braun); }

.download { text-align: center; padding: 40px 0 56px; }
.download h2 { font-size: 1.7rem; margin-bottom: .3em; }
.download a { font-weight: 600; color: var(--gold-text); }

@media (max-width: 960px) {
  .teaser-grid, .spalten { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .vorteile { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fade-slider { aspect-ratio: 16 / 9; }
  .vorteile { grid-template-columns: 1fr; }
}


/* ---------- Einzelbild in Themen-Abschnitten ---------- */
.thema-foto { background: var(--weiss); border: 1px solid var(--linie); }
.thema-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Leistungen: Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); display: flex; flex-direction: column; }
.karte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.karte-text { padding: 22px 24px 26px; }
.karte h3 { margin-bottom: .4em; }
.karte p { font-size: 1rem; line-height: 1.6; margin: 0; }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.kontakt-foto { border: 1px solid var(--linie); background: var(--weiss); }
.kontakt-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kontakt-daten address { font-style: normal; font-size: 1.15rem; line-height: 1.8; margin-bottom: 1.4em; }
.kontakt-daten .start-buttons { justify-content: flex-start; margin-top: 8px; }
.linkliste { list-style: none; padding: 0; margin: 0; }
.linkliste li { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.linkliste li:first-child { border-top: 1px solid var(--linie); }
.linkliste span { display: block; font-size: .95rem; color: var(--text-hell); }
.linkliste a { word-break: break-word; }

/* ---------- Rechtliche Seiten ---------- */
.rechtliches h2 { font-size: 1.6rem; margin-top: 1.6em; }
.rechtliches ul { padding-left: 20px; margin: 0 0 1.1em; }
.rechtliches p, .rechtliches li { font-size: 1.02rem; }

@media (max-width: 900px) {
  .karten, .kontakt-grid { grid-template-columns: 1fr; }
  .karten { max-width: 560px; margin: 0 auto; }
  .kontakt-daten .start-buttons { justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .objekte { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .topbar .container { justify-content: center; }
  .topbar-zeit { display: none; }

  .site-header { padding-top: 20px; }
  .slogan { font-size: 1.2rem; margin-bottom: 14px; }

  .nav-toggle {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px; background: none; border: 0; border-top: 1px solid var(--linie);
    font-family: var(--sans); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--braun); cursor: pointer;
  }
  .nav-toggle .balken, .nav-toggle .balken::before, .nav-toggle .balken::after {
    display: block; width: 20px; height: 2px; background: var(--braun); position: relative; content: "";
  }
  .nav-toggle .balken::before { position: absolute; top: -6px; }
  .nav-toggle .balken::after { position: absolute; top: 6px; }
  .nav { border-top: 0; }
  .nav ul { display: none; flex-direction: column; }
  .nav.offen ul { display: flex; }
  .nav li + li { border-left: 0; border-top: 1px solid var(--linie); }

  .hero img { aspect-ratio: 16 / 9; }
  .section { padding: 44px 0; }
  .zitat { padding: 20px 22px; font-size: 1.3rem; }

  .objekt { display: block; }
  .objekt-bild { max-width: none; background: var(--weiss); }
  .objekt-bild img { max-height: 70vh; object-fit: contain; }

  .faq summary { font-size: 1.2rem; padding-right: 50px; }
  .btn { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
