/* css/styles.css (komplett) */
:root {
  --accent: #0b2d4d;
  --accent-2: #0a2540;
  --brand-yellow: #ffc800;
  --brand-yellow-btn: #e0ae00;

  --bg: #ffffff;
  --text: rgba(0, 0, 0, 0.9);
  --muted: rgba(0, 0, 0, 0.68);
  --border: rgba(0, 0, 0, 0.1);
  --muted-bg: rgba(0, 0, 0, 0.03);
  --radius: 16px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --container: 1120px;
  --pad-x: 18px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-color: rgba(11, 45, 77, 0.35);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: rgba(11, 45, 77, 0.7);
}

:focus-visible {
  outline: 3px solid rgba(11, 45, 77, 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
}
@media (min-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: center;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: center;
  justify-self: end;
}
.site-nav a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: rgba(0, 0, 0, 0.92);
}
.nav-cta {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
@media (min-width: 900px) {
  .site-nav {
    display: inline-flex;
  }
}

/* Reveal/Hide on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Banner */
.banner {
  padding: 18px 0 6px;
  text-align: center;
}
.banner-card {
  margin: 0 auto;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
}
.banner-card img {
  width: 100%;
  height: clamp(200px, 30vw, 420px);
  object-fit: cover;
}

/* Hero */
.hero {
  padding: 34px 0 22px;
}
.hero .container {
  text-align: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 0 auto;
  font-size: clamp(2rem, 4.3vw, 3rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 12px auto 0;
  color: var(--muted);
  max-width: 70ch;
}

/* Buttons */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.08rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.08s ease, background 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease, opacity 0.12s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px rgba(11, 45, 77, 0.18);
}
.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: var(--brand-yellow-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(224, 174, 0, 0.18);
}
.btn-secondary:hover {
  background: #c99b00;
}

.trustline {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
}

/* Bullets */
.bullets {
  margin: 14px auto 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: inline-block;
  text-align: left;
  max-width: 70ch;
}
.bullets li {
  margin: 0.45rem 0;
}
.bullets-tight {
  margin-top: 12px;
}
.bullets-tight li {
  margin: 0.38rem 0;
}

/* Section */
.section {
  padding: 48px 0;
}
.section .container {
  text-align: center;
}

.section-muted {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(
      1200px 500px at 20% 0%,
      rgba(11, 45, 77, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 400px at 80% 30%,
      rgba(11, 45, 77, 0.05),
      transparent 60%
    ),
    var(--muted-bg);
}
.section-muted::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 200, 0, 0.95),
    rgba(11, 45, 77, 0.7)
  );
  pointer-events: none;
  z-index: 1;
}
.section-muted > .container {
  position: relative;
  z-index: 2;
}

/* Band (volle Breite wie Section, aber als Block innerhalb einer Section) */
.band {
  position: relative;
  padding: 26px 0;
  margin: 18px 0 0;
}
.band-muted {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(
      1200px 500px at 20% 0%,
      rgba(11, 45, 77, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 400px at 80% 30%,
      rgba(11, 45, 77, 0.05),
      transparent 60%
    ),
    var(--muted-bg);
}
.band-muted::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 200, 0, 0.95),
    rgba(11, 45, 77, 0.7)
  );
  pointer-events: none;
  z-index: 1;
}
.band > .container {
  position: relative;
  z-index: 2;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.04);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.eyebrow:hover::before,
.section-head:hover .eyebrow::before {
  background: var(--brand-yellow);
  box-shadow: 0 0 0 5px rgba(255, 200, 0, 0.14),
    0 0 18px rgba(255, 200, 0, 0.35);
  transform: scale(1.05);
}

h2 {
  margin: 0 auto;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 auto;
  color: var(--muted);
  max-width: 85ch;
}

/* Cards */
.grid {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  padding: 16px;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.12s ease,
    box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s ease;
  text-align: left;
  width: 100%;
  transform-origin: center;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(11, 45, 77, 0.85),
    rgba(11, 45, 77, 0.15)
  );
  opacity: 0.65;
}

/* Gruppeneffekt */
.grid:hover .card {
  opacity: 0.4;
} /* 60% Transparenz */
.grid:hover .card:hover,
.grid:hover .card:focus-within {
  opacity: 1;
}

