/*
Theme Name: Zirbitzblick
Theme URI: https://www.zirbitzblick.at/
Author: OpenAI
Author URI: https://openai.com/
Description: Schlankes WordPress-Theme fuer das Apartment Zirbitzblick in Zeutschach, mit Fokus auf Familien und den privaten Garten.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: zirbitzblick
*/

:root {
  --bg: #f8f5ef;
  --surface: #fffdf9;
  --text: #2b2b2b;
  --muted: #6a6a6a;
  --green: #5e7d4c;
  --green-dark: #435b35;
  --sand: #e6d8be;
  --accent: #c68642;
  --line: #e8dfd2;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(43, 43, 43, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
.site-main { display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px);
  background: rgba(248, 245, 239, 0.86); border-bottom: 1px solid rgba(232, 223, 210, 0.8);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.02em; }
.brand-badge {
  width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--green), #84a36b);
  color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px;
  border-radius: 999px; background: var(--green); color: #fff; font-weight: 700;
}
.hero { padding: 54px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: stretch; }
.hero-copy,
.hero-card,
.section-card,
.gallery-card,
.booking-card,
.faq-item,
.cta-banner {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-copy {
  padding: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,253,249,0.96));
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-copy.has-image {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,253,249,0.96)), var(--hero-bg, none) center/cover no-repeat;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px;
  background: rgba(94, 125, 76, 0.1); color: var(--green-dark); border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 12ch; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.1rem; color: #3f3f3f; max-width: 56ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px;
  border-radius: 999px; font-weight: 800; transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.96; }
.btn-primary { background: var(--green); color: #fff; }
.btn-secondary { border: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust-pill { padding: 14px; border-radius: 18px; background: rgba(230, 216, 190, 0.36); font-weight: 700; font-size: 14px; }
.hero-card { overflow: hidden; display: grid; grid-template-rows: 1.2fr auto; }
.hero-image,
.garden-visual,
.gallery-card { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-image { min-height: 360px; position: relative; }
.hero-image::after {
  content: attr(data-note); position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 12px 14px;
  border-radius: 16px; background: rgba(255,255,255,0.88); font-size: 13px; color: var(--muted);
}
.hero-image.has-photo::after { display: none; }
.hero-info { padding: 28px; display: grid; gap: 16px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 16px; border-radius: 18px; background: #faf6ef; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
section { padding: 34px 0; }
.section-head { max-width: 72ch; margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.section-card { padding: 30px; }
.garden-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.garden-visual { min-height: 420px; border-radius: var(--radius); position: relative; overflow: hidden; }
.garden-visual::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.34));
}
.garden-visual.has-photo::before { background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.38)); }
.garden-note { position: absolute; left: 22px; right: 22px; bottom: 22px; color: #fff; z-index: 1; }
.checklist { display: grid; gap: 12px; margin-top: 18px; }
.check { padding: 14px 16px; border-radius: 18px; background: #faf6ef; border: 1px solid var(--line); }
.amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.amenity { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; grid-template-rows: 280px 280px; gap: 18px; }
.gallery-card { overflow: hidden; position: relative; min-height: 220px; }
.gallery-card.large { grid-row: 1 / span 2; }
.gallery-card::after {
  content: attr(data-label); position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.88); font-weight: 700; font-size: 14px;
}
.family-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; }
.quote {
  font-size: 1.18rem; color: #3d3d3d; padding: 22px; border-left: 5px solid var(--accent);
  background: #fff8ed; border-radius: 18px; margin-top: 18px;
}
.booking-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px; }
.small { font-size: 14px; color: var(--muted); }
.faq { display: grid; gap: 16px; }
.faq-item { padding: 22px; }
.cta-banner { padding: 34px; text-align: center; background: linear-gradient(135deg, #f7efe1, #fffdf9); }
.footer { padding: 42px 0 54px; color: var(--muted); font-size: 14px; }
.footer-grid {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line);
}
.site-note {
  margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #fff8ed; border: 1px dashed #d8c19b; color: #6d5a3b;
}
@media (max-width: 980px) {
  .hero-grid,
  .garden-highlight,
  .family-grid,
  .grid-2,
  .booking-card,
  .amenities,
  .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-rows: repeat(5, 240px); }
  .gallery-card.large { grid-row: auto; }
  .trust-row,
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-copy { min-height: auto; }
}
@media (max-width: 640px) {
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero-copy,
  .section-card,
  .booking-card,
  .cta-banner,
  .hero-info { padding: 22px; }
  .trust-row,
  .hero-stats,
  .amenities { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
