/* =====================================================================
   JUBAALU VINTAGE - MASTER STYLESHEET (Vollständig, Final & Optimiert)
   Inkl. Desktop-Chat-Look (Julia + Sprechblase) optimiert für kleine Displays
   ================================================================     */

:root {
  --sand: #e8ddc4;
  --sand-light: #f9f7f2;
  --sand-bg: #f5f0e3;
  --ink: #1a262c;
  --ink-soft: rgba(26,38,44,0.85);
  --ink-muted: rgba(26,38,44,0.65);
  --terracotta: #9a5330;
  --terracotta-hover: #7e4325;
  --denmark: #b5453b;
  --sage: #657566;
  --gold: #b38b3a;
  
  --glass-bg: rgba(255, 255, 255, 0.90);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 18px 45px -12px rgba(37,51,58,0.15);
  --glass-shadow-hover: 0 26px 60px -10px rgba(37,51,58,0.22);
  
  --max-w: 1600px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

*, *:before, *:after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  margin: 0; color: var(--ink); font-family: 'Jost', sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; max-width: 100vw;
  position: relative; background-color: #eee7d8; box-sizing: border-box;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: 
    radial-gradient(circle at 85% 15%, rgba(154,83,48,0.12) 0%, transparent 40%),
    radial-gradient(circle at 15% 75%, rgba(101,117,102,0.15) 0%, transparent 45%),
    url('../images/beach.jpeg') center 38%/cover no-repeat;
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, 
    rgba(245,240,227,0.82) 0%, 
    rgba(245,240,227,0.5) 25%, 
    rgba(245,240,227,0.45) 70%, 
    rgba(245,240,227,0.88) 100%);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.15; margin: 0; color: var(--ink);
}

.script { font-family: 'Beau Rivage', cursive; font-weight: 400; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.eyebrow {
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 2px; background: var(--terracotta); }

.glass {
  background: var(--glass-bg); backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); box-shadow: var(--glass-shadow); width: 100%; box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass:hover { box-shadow: var(--glass-shadow-hover); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Jost', sans-serif; font-weight: 600; font-size: 14px; 
  letter-spacing: 0.07em; text-transform: uppercase; padding: 14px 28px;
  border-radius: 999px; cursor: pointer; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent; outline: none; user-select: none; white-space: nowrap;
  box-sizing: border-box; max-width: 100%;
}

.btn-primary { background: var(--ink); color: var(--sand-light); border-color: var(--ink); box-shadow: 0 8px 20px rgba(26,38,44,0.18); }
.btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(154,83,48,0.28); }

.btn-outline { background: rgba(255,255,255,0.9); color: var(--ink); border-color: rgba(26,38,44,0.3); }
.btn-outline:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26,38,44,0.12); }

.btn-terracotta { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.btn-terracotta:hover { background: var(--terracotta-hover); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(154,83,48,0.3); }

.btn-sm { padding: 9px 18px; font-size: 12.5px; }

/* Header & Navigation */
header {
  position: sticky; top: 0; z-index: 100; width: 100%; box-sizing: border-box;
  background: rgba(245, 240, 227, 0.98); backdrop-filter: blur(20px) saturate(1.3); border-bottom: 1px solid rgba(26,38,44,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; max-width: var(--max-w); margin: 0 auto; gap: 16px; width: 100%; box-sizing: border-box; }

.brand-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 70px; width: auto; max-width: 240px; object-fit: contain; mix-blend-mode: multiply; display: block; }
.logo-fallback { display: none; align-items: center; gap: 8px; }
.logo-fallback-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); color: #fff; font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.logo-fallback-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: var(--ink); }

.navlinks { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.navlinks a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; position: relative; padding: 4px 0; transition: color 0.2s ease; cursor: pointer; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--terracotta); transition: width 0.25s ease; border-radius: 2px; }
.navlinks a:hover { color: var(--terracotta); }
.navlinks a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-select { padding: 7px 12px; border-radius: 999px; font-family: 'Jost', sans-serif; font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,0.9); border: 1px solid rgba(26,38,44,0.25); cursor: pointer; outline: none; }
.btn-etsy { display: inline-flex; align-items: center; gap: 6px; font-family: 'Jost', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); border: 1.5px solid rgba(154,83,48,0.4); text-decoration: none; }
.btn-etsy:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