/* Hover: 10% größer + gelber Rahmen */
.card:hover,
.card:focus-within {
  transform: translateY(-2px) scale(1.1);
  z-index: 2;
  background: var(--accent);
  border-color: rgba(255, 200, 0, 0.95);
  box-shadow: 0 18px 44px rgba(11, 45, 77, 0.22);
}
.card:hover h3,
.card:hover p,
.card:focus-within h3,
.card:focus-within p {
  color: #fff;
}
.card:hover::before,
.card:focus-within::before {
  opacity: 0.25;
  background: linear-gradient(
    90deg,
    rgba(255, 200, 0, 0.95),
    rgba(255, 200, 0, 0.25)
  );
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.card--accent {
  border-color: rgba(11, 45, 77, 0.18);
  background: linear-gradient(
    180deg,
    rgba(11, 45, 77, 0.06),
    rgba(255, 255, 255, 0.96)
  );
}

/* Media (Bilder ohne Umrandung) */
.media {
  margin: 18px auto 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 100%;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--contain img {
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.policy-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.policy-grid {
  display: grid;
  gap: 12px;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.policy-highlight {
  padding: 14px;
  border-radius: 14px;
  border: 2px solid rgba(11, 45, 77, 0.16);
  background: linear-gradient(
    135deg,
    rgba(255, 200, 0, 0.16),
    rgba(11, 45, 77, 0.08)
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}
.policy-highlight h2 {
  margin: 0 0 8px;
}

.pill {
  justify-self: end;
  align-self: start;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 200, 0, 0.18);
  color: #0b2d4d;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(255, 200, 0, 0.12);
}

.notice {
  border: 2px solid rgba(11, 45, 77, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 200, 0, 0.16),
    rgba(11, 45, 77, 0.06)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}
.notice h3 {
  margin-top: 0;
}

/* Sizes */
.media--lg img {
  height: clamp(320px, 46vw, 660px);
}
.media--md img {
  height: clamp(240px, 32vw, 460px);
}
.media--sm img {
  height: clamp(200px, 26vw, 360px);
}

/* Galleries */
.gallery {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  justify-items: center;
}
.gallery .media {
  margin-top: 0;
}

.gallery-operator {
  grid-template-columns: 1fr;
  width: 100%;
}

.gallery-resident {
  grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 780px) {
  .gallery-resident {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}
.gallery-resident .media {
  height: clamp(260px, 34vw, 520px);
  width: 100%;
}
.gallery-resident .media img {
  height: 100%;
  width: 100%;
}

/* Explain panels (ohne innere Box + ohne innere Farbeleiste) */
.explain {
  position: relative;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
  width: 100%;
  overflow: visible;
}
.explain::before {
  content: none;
}

.explain-title {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}

.explain--wide {
  width: 100%;
  max-width: none;
}

.explain-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .explain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.explain-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.16s ease, border-color 0.12s ease,
    box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s ease;
  transform-origin: center;
  position: relative;
}

/* Gruppeneffekt */
.explain-grid:hover .explain-item {
  opacity: 0.4;
} /* 60% Transparenz */
.explain-grid:hover .explain-item:hover,
.explain-grid:hover .explain-item:focus-within {
  opacity: 1;
}

/* Hover: 10% größer + gelber Rahmen */
.explain-item:hover,
.explain-item:focus-within {
  transform: translateY(-2px) scale(1.1);
  z-index: 2;
  background: var(--accent);
  border-color: rgba(255, 200, 0, 0.95);
  box-shadow: 0 18px 44px rgba(11, 45, 77, 0.22);
}
.explain-item:hover h3,
.explain-item:hover p,
.explain-item:focus-within h3,
.explain-item:focus-within p {
  color: #fff;
}
.explain-item:hover .explain-icon,
.explain-item:focus-within .explain-icon {
  color: var(--brand-yellow);
  background: rgba(255, 200, 0, 0.16);
  box-shadow: 0 0 0 5px rgba(255, 200, 0, 0.12);
}

.explain-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}
.explain-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.explain-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(11, 45, 77, 0.08);
  box-shadow: 0 0 0 5px rgba(11, 45, 77, 0.05);
  flex: 0 0 auto;
}

/* Resident Icon-Akzent behalten */
.explain--resident .explain-icon {
  background: rgba(255, 200, 0, 0.16);
  box-shadow: 0 0 0 5px rgba(255, 200, 0, 0.1);
}

/* Final CTA */
.final {
  padding: 56px 0 68px;
}
.final-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .final-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-brand {
  margin: 0;
  color: var(--muted);
}
.footer-nav {
  display: inline-flex;
  gap: 14px;
}
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
}
.footer-nav a:hover {
  color: rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .card {
    transition: none;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .eyebrow::before {
    transition: none;
  }
  .explain-item {
    transition: none;
  }
}
