/*
Theme Name: Wohn-Welt Child
Template: twentytwentyfive
Description: Child-Theme für wohn-welt.org
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --ww-cream: #F7F3EE;
  --ww-warm: #FBF9F6;
  --ww-ink: #1A1A18;
  --ww-ink-50: rgba(26,26,24,0.5);
  --ww-ink-12: rgba(26,26,24,0.1);
  --ww-stone: #8B7E72;
  --ww-stone-light: #E8E0D8;
  --ww-pine: #2C3E30;
  --ww-sand: #C8A97A;
  --ww-rust: #A84E2F;
}

/* ===========================
   GLOBAL RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif !important;
  background: var(--ww-warm) !important;
  color: var(--ww-ink) !important;
  margin: 0 !important;
}

/* ===========================
   HEADER / NAV
=========================== */
.wp-block-template-part[data-slug="header"],
header.wp-block-template-part,
#masthead,
.site-header {
  display: none !important;
}

/* ===========================
   HIDE DEFAULT PAGE TITLE
=========================== */
.wp-block-post-title,
.entry-title,
h1.entry-title {
  display: none !important;
}

/* Remove default padding from main content */
.wp-site-blocks,
.is-layout-flow,
main,
.site-content,
#content,
.entry-content,
.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ===========================
   CUSTOM NAV
=========================== */
.ww-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(251,249,246,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--ww-ink-12);
}
.ww-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--ww-ink); text-decoration: none; letter-spacing: .02em;
}
.ww-nav-logo span { color: var(--ww-sand); }
.ww-nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.ww-nav-links a {
  font-size: .75rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ww-ink-50); text-decoration: none;
  transition: color .2s;
}
.ww-nav-links a:hover { color: var(--ww-ink); }
.ww-nav-btn {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--ww-pine); color: #fff;
  border: none; padding: .5rem 1.2rem;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.ww-nav-btn:hover { background: var(--ww-ink); }

/* ===========================
   HERO
=========================== */
.ww-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 72px;
}
.ww-hero-left {
  padding: 5rem 3.5rem 4rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.ww-eyebrow {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ww-sand); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .6rem;
}
.ww-eyebrow::before { content:''; display:block; width:28px; height:1px; background:var(--ww-sand); }
.ww-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400; line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--ww-ink);
}
.ww-hero-title em { font-style: italic; color: var(--ww-sand); }
.ww-hero-desc {
  font-size: .92rem; line-height: 1.78;
  color: var(--ww-ink-50); max-width: 400px; margin-bottom: 2.5rem;
}
.ww-hero-btns { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0; }
.ww-btn-solid {
  background: var(--ww-pine); color: #fff;
  padding: .8rem 1.8rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .15s;
}
.ww-btn-solid:hover { background: var(--ww-ink); transform: translateY(-1px); color: #fff; }
.ww-btn-link {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ww-ink); text-decoration: none;
  border-bottom: 1px solid var(--ww-ink-12); padding-bottom: 2px;
}
.ww-btn-link:hover { border-color: var(--ww-ink); }
.ww-hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 0.5px solid var(--ww-ink-12);
}
.ww-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 400; line-height: 1; color: var(--ww-ink);
}
.ww-stat-l {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ww-ink-50); margin-top: .2rem;
}
.ww-hero-right {
  background: var(--ww-stone-light);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 500px;
}
.ww-hero-badge {
  position: absolute; bottom: 2.5rem; right: 2.5rem;
  background: var(--ww-ink); color: #fff;
  padding: 1rem 1.25rem; text-align: center; min-width: 110px;
}
.ww-badge-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 400; display: block; line-height: 1;
}
.ww-badge-l {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: .25rem;
}
.ww-hero-tag {
  position: absolute; top: 2rem; left: 2rem;
  background: var(--ww-rust); color: #fff;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .7rem;
}
.ww-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ww-hero-img-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
  width: 100%; height: 100%; min-height: 500px;
}

/* ===========================
   TICKER
=========================== */
.ww-ticker {
  background: var(--ww-pine); padding: 1rem 3rem;
  display: flex; align-items: center; gap: 1.5rem; overflow: hidden;
}
.ww-ticker-label {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ww-sand); white-space: nowrap; flex-shrink: 0;
}
.ww-ticker-sep { width: 1px; height: 16px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.ww-ticker-track {
  display: flex; gap: 3rem;
  animation: ww-ticker 24s linear infinite; white-space: nowrap;
}
.ww-ticker-item {
  font-size: .76rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: .5rem;
}
.ww-ticker-item::before { content:'✦'; color: var(--ww-sand); font-size: .55rem; }
@keyframes ww-ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===========================
   SECTION COMMON
=========================== */
.ww-section { padding: 5.5rem 3rem; }
.ww-section.alt { background: var(--ww-cream); }
.ww-sh {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.75rem;
}
.ww-sh-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15;
  color: var(--ww-ink);
}