.mobile-drawer { position: fixed; inset: 0; z-index: 1500; width: 100vw; height: 100vh; background: rgba(26,38,44,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; text-align: center; }
.mobile-drawer li { margin: 12px 0; }
.mobile-drawer a { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 24px; text-decoration: none; }
.mobile-drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; }

/* =====================================================================
   HERO SECTION (Kompakt & Zentriert auf Desktop)
   ================================================================     */
.hero { padding: 40px 0 80px; width: 100%; background-color: var(--sand-bg); }
.hero-grid { 
  display: grid; 
  grid-template-columns: 1.15fr 1fr; 
  gap: 32px; 
  align-items: center;
  width: 100%; 
}

.hero-panel { 
  padding: 36px 40px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  width: 100%; 
  min-height: 520px;
}

.hero-tagline { font-family: 'Beau Rivage', cursive; font-size: 34px; color: var(--terracotta); margin-bottom: 2px; }
.hero-title { font-size: clamp(30px, 3.5vw, 46px); margin-bottom: 10px; }
.hero-sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

/* Untere Kennzahlen-Leiste mit automatischem Abstand nach oben */
.hero-stats { 
  display: flex; 
  justify-content: space-between; 
  gap: 14px; 
  margin-top: auto; 
  padding-top: 20px; 
  border-top: 1px solid rgba(26,38,44,0.1); 
}
.stat-item { text-align: center; }
.stat-item .num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--terracotta); line-height: 1; }
.stat-item .lbl { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; font-weight: 600; }

.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 25px 65px -15px rgba(26,38,44,0.3); width: 100%; min-height: 520px; background: #1a262c; }
.hero-visual video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-badge-floating { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 14px 18px; background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.95); display: flex; align-items: center; gap: 14px; }
.hero-badge-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

section { padding: 80px 0; width: 100%; }
.section-head { max-width: 860px; margin-bottom: 45px; width: 100%; }
.section-head h2 { font-size: clamp(30px, 3.5vw, 44px); }
.section-head p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Story & Journals (Mit 20% Transparenz & durchlaufendem Nebel-Effekt) */
.storyline-section { display: flex; flex-direction: column; gap: 32px; width: 100%; }
.team-photo-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 45px rgba(26,38,44,0.18); max-width: 1020px; width: 100%; margin: 0 auto; }
.team-photo-box img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; opacity: 0.80; transition: opacity 0.3s ease; }

/* Dynamischer Nebel-Layer über dem Teambild */
.team-photo-box::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(245,240,227,0.15) 40%, transparent 70%);
  opacity: 0.55;
  mix-blend-mode: overlay;
  animation: wanderingFog 18s linear infinite;
}

@keyframes wanderingFog {
  0% { transform: translate(-20%, -20%) scale(1); }
  50% { transform: translate(20%, 15%) scale(1.15); }
  100% { transform: translate(-20%, -20%) scale(1); }
}

.team-photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; z-index: 2; background: linear-gradient(to top, rgba(26,38,44,0.85) 0%, transparent 100%); }
.team-photo-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: #fff; }

.story-drawer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s ease, opacity 0.5s ease; width: 100%; }
.story-drawer.open { max-height: 4000px; opacity: 1; margin-top: 20px; }
.story-chapters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; width: 100%; }

/* Schlankere, fein proportionierte Kacheln für den Desktop */
.chapter-card,
.journal-block,
.chalk-item,
.warum-kreidefarbe-grid .card {
  background: rgba(255, 255, 255, 0.88);
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(154, 83, 48, 0.12);
  box-shadow: 0 12px 30px rgba(26, 38, 44, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chapter-card:hover,
.journal-block:hover,
.chalk-item:hover,
.warum-kreidefarbe-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 38, 44, 0.12);
}

.chapter-num,
.journal-block h4,
.chalk-item h3,
.chalk-item h4,
.warum-kreidefarbe-grid .card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1.2;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.journal-block p,
.chapter-card p,
.chalk-item p,
.warum-kreidefarbe-grid .card p {
  font-family: 'Jost', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.denmark-journal-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; width: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(245,240,227,0.8) 100%); border: 1px solid var(--glass-border); box-shadow: 0 20px 50px -12px rgba(26,38,44,0.18); }
