/* MeerHeimatLiebe 2.5.2-r42
   Bildschutzstrategie, sichtbare Wasserzeichen, verbesserte Typografie,
   animierte Logos, Datenschutz-UI und zusätzliche rechtliche Hinweise. */

:root {
  --r42-brand-font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r42-panel-border: rgba(132, 222, 237, .34);
}

html, body {
  font-family: var(--r42-brand-font);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "calt";
}

body::before {
  content: none !important;
  position: fixed;
  right: max(.8rem, env(safe-area-inset-right));
  bottom: max(.7rem, env(safe-area-inset-bottom));
  z-index: 1400;
  padding: .38rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 240, 247, .28);
  color: rgba(234, 252, 255, .72);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(3, 31, 48, .7), rgba(4, 57, 77, .45));
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.hero-copy h1,
.page-header h1,
.editorial-copy h1,
.reading-shell h2,
.glass-card h2,
.attraction-card h3,
.trip-plan h2,
.top-panel__head strong {
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero-copy h1,
.page-header h1 {
  text-shadow: 0 5px 24px rgba(0, 9, 18, .35);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  letter-spacing: .18em;
  font-weight: 800;
}

.brand {
  gap: .9rem;
}

.brand-mark {
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -32%;
  background: linear-gradient(120deg, transparent 22%, rgba(255,255,255,.34) 44%, transparent 66%);
  transform: translateX(-145%) rotate(12deg);
  animation: brandShimmer 5.8s linear infinite;
  pointer-events: none;
}

.brand-mark .icon,
.footer-social .icon,
.privacy-consent-manage__icon .icon {
  animation: gentleFloat 5.5s ease-in-out infinite;
  transform-origin: center;
}

.footer-social {
  gap: .55rem;
}

.footer-social .icon:nth-child(2) { animation-delay: .35s; }
.footer-social .icon:nth-child(3) { animation-delay: .7s; }
.footer-social .icon:nth-child(4) { animation-delay: 1.05s; }

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  align-items: center;
  justify-content: center;
  margin: .45rem 0;
}

.footer-legal-nav a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #dffaff;
  text-decoration: none;
  opacity: .92;
}

.footer-legal-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.privacy-eyebrow {
  color: #99ecff;
}

.privacy-consent__card {
  border-color: rgba(124, 228, 245, .5);
  background:
    radial-gradient(circle at top right, rgba(118, 233, 250, .16), transparent 42%),
    linear-gradient(180deg, rgba(4, 44, 63, .97), rgba(2, 31, 46, .98));
}

.privacy-consent__links {
  margin-top: .65rem;
  font-size: .86rem;
}

.privacy-consent__links a {
  color: #bff9ff;
}

.privacy-consent-manage {
  gap: .48rem;
  padding: .58rem .85rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
}

.privacy-consent-manage__icon {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(115, 229, 243, .16);
}

.site-backdrop::after,
.attraction-card__media::after,
.home-module--image::after {
  content: none !important;
  position: absolute;
  left: clamp(.65rem, 1vw, .95rem);
  bottom: clamp(.65rem, 1vw, .95rem);
  z-index: 3;
  padding: .32rem .55rem;
  border-radius: 999px;
  color: rgba(245, 251, 252, .74);
  font-size: .62rem;
  letter-spacing: .06em;
  background: rgba(2, 25, 36, .38);
  border: 1px solid rgba(211, 247, 253, .18);
  pointer-events: none;
}

.site-backdrop,
.attraction-card__media,
.home-module--image {
  position: relative;
}

.attraction-card__media::before,
.home-module--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 15, 24, .2));
  pointer-events: none;
  z-index: 1;
}

img,
svg {
  -webkit-user-drag: none;
}

.attraction-card__media img,
.home-module--image img,
.gallery-grid img,
.site-backdrop {
  pointer-events: none;
}

.prose-page.protection-guide {
  max-width: 1040px;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.protection-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--r42-panel-border);
  background: rgba(4, 40, 58, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.protection-card h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 0;
}

.protection-card ul,
.protection-card ol {
  margin-bottom: 0;
}

.notice-callout {
  padding: 1rem 1.05rem;
  border-left: 4px solid rgba(138, 225, 239, .55);
  border-radius: 18px !important;
  background: rgba(6, 58, 80, .34);
  overflow: hidden !important;
}

.legal-mini-list {
  display: grid;
  gap: .5rem;
  padding-left: 1.1rem;
}

.planner-note.is-warning {
  color: #ffd78c;
}

.planner-note.is-success {
  color: #aef5bb;
}

.btn,
.header-tool,
.trip-plan__toggle,
.trip-plan__dismiss,
.trip-plan__clear {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.btn:hover,
.header-tool:hover,
.trip-plan__toggle:hover,
.trip-plan__dismiss:hover,
.trip-plan__clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

@keyframes brandShimmer {
  0%, 70%, 100% { transform: translateX(-145%) rotate(12deg); }
  82% { transform: translateX(145%) rotate(12deg); }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-3deg); }
}





@media (prefers-reduced-motion: reduce) {
  .brand-mark::after,
  .brand-mark .icon,
  .footer-social .icon,
  .privacy-consent-manage__icon .icon {
    animation: none !important;
  }
}