/* ===========================
   REVIEWS GRID (dynamic posts)
=========================== */
.ww-reviews-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1px; background: var(--ww-ink-12);
}
.ww-rcard {
  background: var(--ww-warm);
  padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem;
  transition: background .2s;
}
.ww-rcard:hover { background: var(--ww-cream); }
.ww-rcard.featured { grid-row: span 2; padding: 2.25rem; }
.ww-rcat {
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ww-sand);
}
.ww-rthumb {
  aspect-ratio: 16/9; background: var(--ww-stone-light);
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ww-rthumb img { width:100%; height:100%; object-fit:cover; display:block; }
.ww-play {
  position: absolute;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ww-ink);
  display: flex; align-items: center; justify-content: center;
}
.ww-play::after {
  content: ''; width:0; height:0;
  border-style:solid; border-width:7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.ww-rtitle {
  font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.22;
  color: var(--ww-ink); text-decoration: none;
  font-size: 1.25rem;
}
.ww-rcard.featured .ww-rtitle { font-size: 1.8rem; }
.ww-rexcerpt { font-size: .82rem; line-height: 1.72; color: var(--ww-ink-50); flex:1; }
.ww-rmeta {
  display: flex; align-items: center; gap: .75rem;
  padding-top: .75rem; border-top: 0.5px solid var(--ww-ink-12);
  margin-top: auto;
}
.ww-score-n {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; line-height: 1;
  color: var(--ww-ink);
}
.ww-score-max { font-size: .7rem; color: var(--ww-ink-50); }
.ww-bar-wrap { flex:1; }
.ww-bar { height: 3px; background: var(--ww-ink-12); position: relative; }
.ww-bar-fill { position:absolute; left:0; top:0; bottom:0; background: var(--ww-pine); }
.ww-rdate { font-size: .68rem; color: var(--ww-ink-50); white-space: nowrap; }

/* ===========================
   VIDEO GRID
=========================== */
.ww-vgrid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--ww-ink-12);
}
.ww-vcard { background: var(--ww-warm); transition: background .2s; }
.ww-vcard:hover { background: var(--ww-stone-light); }
.ww-vthumb {
  aspect-ratio: 16/9; background: #111;
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ww-vthumb img { width:100%; height:100%; object-fit:cover; display:block; opacity:.7; }
.ww-vplay {
  position: absolute;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center; z-index: 1;
  transition: border-color .2s, transform .2s;
}
.ww-vcard:hover .ww-vplay { border-color: #fff; transform: scale(1.06); }
.ww-vplay::after {
  content:''; width:0; height:0;
  border-style:solid; border-width:9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.ww-vdur {
  position:absolute; bottom:10px; right:12px;
  background: rgba(0,0,0,.7); color: #fff;
  font-size: .68rem; padding: .15rem .4rem;
}
.ww-vinfo { padding: 1.25rem 1.5rem 1.5rem; }
.ww-vcat { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ww-sand); margin-bottom: .4rem; }
.ww-vtitle {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 400;
  line-height: 1.28; color: var(--ww-ink); margin-bottom: .75rem;
  text-decoration: none; display: block;
}
.ww-vscore { display: flex; align-items: center; gap: .6rem; }
.ww-vscore-pill {
  background: var(--ww-pine); color: #fff;
  font-family: 'Playfair Display', serif; font-size: .95rem;
  padding: .15rem .55rem;
}
.ww-vscore-label { font-size: .7rem; color: var(--ww-ink-50); }

/* ===========================
   CATEGORIES
=========================== */
.ww-cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--ww-ink-12);
}
.ww-cat {
  background: var(--ww-warm); padding: 1.75rem 1.25rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  text-decoration: none; transition: background .25s;
}
.ww-cat:hover { background: var(--ww-pine); }
.ww-cat-icon { font-size: 1.4rem; opacity:.45; }
.ww-cat:hover .ww-cat-icon { opacity: .75; }
.ww-cat-n {
  font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 400;
  color: var(--ww-ink); transition: color .25s;
}
.ww-cat-c { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ww-ink-50); transition: color .25s; }
.ww-cat:hover .ww-cat-n, .ww-cat:hover .ww-cat-c { color: #fff; }

/* ===========================
   NEWSLETTER
=========================== */
.ww-nl {
  padding: 6rem 3rem; background: var(--ww-pine);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.ww-nl-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400; color: #fff; line-height: 1.18;
}
.ww-nl-title em { font-style: italic; color: var(--ww-sand); }
.ww-nl-desc { font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.5); margin-top: .9rem; }
.ww-nl-form { display: flex; flex-direction: column; gap: .85rem; }
.ww-nl-form input {
  background: rgba(255,255,255,.07); border: 0.5px solid rgba(255,255,255,.15);
  color: #fff; padding: .85rem 1.2rem;
  font-family: 'Inter', sans-serif; font-size: .88rem;
  outline: none; width: 100%;
}
.ww-nl-form input::placeholder { color: rgba(255,255,255,.28); }
.ww-nl-form button {
  background: var(--ww-sand); color: var(--ww-ink); border: none;
  padding: .85rem 1.75rem; font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; align-self: flex-start;
}
.ww-nl-form button:hover { background: var(--ww-cream); }

/* ===========================
   FOOTER
=========================== */
.wp-block-template-part[data-slug="footer"],
footer.wp-block-template-part,
#colophon,
.site-footer {
  display: none !important;
}
.ww-footer {
  padding: 2rem 3rem; border-top: 0.5px solid var(--ww-ink-12);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.ww-footer-logo { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--ww-ink); }
.ww-footer-logo span { color: var(--ww-sand); }
.ww-footer-links { display: flex; gap: 1.5rem; }
.ww-footer-links a {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ww-ink-50); text-decoration: none;
}
.ww-footer-links a:hover { color: var(--ww-ink); }
.ww-footer-copy { font-size: .7rem; color: var(--ww-ink-50); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 920px) {
  .ww-nav { padding: 1rem 1.5rem; }
  .ww-nav-links { display: none; }
  .ww-hero { grid-template-columns: 1fr; }
  .ww-hero-right { min-height: 55vw; }
  .ww-hero-left { padding: 3.5rem 1.5rem 2.5rem; }
  .ww-reviews-grid { grid-template-columns: 1fr; }
  .ww-rcard.featured { grid-row: span 1; }
  .ww-vgrid { grid-template-columns: 1fr; }
  .ww-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ww-nl { grid-template-columns: 1fr; }
  .ww-section { padding: 4rem 1.5rem; }
  .ww-ticker { padding: 1rem 1.5rem; }
  .ww-footer { flex-direction: column; align-items: flex-start; }
}