.denmark-teaser-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding: 40px; }
.denmark-beach-frame { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; width: 100%; border: 2px solid #fff; }
.denmark-beach-frame img { width: 100%; height: 100%; object-fit: cover; }
.denmark-journal-drawer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s ease, opacity 0.5s ease; border-top: 1px dashed rgba(26,38,44,0.12); background: rgba(255,255,255,0.6); }
.denmark-journal-drawer.open { max-height: none !important; opacity: 1; padding: 40px; }
.journal-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 14px; }

/* Carousels & Galleries */
.ref-tabs-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.ref-tab-btn { padding: 10px 22px; border-radius: 999px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; background: rgba(255,255,255,0.75); border: 1.5px solid rgba(26,38,44,0.16); color: var(--ink); cursor: pointer; }
.ref-tab-btn.active, .ref-tab-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery-carousel-wrapper { position: relative; width: 100%; margin-top: 16px; }
.gallery-carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: none; width: 100%; }
.gallery-carousel::-webkit-scrollbar { display: none; }
.gallery-card { flex: 0 0 340px; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,0.88); border: 1px solid var(--glass-border); box-shadow: 0 14px 35px -10px rgba(26,38,44,0.18); display: flex; flex-direction: column; cursor: pointer; }
.gallery-card-img-wrap { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #dcd0bd; }
.gallery-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,0.92); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--terracotta); border: 1px solid rgba(154,83,48,0.3); }
.gallery-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.gallery-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.gallery-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.gallery-card-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 14px; }
.gallery-card-action { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--terracotta); text-transform: uppercase; }

.carousel-nav-btn { position: absolute; top: 40%; transform: translateY(-50%); z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid rgba(26,38,44,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }
.carousel-nav-prev { left: -14px; }
.carousel-nav-next { right: -14px; }

/* Farbpalette & 208 Töne */
.palette-nav-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.palette-tab-btn { padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; text-transform: uppercase; background: rgba(255,255,255,0.75); border: 1.5px solid rgba(26,38,44,0.15); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.palette-tab-btn.active, .palette-tab-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.category-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-bottom: 22px; }
.category-tile { background: rgba(255,255,255,0.85); border: 1.5px solid rgba(26,38,44,0.12); border-radius: var(--radius-md); padding: 12px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.category-tile:hover, .category-tile.active { border-color: var(--terracotta); background: #fff; }
.paint-lid-ring { width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.9); margin-bottom: 6px; display: flex; align-items: center; justify-content: center; }
.paint-lid-inner { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6); }
.category-tile-label { font-size: 12px; font-weight: 700; color: var(--ink); }

.palette-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: rgba(255,255,255,0.88); border-radius: var(--radius-md); padding: 14px 18px; border: 1px solid rgba(26,38,44,0.1); margin-bottom: 22px; }
.palette-search-box { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 240px; background: #fff; border: 1.5px solid rgba(26,38,44,0.15); border-radius: 999px; padding: 8px 18px; }
.palette-search-box input { border: none; background: transparent; outline: none; width: 100%; font-family: 'Jost', sans-serif; font-size: 14.5px; color: var(--ink); }
.pill-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-btn { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(26,38,44,0.06); border: 1px solid rgba(26,38,44,0.1); color: var(--ink); cursor: pointer; }
.pill-btn.active, .pill-btn:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

.swatch-grid-208 { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; max-height: 600px; overflow-y: auto; padding-right: 4px; }
.swatch-card-208 { background: #fff; border: 1.5px solid rgba(26,38,44,0.1); border-radius: var(--radius-md); padding: 10px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.swatch-card-208:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.swatch-color-box { height: 85px; border-radius: var(--radius-sm); position: relative; border: 1px solid rgba(0,0,0,0.06); }
.swatch-fav-btn { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-muted); }
.swatch-fav-btn:hover, .swatch-fav-btn.is-fav { color: #e53935; background: #fff; }
.swatch-meta { margin-top: 8px; text-align: left; }
.swatch-name { font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatch-hex { font-size: 10px; font-family: monospace; color: var(--ink-muted); text-transform: uppercase; }

.moodboard-swatches-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 20px 0; }
.moodboard-card { background: #fff; border-radius: var(--radius-md); padding: 14px; border: 1.5px solid rgba(26,38,44,0.1); text-align: center; position: relative; }
.moodboard-color-fill { height: 105px; border-radius: var(--radius-sm); margin-bottom: 8px; }

/* Blog & Feed Grids */
.blog-grid, .feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; width: 100%; }
.blog-card, .feed-card { background: rgba(255,255,255,0.88); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; width: 100%; box-shadow: 0 12px 30px rgba(26,38,44,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.blog-card:hover, .feed-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,38,44,0.18); }
.blog-card-img-wrap, .feed-card-img-wrap { position: relative; height: 260px; width: 100%; overflow: hidden; background: #dcd0bd; flex-shrink: 0; }
.blog-card-img, .feed-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.blog-card:hover .blog-card-img, .feed-card:hover .feed-card-img-wrap img { transform: scale(1.05); }
.feed-card-badge { position: absolute; top: 16px; left: 16px; z-index: 5; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); color: var(--terracotta); font-size: 11.5px; font-weight: 700; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.blog-card-content, .feed-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.blog-card-meta { font-size: 11.5px; color: var(--terracotta); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; display: block; }
.blog-card-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.blog-card-snippet { 
  font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; flex-grow: 1; 
  display: -webkit-box; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 
}

/* Kreidefarbe Sektion */
.chalk-box { 
  display: grid; 
  grid-template-columns: 1.1fr 1fr; 
  gap: 36px; 
  align-items: center; 
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(245,240,227,0.85) 100%); 
  padding: 44px; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--glass-border); 
}

.chalk-features,
.warum-kreidefarbe-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  margin-top: 20px; 
}

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.testi { padding: 30px 24px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; border: 1px solid rgba(26,38,44,0.12); }
.testi-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.testi-source { font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; margin: 10px 0; }
.testi p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* Kontaktformular */
.contact-wrapper { background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(245,240,227,0.75) 100%); border-radius: var(--radius-lg); border: 1px solid var(--glass-border); box-shadow: 0 25px 60px -15px rgba(26,38,44,0.2); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.contact-info-panel { background: rgba(26,38,44,0.96); color: #f5f0e3; padding: 50px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-info-panel h3 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.contact-info-panel p { color: rgba(245,240,227,0.85); font-size: 15.5px; }
.info-list { list-style: none; padding: 0; margin: 30px 0 0; }
.info-list li { display: flex; gap: 16px; margin-bottom: 20px; font-size: 15px; align-items: center; }
.info-list .ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(154,83,48,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--sand); font-size: 18px; }

