:root {
  /* Colors */
  --bg: #f9fbff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #4c6ef5;
  --accent: #ff7aa2;
  --border: #e2e8f0;
  --shadow: 0 18px 48px rgba(15, 23, 42, .08);

  /* Layout */
  --header-h: 68px;
  --container: 1120px;
  --gutter: clamp(12px, 4vw, 24px);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 80% -10%, #e9efff, transparent 60%),
    linear-gradient(180deg, #fff 0%, #f7faff 52%, #f9fbff 100%);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

h1,
h2,
h3 {
  margin: 0 0 .6rem;
  line-height: 1.2;
  overflow-wrap: anywhere
}

.container {
  width: min(var(--container), calc(100% - 2*var(--gutter)));
  margin-inline: auto
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem
}

.brand .logo {
  width: 34px;
  height: 34px
}

.brand-name {
  font-weight: 800;
  letter-spacing: .2px;
  color: #234;
}

/* Desktop nav */
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  padding: .45rem .6rem;
  border-radius: .7rem;
  cursor: pointer
}

.nav-list {
  display: flex;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-list a {
  display: inline-block;
  padding: .55rem .7rem;
  border-radius: .7rem;
  white-space: nowrap
}

.nav-list a:hover {
  background: #eef2ff;
  text-decoration: none
}

.cta-mini {
  background: linear-gradient(90deg, var(--brand), #b2a3cb);
  color: #230d6d;
  border: none
}

/* ================= Hero ================= */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 28px 0
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: center
}

.hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem)
}

.hero p {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: #1f2a44;
  max-width: 65ch
}

.hero-cta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .8rem
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .8rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: .15s transform, .15s box-shadow
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow)
}

.btn-primary {
  background: linear-gradient(90deg, #4c6ef5, #7c3aed);
  color: #fff;
  border-color: transparent
}

.btn-ghost {
  background: #fff
}

.hero-media {
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3
}

/* ================= Sections ================= */
.section {
  padding: 56px 0;
  border-top: 1px dashed var(--border)
}

.section h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem)
}

.section .lead {
  color: #1f2a44
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem);
  align-items: stretch;
}

.card {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover
}

.card h3 {
  margin: 1rem 1rem .35rem
}

.card p {
  margin: 0 1rem 1rem;
  color: var(--muted)
}

.card .actions {
  display: flex;
  gap: .6rem;
  padding: 0 1rem 1rem
}

/* KPI / Quick / Split / Checks / Bezirke / Tips */
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem)
}

.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  text-align: center
}

.kpi strong {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  display: block
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem)
}

.quick {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: .4rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06)
}

.quick .pill {
  display: inline-grid;
  place-items: center;
  padding: .25rem .55rem;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: #3843a5
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(.8rem, 2vw, 1.2rem);
  align-items: center
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem)
}

.check {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06)
}

.bezirke {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem)
}

.tip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.7rem, 2vw, 1rem)
}

.accordion details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05)
}


.page-hero {
  padding: 36px 0 18px
}

.page-hero p {
  color: var(--muted)
}

/* ================= Footer ================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 0;
  padding: 1.2rem 0 0
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: .9rem 0;
  margin-top: 1rem
}

.footer-legal {
  font-size: .95rem;
  color: var(--muted)
}

.footer-brand {
  display: flex;
  gap: .8rem;
  align-items: flex-start
}

/* ================= Cookie banner ================= */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  transform: translateY(120%);
  transition: .3s;
  z-index: 50
}

.cookie-banner.show {
  transform: translateY(0)
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 0;
  gap: .8rem
}

.cookie-actions {
  display: flex;
  gap: .6rem
}

/* ================= Accessibility / misc ================= */
:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px
}

.badge {
  display: inline-grid;
  place-items: center;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-weight: 700;
  font-size: .85rem
}

/* ================= Breakpoints ================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr
  }
}


@media (max-width: 760px) {
  :root {
    --header-h: 64px
  }

  .brand .logo {
    width: 30px;
    height: 30px
  }

  .nav-toggle {
    display: inline-flex
  }

  .nav-list {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px var(--gutter);
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    display: none;
  }

  .nav-list.show {
    display: flex
  }

  .hero {
    min-height: auto;
    padding-top: 28px
  }

  .footer-cols {
    grid-template-columns: 1fr
  }
}


@media (max-width: 414px) {
  body {
    font-size: 15.5px
  }

  .btn {
    padding: .7rem .95rem
  }

  .cards {
    grid-template-columns: 1fr
  }

  .split {
    grid-template-columns: 1fr
  }
}

@media (max-width: 340px) {
  body {
    font-size: 15px
  }

  .brand-name {
    font-size: 15px
  }

  .nav-toggle {
    padding: .4rem .55rem
  }
}