/*
Theme Name: Sylt Holz & Anthrazit
Theme URI: https://example.com/sylt-holz-anthrazit
Author: Lovable
Author URI: https://lovable.dev
Description: Elegantes Ferien-Theme im Stil von sylter-wohnlust.de – warme Holztöne, Anthrazit-Akzente, großzügige Bildwelt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sylt-holz-anthrazit
Tags: custom-logo, custom-menu, featured-images, translation-ready, blog, portfolio
*/

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --wood-50:  #f7f1e8;
  --wood-100: #ecdfc9;
  --wood-200: #d9bf94;
  --wood-400: #b08858;
  --wood-500: #8f6a3f;
  --wood-700: #5a4025;
  --anthracite-900: #1f2327;
  --anthracite-800: #2a2f34;
  --anthracite-700: #3a4046;
  --anthracite-500: #5b636b;
  --anthracite-300: #a7adb3;
  --paper: #faf7f2;
  --line: rgba(31, 35, 39, 0.12);
  --shadow-soft: 0 20px 60px -20px rgba(31, 35, 39, 0.25);
  --shadow-card: 0 8px 24px -12px rgba(31, 35, 39, 0.35);
  --radius: 4px;
  --container: 1200px;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--anthracite-900); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wood-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--anthracite-900);
  margin: 0 0 .6em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wood-500);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--anthracite-900);
  background: var(--anthracite-900); color: var(--paper);
  border-radius: var(--radius); cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--wood-500); border-color: var(--wood-500); color: #fff; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(250,247,242,.7); }
.btn--ghost:hover { background: var(--paper); color: var(--anthracite-900); border-color: var(--paper); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: var(--container); margin: 0 auto;
}
.site-brand {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 500;
  letter-spacing: .01em;
}
.site-brand span { color: var(--wood-500); font-style: italic; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 32px;
}
.primary-nav a {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--anthracite-700);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--wood-500); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--anthracite-900); margin: 5px auto; }

@media (max-width: 820px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 24px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 18px; }
  .nav-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  color: var(--paper);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31,35,39,.25) 0%, rgba(31,35,39,.75) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 120px 24px;
  width: 100%;
}
.hero .eyebrow { color: var(--wood-100); }
.hero h1 { color: var(--paper); max-width: 14ch; }
.hero p { max-width: 46ch; font-size: 1.15rem; color: rgba(250,247,242,.9); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--dark { background: var(--anthracite-900); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--wood { background: linear-gradient(180deg, var(--wood-50), var(--paper)); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head p { color: var(--anthracite-500); font-size: 1.05rem; }

/* Highlights grid */
.highlights {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.highlight-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .35s ease, box-shadow .35s ease;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.highlight-card__media { aspect-ratio: 4/3; overflow: hidden; }
.highlight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.highlight-card:hover .highlight-card__media img { transform: scale(1.06); }
.highlight-card__body { padding: 28px; }
.highlight-card__body h3 { margin-bottom: .35em; }
.highlight-card__meta {
  display: flex; gap: 16px; margin-top: 16px;
  font-size: 13px; color: var(--anthracite-500); letter-spacing: .04em;
}
.highlight-card__meta span::before { content: "· "; color: var(--wood-400); }
.highlight-card__meta span:first-child::before { content: ""; }

/* Split feature */
.split {
  display: grid; gap: 60px;
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* CTA */
.cta-band {
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 24px;
  background: var(--anthracite-900) url("assets/hero.jpg") center/cover;
  background-blend-mode: overlay;
  color: var(--paper);
}
.cta-band h2 { color: var(--paper); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--anthracite-900); color: var(--anthracite-300);
  padding: 72px 0 32px;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--wood-200); }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: var(--paper); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--wood-200); margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,242,.1);
  margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--anthracite-500);
}

/* ============================================================
   Content pages / blog
   ============================================================ */
.entry { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.entry h1 { margin-bottom: .4em; }
.entry-meta { color: var(--anthracite-500); font-size: 14px; letter-spacing: .06em; margin-bottom: 32px; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content blockquote {
  border-left: 3px solid var(--wood-400);
  padding-left: 20px; font-family: var(--font-display); font-size: 1.4rem; color: var(--anthracite-700);
  margin: 32px 0;
}

/* Utility */
.sr-only { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