.contact-form-panel { padding: 50px 42px; }
form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-group { display: flex; flex-direction: column; }
label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 6px; text-transform: uppercase; color: var(--ink-soft); }
input, textarea, select { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(26,38,44,0.2); background: rgba(255,255,255,0.95); font-family: 'Jost', sans-serif; font-size: 14.5px; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.consent { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 3px; }

/* =====================================================================
   ZENTRALER FARBEIMER HUB: Ausrollen nach links & pulsierende Wasserlilie
   ================================================================     */
.paint-hub {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
}

.paint-hub .paint-drop-item {
  opacity: 0;
  transform: translateX(30px) scale(0.6);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: static !important;
}

.paint-hub.spilled .paint-drop-item {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.paint-bucket-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--terracotta);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  animation: waterLilyGlow 3s infinite ease-in-out;
}

.paint-hub.spilled .paint-bucket-btn {
  transform: rotate(-45deg);
}

@keyframes waterLilyGlow {
  0% { box-shadow: 0 0 0 0 rgba(154, 83, 48, 0.5), 0 6px 20px rgba(0,0,0,0.2); }
  70% { box-shadow: 0 0 0 14px rgba(154, 83, 48, 0), 0 6px 20px rgba(0,0,0,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(154, 83, 48, 0), 0 6px 20px rgba(0,0,0,0.2); }
}

.hub-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}

.hub-circle-btn:hover {
  transform: scale(1.12) rotate(10deg);
}

.drop-whatsapp {
  background: #25D366 !important;
  position: relative;
  animation: whatsappPulseGlow 2.5s infinite ease-in-out;
}

.drop-whatsapp:hover {
  background: #20ba5a !important;
  transform: scale(1.1) rotate(5deg);
}

@keyframes whatsappPulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.drop-music {
  background: var(--terracotta);
}

