/* ================================================================
   MAKARSKA GASTRO – In der Nähe / GPS (blizina.php) · „Küstenlinie“
   Hero mit Standort-Pin in der Sonne, pulsierender Radar-Ring,
   schwebende Pins, animiertes Meer; der GPS-Button überlappt das Meer.
   Nur Optik, alle Klassen bleiben. Laden NACH new.css / blizina.css.
   ================================================================ */

/* ── HERO „Küstenlinie“: Himmel · Sonne · animiertes Meer ───── */
.mgh {
    --b: #851B2F; --bd: #6B1425; --g: #BE9440; --gl: #D9BE82;
    --c: #F6EFE3; --sand: #E8DCC0; --k: #2A2024;
    position: relative; overflow: hidden; text-align: center; color: var(--k);
    background: linear-gradient(180deg, #FBF8F1, var(--c));
    font-family: 'Poppins', var(--font, system-ui), sans-serif;
}
.mgh *, .mgh *::before, .mgh *::after { box-sizing: border-box; }
.mgh-wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.mgh-sky { position: relative; z-index: 1; padding: 44px 0 76px; }
.mgh-kicker { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--b); margin-bottom: 14px; }
.mgh-kicker::before, .mgh-kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--g); vertical-align: middle; margin: 0 12px; }
.mgh-title { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--k); margin: 0 0 14px; }
.mgh-sub { font-size: .98rem; line-height: 1.55; color: #5d4f4a; max-width: 560px; margin: 0 auto; }

/* Sonne */
.mgh-sun {
    position: absolute; z-index: 0; width: 230px; height: 230px; border-radius: 50%; background: var(--g);
    left: calc(50% + 270px); bottom: -108px;
    box-shadow: 0 0 0 16px rgba(190,148,64,.20), 0 0 0 38px rgba(190,148,64,.10);
    display: flex; align-items: flex-start; justify-content: center; gap: 4px; padding-top: 32px;
}
.mgh-sun svg { width: 74px; height: 74px; opacity: .92; }

/* Deko-Elemente links (nur Desktop) */
.mgh-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.mgh-d { position: absolute; display: none; align-items: center; gap: 7px; color: var(--b); }
.mgh-d svg { width: 18px; height: 18px; }
@media (min-width: 1120px) {
    .mgh-d { display: inline-flex; }
    .mgh-d0 { left: max(24px, calc(50% - 590px)); top: 54px; }
    .mgh-d1 { left: max(24px, calc(50% - 500px)); top: 128px; }
    .mgh-d2 { left: max(24px, calc(50% - 610px)); top: 190px; }
}

/* Meer */
.mgh-sea { position: relative; z-index: 3; background: var(--b); color: var(--c); padding: 20px 0 66px; }
.mgh-sea::before, .mgh-sea::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; background-repeat: repeat-x; background-size: 120px 100%; }
.mgh-sea::before {
    top: -27px; height: 28px; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath d='M0 14 Q30 0 60 14 T120 14 V28 H0Z' fill='%23851B2F'/%3E%3Cpath d='M0 14 Q30 0 60 14 T120 14' fill='none' stroke='%23D9BE82' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.mgh-sea::after {
    top: -37px; height: 30px; z-index: 0; opacity: .6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q20 0 40 10 T80 10 T120 10 V30 H0Z' fill='%23BE9440'/%3E%3C/svg%3E");
}
.mgh-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mgh-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(217,190,130,.65); border-radius: 999px; background: rgba(107,20,37,.55); font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: var(--c); }
.mgh-points svg { width: 15px; height: 15px; color: var(--gl); flex: none; }

@media (prefers-reduced-motion: no-preference) {
    .mgh-sea::before { animation: mghw 16s linear infinite; }
    .mgh-sea::after  { animation: mghw 26s linear infinite reverse; }
    .mgh-d { animation: mghbob 5s ease-in-out infinite; }
    .mgh-d1 { animation-delay: -1.7s; }
    .mgh-d2 { animation-delay: -3.2s; }
}
@keyframes mghw { from { background-position-x: 0; } to { background-position-x: 120px; } }
@keyframes mghbob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-9px) rotate(3deg); } }

