/* Poppins (SIL Open Font License), selbst gehostet statt Google Fonts */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1d1d1b;
  --blue: #0098da;
  --blue-deep: #0084be;
  --blue-soft: #d9eefa;
  --blue-tint: #eaf5fc;
  --bg: #f4f9fd;
  --line: #dcebf6;
  --text: #3c3c3b;
  --muted: #5b6470;
  --shadow: 0 1px 2px rgba(0, 76, 110, .05), 0 12px 32px -12px rgba(0, 76, 110, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }

/* Hintergrundformen */
.bg-shapes { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-shapes .blob-a { position: absolute; top: -120px; right: -160px; width: 520px; opacity: .55; }
.bg-shapes .blob-b { position: absolute; bottom: -180px; left: -200px; width: 560px; opacity: .45; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { padding: 22px 0 clamp(40px, 7vw, 96px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 40px; width: auto; }
.back-link {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.back-link svg { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; padding: 28px 0 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.badge svg { width: 22px; height: 22px; color: var(--blue); }
.badge .check { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .7s .5s var(--ease) forwards; }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 5.4vw, 58px); font-weight: 700; max-width: 16ch; }
.hero .lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); max-width: 44ch; color: var(--muted); }

/* Karten-Raster */
.grid { display: grid; gap: 48px; }
/* Gemeinsame weisse Fläche für Fragebogen und Erstgespräch */
.panel {
  grid-column: 1 / -1; display: grid; gap: 40px;
  background: #fff; border-radius: 28px; padding: 28px 20px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); }

/* Video */
.video-card { display: flex; flex-direction: column; }
.video {
  position: relative; margin-top: 20px; border-radius: 18px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #e8eef2; box-shadow: var(--shadow);
}
.video video, .video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .poster {
  border: 0; padding: 0; cursor: pointer; background: none;
  transition: opacity .4s var(--ease);
}
.video .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video .poster:hover img { transform: scale(1.03); }
.video .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; color: var(--blue);
  box-shadow: 0 6px 18px rgba(0, 60, 90, .18);
  transition: transform .4s var(--ease);
}
.video .play::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .6); animation: pulse 2.4s var(--ease) infinite;
}
.video .poster:hover .play { transform: scale(1.08); background: rgba(255, 255, 255, .85); }
.video .play svg { width: 17px; height: 17px; margin-left: 2px; }
.video .duration {
  position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 8px;
  background: rgba(8, 30, 52, .72); color: #fff; font-size: 14px; font-weight: 500;
}
.video.is-playing .poster { opacity: 0; pointer-events: none; }

/* Icon-Kreis */
.icon-circle {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue); display: grid; place-items: center;
}
.icon-circle svg { width: 30px; height: 30px; }
.card-head { display: flex; gap: 18px; align-items: flex-start; }

/* Fragebogen */
.form-card .body { position: relative; }
.arrow { position: absolute; left: 14px; top: 78px; width: 58px; color: var(--blue); }
.btn {
  margin-top: 20px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 999px; text-decoration: none;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 19px;
  box-shadow: 0 10px 24px -10px rgba(0, 120, 175, .6);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn span { flex: 1; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .dl { transition: transform .3s var(--ease); }
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0, 120, 175, .7); }
.btn:hover .dl { transform: translateY(2px); }
.btn:focus-visible, .video .poster:focus-visible, .back-link:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
.form-card .note {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
  padding: 0 4px; font-size: 14px; line-height: 1.55; color: var(--muted);
}
.form-card .note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--blue); }

/* Erstgespräch */
.facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.facts svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }
.facts strong { color: var(--text); font-weight: 600; }

/* Gruss */
.signoff { position: relative; padding: 72px 0 72px; overflow: hidden; }
.signoff .inner { display: flex; align-items: center; gap: 24px; }
.portrait {
  flex: none; width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow);
}
.signoff p { font-size: 17px; color: var(--text); }
.signoff .greet { margin-top: 10px; color: var(--muted); }
.signoff .signature { font-weight: 600; color: var(--ink); margin-top: 2px; }

.site-footer { padding: 20px 0 32px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; } .d6 { animation-delay: .55s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* Mobile */
@media (max-width: 719px) {
  .site-header { padding-top: 16px; }
  .logo img { height: 34px; }
  .hero { padding: 16px 0 12px; }
  .video .play { width: 40px; height: 40px; }
  .icon-circle { width: 52px; height: 52px; }
  .icon-circle svg { width: 26px; height: 26px; }
  .card-head { flex-direction: column; gap: 14px; }
  .arrow { display: none; }
  .btn { padding: 16px 20px; gap: 12px; font-size: clamp(17px, 5.1vw, 19px); white-space: nowrap; }
  .btn svg:first-child { display: none; }
  .signoff { padding: 32px 0 56px; }
  .signoff .inner { gap: 18px; }
  .portrait { width: 92px; height: 92px; }
  .signoff p { font-size: 16px; }
}

/* Desktop: Video links, Fragebogen und Termin rechts */
@media (min-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 72px 64px; align-items: start; }
  .panel { grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px; }
  .hero { align-self: start; padding: 0 24px 0 0; }
  .form-card .btn, .form-card .note { margin-left: 82px; }
  .form-card .arrow { display: block; }
  .signoff .inner { max-width: 640px; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero, .video-card { grid-column: 1 / -1; }
  .panel { grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; }
  .arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .video .play::before { display: none; }
}

/* Sprachwahl */
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang a {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 7px;
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease);
}
.lang a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--blue-soft); }
.lang a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.flag svg { width: 100%; height: 100%; }
@media (max-width: 719px) {
  .back-link { display: none; }
  .lang a { padding: 6px 9px 6px 6px; }
}

/* Cookie-Banner */
.cc {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px;
  max-width: 480px; padding: 22px 22px 18px; border-radius: 22px;
  background: #fff; color: var(--text); box-shadow: 0 20px 60px -20px rgba(0, 50, 80, .35), 0 2px 6px rgba(0, 50, 80, .06);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cc.is-open { opacity: 1; transform: none; }
.cc-title { font-weight: 600; font-size: 16px; color: var(--ink); }
.cc-body { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cc-body a { color: var(--ink); text-underline-offset: 3px; }
.cc-settings { margin-top: 14px; display: grid; gap: 10px; }
.cc-settings[hidden] { display: none; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.cc-row-text { display: grid; }
.cc-row-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.cc-row-desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cc-always { flex: none; font-size: 12px; font-weight: 600; color: var(--blue-deep); }
.cc-switch { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9d3db; transition: background .25s var(--ease); pointer-events: none; }
.cc-switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease);
}
.cc-switch input:checked + span { background: var(--blue); }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-switch input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.cc-actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-btn {
  font: inherit; font-size: 14px; font-weight: 600; padding: 11px 14px; border-radius: 999px; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cc-primary { border: 1.5px solid var(--ink); background: var(--ink); color: #fff; }
.cc-primary:hover { background: #000; }
.cc-secondary { border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.cc-secondary:hover { background: var(--bg); }
.cc-link {
  grid-column: 1 / -1; justify-self: center; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--muted); background: none; border: 0; padding: 4px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.cc-link:hover { color: var(--ink); }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc-body a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cc-reopen { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.cc-reopen:hover { text-decoration: underline; }
@media (min-width: 720px) { .cc { left: 24px; right: auto; bottom: 24px; } }
