/* CF Homes 5.0.223 – Premium-Kopfbereich für „Mein Empuriabrava 360°“ und „Mein Nautic 360°“.
 * Greift nur mit der Body-Klasse .cfh-hero27 (eigener Schalter, Vorschau über ?cfh_design=neu).
 * :not(#cfhx) hebt die Spezifität auf ID-Niveau, damit die umfangreichen Bestandsregeln sicher überschrieben werden.
 * Inhalte, Texte und Funktionen bleiben unverändert – nur die Gestaltung ändert sich.
 * Bilder: ausschließlich echte Fotos aus der Mediathek (keine KI-Bilder). Austauschbar über
 * --cfh27-emp-hero, --cfh27-emp-card, --cfh27-nautic-hero.
 */
body.cfh-hero27{
  --h27-navy:#071f3d;--h27-navy-2:#0b2f5e;--h27-ocean:#0a5f86;--h27-teal:#13b5c9;--h27-aqua:#7fe7f3;--h27-sand:#ffd9a0;
  --h27-glass:rgba(255,255,255,.10);--h27-glass-line:rgba(255,255,255,.22);
  --h27-ease:cubic-bezier(.2,.7,.2,1);
}

/* =====================================================================
 * Gemeinsame Bausteine
 * ===================================================================== */
@keyframes h27-kenburns{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.10) translate3d(-1.5%,-1%,0)}}
@keyframes h27-aurora{0%{transform:translate3d(-4%,0,0) rotate(0deg)}50%{transform:translate3d(4%,-3%,0) rotate(8deg)}100%{transform:translate3d(-4%,0,0) rotate(0deg)}}
@keyframes h27-shimmer{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes h27-pulse{0%{box-shadow:0 0 0 0 rgba(127,231,243,.7)}70%{box-shadow:0 0 0 9px rgba(127,231,243,0)}100%{box-shadow:0 0 0 0 rgba(127,231,243,0)}}
@keyframes h27-pulse-amber{0%{box-shadow:0 0 0 0 rgba(234,140,30,.55)}70%{box-shadow:0 0 0 8px rgba(234,140,30,0)}100%{box-shadow:0 0 0 0 rgba(234,140,30,0)}}
@keyframes h27-rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes h27-sweep{from{transform:translateX(-120%) skewX(-18deg)}to{transform:translateX(260%) skewX(-18deg)}}
@keyframes h27-spin{to{transform:rotate(360deg)}}
@keyframes h27-wave{from{background-position-x:0}to{background-position-x:-1200px}}

/* =====================================================================
 * 1. Mein Empuriabrava 360° – Kopfbereich
 * ===================================================================== */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;z-index:15!important;
  margin:6px 0 20px!important;padding:clamp(30px,4.2vw,60px) clamp(22px,4.2vw,60px) clamp(22px,3.2vw,38px)!important;
  border-radius:32px!important;background:var(--h27-navy)!important;color:#fff!important;
  box-shadow:0 40px 80px -40px rgba(5,30,60,.6),0 0 0 1px rgba(255,255,255,.04) inset!important;
}
/* Bildebene mit langsamem Ken-Burns-Effekt */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:before{
  content:""!important;position:absolute!important;inset:0!important;top:0!important;right:0!important;width:100%!important;height:100%!important;
  z-index:-2!important;border-radius:0!important;opacity:1!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  background-image:
    linear-gradient(100deg,rgba(4,22,46,.95) 0%,rgba(5,44,82,.82) 34%,rgba(6,82,118,.42) 66%,rgba(8,110,140,.18) 100%),
    var(--cfh27-emp-hero,url("https://www.empuriabrava.app/wp-content/uploads/2026/10/4-1.jpg"))!important;
  background-size:cover!important;background-position:center,center 55%!important;background-repeat:no-repeat!important;
}
/* Sanftes Licht („Aurora“) */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:after{
  content:""!important;position:absolute!important;z-index:-1!important;pointer-events:none!important;
  inset:-30% -10% auto auto!important;width:75%!important;height:150%!important;display:block!important;
  background:radial-gradient(closest-side,rgba(19,181,201,.38),transparent 70%),radial-gradient(closest-side at 70% 70%,rgba(255,217,160,.20),transparent 70%)!important;
  
  filter:blur(20px);mix-blend-mode:screen;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>*{position:relative;z-index:1;animation:h27-rise .9s var(--h27-ease) both}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>h1{animation-delay:.08s}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>p{animation-delay:.16s}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>.cfm360-transfer-strip{animation-delay:.26s}

/* Überzeile als Glas-Pille mit pulsierendem Punkt */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>.cfm360-kicker,
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro .cfm360-kicker,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-kicker{
  display:inline-flex!important;align-items:center!important;gap:10px!important;width:auto!important;
  padding:8px 15px 8px 12px!important;border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.22)!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#c6f4fa!important;font-size:11.5px!important;font-weight:750!important;letter-spacing:.2em!important;line-height:1!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>.cfm360-kicker:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-kicker:before{
  content:"";width:7px;height:7px;border-radius:50%;background:var(--h27-aqua);animation:h27-pulse 2.4s ease-out infinite;flex:none
}

