/* Variant 2: additive presentation layer. Original application and modal hooks preserved. */
html{height:auto!important;min-height:100%;overflow:auto!important}body{margin:0!important;height:auto!important;min-height:100vh;overflow-x:hidden!important;overflow-y:auto!important;background:#f1f5f8!important;color:#0b193a;font-family:Arial,Helvetica,sans-serif!important;padding:0!important}*{box-sizing:border-box}.v2-page{max-width:1440px;margin:auto;background:#fff;min-height:100vh}.v2-page a{text-decoration:none;color:inherit}.v2-page button{font:inherit;cursor:pointer}.v2-header{height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6edf6}.v2-brand{font-size:29px;font-weight:750;letter-spacing:-1.2px;white-space:nowrap}.v2-brand small{font-size:10px;letter-spacing:3px;margin-left:15px;vertical-align:middle}.v2-header nav{display:flex;gap:25px;align-items:center;font-size:13px}.v2-header button,.v2-footer button{border:0;background:none;color:inherit}.v2-header #v2Menu{border:1px solid #9cb6d8;border-radius:50%;width:40px;height:40px;color:#174a89;font-size:21px}.v2-menu{position:absolute;right:20px;top:70px;background:white;z-index:50;padding:16px;border:1px solid #dbe6f5;box-shadow:0 10px 35px #15264b22;border-radius:14px}.v2-menu[hidden]{display:none}.v2-menu a{display:block;padding:10px 30px}.v2-main{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 365px;column-gap:25px;padding:0 28px}.v2-hero{grid-column:1/-1;height:403px;margin:0 -28px;position:relative;background:linear-gradient(90deg,#eef8ff75,transparent 75%),url('/images/ludwigslust/schloss_real.jpg');background-size:cover;background-position:center 48%}.v2-hero-copy{padding:33px 0 0 14%;max-width:760px}.v2-eyebrow{font-size:10px!important;letter-spacing:2.4px;font-weight:700;margin:0 0 13px!important}.v2-hero h1{font-size:60px;line-height:1.03;letter-spacing:-2.5px;margin:0 0 16px;font-weight:750}.v2-hero-copy>p{font-size:22px;margin:0}.v2-hand{position:absolute;bottom:24px;left:35px;font-family:cursive;font-style:italic;color:white;font-size:21px;text-shadow:0 2px 5px #000}.v2-assistant{grid-column:2;grid-row:1/3;align-self:start;z-index:2;margin-top:78px;border:1px solid #c2d9ff;border-top:2px solid #84b1ff;border-radius:22px;background:linear-gradient(135deg,#fff,#f9fcff);padding:23px 22px 16px;box-shadow:0 8px 24px #286dde14}.v2-intro{text-align:center}.v2-orb{width:111px;height:111px;border-radius:50%;margin:0 auto 17px;background:radial-gradient(ellipse at 76% 70%,#fff0df 0,transparent 32%),radial-gradient(ellipse at 26% 24%,white,transparent 39%),conic-gradient(from 20deg,#a6c8f7,#f4f8ff,#80a8eb,#e4f3ff,#719de1,#d8e9ff,#a6c8f7);box-shadow:inset 3px 4px 8px #fff,inset -4px -5px 9px #5b8cce45,0 0 0 3px #edf5ff;position:relative;overflow:hidden}.v2-orb:after{content:'';position:absolute;width:140px;height:62px;border-bottom:9px solid #ffffff85;border-radius:50%;top:14px;left:-22px;transform:rotate(38deg);filter:blur(3px)}.v2-intro h2{font-size:25px;letter-spacing:-.9px;margin:0 0 7px}.v2-intro p{font-size:15px;margin:0;line-height:1.4}.v2-actions{display:grid;gap:11px;margin:25px 0}.v2-actions>a,.v2-actions>button{display:flex;align-items:center;gap:13px;min-height:49px;padding:10px 15px;border:1px solid #dfE8f6;background:linear-gradient(#fff,#f8fbff);border-radius:28px;color:#13274b;font-size:14px;text-align:left}.v2-actions svg{width:25px;height:25px;color:#287dff;flex:none}.v2-actions b{margin-left:auto;color:#287dff;font-size:24px;font-weight:400}.v2-sign{display:block;text-align:right;font-family:cursive;font-style:italic;font-size:17px;color:#355d98;line-height:1.05;margin-top:14px}.v2-directory{grid-column:1;padding:20px 0 0}.v2-directory h2{font-size:27px;letter-spacing:-.8px;margin:0 0 16px}.v2-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.v2-tile{display:flex;gap:13px;align-items:center;min-height:83px;padding:14px;border:1px solid #e2ebf7;border-radius:8px;background:linear-gradient(120deg,#f9fcff,#f4f8fd)}.v2-tile svg{width:33px;height:33px;color:#287dff;flex:none}.v2-tile strong{display:block;font-size:15px}.v2-tile small{display:block;font-size:11px;margin-top:6px;color:#587092}.v2-tile b{font-size:25px;color:#287dff;font-weight:400;margin-left:auto}.v2-discover{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0 0}.v2-discovery{text-align:left;padding:0 0 11px;background:#f9fbfe;color:#102245;border:1px solid #dfe8f5;border-radius:7px;overflow:hidden}.v2-photo{height:95px;background-image:url('/images/ludwigslust/schloss_real.jpg');background-size:cover;background-position:center 58%;margin-bottom:9px}.v2-photo.park{background-size:180%;background-position:0 78%}.v2-photo.detail{background-size:160%;background-position:100% 65%}.v2-discovery strong,.v2-discovery span{display:block;margin:0 14px}.v2-discovery strong{font-size:15px}.v2-discovery span{font-size:12px;margin-top:5px}.v2-discovery b{font-weight:400}.v2-footer{display:flex;align-items:center;gap:24px;padding:24px 28px 20px;font-size:10px;color:#6a7d9a}.v2-footer .v2-brand{font-size:16px;color:#112142;margin-right:auto;letter-spacing:-.4px}.v2-footer .v2-brand small{font-size:7px;letter-spacing:2px;margin-left:6px}.v2-footer em{font-family:cursive;font-size:20px;border-left:1px solid #ddd;padding-left:25px}.v2-page a:focus-visible,.v2-page button:focus-visible,.v2-page input:focus-visible{outline:3px solid #6da8ff;outline-offset:3px}.v2-tile:hover,.v2-actions>a:hover,.v2-actions>button:hover{border-color:#83b1f7;background:#eff6ff}
/* Keep one original chat form: DOM ids and events remain unchanged. */
.v2-assistant .melisa-bottom-bar{position:static!important;inset:auto!important;width:100%!important;height:auto!important;transform:none!important;padding:0!important;display:block!important;background:none!important;border:0!important;box-shadow:none!important;z-index:auto!important}.v2-assistant .melisa-bar-container{width:100%!important;max-width:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.v2-assistant .melisa-form{display:flex!important;gap:5px!important;padding:5px!important;height:55px!important;min-height:0!important;border:1px solid #dbe6f6!important;background:#fff!important;border-radius:30px!important;box-shadow:none!important}.v2-assistant .bar-left-tools{flex:none!important;gap:0!important}.v2-assistant #docUploadBtn{padding:6px!important;width:28px!important;height:34px!important;min-width:0!important;border:0!important;background:transparent!important;color:#5082b8!important;box-shadow:none!important}.v2-assistant .doc-btn-label,.v2-assistant .input-action-sep,.v2-assistant .mic-label{display:none!important}.v2-assistant #chatInput{min-width:0!important;width:0!important;flex:1!important;font-size:13px!important;padding:0 3px!important;border:0!important;background:none!important;box-shadow:none!important;color:#173055!important}.v2-assistant .bar-right-tools{flex:none!important}.v2-assistant #micBtn,.v2-assistant #sendBtn{width:43px!important;height:43px!important;min-width:0!important;padding:0!important;justify-content:center!important;align-items:center!important;background:#3986ff!important;color:white!important;border:0!important;border-radius:50%!important;box-shadow:none!important}.v2-assistant #sendBtn span{display:none!important}.corner-legal-pill,.impressum-side-tab{display:none!important}body.mirror-open .v2-assistant .melisa-bottom-bar{position:fixed!important;left:12px!important;right:12px!important;bottom:8px!important;width:auto!important;z-index:99999!important;background:#fff!important;border-radius:30px!important;padding:4px!important}body.mirror-open .v2-assistant .melisa-bar-container{max-width:900px!important;margin:auto!important}
@media(min-width:1500px){.v2-page{margin:20px auto;border-radius:12px;overflow:hidden;min-height:0;box-shadow:0 8px 40px #12324a12}}
@media(max-width:1100px) and (min-width:701px){.v2-main{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.v2-hero-copy{padding-left:6%}.v2-hero h1{font-size:49px}.v2-tiles{grid-template-columns:repeat(2,1fr)}.v2-directory h2{font-size:23px}.v2-tile{min-height:74px}.v2-footer em{display:none}.v2-brand small{display:none}}
@media(max-width:700px){.v2-page{width:100%;min-height:100vh}.v2-header{height:66px;padding:0 18px}.v2-brand{font-size:23px;letter-spacing:-.8px}.v2-brand small{font-size:7px;letter-spacing:1.5px;display:inline-block;margin-left:8px}.v2-header nav>a,.v2-header nav>button:not(#v2Menu){display:none}.v2-header #v2Menu{width:34px;height:34px;font-size:18px}.v2-main{display:flex;flex-direction:column;padding:0 16px;gap:0}.v2-hero{height:310px;margin:0 -16px;flex:none;background-position:48% center}.v2-hero-copy{padding:27px 20px 0;max-width:none}.v2-eyebrow{font-size:8px!important;letter-spacing:1.6px;margin-bottom:9px!important}.v2-hero h1{font-size:39px;letter-spacing:-1.5px;line-height:1.03;margin-bottom:9px}.v2-hero-copy>p{font-size:15px}.v2-hand{font-size:15px;bottom:34px;left:20px}.v2-assistant{align-self:stretch;margin-top:-24px;padding:16px;border-radius:18px;z-index:3}.v2-intro{display:flex;text-align:left;align-items:center;gap:13px}.v2-orb{width:51px;height:51px;flex:none;margin:0}.v2-orb:after{width:70px;height:35px;left:-8px;top:4px;border-bottom-width:5px}.v2-intro h2{font-size:18px;letter-spacing:-.5px;margin-bottom:4px}.v2-intro p{font-size:11px}.v2-actions,.v2-sign{display:none}.v2-assistant .melisa-bottom-bar{margin-top:12px!important}.v2-assistant .melisa-form{height:45px!important;padding:3px!important}.v2-assistant #micBtn,.v2-assistant #sendBtn{height:37px!important;width:37px!important}.v2-assistant #chatInput{font-size:12px!important}.v2-directory{padding-top:17px}.v2-directory h2{font-size:19px;letter-spacing:-.5px;margin-bottom:11px}.v2-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v2-tile{gap:9px;padding:11px 10px;min-height:64px}.v2-tile svg{height:24px;width:24px}.v2-tile strong{font-size:12px}.v2-tile small{font-size:9px;margin-top:4px}.v2-tile b{display:none}.v2-discover{display:block;margin-top:15px}.v2-discovery{display:block;width:100%}.v2-discovery:not(:first-child){display:none}.v2-photo{height:72px}.v2-discovery strong{font-size:14px}.v2-discovery span{font-size:11px}.v2-footer{padding:19px 16px;gap:10px;flex-wrap:wrap;font-size:9px}.v2-footer .v2-brand{width:100%;font-size:15px}.v2-footer>span{width:100%}.v2-footer em{border:0;margin-left:auto;padding:0;font-size:17px}.v2-menu{top:62px;right:12px}.v2-footer .v2-brand small{display:inline-block}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.v2-menu .city-ticker-strip{position:static!important;display:flex!important;flex-direction:column!important;width:280px!important;max-width:75vw!important;height:auto!important;min-height:90px!important;inset:auto!important;background:#f0f6ff!important;color:#193251!important;padding:12px!important;gap:10px!important}.v2-menu .ticker-wordmark{display:none!important}.v2-menu .ticker-track-container{width:100%!important;height:25px!important}.v2-menu .ticker-right-cluster{position:static!important}.v2-menu .ticker-weather-btn{color:#193251!important;background:white!important}

/* Fix desktop grid alignment */
@media(min-width:701px){
  .v2-hero { grid-row: 1 !important; }
  .v2-assistant { grid-row: 1 / 3 !important; grid-column: 2 !important; position: relative; }
}


/* ─── FLUID EXPAND WITHOUT BREAKING ARCHITECTURE ─── */
@media (min-width: 1200px) {
  /* 1. Expand horizontally to fill the lateral voids */
  body {
    background: var(--coffee-bg) !important;
  }
  
  .v2-page {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* 2. Proportional layout lift: keep exact 2-column relation */
  .v2-main {
    grid-template-columns: minmax(0, 1fr) clamp(350px, 24vw, 410px) !important;
    column-gap: clamp(24px, 2.5vw, 36px) !important;
    padding: 0 clamp(24px, 3vw, 48px) !important;
  }

  .v2-hero {
    height: clamp(300px, 34vh, 370px) !important;
    margin: 0 clamp(-24px, -3vw, -48px) !important;
  }

  /* 3. Slightly lift the assistant card to match lifted hero */
  .v2-assistant {
    margin-top: clamp(40px, 5vh, 68px) !important;
  }

  /* 4. Directory tiles (exact 3x2) */
  .v2-tiles {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  .v2-tile {
    min-height: 72px !important;
    padding: 11px 14px !important;
  }

  /* 5. Bottom 3 cards */
  .v2-discover {
    margin: 16px 0 16px !important;
    gap: clamp(14px, 1.5vw, 24px) !important;
  }

  .v2-photo {
    height: clamp(75px, 9vh, 95px) !important;
  }

  .v2-footer {
    padding: 14px clamp(24px, 3vw, 48px) 18px !important;
  }
}


/* ─── SHIFT HERO TEXT LEFT ~2CM (TO 42px) ─── */
.v2-hero-copy {
  padding-left: 42px !important;
  max-width: 650px !important;
}


/* ─── 1. EXACT VERTICAL ALIGNMENT WITH HEADER BRAND ─── */
.v2-header {
  padding-left: 42px !important;
  padding-right: 42px !important;
}

.v2-main {
  padding-left: 42px !important;
  padding-right: 42px !important;
}

.v2-hero {
  margin-left: -42px !important;
  margin-right: -42px !important;
}

.v2-hero-copy {
  padding-left: 42px !important;
  max-width: 580px !important;
}

/* ─── 2. HIGH-LEGIBILITY & PREMIUM HIGHLIGHT ON HERO TEXT ─── */
/* Soft luminous text-shadow + high contrast, so black text pops cleanly off the trees and sky */
.v2-eyebrow {
  color: #000000 !important;
  font-weight: 850 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95), 0 0 2px #ffffff !important;
}

.v2-hero h1 {
  color: #000000 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.98), 0 1px 3px rgba(255, 255, 255, 1), 0 0 24px #ffffff !important;
}

.v2-hero-copy > p {
  color: #0f172a !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.95), 0 0 2px #ffffff !important;
}

/* Subtle gradient scrim on the left of hero to gently lift the text off the photo */
.v2-hero {
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 34%, rgba(255,255,255,0.4) 55%, transparent 78%), url('/images/ludwigslust/schloss_real.jpg') !important;
  background-size: cover !important;
  background-position: center 48% !important;
}


/* ─── SHOWCASE PALACE IN FULL GLORY (CRYSTAL CLEAR) ─── */
/* 1. Clear, vibrant, unwashed palace hero */
.v2-hero {
  background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 28%, rgba(255,255,255,0.05) 45%, transparent 60%), url('/images/ludwigslust/schloss_real.jpg') !important;
  background-size: cover !important;
  background-position: center 48% !important;
}

/* 2. Soft local frosted glass backing strictly around the text block, not touching the palace! */
.v2-hero-copy {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 16px 24px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  display: inline-block !important;
  max-width: 520px !important;
  margin-left: 0 !important;
}

/* 3. Pure solid black text with crisp contrast */
.v2-eyebrow {
  color: #000000 !important;
  font-weight: 850 !important;
  letter-spacing: 2px !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

.v2-hero h1 {
  color: #000000 !important;
  font-weight: 850 !important;
  text-shadow: none !important;
  margin-bottom: 10px !important;
}

.v2-hero-copy > p {
  color: #000000 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}


/* ─── HARMONIC ELEGANT HERO TYPOGRAPHY ─── */
.v2-hero {
  /* Ultra-gentle vignette on the very left, palace stays crystal-clear */
  background: linear-gradient(90deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.3) 28%, transparent 52%), url('/images/ludwigslust/schloss_real.jpg') !important;
  background-size: cover !important;
  background-position: center 48% !important;
  padding: 28px 36px !important;
}

.v2-hero-copy {
  /* Remove heavy border box — integrate natively into the picture */
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 440px !important;
}

.v2-eyebrow {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2.2px !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  margin: 0 0 8px 0 !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9) !important;
}

.v2-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(28px, 2.6vw, 36px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.95), 0 0 2px #ffffff !important;
}

.v2-subtitle {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: #334155 !important;
  margin: 0 !important;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9) !important;
}


/* ─── ELEGANT FROSTED PILL CONTAINER & HIGH-CONTRAST TYPOGRAPHY ─── */
.v2-hero {
  /* Keep palace 100% clear and vibrant */
  background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 30%, transparent 60%), url('/images/ludwigslust/schloss_real.jpg') !important;
  background-size: cover !important;
  background-position: center 48% !important;
  padding: 32px 42px !important;
}

/* Semi-transparent rounded frosted glass card behind the text */
.v2-hero-copy {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 24px !important;
  padding: 22px 28px 20px !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), inset 0 1px 1px #ffffff !important;
  display: inline-flex !important;
  flex-direction: column !important;
  max-width: 540px !important;
  margin: 0 !important;
}

/* Category Pill Badge */
.v2-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  color: #000000 !important;
  text-transform: uppercase !important;
  margin: 0 0 10px 0 !important;
  padding: 4px 12px !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  text-shadow: none !important;
}

/* Main Headline — 1 step larger, bold, pure solid black */
.v2-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(34px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  font-weight: 850 !important;
  color: #000000 !important;
  margin: 0 0 12px 0 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Subtitle — 1 step larger, clear and readable */
.v2-subtitle {
  font-size: 16px !important;
  font-weight: 550 !important;
  line-height: 1.45 !important;
  color: #1e293b !important;
  margin: 0 !important;
  text-shadow: none !important;
}


/* ─── SNAP TEXT EDGES EXACTLY TO THE VERTICAL RED AXIS ─── */
/* 
  Header brand starts at 42px.
  Directory title starts at 42px.
  Tiles start at 42px.
  Therefore, the LETTERS of "Hier ist dein Ludwigslust" must start at EXACTLY 42px from screen edge!
*/

.v2-hero {
  padding-left: 42px !important;
}

.v2-hero-copy {
  /* Shift the frosted card left by exactly its internal padding (28px), 
     so the text inside aligns with the 42px grid axis! */
  margin-left: -28px !important;
}


/* ─── HEADER BRAND: UNABHÄNGIGES STADTPORTAL ─── */
.v2-header .v2-brand {
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 2.5px !important;
  color: #000000 !important;
  text-transform: uppercase !important;
}

/* ─── CENTERED HERO TEXT ON PALACE ─── */
.v2-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 24px !important;
  /* Balanced lighting so center palace stays clear and text is readable */
  background: radial-gradient(circle at center, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 55%, transparent 85%), url('/images/ludwigslust/schloss_real.jpg') center 48% / cover no-repeat !important;
}

.v2-hero-center {
  margin: auto !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;
  flex-direction: column !important;
  max-width: 600px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  padding: 24px 36px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.v2-hero-center h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #000000 !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
}

.v2-hero-center .v2-subtitle {
  font-size: 16px !important;
  font-weight: 550 !important;
  color: #1e293b !important;
  margin: 0 !important;
  text-align: center !important;
}


/* ─── MOVE LUDWIGSLUST BLOCK TO TOP-LEFT (RED ARROW) ─── */
.v2-hero {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 32px 42px !important;
  background: url('/images/ludwigslust/schloss_real.jpg') center 48% / cover no-repeat !important;
}

.v2-hero-center,
.v2-hero-copy {
  margin: 0 !important;
  margin-left: -24px !important;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  max-width: 480px !important;
  padding: 20px 26px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.76) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.v2-hero-center h1,
.v2-hero-copy h1 {
  text-align: left !important;
  margin: 0 0 6px 0 !important;
  font-size: clamp(34px, 3.4vw, 44px) !important;
  font-weight: 850 !important;
}

.v2-hero-center .v2-subtitle,
.v2-hero-copy .v2-subtitle {
  text-align: left !important;
  font-size: 15px !important;
}


/* ─── 10 TILES COMPLETE CATALOG (5 COLUMNS x 2 ROWS) ─── */
.v2-tiles-10 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
}

@media (max-width: 1100px) {
  .v2-tiles-10 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .v2-tiles-10 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.v2-tile {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 68px !important;
  padding: 10px 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

.v2-tile:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px) !important;
}

.v2-tile svg {
  width: 26px !important;
  height: 26px !important;
  color: #0284c7 !important;
  flex-shrink: 0 !important;
}

.v2-tile span {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.v2-tile strong {
  font-size: 13.5px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

.v2-tile small {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.v2-tile b {
  margin-left: auto !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
}

.v2-tile:hover b {
  color: #0284c7 !important;
}


/* ─── INTEGRATED BRAND & LIVE WEATHER CLUSTER ─── */
.v2-brand-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

@media (max-width: 800px) {
  .v2-brand-cluster {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
}

.v2-weather-widget {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px 4px 8px !important;
  border-radius: 9999px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.v2-weather-widget:hover {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08) !important;
}

.v2-weather-emoji {
  font-size: 14px !important;
  line-height: 1 !important;
}

.v2-weather-degrees {
  font-weight: 750 !important;
  color: #000000 !important;
  letter-spacing: -0.01em !important;
}

.v2-weather-location {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  padding-left: 4px !important;
  border-left: 1px solid #cbd5e1 !important;
}


/* ─── WEATHER WIDGET: PURE DEGREES & EMOJI ONLY ─── */
.v2-weather-widget {
  padding: 4px 10px 4px 8px !important;
  gap: 5px !important;
}

.v2-weather-location {
  display: none !important;
}


/* ─── MELISA POWER DIRECTORY HEADER ─── */
.v2-directory-header {
  margin: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.v2-directory-header h2 {
  font-size: 21px !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  color: #000000 !important;
  margin: 0 !important;
}

.v2-directory-features {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.v2-directory-features span {
  display: inline-flex !important;
  align-items: center !important;
}

.v2-directory-features .feat-sep {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

@media (max-width: 800px) {
  .v2-directory-header h2 {
    font-size: 18px !important;
  }
  .v2-directory-features {
    font-size: 12px !important;
    gap: 6px !important;
  }
}


/* ─── PURE MONOCHROME PRODUCTION TYPOGRAPHY ─── */
.v2-directory-header {
  margin: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.v2-directory-header h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
  color: #000000 !important;
  margin: 0 !important;
}

.v2-directory-features {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.v2-directory-features span {
  display: inline-block !important;
}

.v2-directory-features .feat-sep {
  color: #cbd5e1 !important;
  font-weight: 400 !important;
}


/* ─── SCALED UP PROPORTIONAL TILES & CLEAR READABLE SUBTITLE ─── */

/* 1. Subtitle under Melisa Bürger-Assistenz: crisp, large, highly readable */
.v2-directory-features {
  font-size: 16px !important;
  font-weight: 550 !important;
  color: #1e293b !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

.v2-directory-features .feat-sep {
  color: #94a3b8 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* 2. Tiles: larger footprint, fills internal void with rich typography */
.v2-tiles-10 {
  gap: 14px !important;
  margin-top: 14px !important;
}

.v2-tile {
  min-height: 84px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  gap: 16px !important;
}

.v2-tile:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09) !important;
}

/* Bigger SVGs */
.v2-tile svg {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 1.8 !important;
  color: #0284c7 !important;
}

/* Bigger Typography inside tiles */
.v2-tile span {
  gap: 4px !important;
}

.v2-tile strong {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #000000 !important;
  letter-spacing: -0.02em !important;
}

.v2-tile small {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #475569 !important;
}

.v2-tile b {
  font-size: 20px !important;
  color: #94a3b8 !important;
}


/* ── V2 Menu Buttons & Divider ── */
.v2-menu-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 8px 16px;
}
.v2-menu-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 30px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #102245;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.v2-menu-btn:hover {
  background: #f0f6ff;
  color: #287dff;
}

/* ── Modals Styling (About Melisa & Anmelden) ── */
.about-melisa-card, .anmelden-card {
  max-width: 620px;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.melisa-card-avatar {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.melisa-subtitle {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.about-melisa-body, .anmelden-body {
  padding: 22px 24px;
  overflow-y: auto;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.melisa-about-section h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.melisa-about-section p {
  margin: 0;
  color: #334155;
}

.melisa-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.melisa-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.feature-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}

.feature-content span {
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

.melisa-tip-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px;
}

.melisa-tip-box h4 {
  color: #1d4ed8;
}

.melisa-example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.melisa-chip {
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.melisa-chip:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.melisa-input-hint {
  font-size: 12px;
  color: #3b82f6;
  margin-top: 6px !important;
}

.melisa-limits-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px 16px;
}

.melisa-limits-box h4 {
  color: #b45309;
}

.melisa-limits-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #78350f;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.melisa-start-btn {
  background: #2563eb;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.melisa-start-btn:hover {
  background: #1d4ed8;
}

/* Anmelden Modal Elements */
.anmelden-intro {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.anmelden-section-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.anmelden-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.anmelden-badge {
  background: #2563eb;
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
}

.anmelden-badge.secondary {
  background: #64748b;
}

.anmelden-helptext {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 12px;
}

.code-input-row {
  display: flex;
  gap: 10px;
}

.anmelden-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s;
}

.anmelden-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.code-input {
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.anmelden-btn {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: background 0.15s;
}

.anmelden-btn.primary {
  background: #2563eb;
  color: #ffffff;
}

.anmelden-btn.primary:hover {
  background: #1d4ed8;
}

.anmelden-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  margin: -2px 0;
}

.anmelden-divider-text::before,
.anmelden-divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.anmelden-divider-text span {
  padding: 0 12px;
}

.anmelden-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.anmelden-field label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.anmelden-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.anmelden-link {
  font-size: 12px;
  color: #2563eb;
  text-decoration: none;
}

.anmelden-link:hover {
  text-decoration: underline;
}

.anmelden-feedback {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
}

.anmelden-feedback.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.anmelden-feedback.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.anmelden-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 8px;
}


/* ── IN-PLACE MELISA CHAT INSIDE .V2-ASSISTANT ── */
.v2-assistant {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  transition: min-height 0.2s ease, box-shadow 0.2s ease !important;
}

/* Hide orb/greeting & action buttons when chat is active */
.v2-assistant.chat-active #v2Intro,
.v2-assistant.chat-active #v2Actions,
.v2-assistant:has(#responseWrapper:not([style*="display: none"])) #v2Intro,
.v2-assistant:has(#responseWrapper:not([style*="display: none"])) #v2Actions {
  display: none !important;
}

.v2-assistant.chat-active,
.v2-assistant:has(#responseWrapper:not([style*="display: none"])) {
  min-height: 380px !important;
}

.v2-assistant .response-card-wrapper {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 10 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  pointer-events: auto !important;
  animation: fadeInChat 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes fadeInChat {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-assistant .response-card {
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #dbe6f6 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.08) !important;
  padding: 13px 15px !important;
  max-height: 460px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.v2-assistant .card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #eef2f7 !important;
  padding-bottom: 8px !important;
  flex-shrink: 0 !important;
}

.v2-assistant .card-scroll-body {
  max-height: 350px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding-right: 2px !important;
}

.v2-assistant .card-user-bubble-wrap {
  align-self: flex-end !important;
  max-width: 88% !important;
}

.v2-assistant .card-user-bubble {
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 14px 14px 2px 14px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.v2-assistant .user-bubble-prefix {
  display: none !important;
}

.v2-assistant .card-reply-text {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
}

@media (max-width: 700px) {
  .v2-assistant .response-card-wrapper {
    margin-bottom: 10px !important;
  }
  .v2-assistant .response-card {
    padding: 12px 14px !important;
    max-height: 520px !important;
    border-radius: 16px !important;
  }
  .v2-assistant .card-scroll-body {
    max-height: 380px !important;
  }
}


/* ── IN-PLACE CHAT COLUMN LAYOUT ── */
.v2-assistant {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
}

.v2-assistant.chat-active,
.v2-assistant:has(#responseWrapper:not([style*="display: none"])) {
  min-height: 400px !important;
}

.v2-assistant .response-card-wrapper {
  display: flex !important;
  flex-direction: column !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

.v2-assistant .response-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.v2-assistant .melisa-bottom-bar {
  width: 100% !important;
  margin-top: auto !important;
}




/* User bubble contrast fix */
.v2-assistant .card-user-bubble {
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 14px 14px 2px 14px !important;
  padding: 8px 12px !important;
}

.v2-assistant .user-bubble-content {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}


/* ══════════════════════════════════════════════════════════════════
   HERO LEFT ALIGNMENT, NO SUBTITLE WATER & DYNAMIC NEWS TICKER TRIPTYCH
   ══════════════════════════════════════════════════════════════════ */

@media (min-width: 701px) and (max-width: 1024px) {
  html, body {
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
  }
  .v2-page {
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  .v2-main {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 20px !important;
    gap: 16px !important;
  }
  .v2-hero {
    height: 320px !important;
    margin: 0 -20px !important;
  }
  .v2-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .v2-discover {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .v2-assistant {
    align-self: stretch !important;
    height: auto !important;
    min-height: 420px !important;
  }
}

@media (min-width: 1025px) {
  html, body {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
  }

  .v2-page {
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    margin: 0 auto !important;
  }

  .v2-header {
    height: 60px !important;
    min-height: 60px !important;
    flex: 0 0 60px !important;
    padding: 0 28px !important;
  }

  .v2-main {
    flex: 1 1 0px !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    grid-template-rows: auto auto 1fr !important;
    column-gap: 24px !important;
    padding: 0 28px !important;
    overflow: hidden !important;
    row-gap: 12px !important;
  }

  /* 1. Full Lake & Castle: Plaque moves to LEFT, aligning with header brand */
  .v2-hero {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    height: clamp(320px, 34vh, 360px) !important;
    min-height: 320px !important;
    margin: 0 -28px !important;
    padding: 0 !important;
    background: url('/images/ludwigslust/schloss_real.jpg') center 48% / cover no-repeat !important;
    display: flex !important;
    align-items: flex-start !important;
  }

  .v2-hero-copy.v2-hero-center {
    margin: 24px 0 0 28px !important;
    text-align: left !important;
    align-items: flex-start !important;
    padding: 16px 26px !important;
    border-radius: 20px !important;
  }

  .v2-hero-copy.v2-hero-center h1 {
    text-align: left !important;
    font-size: 38px !important;
    margin: 0 0 2px 0 !important;
  }

  .v2-hero-copy.v2-hero-center .v2-subtitle {
    text-align: left !important;
    font-size: 14.5px !important;
  }

  /* 2. Directory: tight to lake edge */
  .v2-directory {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
  }

  .v2-directory-header {
    margin: 0 0 6px 0 !important;
  }

  .v2-directory-header h2 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #0b193a !important;
    margin: 0 !important;
  }

  /* Hide redundant subline */
  .v2-directory-features {
    display: none !important;
  }

  /* 3. Tiles: 2 rows of 5 spacious, readable tiles with zero overflow clashing */
  .v2-tiles {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: 76px 76px !important;
    align-content: start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .v2-tile {
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 74px !important;
    padding: 8px 10px !important;
    gap: 9px !important;
    border-radius: 11px !important;
    overflow: hidden !important;
  }

  .v2-tile span {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .v2-tile svg {
    width: 32px !important;
    height: 32px !important;
    stroke-width: 1.8 !important;
    flex: 0 0 32px !important;
  }

  .v2-tile strong {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0b193a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .v2-tile small {
    font-size: 11.5px !important;
    font-weight: 550 !important;
    color: #587092 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 4. Assistant Card: Stretched flush to bottom of Directory, rock-solid locked bounds */
  .v2-assistant {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    position: relative !important;
    align-self: stretch !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 16px 18px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
  }

  .v2-assistant:not(.chat-active) {
    justify-content: space-between !important;
  }

  .v2-assistant .v2-intro {
    flex: 0 0 auto !important;
    margin-top: 4px !important;
  }

  .v2-assistant .v2-orb {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 8px !important;
  }

  .v2-assistant .v2-intro h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 0 2px !important;
  }

  .v2-assistant .v2-intro p {
    font-size: 13px !important;
    color: #475569 !important;
    margin: 0 !important;
  }

  .v2-assistant .v2-actions {
    margin: auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
  }

  .v2-assistant .v2-actions > a,
  .v2-assistant .v2-actions > button {
    min-height: 44px !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
  }

  .v2-assistant .melisa-bottom-bar {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 4px !important;
  }

  /* 5. Active Chat State: Rock-Solid Container (Zero Expansion Up or Down, strictly internal scroll) */
  .v2-assistant.chat-active {
    align-self: stretch !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 12px 14px 10px !important;
    overflow: hidden !important;
  }

  .v2-assistant.chat-active #v2Intro,
  .v2-assistant.chat-active #v2Actions {
    display: none !important;
  }

  .v2-assistant.chat-active .response-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0px !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .v2-assistant.chat-active .response-card {
    flex: 1 1 0px !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    max-height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .v2-assistant.chat-active .card-top {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 6px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #eef2f7 !important;
    gap: 8px !important;
  }

  .v2-assistant.chat-active .card-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .v2-assistant.chat-active .card-title-meta {
    display: none !important;
  }

  .v2-assistant.chat-active .card-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
  }

  .v2-assistant.chat-active .card-audio-btn {
    padding: 4px 8px !important;
    gap: 4px !important;
    font-size: 11.5px !important;
    border-radius: 20px !important;
  }

  .v2-assistant.chat-active .card-close-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .v2-assistant.chat-active .card-scroll-body {
    flex: 1 1 0px !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
  }

  .v2-assistant.chat-active .melisa-bottom-bar {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 4px !important;
  }

  /* 6. Discover & Dynamic News Triptych: Symmetrical 2-Column Alignment with Assistant */
  .v2-discover {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 0 0 8px 0 !important;
    column-gap: 24px !important;
    row-gap: 12px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) 350px !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: none !important;
    align-self: stretch !important;
  }

  .v2-discovery {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
    overflow: hidden !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: none !important;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    box-sizing: border-box !important;
  }

  .v2-discovery:hover {
    transform: translateY(-2px) !important;
    border-color: #93c5fd !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
  }

  .v2-photo {
    height: 45% !important;
    min-height: 96px !important;
    margin-bottom: 0 !important;
    flex: 0 0 45% !important;
  }

  .v2-photo.palace {
    background-position: center 60% !important;
  }

  .v2-discovery-body {
    padding: 10px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .v2-discovery-body strong {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px !important;
  }

  .v2-discovery-sub {
    font-size: 13px !important;
    color: #587092 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }

  .v2-discovery-link {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #2563eb !important;
    margin: auto 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding-top: 8px !important;
    border-top: 1px solid #edf2f7 !important;
  }

  /* 7. HIGH-ACTION NEWS TRIPTYCH DESIGN */
  .v2-news-triptych {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
    box-sizing: border-box !important;
    height: 100% !important;
    min-height: 220px !important;
    max-height: none !important;
  }

  .news-triptych-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid #edf3fa !important;
    flex: 0 0 auto !important;
  }

  .news-live-dot {
    width: 8px !important;
    height: 8px !important;
    background: #ef4444 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
    animation: newsPulse 1.8s infinite !important;
    display: inline-block !important;
  }

  @keyframes newsPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  }

  .news-triptych-header strong {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .news-badge-mini {
    margin-left: auto !important;
    background: #fee2e2 !important;
    color: #b91c1c !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
  }

  .news-triptych-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
  }

  .news-triptych-row {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 6px 10px !important;
    border-radius: 7px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    position: relative !important;
    transition: all 0.18s ease !important;
    flex: 1 1 auto !important;
  }

  .news-triptych-row:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    transform: translateX(3px) !important;
  }

  .news-row-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 2px !important;
  }

  .news-row-tag {
    font-size: 10px !important;
    font-weight: 750 !important;
    color: #2563eb !important;
    background: #e0edff !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
  }

  .news-row-source {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
  }

  .news-row-title {
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Slide transition for news ticker action */
  .news-triptych-row.triptych-swap {
    animation: newsSlideIn 0.45s ease-out !important;
  }

  @keyframes newsSlideIn {
    0% { opacity: 0.2; transform: translateX(8px); }
    100% { opacity: 1; transform: translateX(0); }
  }

  .v2-footer {
    padding: 8px 28px !important;
    font-size: 11px !important;
    flex: 0 0 auto !important;
  }
}

.v2-assistant:not(.chat-active) .response-card-wrapper {
  display: none !important;
}

/* 8. FAMILIE SUPPORT CARD STYLING (SIDE-BY-SIDE) */
.v2-discovery.v2-familie-card {
  display: flex !important;
  flex-direction: row !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: none !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
  box-sizing: border-box !important;
}

.v2-discovery.v2-familie-card:hover {
  transform: translateY(-2px) !important;
  border-color: #93c5fd !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

.familie-side-photo {
  width: 38% !important;
  min-width: 145px !important;
  height: 100% !important;
  background-image: url('/img/web-hubs/kita/feature-1.webp') !important; /* ASSET_404_FIX_20261011: was missing /images/familie_card_portrait.jpg */
  background-size: cover !important;
  background-position: center center !important;
  border-right: 1px solid #eef2f7 !important;
  flex: 0 0 38% !important;
}

.familie-card-content {
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}

.familie-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  padding-bottom: 5px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  flex: 0 0 auto !important;
}

.familie-card-header strong {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0b193a !important;
  white-space: nowrap !important;
}

.familie-sub-clean {
  font-size: 11.5px !important;
  color: #2563eb !important;
  font-weight: 700 !important;
  background: #eff6ff !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  border: 1px solid #dbeafe !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.familie-services-list {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-around !important;
  flex: 1 1 auto !important;
  gap: 7px !important;
  margin: 4px 0 !important;
}

.f-service-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  line-height: 1.25 !important;
}

.f-service-bullet {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  margin-top: 5px !important;
  flex: 0 0 7px !important;
}

.f-service-row div {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.f-service-row strong {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.f-service-row small {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin-top: 1px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.familie-card-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #2563eb !important;
  padding-top: 7px !important;
  border-top: 1px solid #edf2f7 !important;
  margin-top: auto !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.familie-card-action b {
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: transform 0.15s ease !important;
}

.v2-discovery.v2-familie-card:hover .familie-card-action b {
  transform: translateX(3px) !important;
}


/* ─── TOP MARQUEE NEWS TICKER IN HEADER (BRAND THEME: BLACK & WHITE) ─── */
.top-news-ticker {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  max-width: 680px !important;
  height: 38px !important;
  margin: 0 24px !important;
  padding: 0 12px 0 6px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
}

.ticker-badge-live {
  flex: 0 0 auto !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  margin-right: 12px !important;
}

.top-ticker-viewport {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent) !important;
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent) !important;
}

.top-ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  animation: smoothMarquee 45s linear infinite !important;
  will-change: transform !important;
}

.top-ticker-track:hover {
  animation-play-state: paused !important;
}

@keyframes smoothMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-placeholder {
  font-size: 13px !important;
  font-weight: 550 !important;
  color: #64748b !important;
}

.ticker-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.ticker-item:hover {
  color: #2563eb !important;
}

.ticker-tag {
  font-size: 10px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  border: 1px solid #e2e8f0 !important;
  text-transform: uppercase !important;
}

.ticker-source {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
}

.ticker-sep {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  margin: 0 4px !important;
}

@media (max-width: 950px) {
  .top-news-ticker {
    display: none !important;
  }
}

/* ─── BOTTOM 3 CARDS: 2 WHITE PLACEHOLDERS + HILFE UNDER MELISA ─── */
.v2-placeholder-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  min-height: 220px !important;
}

.v2-discovery.v2-familie-card.no-photo {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.v2-discovery.v2-familie-card.no-photo .familie-card-content {
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.v2-discovery.v2-familie-card.no-photo .familie-services-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 10px 0 !important;
}


/* ─── LIVE BADGE ON WEATHER WIDGET ─── */
.ticker-badge-live-weather {
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: 1px !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  margin-right: 2px !important;
}

/* ─── ULTRA-SMOOTH SLOW MARQUEE TICKER (EYE-FRIENDLY: 140s) ─── */
.top-ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  gap: 24px !important;
  animation: smoothMarquee 140s linear infinite !important;
  will-change: transform !important;
}

.top-ticker-track:hover {
  animation-play-state: paused !important;
}

/* ─── NOTDIENST CTA BUTTON AT THE END OF TICKER ─── */
.top-ticker-notdienst-cta {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 4px 10px !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  margin-left: 12px !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}

.top-ticker-notdienst-cta:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

.notdienst-dot {
  width: 7px !important;
  height: 7px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

.notdienst-item-ticker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

/* ─── MODAL STYLING FOR NOTDIENSTE ─── */
.v2-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.v2-modal-backdrop.active {
  display: flex !important;
}

.v2-modal-dialog {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25) !important;
  width: 100% !important;
  max-width: 560px !important;
  max-height: 88vh !important;
  overflow-y: auto !important;
  border: 1px solid #e2e8f0 !important;
  animation: modalFadeIn 0.15s ease-out !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.v2-modal-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

.v2-modal-close {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: #64748b !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: color 0.15s ease, background 0.15s ease !important;
}

.v2-modal-close:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}


/* ─── DEFINITIVE TICKER CONTAINER & EYE-COMFORT SCROLL (220s) ─── */
.top-news-ticker {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  max-width: calc(100% - 480px) !important;
  height: 38px !important;
  margin: 0 16px !important;
  padding: 0 8px 0 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
}

.ticker-badge-live {
  flex: 0 0 auto !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 1px !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  margin-right: 12px !important;
}

.top-ticker-viewport {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent) !important;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent) !important;
}

.top-ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  gap: 28px !important;
  animation: ultraSlowMarquee 220s linear infinite !important;
  will-change: transform !important;
}

.top-ticker-track:hover {
  animation-play-state: paused !important;
}

@keyframes ultraSlowMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-ticker-notdienst-cta {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 4px 10px !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  margin-left: 10px !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}

.top-ticker-notdienst-cta:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

.notdienst-dot {
  width: 7px !important;
  height: 7px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}


/* ─── CIVIC CARDS: WIRTSCHAFT & CIVIC SPLIT (POLL + CHAT) ───────────── */

/* Hero Schloss Badge */
.v2-hero {
  position: relative !important;
}

.hero-schloss-badge {
  position: absolute !important;
  bottom: 16px !important;
  right: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 2 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.hero-schloss-badge:hover {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22) !important;
}

.hero-schloss-arrow {
  color: #93c5fd !important;
  font-size: 14px !important;
  transition: transform 0.18s ease !important;
}

.hero-schloss-badge:hover .hero-schloss-arrow {
  transform: translateX(2px) !important;
}

/* Card 1: Wirtschaft & Stadtentwicklung */
.v2-discovery.v2-wirtschaft-card {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: 220px !important;
  box-sizing: border-box !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.v2-discovery.v2-wirtschaft-card:hover {
  transform: translateY(-2px) !important;
  border-color: #93c5fd !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

.wirtschaft-card-content {
  padding: 13px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

.wirtschaft-card-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.wirtschaft-badge {
  font-size: 9.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.8px !important;
  color: #0284c7 !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
}

.wirtschaft-card-title {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.wirtschaft-sub-clean {
  font-size: 11.5px !important;
  color: #64748b !important;
  margin: 2px 0 0 0 !important;
}

.wirtschaft-header-icon {
  font-size: 20px !important;
  background: #f1f5f9 !important;
  padding: 6px !important;
  border-radius: 10px !important;
  line-height: 1 !important;
}

.wirtschaft-projects-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.w-project-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 12px !important;
}

.w-project-bullet {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #0284c7 !important;
  margin-top: 5px !important;
  flex-shrink: 0 !important;
}

.w-project-text strong {
  display: block !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #1e293b !important;
}

.w-project-text small {
  display: block !important;
  font-size: 10.5px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

.wirtschaft-subsidy-callout {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 3px solid #0284c7 !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  color: #334155 !important;
  line-height: 1.35 !important;
}

.callout-star {
  font-size: 12px !important;
}

.wirtschaft-card-actions {
  margin-top: 2px !important;
  border-top: 1px solid #edf2f7 !important;
  padding-top: 6px !important;
}

.btn-wirtschaft-info {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0284c7 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}

.btn-wirtschaft-info b {
  font-size: 14px !important;
  transition: transform 0.18s ease !important;
}

.btn-wirtschaft-info:hover b {
  transform: translateX(3px) !important;
}

/* Card 2: Split Civic Card (Poll + Chat) */
.v2-discovery.v2-civic-split-card {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  background: #ffffff !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: 220px !important;
  box-sizing: border-box !important;
}

.split-col {
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.split-poll-col {
  border-right: 1px solid #eef2f7 !important;
  background: var(--coffee-surface) !important;
}

.split-chat-col {
  background: #fbfcfe !important;
}

.split-badge-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.civic-badge-pill {
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: 0.6px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.poll-badge {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.poll-counter {
  font-size: 10px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

.split-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.split-desc {
  font-size: 10.5px !important;
  color: #64748b !important;
  margin: 2px 0 6px 0 !important;
  line-height: 1.3 !important;
}

.poll-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.poll-option-btn {
  position: relative !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 5px 8px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
}

.poll-option-btn:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.poll-option-btn.is-voted {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
}

.poll-btn-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
}

.poll-option-label {
  font-size: 11px !important;
  font-weight: 650 !important;
  color: #1e293b !important;
}

.poll-pct {
  font-size: 10.5px !important;
  font-weight: 750 !important;
  color: #0284c7 !important;
}

.poll-progress-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.poll-progress-fill {
  height: 100% !important;
  background: rgba(2, 132, 199, 0.15) !important;
  transition: width 0.4s ease !important;
}

.poll-status-note {
  font-size: 10px !important;
  color: #059669 !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}

/* Chat Half */
.chat-live-badge {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

.pulse-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  animation: pulseDot 2s infinite !important;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.chat-hint {
  font-size: 9.5px !important;
  color: #94a3b8 !important;
}

.stadt-chat-feed {
  height: 110px !important;
  max-height: 110px !important;
  overflow-y: auto !important;
  margin: 6px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding-right: 4px !important;
  scrollbar-width: thin !important;
}

.stadt-chat-feed::-webkit-scrollbar {
  width: 4px !important;
}
.stadt-chat-feed::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}

.chat-msg-row {
  display: flex !important;
  flex-direction: column !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px 7px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.chat-msg-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.chat-msg-author {
  font-size: 10px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
}

.chat-msg-time {
  font-size: 8.5px !important;
  color: #94a3b8 !important;
}

.chat-msg-bubble {
  font-size: 11px !important;
  color: #334155 !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}

.chat-loading-placeholder {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  text-align: center !important;
  padding-top: 20px !important;
}

.stadt-chat-form {
  margin-top: auto !important;
}

.chat-input-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 2px 4px !important;
}

.chat-nick-input {
  width: 50px !important;
  border: none !important;
  background: none !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 4px !important;
  border-right: 1px solid #e2e8f0 !important;
  outline: none !important;
}

.chat-text-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 10.5px !important;
  color: #0f172a !important;
  padding: 4px !important;
  outline: none !important;
}

.chat-send-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.chat-send-btn:hover {
  background: #0284c7 !important;
}

.chat-alert-msg {
  font-size: 9.5px !important;
  color: #dc2626 !important;
  margin-top: 3px !important;
  padding: 0 4px !important;
}

/* Modals: Schloss & Wirtschaft */
.schloss-modal-card,
.wirtschaft-modal-card {
  max-width: 680px !important;
  width: 92% !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3) !important;
  overflow: hidden !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.schloss-modal-header {
  padding: 18px 22px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}

.schloss-modal-badge {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

.schloss-modal-sub {
  font-size: 12px !important;
  color: #64748b !important;
  display: block !important;
  margin-top: 2px !important;
}

.schloss-modal-body,
.wirtschaft-modal-body {
  padding: 20px 22px !important;
  overflow-y: auto !important;
}

.schloss-hero-banner {
  height: 140px !important;
  background-image: url('/images/ludwigslust/schloss_real.jpg') !important;
  background-size: cover !important;
  background-position: center 48% !important;
  border-radius: 10px !important;
  position: relative !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1) !important;
}

.schloss-banner-tag {
  position: absolute !important;
  bottom: 8px !important;
  left: 10px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  backdrop-filter: blur(4px) !important;
}

.schloss-info-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.schloss-info-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
}

.schloss-info-card.highlight-card {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
}

.schloss-info-card h4 {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
}

.schloss-info-card p {
  font-size: 11.5px !important;
  color: #475569 !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.schloss-modal-footer-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 14px !important;
}

.schloss-action-btn {
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  border: none !important;
}

.schloss-action-btn.primary {
  background: #0f172a !important;
  color: #ffffff !important;
}
.schloss-action-btn.primary:hover {
  background: #1e293b !important;
}

.schloss-action-btn.secondary {
  background: #0284c7 !important;
  color: #ffffff !important;
}
.schloss-action-btn.secondary:hover {
  background: #0369a1 !important;
}

.schloss-action-btn.outline {
  background: #f1f5f9 !important;
  color: #475569 !important;
}
.schloss-action-btn.outline:hover {
  background: #e2e8f0 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 800px) {
  .v2-discovery.v2-civic-split-card {
    grid-template-columns: 1fr !important;
  }
  .split-poll-col {
    border-right: none !important;
    border-bottom: 1px solid #eef2f7 !important;
  }
  .schloss-info-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-schloss-badge {
    bottom: 10px !important;
    right: 12px !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
}


/* ─── CIVIC CARD & HERO REFINEMENTS ─── */
.v2-hero-copy .hero-schloss-badge {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-top: 10px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25) !important;
  text-decoration: none !important;
}

.v2-hero-copy .hero-schloss-badge:hover {
  background: #1e293b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35) !important;
}

.v2-hero-copy .hero-schloss-arrow {
  color: #60a5fa !important;
  font-size: 13px !important;
}

.split-col {
  padding: 10px 12px !important;
}

.split-desc {
  margin: 1px 0 4px 0 !important;
  font-size: 10px !important;
}

.poll-options-grid {
  gap: 4px !important;
}

.poll-option-btn {
  padding: 3.5px 7px !important;
}

.poll-option-label {
  font-size: 10.5px !important;
}

.poll-pct {
  font-size: 10px !important;
}

.stadt-chat-feed {
  height: 84px !important;
  max-height: 84px !important;
  margin: 3px 0 !important;
  gap: 3px !important;
}

.chat-msg-row {
  padding: 2.5px 5px !important;
}

.chat-msg-bubble {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.chat-input-row {
  padding: 2px 4px !important;
}

.chat-nick-input {
  width: 44px !important;
  font-size: 10px !important;
  padding: 2px !important;
}

.chat-text-input {
  font-size: 10px !important;
  padding: 2px !important;
}

.chat-send-btn {
  width: 22px !important;
  height: 22px !important;
}


/* ─── TYPOGRAPHY SYMMETRY & VISUAL HARMONY ─── */

/* 1. Hero Button: Clean typography, no emoji */
.v2-hero-copy .hero-schloss-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-top: 10px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2) !important;
  text-decoration: none !important;
}

.v2-hero-copy .hero-schloss-badge:hover {
  background: #1e293b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3) !important;
}

.v2-hero-copy .hero-schloss-arrow {
  color: #60a5fa !important;
  font-size: 13px !important;
}

/* 2. Unified Header across all 3 bottom cards */
.split-col .familie-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  padding-bottom: 5px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 4px !important;
}

.split-col .familie-card-header strong {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0b193a !important;
  white-space: nowrap !important;
}

.split-subtitle {
  font-size: 11px !important;
  color: #64748b !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.familie-sub-clean.live-tag {
  color: #059669 !important;
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* 3. Card 2 Symmetrical Inner Layout */
.v2-discovery.v2-civic-split-card {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background: #ffffff !important;
  border: 1px solid #dce6f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(18, 50, 74, 0.06) !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: 220px !important;
  box-sizing: border-box !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.v2-discovery.v2-civic-split-card:hover {
  transform: translateY(-2px) !important;
  border-color: #93c5fd !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

.split-col {
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.split-poll-col {
  border-right: 1px solid #f1f5f9 !important;
  background: var(--coffee-surface) !important;
}

.split-chat-col {
  background: #fbfcfe !important;
}

/* Poll Options: Clean & calm typography */
.poll-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

.poll-option-btn {
  position: relative !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
}

.poll-option-btn:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.poll-option-btn.is-voted {
  border-color: #2563eb !important;
  background: #eff6ff !important;
}

.poll-btn-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.poll-option-label {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.poll-pct {
  font-size: 11px !important;
  font-weight: 750 !important;
  color: #2563eb !important;
}

.poll-progress-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.poll-progress-fill {
  height: 100% !important;
  background: rgba(37, 99, 235, 0.12) !important;
  transition: width 0.4s ease !important;
}

.poll-status-note {
  font-size: 10.5px !important;
  color: #059669 !important;
  font-weight: 700 !important;
  margin-top: 3px !important;
}

/* Chat: Calm typography, clear hierarchy */
.stadt-chat-feed {
  height: 90px !important;
  max-height: 90px !important;
  overflow-y: auto !important;
  margin: 3px 0 6px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding-right: 4px !important;
  scrollbar-width: thin !important;
}

.chat-msg-row {
  display: flex !important;
  flex-direction: column !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 3px 6px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.chat-msg-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1px !important;
}

.chat-msg-author {
  font-size: 10.5px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
}

.chat-msg-time {
  font-size: 9px !important;
  color: #94a3b8 !important;
}

.chat-msg-bubble {
  font-size: 10.5px !important;
  color: #334155 !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}

.chat-input-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 2px 4px !important;
}

.chat-nick-input {
  width: 46px !important;
  border: none !important;
  background: none !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 3px !important;
  border-right: 1px solid #e2e8f0 !important;
  outline: none !important;
}

.chat-text-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 10.5px !important;
  color: #0f172a !important;
  padding: 3px !important;
  outline: none !important;
}

.chat-send-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.chat-send-btn:hover {
  background: #2563eb !important;
}


/* ─── ABSOLUTE TYPOGRAPHY & SPACING SYMMETRY ACROSS ALL 3 CARDS ─── */

/* Universal Header across all cards & columns */
.familie-card-header,
.split-col .familie-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 6px !important;
  height: 24px !important;
  box-sizing: border-box !important;
}

.familie-card-header strong,
.split-col .familie-card-header strong {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #0b193a !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Universal Badges across all cards */
.familie-sub-clean,
.civic-card-badge {
  font-size: 11px !important;
  color: #2563eb !important;
  font-weight: 650 !important;
  background: #eff6ff !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  border: 1px solid #dbeafe !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  line-height: 1.3 !important;
}

.familie-sub-clean.live-tag {
  color: #059669 !important;
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* Universal Subtitle line */
.split-subtitle {
  font-size: 11.5px !important;
  color: #64748b !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  font-weight: 450 !important;
}

/* Card 1 & Card 3: Bullet points typography */
.f-service-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  line-height: 1.3 !important;
}

.f-service-bullet {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  margin-top: 5px !important;
  flex: 0 0 6px !important;
}

.f-service-row strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.f-service-row small {
  font-size: 11.5px !important;
  font-weight: 450 !important;
  color: #64748b !important;
  margin-top: 1px !important;
  line-height: 1.25 !important;
}

/* Universal Footer action links */
.familie-card-action {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  padding-top: 6px !important;
  border-top: 1px solid #edf2f7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Card 2 Left: Poll Options Typography (Calm & Clear: 12.5px) */
.poll-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

.poll-option-btn {
  position: relative !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
  height: 28px !important;
  box-sizing: border-box !important;
}

.poll-option-btn:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.poll-option-btn.is-voted {
  border-color: #2563eb !important;
  background: #eff6ff !important;
}

.poll-btn-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}

.poll-option-label {
  font-size: 12px !important;
  font-weight: 650 !important;
  color: #1e293b !important;
}

.poll-pct {
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #2563eb !important;
}

.poll-progress-fill {
  height: 100% !important;
  background: rgba(37, 99, 235, 0.12) !important;
  transition: width 0.4s ease !important;
}

/* Card 2 Right: Stadt-Talk Messages (Clear & Legible: 12px) */
.stadt-chat-feed {
  height: 94px !important;
  max-height: 94px !important;
  overflow-y: auto !important;
  margin: 2px 0 6px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding-right: 2px !important;
  scrollbar-width: thin !important;
}

.chat-msg-row {
  display: flex !important;
  flex-direction: column !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px 7px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.chat-msg-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.chat-msg-author {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.chat-msg-time {
  font-size: 10px !important;
  color: #94a3b8 !important;
}

.chat-msg-bubble {
  font-size: 12px !important;
  color: #334155 !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}

/* Chat Input Row */
.chat-input-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--coffee-inner) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 2px 4px !important;
  height: 28px !important;
  box-sizing: border-box !important;
}

.chat-nick-input {
  width: 48px !important;
  border: none !important;
  background: none !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 2px 4px !important;
  border-right: 1px solid #e2e8f0 !important;
  outline: none !important;
}

.chat-text-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 11.5px !important;
  color: #0f172a !important;
  padding: 2px 4px !important;
  outline: none !important;
}

.chat-send-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.chat-send-btn:hover {
  background: #2563eb !important;
}



/* ─── 100% PERFECT SYMMETRY & ALIGNMENT WITH ASSISTANT / TILE 10 ─── */

@media (min-width: 1025px) {
  .v2-discover {
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) 350px !important;
    column-gap: 24px !important;
    row-gap: 12px !important;
    align-items: stretch !important;
    height: 100% !important;
    min-height: 220px !important;
  }

  .v2-discover > * {
    min-width: 0 !important;
  }

  /* Inside Card 2: Poll gets 325px (full text without truncation), Chat gets remaining space */
  .v2-discovery.v2-civic-split-card {
    display: grid !important;
    grid-template-columns: 1.05fr 1fr !important;
    gap: 16px !important;
  }

  .v2-civic-split-card > * {
    min-width: 0 !important;
  }
}

/* Chat feed height & empty box styling */
.stadt-chat-feed {
  height: 102px !important;
  max-height: 102px !important;
  display: flex !important;
  flex-direction: column !important;
}

.chat-empty-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  text-align: center !important;
  color: #94a3b8 !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  padding: 10px 14px !important;
  gap: 4px !important;
}

.chat-empty-icon {
  font-size: 20px !important;
  opacity: 0.7 !important;
}

/* Ensure poll option labels do not truncate */
.poll-option-label {
  font-size: 11.5px !important;
  font-weight: 650 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

/* Poll label neat fit */
.poll-option-btn {
  padding: 4px 8px !important;
}
.poll-option-label {
  font-size: 11.5px !important;
  font-weight: 650 !important;
  color: #1e293b !important;
  white-space: nowrap !important;
}



/* ─── EXPAND POLL COLUMN, INCREASE FONT & REMOVE ALL TRUNCATION ─── */

/* Full question subtitle: prominent, bold, larger, high-contrast */
.split-subtitle {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  margin: 2px 0 8px 0 !important;
  line-height: 1.35 !important;
}

/* Poll buttons: spacious 30px height, full text, 12.5px legible font */
.poll-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.poll-option-btn {
  position: relative !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 3px 9px !important;
  height: 27px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}

.poll-option-btn:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.poll-btn-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.poll-option-label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  flex: 1 1 auto !important;
}

.poll-pct {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #2563eb !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

/* ─── CIVIC HOOK & LOCKED CITIZEN BAR STYLES ─── */
.poll-civic-hook {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f0f7ff !important;
  border: 1px solid #dbeafe !important;
  color: #1e40af !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin: 0 0 5px 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.poll-civic-hook svg {
  flex-shrink: 0 !important;
  color: #2563eb !important;
}
.poll-civic-hook strong {
  color: #1d4ed8 !important;
}

.chat-locked-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  height: 32px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  margin-top: 4px !important;
}
.chat-locked-bar:hover {
  background: #f1f5f9 !important;
  border-color: #3b82f6 !important;
}
.chat-locked-lead {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  min-width: 0 !important;
}
.chat-locked-lead svg {
  flex-shrink: 0 !important;
  color: #3b82f6 !important;
}
.chat-locked-lead span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.chat-locked-btn {
  flex-shrink: 0 !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.chat-locked-btn:hover {
  background: #1d4ed8 !important;
}

.chat-empty-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  text-align: center !important;
  color: #64748b !important;
  padding: 6px 10px !important;
  gap: 3px !important;
  box-sizing: border-box !important;
}
.chat-empty-icon {
  font-size: 18px !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
}
.chat-empty-title {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}
.chat-empty-desc {
  font-size: 10px !important;
  color: #64748b !important;
  line-height: 1.35 !important;
  max-width: 280px !important;
}
.chat-empty-action-btn {
  margin-top: 5px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.chat-empty-action-btn:hover {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
}

/* ─── SCHULE PWA APP PROMO CARD (CARD 1) ─── */
.v2-schule-promo-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.v2-schule-promo-card:hover {
  transform: translateY(-2px) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12) !important;
}

.schul-app-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.schul-app-icon-wrap {
  width: 22px !important;
  height: 22px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.live-app-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  font-weight: 700 !important;
  border: 1px solid #dbeafe !important;
}

.pulse-dot-green {
  width: 6px !important;
  height: 6px !important;
  background: #16a34a !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25) !important;
}

.schul-app-promo-tag {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #1e40af !important;
  background: #f0f7ff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 5px !important;
  padding: 3px 7px !important;
  margin: 1px 0 3px 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.schul-feat-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.schul-icon-bullet {
  width: 20px !important;
  height: 20px !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.schul-icon-bullet.blue {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.schul-icon-bullet.green {
  background: #f0fdf4 !important;
  color: #16a34a !important;
}

.schul-icon-bullet.purple {
  background: #faf5ff !important;
  color: #7c3aed !important;
}

.v2-schule-promo-card .familie-card-action {
  color: #2563eb !important;
  font-weight: 700 !important;
}

/* ─── SCHULE PROMO CARD REFINEMENTS (NO TRUNCATION) ─── */
.v2-schule-promo-card .schul-app-title-group strong {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.2px !important;
}

.v2-schule-promo-card .live-app-tag {
  font-size: 10px !important;
  padding: 2px 6px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.v2-schule-promo-card .f-service-row small {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.25 !important;
  font-size: 11px !important;
  color: #64748b !important;
}

.v2-schule-promo-card .f-service-row strong {
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.v2-schule-promo-card .f-service-row {
  gap: 8px !important;
  align-items: flex-start !important;
}

.v2-schule-promo-card .schul-icon-bullet {
  margin-top: 2px !important;
}

.v2-schule-promo-card .familie-card-header {
  align-items: center !important;
  margin-bottom: 4px !important;
}

.v2-schule-promo-card .live-app-tag {
  font-size: 9.5px !important;
  padding: 2px 5px !important;
  letter-spacing: 0.2px !important;
}

.schul-app-promo-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #1e40af !important;
  background: #f0f7ff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 5px !important;
  padding: 2px 7px !important;
  margin: 0 0 5px 0 !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  height: 21px !important;
  box-sizing: border-box !important;
}

/* ─── PRODUCTION SCHUL-MODAL & CARD 1 STYLING ─── */
.schul-modal-card {
  max-width: 580px !important;
  width: 92% !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2) !important;
}

.schul-modal-header-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  background: #eff6ff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.schul-modal-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 18px 22px !important;
  background: var(--coffee-bg) !important;
}

/* High contrast banner box: dark slate-navy with crisp white text */
.schul-banner-box {
  background: #0f172a !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15) !important;
}

.schul-banner-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 6px !important;
}

.schul-badge-active {
  background: #16a34a !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  letter-spacing: 0.3px !important;
}

.schul-badge-scope {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.schul-banner-heading {
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  display: block !important;
  margin-bottom: 4px !important;
  line-height: 1.3 !important;
}

.schul-banner-paragraph {
  font-size: 12px !important;
  color: #e2e8f0 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* 3 Feature items with SVG */
.schul-feature-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.schul-feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
}

.schul-feat-icon-box {
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.schul-feat-icon-box.blue {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.schul-feat-icon-box.green {
  background: #f0fdf4 !important;
  color: #16a34a !important;
}

.schul-feat-icon-box.purple {
  background: #faf5ff !important;
  color: #7c3aed !important;
}

.schul-feat-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.schul-feat-info strong {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}

.schul-feat-info span {
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}

/* Launch zone */
.schul-launch-zone {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

.btn-launch-all-schools {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 11px 18px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.btn-launch-all-schools:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px) !important;
}

.schul-pills-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.schul-pills-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.schul-pills-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.schul-link-pill {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 3px 9px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.schul-link-pill:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #2563eb !important;
}

/* ─── 1-KLICK STORYTELLING SHOWCASE CSS ─── */
.schul-story-hero {
  background: #0f172a !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.16) !important;
}

.story-hero-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.story-badge-innovation {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 750 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  letter-spacing: 0.2px !important;
}

.story-badge-status {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.story-hero-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.3px !important;
}

.story-hero-text {
  font-size: 12px !important;
  color: #94a3b8 !important;
  line-height: 1.45 !important;
  margin: 0 0 8px 0 !important;
}

.story-hero-text strong {
  color: #cbd5e1 !important;
}

.story-hero-highlight {
  font-size: 12px !important;
  color: #e2e8f0 !important;
  background: rgba(37, 99, 235, 0.2) !important;
  border-left: 3px solid #3b82f6 !important;
  padding: 8px 10px !important;
  border-radius: 0 6px 6px 0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.story-hero-highlight strong {
  color: #ffffff !important;
}

/* 3-Step horizontal cards */
.schul-steps-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

.schul-step-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.schul-step-box.active-step {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

.step-badge {
  font-size: 9.5px !important;
  font-weight: 750 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.step-badge.primary {
  color: #2563eb !important;
}

.schul-step-box strong {
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
}

.schul-step-box span {
  font-size: 10.5px !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}

/* Feature grid */
.schul-features-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.schul-feat-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 9px 11px !important;
}

.schul-feat-icon-wrap {
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.schul-feat-icon-wrap.blue {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.schul-feat-icon-wrap.purple {
  background: #faf5ff !important;
  color: #7c3aed !important;
}

.schul-feat-card strong {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: block !important;
  line-height: 1.25 !important;
}

.schul-feat-card small {
  font-size: 10.5px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
  display: block !important;
}


/* ==========================================================================
   MELISA HOMEPAGE — WARM COFFEE WITH MILK THEME (Café au Lait)
   Replaces all stark white backgrounds with rich, noble coffee & cream tones
   ========================================================================== */

:root {
  --coffee-bg: #f2eae0;            /* Светло-кофейный с молоком (основной фон) */
  --coffee-surface: #faf5ed;       /* Нежная кофейная пенка (карточки, плитки) */
  --coffee-header: #f9f4ec;        /* Шапка сайта */
  --coffee-footer: #ede4d6;        /* Подвал сайта */
  --coffee-inner: #f4ece1;         /* Внутренние блоки и плашки */
  --coffee-border: #ded3c4;        /* Тёплая кофейная окантовка */
  --coffee-border-hover: #a0522d;  /* Акцентная кофейная окантовка */
  --coffee-text-main: #2b221b;     /* Глубокий эспрессо для текста */
  --coffee-text-muted: #6e6054;    /* Мягкий мокко */
  --coffee-shadow: 0 4px 18px rgba(43, 34, 27, 0.06);
}

/* 1. Base Page Backgrounds */
html,
body,
body.v2-body,
.v2-page,
.v2-main {
  background-color: var(--coffee-bg) !important;
  color: var(--coffee-text-main) !important;
}

@media (min-width: 1200px) {
  body {
    background-color: var(--coffee-bg) !important;
  }
}

/* 2. Header & Navigation */
.v2-header {
  background: var(--coffee-header) !important;
  border-bottom: 1px solid var(--coffee-border) !important;
}

.v2-menu {
  background: var(--coffee-surface) !important;
  border: 1px solid var(--coffee-border) !important;
  box-shadow: 0 10px 30px rgba(43, 34, 27, 0.12) !important;
}

.v2-menu a,
.v2-menu button {
  color: var(--coffee-text-main) !important;
}

.v2-menu a:hover,
.v2-menu button:hover {
  background: var(--coffee-inner) !important;
}

/* 3. Directory Tiles (Stadt, Gesundheit, Schulen, Kitas, etc.) */
.v2-tile {
  background: var(--coffee-surface) !important;
  border: 1px solid var(--coffee-border) !important;
  box-shadow: var(--coffee-shadow) !important;
}

.v2-tile:hover {
  background: #f4ecdf !important;
  border-color: var(--coffee-border-hover) !important;
  box-shadow: 0 8px 24px rgba(43, 34, 27, 0.1) !important;
}

.v2-tile strong {
  color: var(--coffee-text-main) !important;
}

.v2-tile small {
  color: var(--coffee-text-muted) !important;
}

/* 4. Discovery Cards (Schul-App, Familie, Wirtschaft, Civic) */
.v2-discovery,
.v2-discovery.v2-familie-card,
.v2-discovery.v2-familie-card.no-photo,
.v2-discovery.v2-schule-promo-card,
.v2-discovery.v2-wirtschaft-card,
.v2-discovery.v2-civic-split-card {
  background: var(--coffee-surface) !important;
  border: 1px solid var(--coffee-border) !important;
  box-shadow: var(--coffee-shadow) !important;
}

.v2-discovery:hover,
.v2-discovery.v2-familie-card:hover,
.v2-discovery.v2-wirtschaft-card:hover,
.v2-discovery.v2-civic-split-card:hover {
  border-color: var(--coffee-border-hover) !important;
  box-shadow: 0 8px 24px rgba(43, 34, 27, 0.1) !important;
}

.v2-discovery-body strong,
.familie-card-content strong,
.v2-wirtschaft-card strong {
  color: var(--coffee-text-main) !important;
}

.v2-discovery-sub,
.familie-service-info span,
.v2-wirtschaft-card p {
  color: var(--coffee-text-muted) !important;
}

/* 5. Assistant Panel (Melisa) */
.v2-assistant {
  background: var(--coffee-surface) !important;
  border: 1px solid var(--coffee-border) !important;
  box-shadow: var(--coffee-shadow) !important;
}

.v2-assistant .melisa-form {
  background: var(--coffee-inner) !important;
  border: 1px solid var(--coffee-border) !important;
}

.v2-assistant #chatInput {
  color: var(--coffee-text-main) !important;
}

/* 6. Schul-App Showcase Inner Elements */
.schul-feat-card,
.schul-step-box {
  background: var(--coffee-inner) !important;
  border: 1px solid var(--coffee-border) !important;
}

.schul-feat-card strong,
.schul-step-box strong {
  color: var(--coffee-text-main) !important;
}

.schul-feat-card small,
.schul-step-box span {
  color: var(--coffee-text-muted) !important;
}

.schul-app-promo-tag {
  background: #ede3d4 !important;
  border: 1px solid rgba(140, 74, 30, 0.2) !important;
  color: #7a3e14 !important;
}

/* 7. Footer */
.v2-footer {
  background: var(--coffee-footer) !important;
  border-top: 1px solid var(--coffee-border) !important;
  color: var(--coffee-text-muted) !important;
}

.v2-footer a {
  color: var(--coffee-text-muted) !important;
}

.v2-footer a:hover {
  color: var(--coffee-text-main) !important;
}

/* 8. Modals & Dialogs */
.modal-content,
.schloss-modal-content,
.about-modal-content,
.notdienst-modal-content,
.schule-app-modal-content {
  background: var(--coffee-surface) !important;
  border: 1px solid var(--coffee-border) !important;
  color: var(--coffee-text-main) !important;
}

/* ─── USER REFINEMENTS: HERO TRANSPARENCY, UNIFORM HEADER & NOBLE FOREST GREEN ACCENT ─── */

/* 1. Hero: Maximum transparency to reveal the lush trees, sharp text */
.hero-schloss-badge {
  display: none !important;
}

.v2-hero-copy,
.v2-hero-center,
.v2-hero-copy.v2-hero-center {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#v2Title,
.v2-hero-copy h1,
.v2-hero-center h1 {
  color: #14100c !important;
  font-weight: 850 !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.85) !important;
}

.v2-subtitle,
.v2-hero-copy .v2-subtitle,
.v2-hero-center .v2-subtitle {
  color: #2b221a !important;
  font-weight: 650 !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.8) !important;
}

/* 2. Top Header & Ticker: Uniform Warm Coffee Palette (No stark white) */
.v2-weather-widget,
.top-news-ticker,
.top-ticker-notdienst-cta,
#v2Menu {
  background: #faf5ed !important;
  border: 1px solid #ded3c4 !important;
  color: #2c221a !important;
  box-shadow: 0 1px 3px rgba(44, 34, 26, 0.05) !important;
}

.v2-weather-widget:hover,
#v2Menu:hover {
  background: #f4ecdf !important;
  border-color: #c9bbae !important;
}

.top-ticker-track,
.top-ticker-item,
.ticker-placeholder,
.top-ticker-track a {
  color: #2c221a !important;
}

.ticker-badge-live {
  background: #1e4d38 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 750 !important;
}

.top-ticker-notdienst-cta:hover {
  background: #fdf2f2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

.notdienst-dot {
  background: #dc2626 !important;
}

/* 3. REPLACING BLUE WITH NOBLE FOREST GREEN (#1e4d38) */

/* Melisa Assistant Action Pills */
.v2-actions > button,
.v2-actions > a {
  background: #f4ecdf !important;
  border: 1px solid #ded3c4 !important;
  color: #1d1b18 !important;
  box-shadow: 0 1px 3px rgba(44, 34, 26, 0.04) !important;
}

.v2-actions > button:hover,
.v2-actions > a:hover {
  background: #ece2d2 !important;
  border-color: #c4b5a2 !important;
}

.v2-actions svg,
.v2-actions b {
  color: #1e4d38 !important;
}

/* Melisa Mic Button */
.v2-assistant #micBtn,
.v2-assistant #sendBtn,
.v2-voice-btn,
.v2-mic-btn {
  background: #1e4d38 !important;
  color: #ffffff !important;
}

.v2-assistant #micBtn:hover,
.v2-assistant #sendBtn:hover,
.v2-voice-btn:hover,
.v2-mic-btn:hover {
  background: #153828 !important;
}

/* Melisa Orb Harmonized with Forest Green / Opal */
.v2-orb {
  background: radial-gradient(ellipse at 76% 70%, #fff0df 0, transparent 32%),
              radial-gradient(ellipse at 26% 24%, white, transparent 39%),
              conic-gradient(from 20deg, #b8d4c5, #f5f8f5, #8dbcaa, #e2efe8, #7ea994, #dbeae1, #b8d4c5) !important;
  box-shadow: inset 3px 4px 8px #fff, inset -4px -5px 9px rgba(30, 77, 56, 0.22), 0 0 0 3px #eef5f1 !important;
}

/* 10 Navigation Tiles Icons */
.v2-tile svg,
.v2-tile b {
  color: #1e4d38 !important;
}

.v2-tile:hover {
  border-color: #1e4d38 !important;
}

/* ==========================================================================
   CIVIC SPLIT CARD (JUGEND-UMFRAGE & STADT-TALK) — NOBLE HARMONIZED PALETTE
   Perfect visual balance matching the top half (warm sand, ivory, noble green)
   ========================================================================== */

/* Outer Split Card Container */
.v2-discovery.v2-civic-split-card,
.v2-civic-split-card,
#cardCivicSplit {
  background: #faf5ed !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(43, 34, 27, 0.06) !important;
}

.split-col {
  background: transparent !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
}

.split-poll-col {
  background: transparent !important;
  border-right: 1px solid #e8e0d4 !important;
}

.split-chat-col {
  background: transparent !important;
}

/* Titles, Subtitles & Headers */
.poll-header-area,
.chat-header-area {
  background: transparent !important;
  margin-bottom: 6px !important;
}

.poll-header-area .familie-card-header strong,
.chat-header-area .familie-card-header strong {
  color: #2b221b !important;
  font-weight: 750 !important;
  font-size: 13.5px !important;
}

.split-subtitle {
  color: #6e6054 !important;
  font-size: 11.5px !important;
  margin: 1px 0 6px 0 !important;
  line-height: 1.3 !important;
}

/* Badges (Stimmen Count & Live Tag) */
#pollTotalCount,
.split-chat-col .live-tag,
.familie-sub-clean {
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  color: #1e4d38 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(43, 34, 27, 0.03) !important;
}

.split-chat-col .live-tag .pulse-dot {
  background: #1e4d38 !important;
}

/* Civic Hook Callout ("Deine Stimme zählt") */
.poll-civic-hook {
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  border-left: 3.5px solid #1e4d38 !important;
  border-radius: 8px !important;
  padding: 5px 8px !important;
  margin-bottom: 7px !important;
  box-shadow: 0 1px 3px rgba(43, 34, 27, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
}

.poll-civic-hook svg {
  color: #1e4d38 !important;
  flex-shrink: 0 !important;
}

.poll-civic-hook span {
  color: #2b221b !important;
}

.poll-civic-hook strong {
  color: #1e4d38 !important;
  font-weight: 700 !important;
}

/* Poll Options: Crisp, Clean, Clickable */
.poll-options-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  background: transparent !important;
}

.poll-option-btn {
  background: #ffffff !important;
  border: 1px solid #e2dacd !important;
  border-radius: 8px !important;
  padding: 5px 8px !important;
  color: #2b221b !important;
  box-shadow: 0 1px 2px rgba(43, 34, 27, 0.03) !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.poll-option-btn:hover {
  background: #fbf8f3 !important;
  border-color: #1e4d38 !important;
  box-shadow: 0 2px 6px rgba(30, 77, 56, 0.08) !important;
  transform: translateY(-0.5px) !important;
}

.poll-option-btn.is-voted {
  background: #f1f7f3 !important;
  border-color: #1e4d38 !important;
}

.poll-btn-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.poll-option-label {
  color: #2b221b !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
}

.poll-pct {
  color: #1e4d38 !important;
  font-weight: 750 !important;
  font-size: 11px !important;
}

.poll-progress-bg {
  background: #eee7dc !important;
  height: 3.5px !important;
  border-radius: 999px !important;
  margin-top: 3px !important;
  overflow: hidden !important;
}

.poll-progress-fill {
  background: #1e4d38 !important;
  height: 100% !important;
  border-radius: 999px !important;
  transition: width 0.3s ease !important;
}

/* Stadt-Talk Chat Feed & Messages */
.stadt-chat-feed {
  background: transparent !important;
  min-height: 82px !important;
  max-height: 110px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-bottom: 6px !important;
}

.chat-empty-box {
  background: #ffffff !important;
  border: 1px dashed #ded5c7 !important;
  border-radius: 8px !important;
  padding: 10px !important;
  text-align: center !important;
  color: #6e6054 !important;
}

.chat-empty-title {
  color: #1e4d38 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
}

.chat-empty-desc {
  color: #786b5e !important;
  font-size: 10.5px !important;
}

.chat-msg-row {
  background: #ffffff !important;
  border: 1px solid #e2dacd !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  box-shadow: 0 1px 2px rgba(43, 34, 27, 0.03) !important;
}

.chat-msg-author {
  color: #1e4d38 !important;
  font-weight: 750 !important;
  font-size: 11.5px !important;
}

.chat-msg-time {
  color: #8c8073 !important;
  font-size: 10px !important;
}

.chat-msg-bubble {
  color: #2b221b !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

/* Interactive Chat Input Composer */
.chat-input-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  border-radius: 8px !important;
  padding: 2px 3px 2px 7px !important;
  height: 32px !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(43, 34, 27, 0.03) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.chat-input-row:focus-within {
  border-color: #1e4d38 !important;
  box-shadow: 0 0 0 2px rgba(30, 77, 56, 0.12) !important;
}

.chat-nick-input {
  width: 50px !important;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid #e2dacd !important;
  color: #2b221b !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  padding: 2px 4px 2px 0 !important;
  outline: none !important;
}

.chat-nick-input::placeholder {
  color: #9c8e80 !important;
}

.chat-text-input {
  flex: 1 1 auto !important;
  background: transparent !important;
  border: none !important;
  color: #2b221b !important;
  font-size: 11.5px !important;
  padding: 2px 4px !important;
  outline: none !important;
}

.chat-text-input::placeholder {
  color: #9c8e80 !important;
}

.chat-send-btn {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  background: #1e4d38 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.chat-send-btn:hover {
  background: #153828 !important;
}

/* Card Action Links & Badges */
.f-service-bullet {
  background: #1e4d38 !important;
}

.familie-card-action,
.familie-card-action span,
.familie-card-action b {
  color: #1e4d38 !important;
  font-weight: 750 !important;
}

/* Counter Badge in Footer */
.visitor-counter-badge,
#statCounterBadge,
.counter-chip {
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  color: #1e4d38 !important;
}

.counter-dot-live {
  background: #1e4d38 !important;
}

/* ==========================================================================
   BOTTOM REDESIGN 2026-09-24 — City today + compact survey + Schul teaser
   Melisa / hero / tile grid untouched. Beige + deep green (#0D3C26 / #1e4d38).
   ========================================================================== */

/* superseded by BOTTOM ALIGN block at end of file */
@media (min-width: 1025px) {
  .v2-discover {
    /* placeholder — real columns set in BOTTOM ALIGN */
    height: auto !important;
    min-height: 0 !important;
  }
}

.v2-bottom-left-stack,
.v2-bottom-side-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-height: 0 !important;
  height: 100% !important;
}

/* ── Schul-App: compact bright teaser strip (not wide banner) ── */
.schul-teaser-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 11px !important;
  background: #f3faf6 !important;
  border: 1px solid #c5ddd0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(13, 60, 38, 0.06) !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
  box-sizing: border-box !important;
}

.schul-teaser-strip:hover {
  border-color: #0D3C26 !important;
  box-shadow: 0 4px 14px rgba(13, 60, 38, 0.1) !important;
  transform: translateY(-1px) !important;
}

.schul-teaser-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: #0D3C26 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 26px !important;
}

.schul-teaser-text {
  flex: 1 1 auto !important;
  font-size: 11.5px !important;
  color: #2b221b !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.schul-teaser-text strong {
  color: #0D3C26 !important;
  font-weight: 750 !important;
  font-size: 12px !important;
  display: inline !important;
  margin: 0 !important;
}

.schul-teaser-cta {
  flex: 0 0 auto !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  color: #0D3C26 !important;
  white-space: nowrap !important;
}

/* Hide old large Schul promo features if any leftover class used */
.v2-schule-promo-card .familie-services-list,
.v2-schule-promo-card .schul-app-promo-tag,
.v2-schule-promo-card .familie-card-action {
  display: none !important;
}

/* ── Compact civic survey (mobile two-choice UX) ── */
.civic-survey-compact {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 12px 12px 11px !important;
  background: #faf5ed !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(43, 34, 27, 0.05) !important;
  box-sizing: border-box !important;
}

.civic-survey-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.civic-survey-head strong {
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: #2b221b !important;
  margin: 0 !important;
  display: inline !important;
}

.civic-survey-badge {
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  color: #0D3C26 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.civic-survey-q {
  margin: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  color: #2b221b !important;
  font-weight: 600 !important;
}

.civic-survey-opts {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.civic-vote-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-align: left !important;
  padding: 8px 9px !important;
  background: #f4ece1 !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
  box-sizing: border-box !important;
  font: inherit !important;
  color: #2b221b !important;
}

.civic-vote-btn:hover {
  background: #ede4d6 !important;
  border-color: #0D3C26 !important;
}

.civic-vote-btn.is-voted {
  background: #eef6f1 !important;
  border-color: #0D3C26 !important;
}

.civic-vote-mark {
  flex: 0 0 auto !important;
  color: #8c8073 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.civic-vote-btn.is-voted .civic-vote-mark {
  color: #0D3C26 !important;
}

.civic-vote-label {
  flex: 1 1 auto !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.civic-vote-pct {
  flex: 0 0 auto !important;
  font-size: 10.5px !important;
  font-weight: 750 !important;
  color: #6e6054 !important;
  background: #eee5d7 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
}

.civic-vote-btn.is-voted .civic-vote-pct {
  color: #0D3C26 !important;
  background: #dceee4 !important;
}

.civic-survey-note {
  font-size: 10.5px !important;
  color: #0D3C26 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

/* ── City today main stage ── */
.v2-city-today {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 8px 10px 10px !important;
  background: #faf5ed !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(43, 34, 27, 0.06) !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.city-today-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.city-today-header strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #2b221b !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

.city-today-sub {
  display: block !important;
  font-size: 11px !important;
  color: #6e6054 !important;
  margin-top: 2px !important;
}

.city-today-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #ffffff !important;
  border: 1px solid #ded5c7 !important;
  color: #0D3C26 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.city-today-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 10px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  align-content: stretch !important;
  align-items: stretch !important;
}

.city-news-slot {
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  height: 100% !important;
  max-height: 100% !important;
  opacity: 1 !important;
  transition: opacity 0.28s ease !important;
  overflow: hidden !important;
}

.city-news-slot.is-fading {
  opacity: 0 !important;
}

.city-news-slot > .city-news-card {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
}

.city-news-placeholder {
  grid-column: 1 / -1 !important;
  padding: 28px 12px !important;
  text-align: center !important;
  color: #6e6054 !important;
  font-size: 12px !important;
  background: #ffffff !important;
  border: 1px dashed #ded5c7 !important;
  border-radius: 10px !important;
}

.city-news-card {
  display: block !important;
  position: relative !important;
  background: #1a2e24 !important;
  border: 1px solid #e2dacd !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-align: left !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
  box-shadow: 0 1px 3px rgba(43, 34, 27, 0.04) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  /* Prefer fill; clamps near 16:9–3:2 via slot height */
  aspect-ratio: auto !important;
}

.city-news-card:hover {
  border-color: #0D3C26 !important;
  box-shadow: 0 4px 14px rgba(13, 60, 38, 0.1) !important;
  transform: translateY(-1px) !important;
}

.city-news-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  background-color: #1a2e24 !important;
  background-image: none !important;
  overflow: hidden !important;
}

.city-news-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border: 0 !important;
}

.city-news-photo::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 24, 18, 0.55) 72%, rgba(10, 24, 18, 0.88) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.city-news-body {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  padding: 8px 11px 9px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  background: transparent !important;
}

.city-news-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  font-size: 10px !important;
  color: rgba(255,255,255,0.82) !important;
}

.city-news-cat {
  color: #0D3C26 !important;
  font-weight: 700 !important;
  background: rgba(238, 246, 241, 0.95) !important;
  border-radius: 999px !important;
  padding: 1px 6px !important;
  max-width: 62% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.city-news-title {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35) !important;
}

.city-news-source {
  font-size: 10px !important;
  color: rgba(255,255,255,0.75) !important;
  margin-top: 0 !important;
}

/* ── Stadt-Talk standalone card (no poll half) ── */
.v2-stadt-talk-card {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 12px 12px 10px !important;
  background: #faf5ed !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(43, 34, 27, 0.05) !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.v2-stadt-talk-card .stadt-chat-feed {
  flex: 1 1 auto !important;
  min-height: 70px !important;
  max-height: 96px !important;
  height: auto !important;
}

.v2-hilfe-compact {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.v2-hilfe-compact .familie-card-content {
  padding: 10px 12px 11px !important;
}

.v2-hilfe-compact .familie-services-list {
  gap: 5px !important;
  margin: 6px 0 !important;
}

.v2-hilfe-compact .f-service-row small {
  font-size: 10.5px !important;
}

.v2-hilfe-compact .familie-card-action {
  margin-top: 4px !important;
  padding-top: 6px !important;
}

/* Hide legacy civic-split / poll remnants if present */
.v2-civic-split-card .split-poll-col,
.poll-options-grid,
.poll-civic-hook {
  display: none !important;
}

@media (max-width: 1024px) {
  .v2-discover {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .v2-bottom-left-stack,
  .v2-bottom-side-stack,
  .v2-city-today {
    width: 100% !important;
  }

  .city-today-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }

  .city-news-card {
    aspect-ratio: 16 / 9 !important;
  }
}

/* ── BOTTOM LAYOUT FIX: prevent legacy .v2-discovery height:100% crush ── */
.v2-bottom-side-stack {
  align-items: stretch !important;
}

.v2-bottom-side-stack > .v2-discovery,
.v2-bottom-side-stack > .v2-stadt-talk-card,
.v2-bottom-side-stack > .v2-hilfe-compact,
.v2-stadt-talk-card,
.v2-hilfe-compact {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.v2-stadt-talk-card {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.v2-hilfe-compact {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Left stack: keep survey compact, do not stretch into empty gap */
.v2-bottom-left-stack {
  justify-content: flex-start !important;
}

.civic-survey-compact {
  flex: 0 0 auto !important;
}

.schul-teaser-strip {
  flex: 0 0 auto !important;
}

/* Ensure talk internals remain usable */
.v2-stadt-talk-card .chat-header-area,
.v2-stadt-talk-card .chat-input-row,
.v2-stadt-talk-card .stadt-chat-feed {
  flex-shrink: 0 !important;
}
.v2-stadt-talk-card .stadt-chat-feed {
  flex: 1 1 auto !important;
  flex-shrink: 1 !important;
  min-height: 72px !important;
  max-height: 140px !important;
}

.schul-teaser-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.schul-teaser-text small {
  display: block !important;
  font-size: 10.5px !important;
  color: #6e6054 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.schul-teaser-cta {
  font-size: 16px !important;
  line-height: 1 !important;
}

/* ==========================================================================
   BOTTOM ALIGN TO 5-COL TILE GRID 2026-09-24
   Mirror .v2-main (1fr + 24px + 350px Melisa) and 5-col tile gutters (10px).
   LEFT = tile col1 (Gesundheit). CENTER = cols 2–5 (Sport→Mobilität).
   RIGHT = Melisa width 350px, Stadt-Talk only (Hilfe removed).
   Melisa / hero / tile grid untouched. No page scroll.
   ========================================================================== */

@media (min-width: 1025px) {
  .v2-discover {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    column-gap: 24px !important; /* match .v2-main ↔ Melisa gap */
    row-gap: 0 !important;
    align-items: start !important; /* tops of L/C/R flush */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 8px 0 !important;
  }

  .v2-discover > * {
    min-width: 0 !important;
  }

  /* Primary zone = same width as .v2-tiles; internal cols mirror 5-tile grid */
  .v2-discover-primary {
    display: grid !important;
    grid-template-columns:
      calc((100% - 40px) / 5)                 /* tile col 1 */
      calc(4 * ((100% - 40px) / 5) + 30px)    /* tile cols 2–5 (+ 3 gutters) */
      !important;
    column-gap: 10px !important; /* match .v2-tiles gap */
    align-items: start !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .v2-bottom-left-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    justify-content: flex-start !important;
  }

  .v2-city-today {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    /* keep a stable stage height for 2 photo slots without forcing page scroll */
    min-height: 0 !important;
  }

  .v2-bottom-side-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 350px !important;
    max-width: 350px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  /* Compact Stadt-Talk under Melisa — no stretch crush, no Hilfe sibling */
  .v2-stadt-talk-card,
  .v2-stadt-talk-compact {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 10px 12px 10px !important;
    background: #faf5ed !important;
    border: 1px solid #ded3c4 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(43, 34, 27, 0.05) !important;
    box-sizing: border-box !important;
  }

  .v2-stadt-talk-compact .chat-header-area {
    flex: 0 0 auto !important;
    margin-bottom: 6px !important;
  }

  .v2-stadt-talk-compact .split-subtitle {
    font-size: 11px !important;
    margin: 2px 0 0 !important;
    color: #6e6054 !important;
  }

  .v2-stadt-talk-compact .stadt-chat-feed {
    flex: 0 0 auto !important;
    min-height: 64px !important;
    max-height: 88px !important;
    height: 88px !important;
    overflow: auto !important;
  }

  .v2-stadt-talk-compact .chat-input-row {
    flex: 0 0 auto !important;
    margin-top: 8px !important;
  }

  .v2-stadt-talk-compact .chat-empty-box {
    padding: 8px 6px !important;
  }

  .v2-stadt-talk-compact .chat-empty-desc {
    font-size: 11px !important;
  }

  /* Hide Hilfe if any leftover markup remains */
  .v2-hilfe-compact,
  .v2-bottom-side-stack > a.v2-familie-card {
    display: none !important;
  }

  /* City today fills its Sport→Mobilität column; keep photo grid readable */
  .v2-city-today {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 8px 10px 10px !important;
  }

  .city-today-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-height: 160px !important;
    max-height: 200px !important;
  }

  .city-news-slot,
  .city-news-slot > .city-news-card,
  .city-news-card {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
  }
}

@media (max-width: 1024px) {
  .v2-discover {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .v2-discover-primary {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .v2-bottom-left-stack,
  .v2-city-today,
  .v2-bottom-side-stack {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* ==========================================================================
   BOTTOM FLUSH STRETCH 2026-09-24
   Fill .v2-main 1fr discover row; stretch LEFT / CENTER / RIGHT to SAME
   bottom edge flush to footer (tiny margin OK). Keep horizontal grid from
   BOTTOM ALIGN (left under Gesundheit, heute under Sport–Mobilität,
   Stadt-Talk under Melisa). No page scroll.
   ========================================================================== */
@media (min-width: 1025px) {
  .v2-discover {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: stretch !important; /* L/C/R share same bottom */
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 2px 0 !important; /* tiny gap above footer */
  }

  .v2-discover > * {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    align-self: stretch !important;
  }

  .v2-discover-primary {
    display: grid !important;
    grid-template-columns:
      calc((100% - 40px) / 5)
      calc(4 * ((100% - 40px) / 5) + 30px)
      !important;
    column-gap: 10px !important;
    align-items: stretch !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .v2-discover-primary > * {
    min-height: 0 !important;
    height: 100% !important;
    align-self: stretch !important;
  }

  /* LEFT: Schul strip fixed; Bürgerbefragung fills rest */
  .v2-bottom-left-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    justify-content: flex-start !important;
  }

  .schul-teaser-strip {
    flex: 0 0 auto !important;
  }

  .civic-survey-compact {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  /* CENTER: heute fills Sport→Mobilität column; photo grid grows */
  .v2-city-today {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 8px 10px 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    box-sizing: border-box !important;
  }

  .city-today-header {
    flex: 0 0 auto !important;
  }

  .city-today-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important; /* was 200px — caused dead beige under cards */
  }

  .city-news-slot,
  .city-news-slot > .city-news-card,
  .city-news-card {
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  /* RIGHT: Stadt-Talk fills Melisa column to same bottom */
  .v2-bottom-side-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 350px !important;
    max-width: 350px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  .v2-stadt-talk-card,
  .v2-stadt-talk-compact,
  #cardStadtTalk {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .v2-stadt-talk-compact .chat-header-area,
  #cardStadtTalk .chat-header-area {
    flex: 0 0 auto !important;
  }

  .v2-stadt-talk-compact .stadt-chat-feed,
  #cardStadtTalk .stadt-chat-feed {
    flex: 1 1 auto !important;
    min-height: 64px !important;
    height: auto !important;
    max-height: none !important; /* was locked 88px */
    overflow: auto !important;
  }

  .v2-stadt-talk-compact .chat-input-row,
  #cardStadtTalk .chat-input-row {
    flex: 0 0 auto !important;
    margin-top: auto !important;
  }

  .v2-hilfe-compact,
  .v2-bottom-side-stack > a.v2-familie-card {
    display: none !important;
  }
}

/* HERO EMBOSSED TITLE — invisible scrim + white 3D text (2026-09-24 20260924-1950) */
/* Keep top-left layout; kill visible green frame; rely on text-shadow (+ faint vignette). */
.v2-hero {
  background: url('/images/ludwigslust/schloss_real.jpg') center 48% / cover no-repeat !important;
}

.v2-hero .v2-hero-copy.v2-hero-center,
.v2-hero-copy.v2-hero-center,
.v2-hero .v2-hero-copy,
.v2-hero .v2-hero-center {
  display: inline-block !important;
  width: fit-content !important;
  max-width: min(640px, 88%) !important;
  margin: 28px 0 0 2% !important;
  padding: 18px 22px 20px !important;
  border-radius: 16px !important;
  /* Soft vignette only — no fill, no edge, no frame */
  background: radial-gradient(
    ellipse 130% 120% at 30% 45%,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.16) 38%,
    rgba(0, 0, 0, 0.05) 58%,
    rgba(0, 0, 0, 0.0) 78%
  ) !important;
  border: 0 solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.v2-hero .v2-hero-copy.v2-hero-center #v2Title,
.v2-hero-copy.v2-hero-center #v2Title,
.v2-hero #v2Title,
#v2Title,
.v2-hero .v2-hero-copy.v2-hero-center h1,
.v2-hero-copy.v2-hero-center h1,
.v2-hero .v2-hero-copy h1,
.v2-hero .v2-hero-center h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  /* Embossed white: tight edge definition + depth drop + soft top highlight */
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.55),
    0 1px 0 rgba(0, 0, 0, 0.45),
    1px 1px 0 rgba(0, 0, 0, 0.28),
    -1px 0 1px rgba(0, 0, 0, 0.22),
    0 2px 4px rgba(0, 0, 0, 0.50),
    0 8px 20px rgba(0, 0, 0, 0.42),
    0 14px 36px rgba(0, 0, 0, 0.30) !important;
  margin: 0 0 8px !important;
  filter: none !important;
}

.v2-hero .v2-hero-copy.v2-hero-center .v2-subtitle,
.v2-hero-copy.v2-hero-center .v2-subtitle,
.v2-hero .v2-hero-copy .v2-subtitle,
.v2-hero .v2-hero-center .v2-subtitle,
.v2-hero .v2-hero-copy > p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 0.98 !important;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 3px 8px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.32) !important;
  margin: 0 !important;
}

.v2-hero .v2-hero-copy.v2-hero-center::before,
.v2-hero .v2-hero-copy.v2-hero-center::after,
.v2-hero-copy.v2-hero-center::before,
.v2-hero-copy.v2-hero-center::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  .v2-hero .v2-hero-copy.v2-hero-center,
  .v2-hero-copy.v2-hero-center,
  .v2-hero .v2-hero-copy {
    margin: 22px 16px 0 !important;
    max-width: calc(100% - 32px) !important;
    padding: 14px 16px 16px !important;
    border-radius: 14px !important;
  }
}

/* MELISA CHIP/INPUT GAP FIX 2026-09-24 13:12 CEST
   Keep the initial assistant card content-sized instead of stretching it
   across the desktop grid rows; the input follows the chips directly. */
@media (min-width: 1025px) {
  .v2-assistant:not(.chat-active) {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
    padding: 16px 18px 12px !important;
  }

  .v2-assistant:not(.chat-active) .v2-actions {
    margin: 18px 0 6px !important;
    gap: 9px !important;
  }

  .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


/* MELISA REVERT2 melisa-revert2-20260924-1840
   High Melisa beside hero (pre-align layout) + capability text inscriptions (no chips). */
#v2Actions[hidden] { display: none !important; }

.melisa-intro-copy {
  text-align: left !important;
}

.v2-assistant .v2-intro h2 {
  margin: 0 0 6px !important;
}

.melisa-pitch {
  margin: 0 0 8px !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: #334155 !important;
  text-align: left !important;
}

.melisa-caps {
  margin: 0 0 10px !important;
  padding: 0 0 0 1.15em !important;
  list-style: disc !important;
  color: #1e293b !important;
  text-align: left !important;
}

.melisa-caps li {
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 0 0 4px !important;
}

.melisa-caps li:last-child { margin-bottom: 0 !important; }

@media (min-width: 1025px) {
  .v2-assistant:not(.chat-active) .v2-intro {
    margin-bottom: 4px !important;
  }
  .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    margin-top: 8px !important;
  }
  .melisa-pitch { font-size: 12px !important; }
  .melisa-caps li { font-size: 11.5px !important; }
}

/* ============================================================
   MELISA STRETCH-TALK melisa-stretch-talk-20260924-185324
   Right column: Melisa flex:1 fills down to Stadt-Talk.
   Voice: collapse ONLY .melisa-caps-block (pitch + 4 caps).
   Do NOT change Ludwigslust green accents / borders this turn.
   ============================================================ */

.melisa-caps-block {
  overflow: hidden !important;
  max-height: 320px !important;
  opacity: 1 !important;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.22s ease, padding 0.22s ease !important;
}

.v2-assistant.voice-listening .melisa-caps-block,
.v2-assistant:has(#micBtn.listening) .melisa-caps-block,
body.melisa-voice-listening .melisa-caps-block {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 1025px) {
  .v2-right-stack {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-self: stretch !important;
    align-items: stretch !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 350px !important;
    max-width: 350px !important;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
  }

  .v2-right-stack > .v2-assistant,
  .v2-right-stack .v2-assistant {
    grid-column: auto !important;
    grid-row: auto !important;
    position: relative !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Beat CHIP/INPUT GAP FIX align-self:start */
  .v2-right-stack .v2-assistant:not(.chat-active) {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
  }

  .v2-right-stack .v2-assistant .v2-intro {
    flex: 0 0 auto !important;
  }

  .v2-right-stack .v2-assistant .melisa-bottom-bar,
  .v2-right-stack .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 8px !important;
  }

  .v2-right-stack .v2-assistant.chat-active {
    flex: 1 1 auto !important;
    align-self: stretch !important;
    margin-top: 0 !important;
    max-height: none !important;
  }

  .v2-right-stack > .v2-bottom-side-stack,
  .v2-right-stack #bottomSideStack {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .v2-right-stack #cardStadtTalk,
  .v2-right-stack #cardPickMeStudio,
  .v2-right-stack .v2-stadt-talk-card,
  .v2-right-stack .v2-pickme-studio-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* Discover is left+center only — Talk lives in right stack */
  .v2-discover {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
  }
}

@media (max-width: 1024px) {
  .v2-right-stack {
    display: contents !important;
  }
}

/* ============================================================
   BOTTOM UNSQUASH bottom-unsquash-20260924-190112
   HEUTE-4-ROW heute-4-row-20260924-190830: quad = 4×1 row (not 2×2)
   Fix phantom discover 2nd col after melisa-stretch; widen left
   (Bürgerbefragung) + right (Stadt-Talk/Melisa); prefer 4 news.
   Keep Melisa flex:1 → Talk (no beige gap Melisa↔Talk).
   ============================================================ */
@media (min-width: 1025px) {
  /* Main + Melisa/Talk column: ~400px (was 350) */
  .v2-main {
    grid-template-columns: minmax(0, 1fr) 400px !important;
    column-gap: 24px !important;
  }

  .v2-right-stack,
  #rightSideStack {
    width: 400px !important;
    max-width: 400px !important;
  }

  /* Discover under tiles only — kill phantom empty 1.12fr column */
  .v2-discover {
    grid-column: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    align-items: stretch !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 2px 0 !important;
  }

  .v2-discover > * {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Left ~300px (was ~120 / 1/5 tile); center fills Sport→Mobilität */
  .v2-discover-primary {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  .v2-discover-primary > * {
    min-height: 0 !important;
    height: 100% !important;
    align-self: stretch !important;
  }

  .v2-bottom-left-stack {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .v2-city-today {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Talk lives in right stack — don't pin old 350px on leftover rules */
  .v2-bottom-side-stack,
  #bottomSideStack {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Default pair fills width; quad = 4 across in one row */
  .city-today-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .city-today-grid.city-today-grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .city-today-grid.city-today-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .city-today-grid--quad .city-news-title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2 !important;
  }

  .city-today-grid--quad .city-news-body {
    padding: 6px 9px 7px !important;
  }

  .city-today-grid--quad .city-news-meta,
  .city-today-grid--quad .city-news-source {
    font-size: 9px !important;
  }
}


/* ============================================================
   MELISA CAPS TYPO heute-4-row-20260924-190830
   Tall card after stretch: calm readable capability text.
   Keep greeting + caps meaning; no chips; voice-collapse intact.
   Beat .v2-assistant .v2-intro p {13px} with higher specificity.
   ============================================================ */
.v2-assistant .melisa-intro-copy {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif !important;
}

.v2-assistant .v2-intro h2 {
  margin: 0 0 22px !important;
  font-size: 27px !important;
  font-weight: 650 !important;
  letter-spacing: -0.4px !important;
  line-height: 1.28 !important;
  color: #0f1f3a !important;
  font-family: inherit !important;
}

.v2-assistant .v2-intro p.melisa-pitch,
.v2-assistant .melisa-pitch {
  margin: 0 0 28px !important;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.02em !important;
  color: #445468 !important;
  text-align: left !important;
  font-family: inherit !important;
}

.v2-assistant .melisa-caps {
  margin: 0 !important;
  padding: 0 0 0 1.1em !important;
  list-style: disc !important;
  color: #18253c !important;
  text-align: left !important;
  font-family: inherit !important;
}

.v2-assistant .melisa-caps li {
  font-size: 15.5px !important;
  font-weight: 450 !important;
  line-height: 1.85 !important;
  letter-spacing: 0.015em !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}

.v2-assistant .melisa-caps li:last-child { margin-bottom: 8px !important; }

.v2-assistant .melisa-caps-block {
  max-height: 720px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding-bottom: 8px !important;
}

@media (min-width: 1025px) {
  .v2-assistant:not(.chat-active) .v2-intro {
    margin-bottom: 14px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  .v2-right-stack .v2-assistant .v2-intro {
    flex: 1 1 auto !important;
  }
  .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    margin-top: auto !important;
  }
  .v2-assistant .v2-intro h2 {
    font-size: 28px !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.45px !important;
  }
  .v2-assistant .v2-intro p.melisa-pitch,
  .v2-assistant .melisa-pitch {
    font-size: 16px !important;
    line-height: 1.82 !important;
    margin-bottom: 32px !important;
    letter-spacing: 0.022em !important;
  }
  .v2-assistant .melisa-caps li {
    font-size: 16px !important;
    line-height: 1.9 !important;
    margin-bottom: 26px !important;
  }
  .v2-assistant .melisa-caps {
    margin-top: 2px !important;
  }
}


/* ============================================================
   PICKME STUDIO CAPS + MELISA UNSQUEEZE pickme-studio-caps-20260924-192524
   1) Melisa head/orb/greeting restored — Studio shorter, Melisa room
   2) Melisa fonts = candy site (Arial), not Segoe technical look
   3) Studio = capability slides in brand greens + candy beige
   4) Contact: info@mypickme.de / Schreiben — no portal screenshots
   ============================================================ */

/* --- Melisa: un-squeeze head, candy typography --- */
.v2-assistant .melisa-intro-copy {
  font-family: Arial, Helvetica, sans-serif !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.v2-assistant .v2-intro h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
  color: #2b221b !important;
  flex: 0 0 auto !important;
}

.v2-assistant .v2-intro p.melisa-pitch,
.v2-assistant .melisa-pitch {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  margin: 0 0 8px !important;
  color: #6e6054 !important;
}

.v2-assistant .melisa-caps {
  font-family: Arial, Helvetica, sans-serif !important;
  margin: 0 !important;
  padding: 0 0 0 1.1em !important;
}

.v2-assistant .melisa-caps li {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  margin: 0 0 5px !important;
  color: #2b221b !important;
}

.v2-assistant .melisa-caps li:last-child {
  margin-bottom: 0 !important;
}

.v2-assistant .melisa-caps-block {
  max-height: none !important;
  flex: 0 1 auto !important;
  padding-bottom: 4px !important;
}

@media (min-width: 1025px) {
  .v2-right-stack .v2-assistant,
  .v2-right-stack > .v2-assistant,
  #rightSideStack > .v2-assistant {
    flex: 1 1 auto !important;
    min-height: 480px !important;
    overflow: visible !important;
    justify-content: flex-start !important;
  }

  .v2-right-stack .v2-assistant .v2-intro,
  .v2-right-stack .v2-assistant:not(.chat-active) .v2-intro {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 8px !important;
  }

  .v2-right-stack .v2-assistant .v2-orb {
    width: 92px !important;
    height: 92px !important;
    margin: 4px auto 12px !important;
    flex: 0 0 auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .v2-right-stack .v2-assistant .melisa-intro-copy {
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  .v2-right-stack .v2-assistant .v2-intro h2 {
    font-size: 21px !important;
    margin-bottom: 8px !important;
  }

  .v2-right-stack .v2-assistant .melisa-pitch {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }

  .v2-right-stack .v2-assistant .melisa-caps li {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 5px !important;
  }

  .v2-right-stack .v2-assistant .melisa-bottom-bar,
  .v2-right-stack .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
  }
  .v2-right-stack .v2-assistant {
    padding-bottom: 12px !important;
  }

  /* Studio shorter — Melisa keeps headroom */
  .v2-right-stack .v2-pickme-studio-card,
  .v2-right-stack #cardPickMeStudio,
  #rightSideStack .v2-pickme-studio-card,
  #rightSideStack #cardPickMeStudio {
    flex: 0 0 auto !important;
    max-height: none !important;
  }
}


/* --- Melisa fill: calm local guidance between capabilities and input --- */
.melisa-bridge {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 18px 0 0 !important;
  padding: 14px 14px 13px !important;
  border: 1px solid rgba(205, 190, 172, 0.75) !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.92), rgba(244, 236, 226, 0.76)) !important;
  box-shadow: 0 5px 18px rgba(100, 76, 55, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px !important;
  color: #2b221b !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.melisa-bridge-head { display: flex !important; align-items: center !important; gap: 10px !important; }
.melisa-bridge-mark {
  flex: 0 0 34px !important; width: 34px !important; height: 34px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 10px !important; color: #0d3c26 !important; background: #e4efe8 !important;
  border: 1px solid rgba(13, 60, 38, 0.13) !important;
}
.melisa-bridge-head strong {
  display: block !important; font-size: 13px !important; line-height: 1.25 !important;
  font-weight: 750 !important; letter-spacing: -0.1px !important; color: #2b221b !important;
}
.melisa-bridge-head span:not(.melisa-bridge-mark) {
  display: block !important; margin-top: 3px !important; font-size: 11px !important;
  line-height: 1.35 !important; color: #76685c !important;
}
.melisa-bridge-list { display: grid !important; gap: 7px !important; }
.melisa-bridge-item {
  display: flex !important; align-items: center !important; gap: 9px !important;
  min-height: 24px !important; font-size: 11.5px !important; line-height: 1.3 !important; color: #4b3f35 !important;
}
.melisa-bridge-number {
  flex: 0 0 23px !important; width: 23px !important; height: 23px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 7px !important; color: #1e4d38 !important; background: rgba(228, 239, 232, 0.78) !important;
  font-size: 9px !important; font-weight: 750 !important; letter-spacing: 0.25px !important;
}
@media (min-width: 1025px) {
  .v2-right-stack .v2-assistant .melisa-intro-copy { flex: 0 0 auto !important; }
  .v2-right-stack .v2-assistant .melisa-bridge {
    flex: 1 1 auto !important; min-height: 132px !important; margin-bottom: 2px !important;
  }
}
@media (max-width: 1024px) {
  .melisa-bridge { margin-top: 14px !important; padding: 12px !important; gap: 11px !important; }
}

/* --- PickMe Studio: brand greens + candy beige, capability slides --- */
.v2-pickme-studio-card,
#cardPickMeStudio {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  padding: 10px 11px 10px !important;
  background: linear-gradient(165deg, #faf5ed 0%, #f3ebe0 55%, #f7f1e8 100%) !important;
  border: 1px solid #ded3c4 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(13, 60, 38, 0.07) !important;
  box-sizing: border-box !important;
  color: #2b221b !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pms-header {
  flex: 0 0 auto !important;
  margin-bottom: 7px !important;
}

.pms-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.pms-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  letter-spacing: -0.25px !important;
  color: #0D3C26 !important;
}

.pms-subtitle {
  margin: 3px 0 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: #6e6054 !important;
}

.pms-stage,
.pms-stage--caps {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  height: 108px !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #f3ebe0 !important;
  border: 1px solid #ded3c4 !important;
}

.pms-slide {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  transform: translateX(6px) !important;
  transition: opacity 0.55s ease, transform 0.55s ease !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: stretch !important;
}

.pms-slide.is-active {
  opacity: 1 !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
  z-index: 1 !important;
}

.pms-slide img {
  display: none !important;
}

.pms-cap {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 12px 14px !important;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(2, 132, 199, 0.08), transparent 55%),
    linear-gradient(135deg, #faf5ed 0%, #eef5f0 100%) !important;
}

.pms-ico {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0D3C26 !important;
  color: #faf5ed !important;
  margin-bottom: 2px !important;
}

.pms-ico--blue {
  background: #0284c7 !important;
  color: #fff !important;
}

.pms-cap-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  letter-spacing: -0.2px !important;
  color: #0D3C26 !important;
  line-height: 1.25 !important;
}

.pms-cap-text {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #6e6054 !important;
  max-width: 100% !important;
}

.pms-caption {
  display: none !important;
}

.pms-dots {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  z-index: 3 !important;
  display: flex !important;
  gap: 4px !important;
  align-items: center !important;
}

.pms-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  border: 0 !important;
  padding: 0 !important;
  background: rgba(13, 60, 38, 0.25) !important;
  cursor: pointer !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.pms-dot.is-active {
  background: #1e4d38 !important;
  transform: scale(1.25) !important;
}

.pms-contact {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 10px !important;
  margin-top: 8px !important;
}

.pms-cta {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 32px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid #0D3C26 !important;
  background: linear-gradient(180deg, #1e4d38 0%, #0D3C26 100%) !important;
  color: #faf5ed !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: 0.1px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(13, 60, 38, 0.22) !important;
  transition: filter 0.2s ease, transform 0.15s ease !important;
}

.pms-cta:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

.pms-cta svg {
  flex: none !important;
}

.pms-mail,
.pms-web {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #0284c7 !important;
  text-decoration: none !important;
}

.pms-mail:hover,
.pms-web:hover {
  text-decoration: underline !important;
}

@media (min-width: 1025px) {
  .v2-right-stack #cardPickMeStudio,
  .v2-right-stack .v2-pickme-studio-card {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}

@media (max-width: 1024px) {
  .v2-pickme-studio-card,
  #cardPickMeStudio {
    width: 100% !important;
  }
  .pms-stage,
  .pms-stage--caps {
    height: 100px !important;
  }
}


/* PickMe Studio video promo — 20260926 */
.pms-stage--video {
  height: 148px !important;
  background: #0D3C26 !important;
  border-radius: 9px !important;
  overflow: hidden !important;
}
.pms-video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 9px !important;
  border: 0 !important;
  background: #0D3C26 !important;
  pointer-events: none !important;
}
@media (max-width: 1024px) {
  .pms-stage--video {
    height: 132px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pms-video {
    /* browser shows poster when paused; JS pauses on reduce */
  }
}

@media (prefers-reduced-motion: reduce) {
  .pms-slide {
    transition: opacity 0.01s linear !important;
    transform: none !important;
  }
}

/* Live-Demo entry card in Schule modal */
.schul-live-demo-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%) !important;
  border: 1px solid rgba(15, 122, 79, 0.28) !important;
  box-shadow: 0 1px 0 rgba(15, 122, 79, 0.06) !important;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
  margin: 0 !important;
}
.schul-live-demo-card:hover {
  border-color: #0f7a4f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(15, 122, 79, 0.12) !important;
}
.schul-live-demo-icon {
  flex: 0 0 auto !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(15, 122, 79, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.schul-live-demo-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}
.schul-live-demo-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  align-self: flex-start !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #0f7a4f !important;
  background: rgba(15, 122, 79, 0.1) !important;
  border-radius: 999px !important;
  padding: 1px 7px !important;
  margin-bottom: 1px !important;
}
.schul-live-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22) !important;
  animation: schul-live-pulse 1.6s ease-in-out infinite !important;
}
@keyframes schul-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.schul-live-demo-text strong {
  font-size: 13px !important;
  font-weight: 750 !important;
  color: #065f46 !important;
  line-height: 1.25 !important;
}
.schul-live-demo-text small {
  font-size: 11px !important;
  color: #047857 !important;
  line-height: 1.3 !important;
}
.schul-live-demo-arrow {
  flex: 0 0 auto !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f7a4f !important;
  line-height: 1 !important;
  opacity: 0.85 !important;
}


/* ============================================================
   MELISA WELCOME CALM melisa-welcome-calm-20260926
   Airy greeting + soft intent pills. Less copy, more calm.
   ============================================================ */

.v2-assistant .melisa-intro-copy {
  flex: 0 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  min-width: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.v2-assistant .v2-intro {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.v2-assistant .v2-intro h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.35px !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  color: #2b221b !important;
  text-align: center !important;
  flex: 0 0 auto !important;
}

.v2-assistant .v2-intro p.melisa-pitch,
.v2-assistant .melisa-pitch {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  color: #1e4d38 !important;
  text-align: center !important;
  max-width: 28ch !important;
}

.v2-assistant .melisa-caps,
.v2-assistant .melisa-caps li {
  display: none !important;
}

.v2-assistant .melisa-caps-block {
  max-height: none !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
}

/* Soft intent pills — not a numbered newspaper card */
.melisa-bridge {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  color: #2b221b !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.melisa-bridge-head,
.melisa-bridge-mark,
.melisa-bridge-number {
  display: none !important;
}

.melisa-bridge-label {
  margin: 0 !important;
  padding: 0 2px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #1e4d38 !important;
  text-align: left !important;
  line-height: 1.3 !important;
}

.melisa-bridge-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.melisa-bridge-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(222, 211, 196, 0.95) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0e6 100%) !important;
  box-shadow: 0 2px 10px rgba(43, 34, 27, 0.04) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.1px !important;
  color: #2b221b !important;
  text-align: left !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
}
.melisa-bridge-item svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  color: #1e4d38 !important;
}
.melisa-bridge-item span {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
}
.melisa-bridge-item strong {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #2b221b !important;
}
.melisa-bridge-item small {
  font-size: 11.5px !important;
  font-weight: 550 !important;
  color: #6e6054 !important;
}
.melisa-bridge-item b {
  margin-left: auto !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #1e4d38 !important;
  line-height: 1 !important;
}
@keyframes melisaBreath {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.08); }
}
@keyframes camBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}
.v2-assistant .v2-orb {
  animation: melisaBreath 3.6s ease-in-out infinite !important;
  transform-origin: center center !important;
}
.v2-assistant .melisa-pitch {
  color: #1e4d38 !important;
  font-weight: 650 !important;
}
.v2-assistant #docUploadBtn {
  color: #1e4d38 !important;
}
.v2-assistant #docUploadBtn svg {
  animation: camBreath 2.8s ease-in-out infinite !important;
  transform-origin: center !important;
}
.v2-assistant .melisa-text-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  .v2-assistant .v2-orb,
  .v2-assistant #docUploadBtn svg {
    animation: none !important;
  }
}

.melisa-bridge-item:hover {
  border-color: #1e4d38 !important;
  background: #f4ecdf !important;
  box-shadow: 0 4px 14px rgba(30, 77, 56, 0.12) !important;
}

.melisa-bridge-item:active {
  transform: scale(0.985) !important;
}

.melisa-bridge-item:focus-visible {
  outline: 3px solid rgba(30, 77, 56, 0.35) !important;
  outline-offset: 2px !important;
}

@media (min-width: 1025px) {
  .v2-right-stack .v2-assistant .v2-intro,
  .v2-right-stack .v2-assistant:not(.chat-active) .v2-intro {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 8px !important;
  }

  .v2-right-stack .v2-assistant .v2-orb {
    width: 88px !important;
    height: 88px !important;
    margin: 8px auto 16px !important;
    flex: 0 0 auto !important;
  }

  .v2-right-stack .v2-assistant .melisa-intro-copy {
    flex: 0 0 auto !important;
  }

  .v2-right-stack .v2-assistant .v2-intro h2 {
    font-size: 23px !important;
    margin-bottom: 12px !important;
  }

  .v2-right-stack .v2-assistant .melisa-pitch {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    max-width: 26ch !important;
  }

  .v2-right-stack .v2-assistant .melisa-bridge {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 32px 0 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    gap: 14px !important;
  }

  .v2-right-stack .v2-assistant .melisa-bottom-bar,
  .v2-right-stack .v2-assistant:not(.chat-active) .melisa-bottom-bar {
    margin-top: auto !important;
    padding-top: 22px !important;
  }
}

@media (max-width: 1024px) {
  .melisa-bridge {
    margin-top: 18px !important;
    gap: 10px !important;
  }
  .melisa-bridge-item {
    min-height: 44px !important;
    font-size: 13.5px !important;
  }
  .v2-assistant .v2-intro h2 {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }
  .v2-assistant .melisa-pitch {
    font-size: 13px !important;
    max-width: none !important;
  }
}

/* Keep voice-listening collapse calm (pitch only now) */
.v2-assistant.voice-listening .melisa-caps-block,
.v2-assistant:has(#micBtn.listening) .melisa-caps-block,
body.melisa-voice-listening .melisa-caps-block {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.v2-assistant.voice-listening .melisa-bridge,
.v2-assistant:has(#micBtn.listening) .melisa-bridge,
body.melisa-voice-listening .melisa-bridge {
  opacity: 0.35 !important;
  pointer-events: none !important;
}


/* ============================================================
   GRID HARMONY grid-harmony-20260926
   ONE shared 5-col track for hub tiles AND lower row.
   Col1 = Schul-App + Bürgerbefragung
   Cols 2–5 = Ludwigslust heute (4 news cards on same gutters)
   Same gap (10px) everywhere — no 300px / calc magic margins.
   Melisa right stack, PickMe, news JS, mobile untouched.
   ============================================================ */
@media (min-width: 1025px) {
  /* Hub tiles: explicit shared track definition */
  .v2-tiles,
  .v2-tiles.v2-tiles-10 {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
  }

  /* Discover under tiles only (Melisa lives in right stack) */
  .v2-discover {
    grid-column: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* THE shared 5-col owner for the lower row */
  .v2-discover-primary {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  .v2-discover-primary > * {
    min-width: 0 !important;
    min-height: 0 !important;
  }

  /* Col1 — side widgets under Stadt & Rathaus / Gesundheit */
  .v2-bottom-left-stack {
    grid-column: 1 / 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
  }

  /* Cols 2–5 — heute stage; zero H-padding so inner 4 tracks = hub cols 2–5 */
  .v2-city-today {
    grid-column: 2 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 6px 0 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .city-today-header {
    flex: 0 0 auto !important;
    padding: 0 2px !important;
  }

  /* 4 equal cells — same fr + same 10px gutters as hub cols 2–5 */
  .city-today-grid,
  .city-today-grid.city-today-grid--quad {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    flex: 1 1 auto !important;
    min-height: 140px !important;
    width: 100% !important;
  }

  .city-today-grid.city-today-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .city-news-slot,
  .city-news-slot > .city-news-card,
  .city-news-card {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* ============================================================
   HOMEPAGE HERO BALANCE homepage-hero-balance-20260926
   Desktop WEB only: tighten "Ludwigslust." under cream topbar
   (~24–36px to title letters), align title left with
   UNABHÄNGIGES STADTPORTAL. Keep embossed white type + vignette.
   Do not touch /m/ or mobile.html. Weather/LIVE/Notdienst preserved.
   ============================================================ */
@media (min-width: 1025px) {
  .v2-hero {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .v2-hero .v2-hero-copy.v2-hero-center,
  .v2-hero-copy.v2-hero-center,
  .v2-hero .v2-hero-copy,
  .v2-hero .v2-hero-center {
    /* Shared editorial left axis with .v2-header (.v2-brand @ 28px) */
    margin: 16px 0 0 28px !important;
    /* Zero left padding so title glyphs sit on the brand axis;
       keep light top/right/bottom for soft vignette breathing room */
    padding: 8px 16px 12px 0 !important;
  }

  .v2-hero .v2-hero-copy.v2-hero-center #v2Title,
  .v2-hero-copy.v2-hero-center #v2Title,
  .v2-hero #v2Title,
  .v2-hero .v2-hero-copy.v2-hero-center h1,
  .v2-hero-copy.v2-hero-center h1 {
    margin: 0 0 6px 0 !important;
  }
}

/* NEWS_CAROUSEL_FIX_20260929: cards are real links + ⚡ Neu badge */
a.city-news-card,
a.city-news-card:hover,
a.city-news-card:visited {
  text-decoration: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: rgba(13, 60, 38, 0.15);
  touch-action: manipulation;
  -webkit-user-drag: none;
}
a.city-news-card:focus-visible {
  outline: 3px solid #0D3C26 !important;
  outline-offset: 2px !important;
}
.city-news-card img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.city-news-new {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: #facc15 !important;
  color: #1c1917 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
  pointer-events: none !important;
}