.drop-ai {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, var(--gold) 100%) !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  animation: aiGlowPulse 3s infinite alternate;
}

@keyframes aiGlowPulse {
  0% { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3); }
  100% { box-shadow: 0 6px 25px rgba(179, 139, 58, 0.6); }
}

/* =====================================================================
   VINTAGE RADIO WIDGET
   ================================================================     */
.radio-floating-widget {
  position: fixed !important;
  bottom: 25px !important;
  left: 25px !important;
  z-index: 9998 !important;
  width: 260px !important;
  max-width: 85vw !important;
  display: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.radio-floating-widget.open {
  display: block !important;
}

.radio-container {
  position: relative !important;
  width: 100% !important;
  display: block !important;
  background: transparent !important;
}

.radio-bg-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.radio-close {
  position: absolute !important;
  top: 6px !important;
  right: 8px !important;
  background: rgba(0,0,0,0.7) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.radio-display {
  position: absolute !important;
  top: 36.5% !important;
  left: 19% !important;
  width: 37% !important;
  height: 20% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: monospace !important;
  font-size: 11px !important;
  color: #2b3a2a !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  z-index: 5 !important;
}

.radio-display marquee {
  width: 100%;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.radio-hotspot {
  position: absolute !important;
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid rgba(0,0,0,0.25) !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  color: #1a262c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25) !important;
  z-index: 10 !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.radio-hotspot:hover {
  background: #fff !important;
  transform: scale(1.1);
}

.knob-prev { 
  bottom: 23% !important; 
  left: 31% !important; 
  width: 22px !important; 
  height: 22px !important; 
  font-size: 8px !important; 
}

.knob-play { 
  bottom: 21% !important; 
  left: 46.5% !important; 
  width: 28px !important; 
  height: 28px !important; 
  font-size: 10px !important; 
  background: var(--terracotta) !important; 
  color: #fff !important; 
  border-color: var(--terracotta) !important; 
}

.knob-play:hover { 
  background: var(--terracotta-hover) !important; 
}

.knob-next { 
  bottom: 23% !important; 
  right: 31% !important; 
  width: 22px !important; 
  height: 22px !important; 
  font-size: 8px !important; 
}

/* =====================================================================
   KI-BERATERIN "JULIA" (Desktop-Layout, responsiv optimiert für kleine Displays)
   ================================================================     */
.ai-avatar-overlay {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 9998;
  display: none;
  align-items: flex-end;
  gap: 16px;
  max-width: 520px;
  width: calc(100% - 40px);
}

.ai-avatar-overlay.open {
  display: flex;
}

.ai-lady-img {
  width: 165px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.35));
  flex-shrink: 0;
  margin-bottom: 0 !important;
  display: block !important;
}

.ai-speech-bubble {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.22);
  border: 1px solid rgba(176,106,69,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.ai-bubble-header {
  padding: 12px 16px;
  background: rgba(176,106,69,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ai-chat-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

.ai-chat-messages {
  padding: 12px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.ai-msg {
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.4;
}
.ai-msg-bot { background: #f4f0eb; color: #2c221e; align-self: flex-start; }
.ai-msg-user { background: var(--terracotta); color: #fff; align-self: flex-end; }

.ai-quick-chips {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  background: #faf9f6;
}

.ai-chip {
  background: #fff;
  border: 1px solid #d4c5b9;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chip:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.ai-chat-input-bar {
  display: flex;
  padding: 8px;
  background: #fff;
  border-top: 1px solid #eee;
  align-items: center;
  gap: 6px;
}

.ai-chat-input-bar input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.ai-send-btn, .ai-upload-btn {
  background: var(--terracotta);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}
.ai-upload-btn input { display: none; }

/* Smartphone-Optimierung: Kleinere Handys skalieren den Desktop-Chat perfekt ein */
@media (max-width: 576px) {
  .ai-avatar-overlay.open {
    bottom: 80px !important;
    right: 12px !important;
    left: 12px !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    align-items: flex-end !important;
    gap: 10px !important;
  }

  .ai-lady-img {
    width: 110px !important; /* Etwas kompakter auf kleinen Displays, damit sie nicht überlappt */
  }

  .ai-speech-bubble {
    font-size: 13px;
  }

  .ai-chat-messages {
    max-height: 180px !important;
  }
}

/* Footer & Geheimer Admin-Trigger */
footer { padding: 40px 0 28px; background: rgba(26,38,44,0.96); color: #f5f0e3; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; font-size: 14px; flex-wrap: wrap; }
.foot-links a { color: rgba(245,240,227,0.85); cursor: pointer; }
.copyright { font-size: 12.5px; color: rgba(245,240,227,0.6); margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }

#secretAdminTrigger {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px !important;
  color: #fff !important;
  font-weight: 700;
  user-select: none;
  cursor: default;
  display: inline-block;
  transform: none !important;
  position: static !important;
}

/* Modals, Lightbox & Toasts */
.lightbox { position: fixed; inset: 0; background: rgba(18,24,28,0.94); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; width: 100vw; height: 100vh; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 90vw; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; }

.modal-overlay { position: fixed; inset: 0; background: rgba(18,24,28,0.68); backdrop-filter: blur(8px); z-index: 2100; display: none; align-items: center; justify-content: center; padding: 16px; width: 100vw; height: 100vh; }
.modal-overlay.open { display: flex; }
.modal { background: rgba(253,250,245,0.98); border-radius: var(--radius-lg); max-width: 740px; width: 100%; padding: 32px 24px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

.toast-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 500; z-index: 3000; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease; opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.toast-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE & MOBIL-OPTIMIERUNGS-FIXES (Header & Hero Zentrierung)
   ================================================================     */
@media(max-width: 980px) {
  .navlinks { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid, .chalk-box, .denmark-teaser-banner, .contact-grid { grid-template-columns: 1fr !important; }

  .nav {
    padding: 6px 8px !important;
    gap: 4px !important;
  }
  .logo-img {
    height: 42px !important;
    max-width: 110px !important;
  }
  .nav-right {
    gap: 3px !important;
    align-items: center !important;
  }
  .lang-select {
    padding: 4px 6px !important;
    font-size: 10.5px !important;
  }
  .nav-right button.btn-outline,
  .nav-right .btn-outline {
    padding: 4px 6px !important;
    font-size: 10.5px !important;
  }
  .btn-etsy {
    padding: 4px 6px !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }
  .btn-etsy svg {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(154, 83, 48, 0.12) !important;
    border: 1px solid rgba(154, 83, 48, 0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
  .mobile-toggle span {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    background: var(--ink) !important;
    margin: 2px auto !important;
    border-radius: 2px !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-panel,
  .hero-panel * {
    text-align: center !important;
  }

  .hero-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding: 28px 14px !important;
    box-sizing: border-box !important;
  }

  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-panel .eyebrow {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-panel .eyebrow::before {
    display: none !important;
  }

  .hero-stats {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 18px !important;
  }

  .stat-item {
    width: 100% !important;
    text-align: center !important;
  }

  .hero-stats .num {
    font-size: 28px !important;
  }
  
  .hero-stats .lbl {
    font-size: 11px !important;
    letter-spacing: 0.03em !important;
    white-space: normal !important;
  }

  .hero-visual,
  .hero-visual video,
  .hero-visual img,
  section .hero-visual {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
  }
}

/* =====================================================================
   MOBIL-FIX FÜR CONTAINER, HINTERGRUNDKASTEN & KACHELN
   ================================================================     */
@media (max-width: 768px) {
  .warum-kreidefarbe-section .container,
  .warum-kreidefarbe-section .wrap,
  section .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .warum-kreidefarbe-section .glass,
  .warum-kreidefarbe-section .chalk-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }

  .warum-kreidefarbe-grid,
  .benefits-grid,
  .features-grid,
  .chalk-features {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .warum-kreidefarbe-grid > *,
  .benefits-grid > *,
  .features-grid > *,
  .chalk-features > *,
  .chalk-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
  }

  .journal-story-grid,
  .story-chapters-grid,
  .denmark-journal-drawer .journal-story-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .journal-story-grid > *,
  .story-chapters-grid > *,
  .journal-block,
  .chapter-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 26px 20px !important;
    box-sizing: border-box !important;
  }

  .journal-block h4,
  .chapter-card .chapter-num,
  .chalk-item h3,
  .chalk-item h4,
  .warum-kreidefarbe-grid .card h3 {
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }
}