/* Überschrift: weiß, zweite Zeile mit langsam wanderndem Farbverlauf */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head h1.cfm360-hero-title,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero h1.cfh-nl-hero-title{
  margin:20px 0 12px!important;color:#fff!important;font-size:clamp(36px,5.1vw,70px)!important;font-weight:800!important;
  line-height:1.02!important;letter-spacing:-.045em!important;text-shadow:0 2px 30px rgba(0,0,0,.18);
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-hero-title .cfm360-title-first,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-title-first{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-hero-title .cfm360-title-separator,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-title-separator{display:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-hero-title .cfm360-title-second,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-title-second{
  display:block!important;width:max-content!important;max-width:100%!important;
  background:linear-gradient(95deg,#7fe7f3 0%,#e8fcff 30%,#ffd9a0 55%,#7fe7f3 80%,#e8fcff 100%)!important;background-size:200% 100%!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
  animation:h27-shimmer 14s linear infinite!important;text-shadow:none!important;padding-bottom:.06em;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>p,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero p.cfh-nl-hero-lead{
  margin:0!important;max-width:720px!important;color:rgba(232,247,255,.84)!important;font-size:clamp(16px,1.45vw,20px)!important;line-height:1.5!important;font-weight:400!important;
}

/* „Sichern & Übertragen“ als schwebende Glaskarte */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head .cfm360-transfer-strip,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-transfer-strip{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;
  width:100%!important;max-width:1000px!important;margin:clamp(24px,3vw,36px) 0 0!important;padding:16px 16px 16px 18px!important;
  border-radius:24px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.20)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.4)!important;backdrop-filter:blur(18px) saturate(1.4)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 24px 50px -24px rgba(0,0,0,.55)!important;color:#fff!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-icon,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-icon{
  display:grid!important;place-items:center!important;width:54px!important;height:54px!important;min-width:54px!important;border-radius:18px!important;
  background:linear-gradient(145deg,#38d6e6,#0a7fa3)!important;color:#fff!important;border:0!important;
  box-shadow:0 0 0 6px rgba(56,214,230,.14),0 12px 24px -10px rgba(10,127,163,.9)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-icon svg,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-icon svg{width:25px!important;height:25px!important;stroke:#fff!important;fill:none!important;color:#fff!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-copy,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-copy strong,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-copy strong{color:#fff!important;font-size:12.5px!important;font-weight:750!important;letter-spacing:.13em!important;line-height:1.35!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-copy>span,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-copy>span{color:rgba(226,244,255,.78)!important;font-size:14px!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-privacy-link,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-privacy{
  margin:2px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important;
  color:#9ff0f7!important;font-size:12.5px!important;font-weight:650!important;letter-spacing:.02em!important;text-transform:none!important;
  text-decoration:underline!important;text-decoration-color:rgba(159,240,247,.4)!important;text-underline-offset:4px!important;cursor:pointer;
  display:inline-flex!important;align-items:center!important;gap:4px!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-privacy-link svg{stroke:currentColor!important;width:14px!important;height:14px!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-privacy-link:hover,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-privacy:hover{color:#fff!important;text-decoration-color:#fff!important}

/* Hauptknopf: weiß, mit Lichtreflex beim Überfahren */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch{
  position:relative!important;overflow:hidden!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  min-height:54px!important;width:auto!important;padding:0 22px 0 20px!important;border:0!important;border-radius:999px!important;
  background:#fff!important;background-image:none!important;color:var(--h27-navy-2)!important;
  font-size:12.5px!important;font-weight:800!important;letter-spacing:.08em!important;white-space:nowrap!important;
  box-shadow:0 14px 34px -12px rgba(0,0,0,.55),inset 0 -2px 0 rgba(11,47,94,.06)!important;
  transition:transform .35s var(--h27-ease),box-shadow .35s var(--h27-ease)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch span,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch span{color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch svg,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch svg{width:22px!important;height:22px!important;stroke:var(--h27-ocean)!important;fill:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch:after,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch:after{
  content:""!important;position:absolute!important;top:0;bottom:0;left:0;width:40%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(19,181,201,.22),transparent);transform:translateX(-120%) skewX(-18deg);
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch:hover,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch:hover{transform:translateY(-2px)!important;box-shadow:0 20px 40px -14px rgba(0,0,0,.6),0 0 0 6px rgba(255,255,255,.12)!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch:hover:after,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch:hover:after{animation:h27-sweep .9s var(--h27-ease)}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch:focus-visible,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch:focus-visible{outline:3px solid var(--h27-aqua)!important;outline-offset:3px}
/* Datenschutz-Hinweis klappt innerhalb der Glaskarte auf (nicht als abgeschnittenes Popover) */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head .cfm360-transfer-strip{row-gap:0!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-privacy-content,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-privacy-content{
  grid-column:1/-1!important;position:static!important;top:auto!important;left:auto!important;width:auto!important;margin:14px 0 0!important;
  padding:12px 16px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(4,22,46,.35)!important;box-shadow:none!important;color:rgba(226,244,255,.88)!important;font-size:13px!important;line-height:1.55!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-privacy-note.is-collapsed .cfm360-privacy-content{display:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-privacy-content *{color:inherit!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-privacy-content strong{color:#fff!important}

/* =====================================================================
 * 2. Begrüßung + Wetter
 * ===================================================================== */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary{
  display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr)!important;gap:18px!important;align-items:stretch!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;
  min-height:330px!important;padding:clamp(26px,3.4vw,44px)!important;border-radius:30px!important;border:0!important;
  background:var(--h27-navy)!important;background-image:none!important;color:#fff!important;
  box-shadow:0 30px 60px -32px rgba(5,30,60,.65)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro:before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;display:block!important;
  background-image:var(--cfh27-emp-card,url("https://www.empuriabrava.app/wp-content/uploads/2026/10/2-1.jpg"))!important;
  background-size:cover!important;background-position:center!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro:after{
  content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;
  background:linear-gradient(0deg,rgba(4,22,46,.92) 0%,rgba(4,30,60,.55) 45%,rgba(4,30,60,.12) 100%),linear-gradient(90deg,rgba(4,22,46,.55),transparent 70%)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro>*{position:relative;z-index:1}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro h2{
  margin:16px 0 10px!important;color:#fff!important;font-size:clamp(32px,3.8vw,52px)!important;font-weight:800!important;letter-spacing:-.04em!important;line-height:1.02!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-trip-countdown{
  display:inline-flex!important;align-items:center!important;gap:9px!important;margin:0 0 18px!important;padding:9px 16px!important;border-radius:999px!important;
  background:linear-gradient(90deg,rgba(255,217,160,.22),rgba(127,231,243,.18))!important;border:1px solid rgba(255,255,255,.28)!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff!important;font-size:15px!important;font-weight:700!important;letter-spacing:-.005em!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-trip-countdown[hidden]{display:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-trip-countdown:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--h27-sand);box-shadow:0 0 12px var(--h27-sand)}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-chips{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-chip{
  display:inline-flex!important;align-items:center!important;gap:8px!important;padding:9px 14px!important;border-radius:14px!important;
  background:rgba(255,255,255,.94)!important;border:1px solid rgba(255,255,255,.6)!important;color:var(--h27-navy-2)!important;
  font-size:13.5px!important;font-weight:700!important;box-shadow:0 10px 24px -14px rgba(0,0,0,.6)!important;
  transition:transform .3s var(--h27-ease),box-shadow .3s!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-chip:hover{transform:translateY(-2px)}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-chip svg{color:var(--h27-ocean)!important;stroke:currentColor}

/* Wetterkarte */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-card{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:10px!important;
  padding:26px 26px 22px!important;border-radius:30px!important;border:1px solid rgba(11,47,94,.08)!important;
  background:linear-gradient(170deg,#eaf8fc 0%,#ffffff 52%)!important;box-shadow:0 30px 60px -34px rgba(5,30,60,.45)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-card:before{
  content:""!important;position:absolute!important;z-index:-1!important;top:-80px;right:-80px;width:240px;height:240px;border-radius:50%;display:block!important;
  background:radial-gradient(closest-side,rgba(255,206,90,.45),rgba(255,206,90,0))!important;filter:blur(6px);
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-card:after{display:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-place strong{color:var(--h27-navy-2)!important;font-size:20px!important;font-weight:800!important;letter-spacing:-.02em!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-place svg{color:var(--h27-ocean)!important;stroke:currentColor}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-icon svg{animation:h27-spin 60s linear infinite;transform-origin:50% 50%}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-temp{
  font-size:clamp(48px,4.6vw,66px)!important;font-weight:800!important;letter-spacing:-.05em!important;line-height:1!important;
  background:linear-gradient(160deg,#0b2f5e 20%,#0a86a8 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-description{color:#4b6478!important;font-weight:600!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-details{color:#4b6478!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-caption{margin-top:auto!important;padding-top:12px!important;border-top:1px solid rgba(11,47,94,.08)!important;color:#7f95a6!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-edit{
  min-height:48px!important;border-radius:999px!important;border:1px solid rgba(11,47,94,.16)!important;background:#fff!important;color:var(--h27-navy-2)!important;
  font-size:13px!important;font-weight:750!important;letter-spacing:.06em!important;transition:background .3s,color .3s,border-color .3s!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-edit:hover{background:var(--h27-navy-2)!important;border-color:var(--h27-navy-2)!important;color:#fff!important}

/* =====================================================================
 * 3. Sicherungs-Hinweis (Reise-Code / Nautic-Code)
 * ===================================================================== */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status{
  position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px 16px!important;
  margin:16px 0!important;padding:14px 14px 14px 18px!important;border-radius:20px!important;
  border:1px solid rgba(214,150,70,.28)!important;border-left-width:1px!important;
  background:linear-gradient(90deg,#fff6ea 0%,#fffdf9 60%,#fff 100%)!important;box-shadow:0 14px 30px -24px rgba(120,70,10,.5)!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status:before{display:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-badge,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>strong{
  display:inline-flex!important;align-items:center!important;gap:9px!important;padding:7px 13px 7px 11px!important;border-radius:999px!important;
  background:#fff!important;border:1px solid rgba(214,150,70,.3)!important;color:#9a5208!important;font-size:13px!important;font-weight:750!important;white-space:nowrap!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-badge:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>strong:before{
  content:""!important;display:block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:#ea8c1e!important;
  animation:h27-pulse-amber 2.2s ease-out infinite;position:static!important;margin:0!important;border:0!important
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-text,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>span{flex:1 1 280px!important;color:#6b5a43!important;font-size:14px!important;line-height:1.45!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-action,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>button{
  min-height:44px!important;padding:0 20px!important;border:0!important;border-radius:999px!important;
  background:linear-gradient(135deg,#0b2f5e,#0a6f96)!important;color:#fff!important;font-size:13.5px!important;font-weight:750!important;letter-spacing:0!important;text-transform:none!important;
  box-shadow:0 12px 24px -12px rgba(11,47,94,.7)!important;transition:transform .3s var(--h27-ease),box-shadow .3s!important;
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-action:hover,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>button:hover{transform:translateY(-1px);box-shadow:0 16px 30px -12px rgba(11,47,94,.8)!important}
/* gesichert = ruhiges Grün */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert.is-current,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status.is-current{border-color:rgba(32,150,110,.25)!important;background:linear-gradient(90deg,#ecfaf3 0%,#fbfffd 60%,#fff 100%)!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert.is-current .cfm360-backup-alert-badge,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status.is-current>strong{color:#17734f!important;border-color:rgba(32,150,110,.3)!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert.is-current .cfm360-backup-alert-badge:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status.is-current>strong:before{background:#22a06b!important;animation:none}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert.is-current .cfm360-backup-alert-text,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status.is-current>span{color:#3f6656!important}

/* =====================================================================
 * 4. Mein Nautic 360° – Kopfbereich (maritime Variante mit Welle)
 * ===================================================================== */
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  margin:6px 0 0!important;padding:clamp(30px,4.2vw,60px) clamp(22px,4.2vw,60px) clamp(40px,4.4vw,62px)!important;
  border-radius:32px!important;background:#06203d!important;color:#fff!important;
  box-shadow:0 40px 80px -40px rgba(5,30,60,.6)!important;
}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero:before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;display:block!important;
  background-image:
    linear-gradient(105deg,rgba(3,20,42,.95) 0%,rgba(4,40,78,.84) 36%,rgba(5,78,112,.45) 70%,rgba(6,110,140,.2) 100%),
    var(--cfh27-nautic-hero,url("https://www.empuriabrava.app/wp-content/uploads/2026/10/17.jpg"))!important;
  background-size:cover!important;background-position:center,center 50%!important;
}
/* Welle am unteren Rand, langsam laufend */
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero:after{
  content:""!important;position:absolute!important;z-index:-1!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;
  width:auto!important;height:70px!important;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:.55;display:block!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='70' viewBox='0 0 1200 70'%3E%3Cpath d='M0 38c100 0 100-22 200-22s100 22 200 22 100-22 200-22 100 22 200 22 100-22 200-22 100 22 200 22v32H0z' fill='%2313b5c9' fill-opacity='.22'/%3E%3Cpath d='M0 50c100 0 100-16 200-16s100 16 200 16 100-16 200-16 100 16 200 16 100-16 200-16 100 16 200 16v20H0z' fill='%237fe7f3' fill-opacity='.16'/%3E%3C/svg%3E")!important;
  background-repeat:repeat-x!important;background-size:1200px 70px!important;background-position:0 100%!important;
}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero>*{position:relative;z-index:1;animation:h27-rise .9s var(--h27-ease) both}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero>h1{animation-delay:.08s}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero>p{animation-delay:.16s}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero>.cfh-nl-transfer-strip{animation-delay:.26s}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-privacy-content{margin-top:6px!important}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-privacy-content[hidden]{display:none!important}
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status{margin:16px 0!important}

/* =====================================================================
 * 5. Handy und Tablet
 * ===================================================================== */
@media (max-width:900px){
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary{grid-template-columns:minmax(0,1fr)!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro{min-height:300px!important}
}
@media (max-width:767px){
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero{border-radius:26px!important;padding:26px 18px 20px!important}
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero{padding-bottom:40px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head h1.cfm360-hero-title,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero h1.cfh-nl-hero-title{font-size:clamp(32px,9vw,42px)!important;margin:16px 0 10px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head .cfm360-transfer-strip,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-transfer-strip{grid-template-columns:auto minmax(0,1fr)!important;gap:14px!important;padding:16px!important;border-radius:22px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-launch,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-launch{grid-column:1/-1!important;width:100%!important;white-space:normal!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-icon,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-icon{width:46px!important;height:46px!important;min-width:46px!important;border-radius:15px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro{border-radius:26px!important;padding:24px 18px!important;min-height:280px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-weather-card{border-radius:26px!important;padding:22px 20px!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-action,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>button{width:100%!important}
}
@media (prefers-reduced-motion:reduce){
  body.cfh-hero27 .cfm360-head:before,body.cfh-hero27 .cfm360-head:after,body.cfh-hero27 .cfm360-head>*,
  body.cfh-hero27 .cfm360-summary-intro:before,body.cfh-hero27 .cfm360-hero-title .cfm360-title-second,
  body.cfh-hero27 .cfh-nl-hero:before,body.cfh-hero27 .cfh-nl-hero:after,body.cfh-hero27 .cfh-nl-hero>*,body.cfh-hero27 .cfh-nl-title-second,
  body.cfh-hero27 .cfm360-weather-icon svg,body.cfh-hero27 .cfm360-head>.cfm360-kicker:before,body.cfh-hero27 .cfh-nl-kicker:before,
  body.cfh-hero27 .cfm360-backup-alert-badge:before,body.cfh-hero27 .cfh-nl-qr-status>strong:before{animation:none!important}
}
@media (max-width:767px){
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>.cfm360-kicker,
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro .cfm360-kicker,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero .cfh-nl-kicker{font-size:10px!important;letter-spacing:.14em!important;padding:7px 12px 7px 10px!important;max-width:100%!important;white-space:nowrap!important}
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-transfer-icon,
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-transfer-icon{align-self:start!important}
}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-backup-alert-badge,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-qr-status>strong{flex:0 0 auto!important;width:auto!important;max-width:100%!important}

/* 5.0.228: Hintergrundbilder ruhig (keine Bewegung), Texte ohne Schein, auf dem Handy dunklere Abdeckung */
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:before,
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:after,
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero:before,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero:after{animation:none!important;transform:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head *,
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-summary-intro *,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero *{text-shadow:none!important}
body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head>p,
body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero p.cfh-nl-hero-lead{color:#fff!important;font-weight:500!important}
@media (max-width:767px){
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:before{
    background-image:linear-gradient(180deg,rgba(4,22,46,.86) 0%,rgba(4,26,52,.76) 50%,rgba(5,40,74,.66) 100%),var(--cfh27-emp-hero,url("https://www.empuriabrava.app/wp-content/uploads/2026/10/4-1.jpg"))!important;
  }
  body.cfh-hero27:not(#cfhx) .cfh-nl .cfh-nl-hero:before{
    background-image:linear-gradient(180deg,rgba(3,20,42,.86) 0%,rgba(4,26,52,.76) 50%,rgba(5,40,74,.66) 100%),var(--cfh27-nautic-hero,url("https://www.empuriabrava.app/wp-content/uploads/2026/10/17.jpg"))!important;
  }
  body.cfh-hero27:not(#cfhx) .cfm360.cfm360-redesign .cfm360-head:after{display:none!important}
}