@media (max-width: 768px) {
    .mgh-sky { padding: 30px 0 108px; }
    .mgh-wrap { padding: 0 18px; }
    .mgh-sub { font-size: .9rem; }
    .mgh-sun { width: 150px; height: 150px; left: auto; right: -34px; bottom: -78px; padding-top: 20px; gap: 0; box-shadow: 0 0 0 10px rgba(190,148,64,.20), 0 0 0 24px rgba(190,148,64,.10); }
    .mgh-sun svg { width: 46px; height: 46px; }
    .mgh-sea { padding: 14px 0 64px; }
    .mgh-points { gap: 8px; }
    .mgh-points li { padding: 7px 12px; font-size: .7rem; }
}

.mgh--blizina .mgh-sun { align-items: flex-start; padding-top: 22px; }
.mgh--blizina .mgh-sun svg { width: 90px; height: 90px; }
.mgh--blizina .mgh-sun::before, .mgh--blizina .mgh-sun::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--g); opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .mgh--blizina .mgh-sun::before { animation: mghping 3.6s ease-out infinite; }
    .mgh--blizina .mgh-sun::after  { animation: mghping 3.6s ease-out 1.8s infinite; }
}
@keyframes mghping { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
.mgh--blizina .mgh-d svg { width: 26px; height: 26px; }
.mgh--blizina .mgh-d0 { color: var(--b); } .mgh--blizina .mgh-d1 { color: var(--g); } .mgh--blizina .mgh-d2 { color: var(--b); opacity: .7; }
@media (max-width: 768px) { .mgh--blizina .mgh-sun { padding-top: 12px; } .mgh--blizina .mgh-sun svg { width: 54px; height: 54px; } }

/* ── Seite: GPS-Karte überlappt das Meer ────────────────────── */
body main.near-page { position: relative; z-index: 6; margin-top: -46px; }
body .button-panel { background: #fff; border: 1px solid #E8DCC0; border-radius: 16px; padding: 18px 22px; box-shadow: 0 22px 40px -26px rgba(107,20,37,.55); }
body .location-btn { background: #851B2F !important; border-color: #851B2F !important; color: #fff !important; border-radius: 999px !important; position: relative; }
body .location-btn:hover { background: #6B1425 !important; }
body .location-btn i { color: #D9BE82; }
@media (prefers-reduced-motion: no-preference) { body .location-btn { animation: mghbtn 2.8s ease-out infinite; } }
@keyframes mghbtn { 0% { box-shadow: 0 0 0 0 rgba(133,27,47,.45); } 70% { box-shadow: 0 0 0 14px rgba(133,27,47,0); } 100% { box-shadow: 0 0 0 0 rgba(133,27,47,0); } }
body .status-message { color: #7a6c66; }
body .accuracy-badge { border-radius: 999px; }

body .filter-bar { gap: 8px; }
body .filter-btn { border-radius: 999px !important; border-color: #E8DCC0 !important; transition: border-color .2s, color .2s, background .2s; }
body .filter-btn:hover { border-color: #BE9440 !important; color: #851B2F !important; }
body .filter-btn.active { background: #851B2F !important; border-color: #851B2F !important; color: #fff !important; }
body .radius-info { color: #5d4f4a; }
body .radius-info i { color: #BE9440; }

body .today-dashboard { gap: 12px; }
body .today-item { background: #F6EFE3 !important; border: 0 !important; border-radius: 14px !important; padding: 14px 10px; }
body .today-item i { color: #BE9440 !important; }
body .today-item strong { color: #851B2F !important; }

body .map-toggle-btn { border-color: #E8DCC0 !important; }
body .map-toggle-btn:hover { border-color: #BE9440 !important; color: #851B2F !important; }
body .map-toggle-btn[aria-expanded="true"] { background: #851B2F !important; border-color: #851B2F !important; }
body .result-card { border-color: #E8DCC0 !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important; }
body .result-card:hover { border-color: #BE9440 !important; box-shadow: 0 16px 28px -20px rgba(133,27,47,.5) !important; transform: translateY(-3px); }
@media (max-width: 768px) { body main.near-page { margin-top: -30px; } body .button-panel { padding: 16px 16px; } }
