/* ==========================================================================
   Timmerloh – Placeholder Site
   Farbpalette an alter Seite orientiert: warme Erd-/Brauntöne, Eichenholz.
   ========================================================================== */

:root {
  --c-bg:        #faf7f2;
  --c-text:      #2b2520;
  --c-muted:     #6b5e54;
  --c-accent:    #8a5a2b;   /* Logo-Braun */
  --c-accent-dk: #5b3a1e;
  --c-line:      #e3dccf;
  --c-card:      #ffffff;

  --f-display: "Caveat", "Bradley Hand", "Brush Script MT", cursive;
  --f-body:    "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a {
  color: var(--c-accent-dk);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
a:hover { border-bottom-color: var(--c-accent); }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-accent-dk);
}

/* ---------- HERO / Slider ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #1a1410;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}
.slide.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.0) 30%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 24px;
  text-align: center;
}

.logo {
  width: min(560px, 78vw);
  height: auto;
  /* Logo ist dunkelbraun auf transparent — auf Foto-Hintergrund weiß einfärben für Lesbarkeit */
  filter: brightness(0) invert(1) opacity(.95) drop-shadow(0 4px 18px rgba(0,0,0,.45));
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.slider-dots button.is-active {
  background: rgba(255,255,255,.95);
  transform: scale(1.15);
}
.slider-dots button:hover { background: rgba(255,255,255,.55); }

/* ---------- Sections ---------- */

main { background: var(--c-bg); }

section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px;
}

section h2 {
  font-size: 2rem;
  margin: 0 0 36px;
  text-align: center;
}
section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--c-accent);
  margin: 14px auto 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  font-style: normal;
  font-size: 1.1rem;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info p { margin: 0 0 16px; }
.contact-info p:last-child { margin-bottom: 0; }

.map {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map iframe {
  width: 100%;
  height: 280px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.map-link {
  font-size: .9rem;
  color: var(--c-muted);
  align-self: flex-end;
}

/* ---------- Legal Pages (Impressum / Datenschutz) ---------- */

.page-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
}
.page-header-logo {
  display: inline-block;
  border-bottom: 0;
}
.page-header-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal h1 {
  font-size: 2rem;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 36px 0 12px;
  color: var(--c-accent-dk);
}
.legal p, .legal ul { margin: 0 0 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal .back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}

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

.site-footer {
  background: #2b2520;
  color: #d6cfc4;
  padding: 48px 24px 32px;
  font-size: .9rem;
  line-height: 1.7;
}
.site-footer a { color: #f1e7d6; }
.site-footer a:hover { border-bottom-color: #f1e7d6; }

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
}
.footer-block strong { color: #fff; }
.footer-links {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}
.footer-links span { color: rgba(255,255,255,.4); }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}

/* ---------- Responsiv ---------- */

@media (max-width: 760px) {
  .hero { min-height: 480px; }
  section { padding: 64px 20px; }
  section h2 { font-size: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}
