/* PlaceHeart – Design-System */
:root {
  --ph-ink: #121316;
  --ph-ink-soft: #1e1f24;
  --ph-muted: #545662;
  --ph-line: #d8d9de;
  --ph-surface: #f7f7f8;
  --ph-accent: #c45c4a;
  --ph-accent-deep: #9a4034;
  --ph-accent-soft: #f2e4e0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ph-ink);
  overflow-x: clip;
  max-width: 100%;
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(196, 92, 74, 0.09), transparent 55%),
    radial-gradient(900px 480px at 92% 12%, rgba(30, 31, 36, 0.06), transparent 50%),
    linear-gradient(180deg, #faf9f8 0%, #f3f3f5 48%, #f7f7f8 100%);
}

img,
svg,
video {
  max-width: 100%;
}

.site-header-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.site-header-controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  max-width: min(68%, 16.5rem);
}
.site-header-controls select {
  max-width: 7.25rem;
  min-width: 0;
  font-size: 0.75rem;
  padding-inline: 0.4rem;
}
.site-header-controls [data-easy-toggle] {
  display: none;
}
@media (min-width: 640px) {
  .site-header-controls {
    gap: 0.5rem;
    max-width: none;
  }
  .site-header-controls select {
    max-width: none;
    font-size: 0.875rem;
    padding-inline: 0.5rem;
  }
  .site-header-controls [data-easy-toggle] {
    display: inline-flex;
  }
}

.font-display {
  font-family: 'Outfit', 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.015em;
  font-weight: 700;
}

/* Brand mark */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 1;
  text-decoration: none;
  color: inherit;
}
.brand-mark__glyph {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  display: block;
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px -12px rgba(18, 19, 22, 0.55);
}
.brand-mark__word {
  font-family: 'Outfit', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  min-width: 0;
}
.brand-mark--nav {
  gap: 0.5rem;
  font-size: 1.05rem;
}
.brand-mark--nav .brand-mark__glyph {
  width: 1.7rem;
  height: 1.7rem;
}
@media (min-width: 640px) {
  .brand-mark--nav {
    gap: 0.75rem;
    font-size: 1.4rem;
  }
  .brand-mark--nav .brand-mark__glyph {
    width: 2.25rem;
    height: 2.25rem;
  }
}
.brand-mark--hero {
  gap: 0.65rem;
  max-width: 100%;
  font-size: clamp(1.85rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}
.brand-mark--hero .brand-mark__glyph {
  width: clamp(2.25rem, 7vw, 4.5rem);
  height: clamp(2.25rem, 7vw, 4.5rem);
  border-radius: 0.75rem;
}
@media (min-width: 640px) {
  .brand-mark--hero { gap: 0.9rem; }
  .brand-mark--hero .brand-mark__glyph {
    border-radius: 0.9rem;
    animation: ph-mark-pulse 3.2s ease-in-out infinite;
  }
}
.brand-mark--footer {
  font-size: 1.5rem;
  font-weight: 700;
}
.brand-mark--footer .brand-mark__glyph {
  width: 2.1rem;
  height: 2.1rem;
}
.brand-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ph-accent-deep);
}
.site-header {
  border-bottom: 1px solid rgba(216, 217, 222, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(196, 92, 74, 0.12);
}
@keyframes ph-mark-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.nav-link { position: relative; color: var(--ph-ink-soft); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--ph-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link.is-current::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--ph-accent-deep); }

.ad-banner {
  background:
    linear-gradient(120deg, rgba(196, 92, 74, 0.05), rgba(30, 31, 36, 0.03)),
    #fff;
  border: 1px dashed #b4b6bf;
}

.city-option,
.lang-option {
  border: 1px solid transparent;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px -36px rgba(18, 19, 22, 0.55);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.city-option:hover,
.lang-option:hover {
  border-color: rgba(196, 92, 74, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -30px rgba(18, 19, 22, 0.5);
}
.city-option.is-active,
.lang-option.is-active {
  border-color: var(--ph-accent);
  background: linear-gradient(165deg, #fff 40%, var(--ph-accent-soft));
  box-shadow: 0 0 0 1px rgba(196, 92, 74, 0.28), 0 22px 50px -28px rgba(154, 64, 52, 0.35);
}
.city-pick {
  position: relative;
}
.city-pick::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: min(12rem, 40%);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--ph-accent), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.feature-icon {
  background: var(--ph-ink-soft);
  color: #fff;
}

.news-item,
.list-card {
  border-top: 1px solid var(--ph-line);
  padding-top: 1rem;
}
.news-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-accent-deep);
}
.news-item h3,
.list-card h3 {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ph-ink-soft);
}
.news-item p:last-child,
.list-card p:last-child {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--ph-muted);
  line-height: 1.55;
}

