/* ============================================================
   HAUS FILOMENA — STYLE.CSS
   Struktur: Variablen → Reset → Layout → Komponenten → Responsive
   ============================================================ */

/* ── VARIABLEN ───────────────────────────────────────────── */
:root {
  /* Farben */
  --clr-bg:        #ffffff;
  --clr-bg-alt:    #ffffff;
  --clr-surface:   #ffffff;
  --clr-primary:   #111;      /* Schwarz */
  --clr-accent:    #111;      /* Schwarz */
  --clr-text:      #1e1e1e;
  --clr-text-soft: #5a5a5a;
  --clr-border:    #d8d2c8;

  /* Typo */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Georgia', serif;

  /* Maße */
  --max-w: 1100px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--clr-primary); }
a:hover { text-decoration: underline; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.site-header {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO ────────────────────────────────────────────────── */
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: bold; color: var(--clr-primary); }
.logo-sub { font-size: 12px; color: var(--clr-text-soft); letter-spacing: .5px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-nav a:hover {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-accent);
  text-decoration: none;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  overflow: hidden;
  background: #000;
  height: 380px;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px; }
.section-alt { background: var(--clr-bg-alt); }
#merkmale { background: #111; }
#merkmale .section-title { color: #fff; }
#blick { background: #fff; }
#standort { background: #111; }
#standort .section-title { color: #fff; }
#kontakt { background: #fff; }
#blick .section-title { color: #111; }
#kontakt .section-title { color: #111; }
#standort .map-address { background: rgba(255,255,255,.85); color: #111; }
.section-title {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 24px;
}

/* ── FEATURES GRID ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 28px; margin-bottom: 8px; }
.feature-icon img { width: 28px; height: 28px; display: block; }
.feature-name { font-size: 14px; font-weight: 600; color: var(--clr-text); }
.feature-detail { font-size: 12px; color: var(--clr-text-soft); margin-top: 2px; }
.feature-card .feature-name { color: #111 !important; }
.feature-card .feature-detail { color: #555 !important; }

/* ── PHOTO PREVIEW ────────────────────────────────────────── */
.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.photo-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.photo-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.preview-cta { text-align: center; }

/* ── MAP ──────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.map-wrap iframe { display: block; }
.map-address {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  z-index: 10;
  pointer-events: none;
}

/* ── KONTAKT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--clr-surface);
  border: 2px solid #111;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 28px; margin-bottom: 10px; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--clr-text-soft); margin-bottom: 6px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--clr-primary); }
.contact-card-booking { border-color: var(--clr-accent); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  border: none;
}
.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}
.btn-primary:hover {
  background: #1e4a1e;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  text-decoration: none;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.7);
  padding: 28px 24px 24px;
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}
.footer-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 13px; }

/* ── LIGHTBOX ────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  object-fit: cover;
}
#lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  color: rgba(255,255,255,.8);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}
#lightbox-close:hover { color: #fff; }
#lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 4px;
}
#lightbox-nav:hover { background: rgba(255,255,255,.22); }
#lightbox-prev { left: 12px; }
#lightbox-next { right: 12px; }

/* ── GALERIE SEITE ────────────────────────────────────────── */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.galerie-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.galerie-grid img:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ── DRUCK / IMPRESSUM ───────────────────────────────────── */
.impressum-box {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 60px;
}
.impressum-box h2 { font-size: 20px; color: var(--clr-primary); margin: 28px 0 8px; }
.impressum-box h2:first-child { margin-top: 0; }
.impressum-box p, .impressum-box li { font-size: 15px; line-height: 1.7; color: var(--clr-text); }
.impressum-box ul { padding-left: 20px; margin: 6px 0 12px; }
.impressum-box a { color: var(--clr-primary); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .logo { height: 38px; }
  .logo-name { font-size: 15px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
  .hero { height: 260px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-preview { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}