/* =========================================================
   Ferienwohnung Kettenbach — modernes Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --wine: #7a1220;
  --wine-dark: #4d0b12;
  --wine-light: #a83a44;
  --gold: #c9a03e;
  --cream: #faf6f0;
  --sand: #f1e9dd;
  --text: #2b2420;
  --muted: #6c635a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43,36,32,0.08);
  --shadow-strong: 0 18px 45px rgba(43,36,32,0.16);
  --maxw: 1120px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Inter', Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Fraunces', Georgia, serif;
  color: var(--wine-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1{ font-size: clamp(2rem, 4vw, 3rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.2rem; }

p{ margin: 0 0 1em; color: var(--text); }
a{ color: var(--wine); text-decoration: none; }
a:hover{ color: var(--wine-dark); text-decoration: underline; }

img{ max-width: 100%; display:block; border-radius: var(--radius); }

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

/* ---------- Header / Navigation ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,240,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(122,18,32,0.12);
}
.nav-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--wine-dark);
  text-decoration:none;
  white-space: nowrap;
}
.brand:hover{ text-decoration:none; color: var(--wine-dark); }
.brand-mark{
  width: 34px; height:34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--wine));
  flex-shrink:0;
}

nav.main-nav ul{
  list-style:none;
  display:flex;
  gap: 6px;
  margin:0; padding:0;
  flex-wrap: wrap;
}
nav.main-nav a{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  text-decoration:none;
  transition: background .2s ease, color .2s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active{
  background: var(--wine);
  color: var(--white);
}

.nav-toggle{ display:none; }
.burger{
  display:none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(122,18,32,0.2);
  background: var(--white);
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.burger span, .burger span::before, .burger span::after{
  content:"";
  display:block;
  width: 18px; height: 2px;
  background: var(--wine-dark);
  position:relative;
  transition: transform .2s ease;
}
.burger span::before{ position:absolute; top:-6px; }
.burger span::after{ position:absolute; top:6px; }

@media (max-width: 800px){
  .burger{ display:flex; }
  nav.main-nav{
    display:none;
    width:100%;
    order:3;
  }
  nav.main-nav ul{ flex-direction: column; gap:4px; padding: 10px 0; }
  .nav-toggle:checked ~ nav.main-nav{ display:block; }
  .nav-wrap{ flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  color: var(--white);
  overflow:hidden;
  min-height: 62vh;
  display:flex;
  align-items:flex-end;
  background: var(--wine-dark);
}
.hero img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: contain;
  object-position: center;
  border-radius:0;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(30,10,12,.15) 0%, rgba(30,10,12,.75) 100%);
  z-index:1;
}
.hero-content{
  position:relative; z-index:2;
  padding: 60px 24px 48px;
  max-width: var(--maxw);
  margin: 0 auto;
  width:100%;
}
.hero-content h1{ color: var(--white); }
.hero-content p{ color: rgba(255,255,255,0.9); max-width: 560px; }
.eyebrow{
  display:inline-block;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight:600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-hero{
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--sand), var(--cream));
  text-align:center;
}
.page-hero .eyebrow{ color: var(--wine); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight:600;
  font-size: .95rem;
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover{
  background: var(--wine-dark);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration:none;
}
.btn-ghost{
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.22);
  color: var(--white);
  text-decoration:none;
}
.btn-outline{
  border: 1.5px solid var(--wine);
  color: var(--wine);
  background: transparent;
}
.btn-outline:hover{
  background: var(--wine);
  color: var(--white);
  text-decoration:none;
}
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 22px; }

/* ---------- Sections ---------- */
section{ padding: 64px 0; }
.section-alt{ background: var(--sand); }
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow{ display:block; }

/* Feature grid */
.features{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align:center;
}
.feature-icon{
  width:52px; height:52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sand);
  display:flex; align-items:center; justify-content:center;
  color: var(--wine);
}
.feature-icon svg{ width:26px; height:26px; }
.feature-card h3{ margin-bottom: 6px; }
.feature-card p{ color: var(--muted); margin:0; font-size:.95rem; }

/* Gallery / Rooms */
.rooms{
  display:grid;
  gap: 40px;
}
.room{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items:center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.room:nth-child(even) .room-media{ order:2; }
.room-media img{ width:100%; height: 100%; object-fit:cover; aspect-ratio: 3/2; }
.room-thumbs{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.room-thumbs img{ aspect-ratio: 3/2; object-fit:cover; }
.room-text{ padding: 12px 8px; }
.room-text h3{ color: var(--wine); font-size:1.4rem; }
.room-text .meta{
  display:inline-block;
  font-size: .8rem;
  font-weight:600;
  letter-spacing:.04em;
  color: var(--wine);
  background: var(--sand);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
@media (max-width: 780px){
  .room, .room:nth-child(even) .room-media{ grid-template-columns: 1fr; order:0; }
}

/* Pricing */
.price-card{
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  overflow:hidden;
  border-top: 6px solid var(--wine);
}
.price-card .price-head{ padding: 28px 32px 8px; text-align:center; }
.price-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding: 16px 32px;
  border-top: 1px solid var(--sand);
}
.price-row .amount{ font-family:'Fraunces', serif; font-size:1.4rem; color: var(--wine-dark); font-weight:700; }
.price-note{
  background: var(--sand);
  padding: 16px 32px;
  font-size: .92rem;
  color: var(--muted);
}
.price-card .btn-row{ padding: 0 32px 28px; justify-content:center; }

/* Info / contact grid */
.info-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:start;
}
@media (max-width: 780px){ .info-grid{ grid-template-columns: 1fr; } }

.info-card{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-list{ list-style:none; margin:0; padding:0; }
.contact-list li{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--sand);
}
.contact-list li:last-child{ border-bottom:none; }
.contact-list .ico{ color: var(--wine); flex-shrink:0; margin-top:2px; }

.directions ol{ padding-left: 1.1em; color: var(--muted); }
.directions li{ margin-bottom: 6px; }

/* Legal pages */
.legal{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}
.legal h2{ font-size: 1.3rem; margin-top: 1.6em; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ color: var(--muted); }
.legal ul{ padding-left: 1.2em; }

/* Floor plan */
.floorplan-wrap{
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align:center;
}

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--wine-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr; } }
footer.site-footer h4{ color: var(--gold); font-size: .95rem; letter-spacing:.04em; text-transform:uppercase; font-family:'Inter',sans-serif; }
footer.site-footer p{ color: rgba(255,255,255,0.85); }
footer.site-footer a{ color: rgba(255,255,255,0.85); }
footer.site-footer a:hover{ color: var(--white); }
footer.site-footer ul{ list-style:none; padding:0; margin:0; }
footer.site-footer li{ margin-bottom: 8px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: .85rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 8px;
  color: rgba(255,255,255,0.6);
}

/* Cookie banner (simple, GDPR-friendly) */
#cookie-banner{
  position: fixed;
  left: 16px; right:16px; bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--wine-dark);
  color: #fff;
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  display:flex;
  gap: 16px;
  align-items:center;
  flex-wrap:wrap;
  z-index: 999;
}
#cookie-banner p{ margin:0; font-size:.9rem; color: rgba(255,255,255,0.9); flex:1; min-width:200px; }
#cookie-banner .btn-primary{ background: var(--gold); color: var(--wine-dark); }
#cookie-banner .btn-primary:hover{ background:#ddb956; }
#cookie-banner[hidden]{ display:none; }