.event-item { border-left: 3px solid var(--ph-accent); padding-left: 1rem; }
.event-accent-2 { border-left-color: #6a6d7a; }
.event-accent-3 { border-left-color: #1e1f24; }
.event-when {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-accent-deep);
}
.event-item h3 { margin-top: 0.25rem; font-size: 1.1rem; font-weight: 600; }
.event-item p:last-child { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ph-muted); }

.emergency-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  font-weight: 600;
  color: #fff;
}
.emergency-num {
  font-family: 'Outfit', 'Manrope', system-ui, sans-serif;
  font-size: 1.25rem;
  color: #e8cfc8;
  min-width: 4.5rem;
}

[data-easy-toggle].is-active {
  background: var(--ph-accent-deep);
  color: #fff;
  border-color: var(--ph-accent-deep);
}
#easy-banner:not([hidden]) { display: block; }
dialog::backdrop { background: rgba(18, 19, 22, 0.58); }

html[dir='rtl'] .event-item {
  border-left: 0;
  border-right: 3px solid var(--ph-accent);
  padding-left: 0;
  padding-right: 1rem;
}
html[data-easy='1'] body { font-size: 1.05rem; line-height: 1.65; }

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 19, 22, 0.94), rgba(30, 31, 36, 0.9) 52%, rgba(154, 64, 52, 0.78)),
    radial-gradient(900px 420px at 88% 8%, rgba(196, 92, 74, 0.4), transparent 58%);
  color: #fff;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -4rem;
  top: -3rem;
  width: 14rem;
  height: 14rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(30, 31, 36, 0.55), rgba(196, 92, 74, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(12deg);
  pointer-events: none;
  opacity: 0.55;
}

.scroll-mt-28 { scroll-margin-top: 7rem; }
a.news-item,
a.list-card { text-decoration: none; color: inherit; }

.form-card {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 0.85rem;
  padding: 1.25rem;
}
.form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ph-muted);
  margin-bottom: 0.35rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--ph-line);
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  background: #fff;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid rgba(196, 92, 74, 0.35);
  border-color: var(--ph-accent);
}
.form-card button[type='submit'] {
  background: var(--ph-ink-soft);
  color: #fff;
  font-weight: 600;
  border-radius: 0.65rem;
  padding: 0.7rem 1.2rem;
}
.form-card button[type='submit']:hover { background: var(--ph-accent-deep); }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  background: var(--ph-ink);
  color: #fff;
}
.store-btn.secondary {
  background: #fff;
  color: var(--ph-ink);
  border: 1px solid var(--ph-line);
}
.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero */
.hero-plane {
  min-height: 85svh;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
  overflow: hidden;
  isolation: isolate;
}
@supports not (min-height: 85svh) {
  .hero-plane { min-height: 88vh; }
}
.hero-plane::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(18, 19, 22, 0.35) 0%, rgba(18, 19, 22, 0.55) 40%, rgba(18, 19, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 19, 22, 0.45), transparent 55%);
  pointer-events: none;
}
.hero-plane > * { position: relative; z-index: 1; }
.hero-plane__inner {
  min-height: 85svh;
  box-sizing: border-box;
}
@supports not (min-height: 85svh) {
  .hero-plane__inner { min-height: 88vh; }
}

@keyframes ph-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ph-soft-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}
.hero-rise { animation: ph-rise 0.85s ease both; }
.hero-rise-delay { animation: ph-rise 0.85s ease 0.12s both; }
.hero-rise-delay-2 { animation: ph-rise 0.85s ease 0.24s both; }

/* Zoom nur Desktop – auf Handy verzerrt der Scale Text/Layout */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-plane.is-ready {
    animation: ph-soft-zoom 1.4s ease both;
  }
}

@media (max-width: 639px) {
  .hero-rise,
  .hero-rise-delay,
  .hero-rise-delay-2 {
    animation-duration: 0.55s;
  }
  [data-demo-banner],
  #easy-banner {
    padding-inline: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.35;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rise,
  .hero-rise-delay,
  .hero-rise-delay-2,
  .hero-plane.is-ready,
  .brand-mark--hero .brand-mark__glyph,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ph-accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 32px -18px rgba(196, 92, 74, 0.85);
}
.btn-primary:hover {
  background: var(--ph-accent-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  border-radius: 0.85rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
