:root {
  --bg: #f3f7fc;
  --card: rgba(255,255,255,0.92);
  --card-strong: #ffffff;
  --text: #172235;
  --muted: #627086;
  --soft: #eef4fb;
  --line: #d9e5f2;
  --brand: #2f6fed;
  --brand-dark: #1f4eb9;
  --shadow: 0 12px 40px rgba(19, 42, 79, 0.08);
  --radius: 20px;

  --station-modal-bg: #ffffff;
  --station-modal-fg: #111111;
  --station-modal-border: rgba(0,0,0,0.12);
  --station-row-border: rgba(0,0,0,0.08);
  --station-btn-border: rgba(0,0,0,0.22);
  --station-btn-bg: transparent;
  --station-link-border: rgba(0,0,0,0.22);
  --station-overlay-bg: rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root {
    --station-modal-bg: rgba(20,20,20,0.95);
    --station-modal-fg: #f2f2f2;
    --station-modal-border: rgba(255,255,255,0.18);
    --station-row-border: rgba(255,255,255,0.08);
    --station-btn-border: rgba(255,255,255,0.25);
    --station-btn-bg: transparent;
    --station-link-border: rgba(255,255,255,0.22);
    --station-overlay-bg: rgba(0,0,0,0.65);
  }
}

body {
  background: var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--brand-dark);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  margin-top: 16px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.local-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  top: -35px;
  left: -30px;
  right: -250px;
  width: auto;
  height: 440px;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-6deg);
  transform-origin: left top;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.2) 65%,
    rgba(0,0,0,0) 78%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.2) 65%,
    rgba(0,0,0,0) 78%
  );
  filter:
    drop-shadow(0 20px 30px rgba(0,0,0,0.15))
    drop-shadow(0 0 30px rgba(69,170,242,0.12));
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0% 6%, 92% 0%, 100% 60%, 82% 100%, 0% 88%);
  opacity: 0.55;
  filter: contrast(1.12) saturate(1.08);
}

.hero-night { display: none; }
html.dark .hero-day { display: none; }
html.dark .hero-night {
  display: block;
  opacity: 0.45;
  filter: brightness(0.92) contrast(1.18);
}

.hero-card,
.card {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow: hidden;
  padding: 22px 20px;
}

.hero-intro-card {
    margin-top: 95px;

    /* schmaler */
    max-width: 520px;

    /* nach rechts schieben */
    margin-left: auto;
    margin-right: 40px;

    /* leicht über dem Bild „schwebend“ */
    transform: translateY(-10px);

    /* sehr transparent */
    background: rgba(255,255,255,0.16);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);

    padding: 14px 16px;

    position: relative;
    z-index: 3;
}

html.dark .hero-intro-card {
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(2px);
}

.begruessung-highlight {
  font-weight: 800;
  color: orange;
}

.links-text {
  text-align: left;
  font-family: quicksand-medium, Arial, sans-serif;
}

.rechts-text {
  text-align: right;
  font-family: quicksand-medium, Arial, sans-serif;
  color: orange;
}

.hero-weather-widget {
  display: flex;
  justify-content: center;
  margin: 28px 0 20px;
  position: relative;
  z-index: 2;
}

.iframe-round {
  width: 200px;
  height: 200px;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
}

.iframe-round iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: transparent;
}

.hero-stat-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(17, 39, 76, 0.05);
}

.stat-card .label {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 6px;
}

.stat-card .value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.stat-card.big .value {
  font-size: 2.2rem;
  color: var(--brand-dark);
}

.info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: .92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47,111,237,.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--soft);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.btn-soft:hover {
  background: #e8f0fb;
}

.hero-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.hero-quicknav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: var(--soft);
  color: var(--brand-dark);
  border: 1px solid var(--line);
  transition: .2s ease;
}

.hero-quicknav a:hover {
  background: #e8f0fb;
}

.section-title {
  margin: 0 0 14px;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-intro {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 18px;
}

.weather-grid.primary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.weather-grid.secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.weather-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 8px 20px rgba(18, 37, 67, 0.04);
}

.weather-item:hover {
  transform: translateY(-2px);
  border-color: #c7d7ea;
  box-shadow: 0 12px 26px rgba(18, 37, 67, 0.08);
}

.weather-item.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.weather-label {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.weather-value {
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.weather-item.featured .weather-value {
  font-size: 2rem;
  color: var(--brand-dark);
}

.weather-item-meta {
  margin-top: 10px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
}

.weather-item-meta div + div {
  margin-top: 4px;
}

.note {
  background: linear-gradient(180deg, #f4f8ff 0%, #edf5ff 100%);
  border: 1px solid #d8e5fb;
  border-left: 5px solid var(--brand);
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.faq dt {
  font-weight: 700;
  margin-top: 14px;
  color: var(--text);
}

.faq dd {
  margin-left: 0;
  margin-top: 5px;
  color: var(--muted);
}

.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nearby-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(17, 38, 73, 0.04);
  transition: .18s ease;
}

.nearby-links a:hover {
  transform: translateY(-1px);
  border-color: #bfd4ee;
  background: #f8fbff;
}

.small-distance {
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 980px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .weather-grid.primary,
  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 14px 12px 28px;
  }

  .hero-card,
  .card {
    padding: 18px;
  }

  .hero-intro-card {
    margin-top: 90px;
  }

  .weather-grid.primary,
  .weather-grid.secondary,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card.big .value,
  .weather-item.featured .weather-value {
    font-size: 1.85rem;
  }

  .btn,
  .hero-quicknav a {
    width: 100%;
  }
}

.hero-intro-card h1,
.hero-intro-card p {
    transform: skewY(0.5deg);
}
