/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #FAF7F2;
  --bg-alt:    #F0EAE0;
  --card:      #FFFFFF;
  --ink:       #2C2C2C;
  --ink-light: #6B6560;
  --accent:    #B89268;
  --accent-dk: #9A7A56;
  --border:    #E4DDD4;
  --shadow:    0 4px 24px rgba(44,44,44,.08);
  --radius:    14px;
  --nav-h:     86px;
  --hero-top-gap: 56px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(184,146,104,.35);
}
.btn-primary:hover { background: var(--accent-dk); box-shadow: 0 6px 24px rgba(184,146,104,.45); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-white {
  background: #fff;
  color: var(--accent-dk);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--bg-alt); }

/* ── Layout helpers ───────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }
.text-center { text-align: center; }

/* ── Divider ──────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
  margin: 0 auto 1.5rem;
}
.divider-left { margin-left: 0; }

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #FAF7F2;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--nav-h);
  height: var(--nav-h);
  gap: 18px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}
.nav-logo img { display: block; height: 54px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-self: center;
  list-style: none;
  margin-left: 0;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  justify-self: end;
  margin-left: 0;
}

/* ── Header-Logo: Nav-Höhe & Logo-Größe nach Breakpoint ── */
@media (min-width: 900px) {
  :root {
    --nav-h: 96px;
    --hero-top-gap: 80px;
  }
  .nav-inner { gap: 20px; }
  .nav-logo img { height: 66px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  :root { --nav-h: 106px; }
  .nav-logo img { height: 78px; }
}
@media (min-width: 1280px) {
  :root { --nav-h: 120px; }
  .nav-logo img { height: 94px; }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1.5rem 1.25rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: .5rem; width: fit-content; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + var(--hero-top-gap));
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
  background-image: url('img/header3-desktop.jpg');
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 10, 0.54);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  color: #fff;
  animation: fadeUp .7s .1s ease both;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero-title span { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
  font-style: italic;
  animation: fadeUp .7s .2s ease both;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

.hero-cta {
  animation: fadeUp .7s .3s ease both;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  animation: fadeUp .7s .45s ease both;
  cursor: pointer;
}
.hero-scroll svg { animation: bounce 1.8s infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ══════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════ */
.trust-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-light);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   LEISTUNGEN
══════════════════════════════════════════════════ */
.leistungen { background: var(--bg); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.leistung-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.leistung-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(44,44,44,.12); }

.leistung-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.leistung-title {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.4;
}
.leistung-title span {
  display: block;
  font-size: .8rem;
  font-weight: 400;
  color: var(--ink-light);
  margin-top: .25rem;
}

/* Hinweisbereich unter den Leistungskarten */
.leistungen-hinweis {
  max-width: 640px;
  margin: 2.25rem auto 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.leistungen-hinweis p {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.6;
}
.leistungen-hinweis p + p {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}

.leistungen-cta { margin-top: 2.5rem; }

/* ══════════════════════════════════════════════════
   ÜBER MICH
══════════════════════════════════════════════════ */
.about { background: var(--bg-alt); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: var(--radius);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--card);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}
.about-badge strong { font-size: 1.5rem; color: var(--accent); font-family: 'Playfair Display', serif; }
.about-badge span   { font-size: .75rem; color: var(--ink-light); }

.about-content { padding-right: 1rem; }
.about-content .section-title { margin-bottom: 1.25rem; }

.about-text { display: flex; flex-direction: column; gap: .85rem; }
.about-text p { color: var(--ink-light); }
.about-text p:last-child { font-weight: 600; color: var(--ink); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 1.75rem 0 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.about-feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   GALERIE
══════════════════════════════════════════════════ */
.galerie { background: var(--ink); padding: 5rem 0; }
.galerie .section-label { color: var(--accent); }
.galerie .section-title { color: #fff; }
.galerie .divider { background: var(--accent); }
.galerie .container { max-width: 1400px; }
.galerie-lead { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.galerie-lead a { color: var(--accent); font-weight: 600; }
.galerie-lead a:hover { text-decoration: underline; }

.slider-wrap {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.slides {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.slide {
  flex: 0 0 100%;
}
.slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .15s, transform .15s;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ══════════════════════════════════════════════════
   KONTAKT  (highlight section)
══════════════════════════════════════════════════ */
.kontakt {
  background: linear-gradient(135deg, var(--accent-dk) 0%, var(--accent) 100%);
  padding: 5rem 0;
}
.kontakt .section-label { color: rgba(255,255,255,.7); }
.kontakt .section-title { color: #fff; }
.kontakt .divider { background: rgba(255,255,255,.4); }
.kontakt .section-lead { color: rgba(255,255,255,.85); max-width: 480px; }

.kontakt-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.kontakt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.kontakt-card-icon {
  width: clamp(78px, 8vw, 104px);
  height: clamp(78px, 8vw, 104px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.34);
  box-shadow: 0 12px 30px rgba(44,44,44,.12);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  margin-bottom: .95rem;
}

.kontakt-card-icon svg {
  width: 42%;
  height: 42%;
  stroke: currentColor;
  stroke-width: 2.1;
}

.kontakt-card:hover .kontakt-card-icon {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dk);
  transform: translateY(-4px);
}

.kontakt-card h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .45rem;
  color: rgba(255,255,255,.72);
}

.kontakt-card p {
  max-width: 100%;
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.kontakt-cta { margin-top: 1rem; }

.kontakt-hinweise {
  max-width: 560px;
  margin: 2.25rem auto 0;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
}
.kontakt-hinweise p { font-size: .95rem; line-height: 1.6; }
.kontakt-hinweise p + p { margin-top: .75rem; }

/* ══════════════════════════════════════════════════
   ANFAHRT
══════════════════════════════════════════════════ */
.anfahrt { background: var(--bg); }

.anfahrt-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.anfahrt-info { padding-top: .5rem; }
.anfahrt-info .section-title { font-size: 2rem; }
.anfahrt-lead { color: var(--ink-light); margin-bottom: .5rem; }

.address-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.address-icon { font-size: 1.5rem; flex-shrink: 0; }
.address-text strong { display: block; font-size: 1rem; margin-bottom: .25rem; }
.address-text span   { font-size: .95rem; color: var(--ink-light); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════════════════════
   LEGAL
══════════════════════════════════════════════════ */
.legal {
  background: var(--bg);
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.legal-page {
  background: var(--bg);
  padding-top: var(--nav-h);
}

.legal-alt {
  background: var(--bg-alt);
}

.legal-inner {
  max-width: 900px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-card .section-title {
  margin-bottom: .75rem;
}

.legal-copy {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-copy p + p {
  margin-top: 1.35rem;
}

.legal-copy strong {
  color: var(--ink);
}

.legal-copy a {
  color: var(--accent-dk);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-copy a:hover {
  color: var(--accent);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img  {
  width: 210px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: none;
  opacity: 1;
  margin: 0 0 1.25rem;
}
.footer-brand p    { font-size: .875rem; line-height: 1.6; max-width: 260px; }
.footer-brand strong { display: block; font-size: 1rem; color: #fff; margin-bottom: .4rem; font-family: 'Playfair Display', serif; }

.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a  {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--accent);
  stroke: currentColor;
  stroke-width: 2.1;
}
.footer-address { padding-top: .25rem; color: rgba(255,255,255,.4); }

.footer-bottom {
  margin-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }

  /* Header-Logo exakt in Viewport-Mitte, Burger rechts */
  .nav-inner {
    display: flex;
    position: relative;
    justify-content: flex-end;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 1;
  }
  .nav-logo img { height: 56px; width: auto; }
  .burger {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 2;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + var(--hero-top-gap));
    padding-bottom: 3rem;
    background-image: url('img/header3-mobile.jpg');
    background-position: center center;
    background-size: cover;
  }
  .br-desk { display: none; }

  .about-inner,
  .anfahrt-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kontakt-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
  }

  .about-img-wrap img { height: 300px; }
  .about-badge { bottom: .5rem; right: .5rem; }
  .about-content { padding-right: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Footer-Brand mobil zentriert */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand img {
    width: min(230px, 78vw);
    max-width: 78vw;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 1.25rem;
    filter: none;
    opacity: 1;
  }

  .slider-btn { width: 38px; height: 38px; font-size: 1rem; }

  .map-wrap { height: 280px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .kontakt-cards { grid-template-columns: 1fr 1fr; }
}
