
:root {
  --rosa: #F9C9D1;
  --blau: #A8D8EA;
  --weiß: #FAFAFA;
  --nacht: #374785;
  --gelb: #FFE066;
  --gruen: #B7D7B1;
  --pastellblau: #A8D8EA;
  --wolkenweiss: #FAFAFA;
  --mitternachtsblau: #374785;
  --sternen-gelb: #FFE066;
  --salbeigruen: #B7D7B1;
  --card-shadow: 0 10px 24px rgba(0,0,0,.08);
  --card-shadow-hover: 0 16px 36px rgba(0,0,0,.12);
    --tile-bg: #fff;
  --tile-fg: #223;
  --tile-sub: #5b6b7b;
  --tile-border: color-mix(in oklab, #9fb3c8 35%, #0000);
  --tile-shadow: 0 6px 24px rgba(17, 24, 39, .08);
  --brand: #7aa7ff;
  --brand-soft: color-mix(in oklab, var(--brand) 14%, #fff);
  --danger: #ea5455;
  --success: #2ec4b6;
  --radius: 18px;
  --ink: #1b1b1b;
  --muted: #6b7280;
  --line: color-mix(in oklab, #A8D8EA 35%, #0000);
  --focus: #FFE066;         /* Gelb */
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: var(--weiß);
  color: var(--nacht);
  
}

body img{
	max-width:100%;
}

main{
	overflow:hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }
}

  .site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--blau);
        background: rgba(168, 216, 234, 0.5);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    z-index: 1000;
	margin-top: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
	    backdrop-filter: blur(10px);
  }

  .site-header + main {
    margin-top: 100px;
  }

  .site-header .logo img {
    max-height: 60px;
  }

  .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .site-header nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  nav a {
    text-decoration: none;
    color: var(--nacht);
    font-weight: bold;
  }
  nav a .badge {
    background: var(--gelb);
    color: #000;
    border-radius: 50%;
    padding: 0 0.4rem;
    margin-left: 0.3rem;
    font-size: 0.8rem;
  }

  @media (max-width: 768px) {
    .nav-toggle {
      display: block;
    }

    .site-header nav {
      display: none;
      flex-direction: column;
    }

    .site-header nav.open {
      display: flex;
    }

    .site-header nav a {
      margin: 1rem 0;
    }
  }

h1, h2 {
  color: var(--nacht);
}

form input, form textarea, form select, .form-group input, .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.payment-option {
  margin: 0.5rem 0;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  background: var(--rosa);
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--gelb);
  color: #000;
  transform: translateY(-2px);
}


/* Gemeinsamer Stil für beide Inputs */
input[type="file"]#photos,
input[type="file"]#videos{
  --radius: 16px;
  --pad-y: 14px;
  --pad-x: 14px;

  display: block;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;

  padding: var(--pad-y) var(--pad-x);
  border: 2px dashed color-mix(in oklab, var(--blau) 55%, #0000);
  border-radius: var(--radius);
  background: linear-gradient(0deg, #fff, var(--wolkenweiss));
  color: #223;
  box-shadow: var(--card-shadow);
  transition: box-shadow .2s ease, border-color .2s ease, transform .06s ease;
  cursor: pointer; /* zeigt an, dass man klicken kann */
}

/* Button im Feld (Chrome/Edge/Safari/Firefox neuere) */
input[type="file"]#photos::file-selector-button,
input[type="file"]#videos::file-selector-button{
  margin-right: 12px;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: var(--mitternachtsblau);
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(55,71,133,.25);
}

/* Hover / Active für den Button */
input[type="file"]#photos:hover::file-selector-button,
input[type="file"]#videos:hover::file-selector-button{
  opacity: .95;
  box-shadow: 0 6px 16px rgba(55,71,133,.28);
}

input[type="file"]#photos:active::file-selector-button,
input[type="file"]#videos:active::file-selector-button{
  transform: translateY(1px) scale(.99);
}

/* Hover/Fokus auf dem gesamten Feld */
input[type="file"]#photos:hover,
input[type="file"]#videos:hover{
  border-color: color-mix(in oklab, var(--blau) 75%, #0000);
  box-shadow: var(--card-shadow-hover);
}

input[type="file"]#photos:focus-visible,
input[type="file"]#videos:focus-visible{
  outline: 3px solid color-mix(in oklab, var(--sternen-gelb) 40%, #fff);
  outline-offset: 3px;
  border-color: var(--sternen-gelb);
}

/* Kleiner „Hinweistext“-Look unter dem Feld, falls du ein <small> o.ä. nutzt */
input[type="file"]#photos + .hint,
input[type="file"]#videos + .hint{
  display: block;
  margin: 8px 4px 0;
  font-size: .92rem;
  color: color-mix(in oklab, #223 70%, #0000);
}

/* Landing page CTA button */
.btn-cta {
  background: var(--gelb);
  color: #000;
}

.btn-cta:hover {
  background: var(--blau);
  color: #000;
}

/* Success button variant */
.btn-success {
  background: var(--gruen);
  color: #000;
  width: auto;
  padding: 0.8rem 1rem;
}

.btn-success:hover {
  background: #a0c99a;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Utility & helper classes */
.inline-form { display: inline; }
.d-block { display: block; }
.mt-10 { margin-top: 10px; }
.text-error { color: #c0392b; }
.text-success { color: #2e7d32; }
.hidden { display: none; }

.rounded-image {
  max-width: 150px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.birth-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.action-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-delete {
  background: #e74c3c;
  color: #000;
}

.btn-delete:hover {
  background: #c0392b;
  color: #000;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.btn-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.btn-share,
.btn-edit {
  background: var(--blau);
  color: #000;
}

.btn-share:hover,
.btn-edit:hover {
  background: #8ec5dd;
}

.modal-actions {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.payment-logo {
  height: 20px;
  vertical-align: middle;
}

/* Message styles */
.message {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 12px;
}

.success-message {
  background: var(--gruen);
  color: #000;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
}

/* Start help info box */
.start-help {
  background: rgba(168, 216, 234, 0.3);
  border: 1px solid var(--blau);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.start-help .btn {
  width: auto;
}

/* Baby listing */
.babies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Baby Card */
.baby-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.baby-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* Bild */
.baby-card > img {
  flex: 0 0 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Details */
.baby-card .baby-details {
  flex: 1;
  min-width: 250px;
  display: grid;
  gap: .7rem;
}

/* Name */
.baby-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1rem + .6vw, 1.6rem);
  color: var(--mitternachtsblau, #374785);
}

/* Text */
.baby-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text, #1b1b1b);
}
.baby-card p strong {
  color: var(--rosa, #F9C9D1);
  font-weight: 600;
}

/* Share-Info Box */
.baby-card .share-info {
  background: var(--wolkenweiss, #FAFAFA);
  padding: 1rem;
  border-radius: 14px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
  display: grid;
  gap: .6rem;
}
.baby-card .share-info p {
  margin: 0;
  font-size: .9rem;
  color: var(--text, #1b1b1b);
}

/* Share Actions */
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.share-actions input {
  flex: 1;
  padding: .55rem .8rem;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 40%, #0000 60%);
  background: #fff;
  font-size: .9rem;
  color: var(--ink, #1b1b1b);
}
.share-actions input:focus {
  outline: none;
  border-color: var(--pastellblau, #A8D8EA);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--pastellblau) 30%, transparent);
}
.share-actions .btn {
  white-space: nowrap;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.share-actions .btn-success {
  background: var(--salbeigruen, #B7D7B1);
  color: var(--mitternachtsblau, #374785);
}
.share-actions .btn-success:hover {
  background: var(--rosa, #F9C9D1);
  color: #fff;
  transform: translateY(-2px);
}

/* Allgemeine Buttons */
.baby-card a.btn {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--pastellblau, #A8D8EA);
  color: var(--mitternachtsblau, #374785);
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.baby-card a.btn:hover {
  background: var(--rosa, #F9C9D1);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive: mobil untereinander */
@media (max-width: 650px) {
  .baby-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .baby-card > img {
    width: 100%;
    max-height: 240px;
  }
}
@media (max-width: 600px) {
  .babies-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .babies-header .btn {
    width: 100%;
  }

  .baby-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .baby-card img {
    width: 100%;
    height: auto;
    max-width: 200px;
  }

  .share-actions {
    flex-direction: column;
  }

  .share-actions input,
  .share-actions .btn {
    width: 100%;
  }
}

/* ===== Bambinaut Footer (modern, playful, responsive) ===== */
footer {
  /* CI-Variablen (Fallbacks, falls nicht global definiert) */
  --rosa: var(--rosa, #F9C9D1);
  --blau: var(--blau, #A8D8EA);
  --nacht: var(--nacht, #374785);
  --gelb: var(--gelb, #FFE066);
  --wolkenweiss: var(--wolkenweiss, #FAFAFA);

  position: relative;
  color: var(--nacht);
  margin-top: 4rem;
  padding: 3rem 1.25rem 2rem;
  overflow: hidden;
  isolation: isolate;

  /* Hintergrund: sanfter Verlauf + sehr dezente Sterne */
  background:
    radial-gradient(1200px 600px at 110% -10%, color-mix(in oklab, var(--rosa) 35%, #fff 65%), #0000 60%),
    radial-gradient(1200px 700px at -10% 120%, color-mix(in oklab, var(--blau) 35%, #fff 65%), #0000 60%),
    linear-gradient(180deg, #fff, color-mix(in oklab, var(--blau) 12%, #fff 88%));
}

footer::before {
  /* Sternenstaub – ultradezent */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #c6d6ea 80%, #0000 81%),
    radial-gradient(1px 1px at 32% 66%, #e8cbd6 80%, #0000 81%),
    radial-gradient(1px 1px at 78% 28%, #e9e3b1 80%, #0000 81%),
    radial-gradient(1px 1px at 58% 82%, #d9e8f3 80%, #0000 81%);
  mix-blend-mode: soft-light;
  z-index: -1;
}

footer * {
  box-sizing: border-box;
}

/* Container-Gitter für Link-Spalten */
footer .footer-links {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding: 0.25rem;
}

/* Spalten als „Cards“ */
.footer-column {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1rem;
  background: color-mix(in oklab, #fff 85%, var(--blau) 15%);
  border: 1px solid color-mix(in oklab, var(--nacht) 10%, #fff 90%);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(2, 8, 23, 0.06);
  backdrop-filter: blur(4px);
  transform: translateZ(0); /* bessere Kanten auf mobilen GPUs */
}

/* Links: freundliche Typo + animierte Unterstreichung */
footer a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--nacht) !important;
  font-weight: 550;
  letter-spacing: 0.1px;
  padding: 2px 2px;
  transition: transform .18s ease, color .18s ease;
  will-change: transform;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rosa), var(--gelb), var(--blau));
  transition: right .28s ease;
}

footer a:hover {
  transform: translateY(-1px);
  color: color-mix(in oklab, var(--nacht) 80%, #000 20%);
}
footer a:hover::after { right: 0; }

footer a:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--blau) 50%, #fff 50%);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Untere Navigationszeile (Impressum/Datenschutz) */
.footer-bottom {
  display: flex;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 1rem 0 0.5rem;
  border-top: 1px dashed color-mix(in oklab, var(--nacht) 18%, #fff 82%);
}

.footer-bottom a {
  padding: 0.1rem 0.25rem;
  font-weight: 600;
  opacity: 0.95;
}

/* Copy-Zeilen – kleiner, ruhiger */
footer p {
  margin: 0.25rem auto 0;
  max-width: 1100px;
  text-align: center;
  color: var(--nacht);
  font-size: 0.88rem;
}
footer p + p { opacity: 0.85; }

footer b{
	font-size:115%;
}

footer .footer-social-container{
	display:flex;
}
footer .footer-social{
	display:inline;
	margin:5px;
}

footer .footer-social img{
	max-width:40px;
}

/* Layout-Feinschliff auf großen Screens */
@media (min-width: 1200px) {
  footer { padding: 3.5rem 1.5rem 2.25rem; }
  .footer-column { padding: 1.15rem 1.1rem; }
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 900px) {
  footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  footer {
    padding: 2.25rem 1rem 1.5rem;
  }
  footer .footer-links {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }
  .footer-column {
    border-radius: 14px;
    padding: 0.9rem 0.85rem;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
  footer { text-align: left; }
}

.dashboard-stats {
  display: grid;
  gap: 1.2rem;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Einzelne Karte */
.dashboard-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 1rem 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}

/* Bild */
.dashboard-card img {
  flex: 0 0 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Textbereich */
.dashboard-card div {
  flex: 1;
  min-width: 200px;
  display: grid;
  gap: .4rem;
}

/* Titel */
.dashboard-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem);
  color: var(--mitternachtsblau, #374785);
}

/* Text */
.dashboard-card p {
  margin: 0;
  font-size: .95rem;
  color: var(--text, #1b1b1b);
  line-height: 1.4;
}
.dashboard-card p strong {
  color: var(--rosa, #F9C9D1);
  font-weight: 600;
}

/* Responsive: mobil alles untereinander */
@media (max-width: 600px) {
  .dashboard-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--nacht);

  /* Hintergrundfarbe als Fallback + Bild */
  background: var(--rosa) url("/assets/img/hero-bg.webp") no-repeat center center;
  background-size: cover;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.hero-blue {
  background: var(--blau);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  flex: 1 1 250px;
  background: var(--blau);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feature-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about {
  margin-top: 3rem;
}

.about p {
  line-height: 1.6;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
}
.modal-content .close {
  float: right;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Grid: flexibel & nie gequetscht */
.plans {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  /* minmax verhindert zu kleine Karten, auto-fit füllt vorhandenen Platz */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1200px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: 0 1rem;
}

/* Optional: ab sehr groß wirklich fix 4 pro Reihe */
@media (min-width: 1200px){
  .plans { grid-template-columns: repeat(4, 1fr); }
}

/* Plan Card */
.plan {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  /* sorgt für sauberen Ausgleich, wenn Inhalte variieren */
  min-height: 100%;
}
.plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

/* Titel */
.plan h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1rem + .6vw, 1.6rem);
  color: var(--mitternachtsblau);
  text-align: center;
}

/* Preise */
.plan .price {
  text-align: center;
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}
.plan .price-month {
  font-weight: 600;
  color: var(--rosa);
}
.plan .price-year {
  font-size: .95rem;
  opacity: .9;
}
.plan .savings {
  color: var(--sternen-gelb);
  font-weight: 600;
  display: block;
}

/* Feature-Liste */
.plan .features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  flex: 1; /* schiebt Button nach unten */
}
.plan .features li {
  font-size: .95rem;
  color: var(--text);
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.45;
}
.plan .features li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  color: var(--salbeigruen);
  font-weight: 700;
}

/* Button */
.plan .btn {
  display: inline-block;
  margin-top: auto;
  text-align: center;
  background: var(--pastellblau);
  color: var(--mitternachtsblau);
  font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.plan .btn:hover {
  background: var(--rosa);
  color: #fff;
  transform: translateY(-2px);
}
.plan .btn:focus-visible{
  outline: 3px solid var(--sternen-gelb);
  outline-offset: 2px;
}

/* Bestes Angebot – hervorheben */
.plan.best-plan {
  border: 3px solid var(--sternen-gelb);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  background:
    radial-gradient(120% 80% at 80% -10%, color-mix(in oklab, var(--rosa) 18%, transparent) 0%, transparent 60%),
    radial-gradient(120% 80% at -10% 100%, color-mix(in oklab, var(--pastellblau) 18%, transparent) 0%, transparent 60%),
    #fff;
}
.plan.best-plan .badge-best {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--sternen-gelb);
  color: var(--mitternachtsblau);
  font-weight: 800;
  font-size: .85rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.plan.best-plan .price-total {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rosa);
  margin: .5rem 0;
}
.plan.best-plan .plan-desc {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--wolkenweiss);
  padding: .85rem 1rem;
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce){
  .plan { transition: none; }
  .plan:hover { transform: none; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
}
/* Features */
.plan .features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  flex: 1;
}
.plan .features li {
  font-size: .95rem;
  color: var(--text, #1b1b1b);
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.4;
  align-items: start;
}
.plan .features li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  color: var(--salbeigruen, #B7D7B1);
  font-weight: bold;
}

/* Buchen Button */
.plan .btn {
  display: inline-block;
  margin-top: auto;
  text-align: center;
  background: var(--pastellblau, #A8D8EA);
  color: var(--mitternachtsblau, #374785);
  font-weight: 600;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
  transition: background .25s ease, transform .25s ease;
}
.plan .btn:hover {
  background: var(--rosa, #F9C9D1);
  transform: translateY(-2px);
  color: #fff;
}

/* Bestes Angebot */
.plan.best-plan {
  border: 3px solid var(--sternen-gelb, #FFE066);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  grid-column: span 1;
}
@media (min-width: 768px){
  .plan.best-plan { grid-column: span 1; }
}

.plan.best-plan .badge-best {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--sternen-gelb, #FFE066);
  color: var(--mitternachtsblau, #374785);
  font-weight: 700;
  font-size: .75rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.plan.best-plan h3 {
  color: var(--mitternachtsblau, #374785);
}
.plan.best-plan .price-total {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rosa, #F9C9D1);
  margin: .5rem 0;
}
.plan.best-plan .plan-desc {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--text, #1b1b1b);
  background: var(--wolkenweiss, #FAFAFA);
  padding: .8rem 1rem;
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.05);
}

.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.preview div {
  position: relative;
}
.preview img {
  max-width: 150px;
  border-radius: 6px;
}
.preview video {
  max-width: 150px;
  border-radius: 6px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.dashboard-actions .btn {
  width: auto;
}

.view-toggle {
  margin-bottom: 1rem;
}
.view-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: var(--weiß);
  color: inherit;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.view-toggle a:hover {
  background: #f0f0f0;
}
.view-toggle a.active {
  font-weight: bold;
  background: #e6e6e6;
}

.milestone-tile img {
  max-width: 100%;
  border-radius: 6px;
}
.preview button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Gender based themes */
body.gender-m .site-header,
body.gender-m footer {
  background: var(--blau);
}

body.gender-f .site-header,
body.gender-f footer {
  background: #f9c9d170;
}

body.gender-div .site-header,
body.gender-div footer {
  background: var(--gruen);
}

body.gender-m .btn {
  background: var(--blau);
  color: #fff;
}

body.gender-f .btn {
  background: var(--rosa);
  color: var(--nacht);
}

body.gender-div .btn {
  background: var(--gruen);
  color: #fff;
}

body.gender-m .btn:hover,
body.gender-f .btn:hover,
body.gender-div .btn:hover {
  background: var(--gelb);
  color: #000;
}


/* ====== Container / Grid ====== */
#milestone-container.milestone-tiles[data-view="tiles"]{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 8px 0;
}

/* verschachtelte .milestone-tiles im Markup neutralisieren */
#milestone-container .milestone-tiles{ display: contents; }

/* ====== Tile / Karte ====== */
.milestone-tile{
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--tile-bg);
  color: var(--tile-fg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius);
  box-shadow: var(--tile-shadow);
  padding: 14px 14px 10px;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  isolation: isolate; /* für Pseudo-Elemente */
}

.milestone-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(17,24,39,.12);
}

/* dezenter Farbstreifen je nach Gender */
.milestone-tile.gender-f::before,
.milestone-tile.gender-m::before{
  content:"";
  position:absolute; inset:0 auto 0 0;
  width:6px;
  background: var(--brand);
  opacity:.35;
}
.milestone-tile.gender-f::before{ background: #f6a6c1; }
.milestone-tile.gender-m::before{ background: #9fd3ff; }

/* ====== Typografie ====== */
.milestone-tile h4{
  margin: 0 0 2px;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--tile-fg);
  padding-left: 4px;
}

.milestone-tile p{
  margin: 0;
  padding-left: 4px;
  font-size: .95rem;
  line-height: 1.35;
  color: var(--tile-fg);
}

/* Meta-Zeile (Name – Datum) */
.milestone-tile p small{
  color: var(--tile-sub);
  font-size: .84rem;
}

/* leere <p> aus dem Markup ausblenden */
.milestone-tile p:empty{ display: none; }

/* ====== Medien-Galerie ====== */
.media-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 6px;
}

.media-gallery .media-item{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--tile-border);
  background: #f6f8fb;
  display: block;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease;
  will-change: transform;
}

/* Videos, wenn kein Poster geladen ist */
.media-gallery video.media-item{
  background: #eef3f9;
}

/* Hover-Feedback */
.media-gallery .media-item:hover{
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 18px rgba(17,24,39,.12);
}

/* viele Bilder? – ab 7 Items kompaktere Thumbs */
.media-gallery:has(.media-item:nth-child(7)){
  grid-template-columns: repeat(4, 1fr);
}

/* ====== Action-Buttons (Share / Edit / Delete) ====== */
.action-group{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-left: 4px;
}

.btn.btn-icon{
  --size: 34px;
  width: var(--size);
  height: var(--size);
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--tile-border);
  background: var(--brand-soft);
  color: #274060;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn.btn-icon svg{
  width: 18px; height: 18px;
}

.btn.btn-icon:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17,24,39,.12);
}

.btn-share{ background: color-mix(in oklab, var(--success) 16%, #fff); }
.btn-edit { background: color-mix(in oklab, var(--brand) 16%, #fff); }
.btn-delete{ background: color-mix(in oklab, var(--danger) 12%, #fff); color:#8a1520; }
.btn-delete:hover{ border-color: color-mix(in oklab, var(--danger) 40%, #0000); }

/* Buttons innerhalb von <form> angleichen */
.milestone-delete-form{ display: inline; }

@media (max-width: 420px){
  .milestone-tile{ padding: 12px; border-radius: 16px; }
  .media-gallery{ gap: 5px; }
  .btn.btn-icon{ --size: 32px; border-radius: 9px; }
}

/* ====== Barrierefreiheit / Fokus ====== */
.btn.btn-icon:focus-visible,
.milestone-tile:focus-within{
  outline: 2px solid color-mix(in oklab, var(--brand) 70%, #0000);
  outline-offset: 2px;
}

/* optional: dezenter Hover-Hintergrund für die Karte */
.milestone-tile:hover{
  background: linear-gradient(#fff, #fff) padding-box,
              radial-gradient(60% 80% at 0 0, #fff, color-mix(in oklab, var(--brand) 6%, #fff)) border-box;
}


/* =========================
   Timeline – Basis
   ========================= */

#milestone-container {
  max-width: 1000px;
  margin: clamp(1rem, 4vw, 3rem) auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

#milestone-container > h3 {
  margin: 0 0 1rem;
  color: var(--mitternachtsblau, #374785);
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(.5rem, 1vw, .75rem) 0;
}

/* Mittelachse */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--pastellblau, #A8D8EA) 70%, white 30%),
    color-mix(in oklab, var(--rosa, #F9C9D1) 70%, white 30%)
  );
  border-radius: 2px;
  opacity: .6;
  transform: translateX(-50%);
}

/* ====== Responsiv ====== */
@media (max-width: 760px){
  #milestone-container{
	  padding:0px;
  }
	
  #milestone-container.milestone-tiles[data-view="tiles"]{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
	
  }
  .media-gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Timeline Items
   ========================= */

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  padding: .25rem 0;
}

/* Container-Spalten links/rechts */
.timeline-item.left  { grid-template-columns: 1fr minmax(0, 46%); }
.timeline-item.right { grid-template-columns: minmax(0, 46%) 1fr; }

/* Info-Spalte (Datum/Badges) */
.timeline-item.left  .timeline-info { grid-column: 1; display: flex; justify-content: flex-end; }
.timeline-item.right .timeline-info { grid-column: 2; display: flex; justify-content: flex-start; }

/* Content-Spalte (Card) */
.timeline-item.left  .timeline-content { grid-column: 2; }
.timeline-item.right .timeline-content { grid-column: 1; }

/* Verbindungspunkt (Dot) */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 1.2rem; /* etwas nach unten, damit er mittig zur Linie liegt */
  left: 50%;
  transform: translate(-50%, -50%);
  width: .75rem;   /* kleiner */
  height: .75rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pastellblau, #A8D8EA); /* statt box-shadow */
  z-index: 1; /* hinter Labels */
}

/* Gender-Akzent am Dot (optional .gender-m, .gender-f) */
.timeline-item.gender-f::after {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--rosa, #F9C9D1) 55%, transparent);
}
.timeline-item.gender-m::after {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--pastellblau, #A8D8EA) 55%, transparent);
}

/* Datum/Info */
.timeline-date,
.timeline-metric {
	position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 30%, #0000 70%);
  color: var(--mitternachtsblau, #374785);
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.timeline-info {
  gap: .4rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Content-Card */
.timeline-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: clamp(.8rem, 1.4vw, 1.1rem);
  display: grid;
  gap: .55rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

/* Überschriften / Text */
.timeline-content h4 {
  margin: 0;
  font-size: clamp(1.05rem, .9rem + .4vw, 1.25rem);
  color: var(--mitternachtsblau, #374785);
}
.timeline-content p {
  margin: 0;
  color: var(--text, #1b1b1b);
  line-height: 1.6;
  font-size: .96rem;
}

/* =========================
   Media-Gallery
   ========================= */

.media-gallery {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .media-gallery { grid-template-columns: repeat(3, 1fr); }
}
.media-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--wolkenweiss, #FAFAFA);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.media-gallery video.media-item {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--pastellblau, #A8D8EA) 22%, #fff 78%),
    color-mix(in oklab, var(--rosa, #F9C9D1) 22%, #fff 78%)
  );
}

/* =========================
   Action Buttons (Icons)
   ========================= */

.action-group {
  margin-top: .2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.btn.btn-icon {
  --btn-bg: #fff;
  --btn-ink: var(--mitternachtsblau, #374785);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 30%, #0000 70%);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn.btn-icon svg { width: 20px; height: 20px; }

.btn-share  { --btn-bg: color-mix(in oklab, var(--pastellblau, #A8D8EA) 14%, #fff 86%); }
.btn-edit   { --btn-bg: color-mix(in oklab, var(--sternen-gelb, #FFE066) 18%, #fff 82%); }
.btn-delete { --btn-bg: color-mix(in oklab, #ff6b6b 16%, #fff 84%); }

.btn.btn-icon:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--pastellblau, #A8D8EA) 50%, #0000 50%);
}

/* Delete mit Warnfarbe */
.btn-delete { --btn-ink: #8c2f2f; }
.btn-delete:hover { border-color: #d66; }

/* =========================
   Special: Geburtseintrag
   ========================= */

.timeline-item.birth {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: .5rem;
}
.timeline-item.birth .timeline-content {
  border: 2px dashed color-mix(in oklab, var(--rosa, #F9C9D1) 60%, #0000 40%);
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--rosa, #F9C9D1) 15%, transparent) 0%, transparent 60%),
    radial-gradient(120% 80% at 100% 100%, color-mix(in oklab, var(--pastellblau, #A8D8EA) 15%, transparent) 0%, transparent 60%),
    #fff;
}
.timeline-item.birth h3 {
  margin: 0 0 .3rem;
  color: var(--mitternachtsblau, #374785);
}
.birth-info {
  list-style: none;
  padding: 0; margin: .25rem 0 .5rem;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
}
.birth-info li {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 30%, #0000 70%);
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .9rem;
}

/* =========================
   Responsive – Mobile Stack
   ========================= */

@media (max-width: 820px) {

  .timeline::before {
    left: .5rem; transform: none; width: 2px; opacity: .4;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.5rem; /* Platz für Achse */
  }

  .timeline-item.left  .timeline-info,
  .timeline-item.right .timeline-info {
    grid-column: 1; justify-content: flex-start;
  }
  
  .timeline-item.left, .timeline-item.right{
	 grid-template-columns: inherit; 
  }
  
  
  

  .timeline-item.left  .timeline-content,
  .timeline-item.right .timeline-content {
    grid-column: 1;
	max-width: 85vw;
  }
  
  .birth{
	  max-width:90%;
  }

  .timeline-item::after {
    left: .5rem; transform: translate(-50%, -50%);
  }
}

/* =========================
   Accessibility / Motion
   ========================= */

.timeline-content:focus-within {
  outline: 3px solid color-mix(in oklab, var(--sternen-gelb, #FFE066) 70%, transparent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-content { transition: none; }
}

/* =========================
   Kleinigkeiten/Feinschliff
   ========================= */

/* Verhindert, dass lange Links den Flow sprengen */
.timeline-content a {
  color: var(--mitternachtsblau, #374785);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

/* Falls Form im Item (Delete) inline ist */
.milestone-delete-form { display: inline; }

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  touch-action: pan-y;

}
.lightbox.show {
  display: flex;
}
.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  touch-action: pan-y;
  will-change: transform;

}

.lightbox img.loading {
  filter: blur(20px);
}

.lightbox video {
  display: none;
}
.lightbox .caption {
  background: #fff;
  color: #000;
  text-align: center;
  margin-top: 10px;
  max-width: 90%;
  padding: 10px;
  border-radius: 8px;
 }
.lightbox .caption h4 {
  margin: 0 0 0.5rem;
}
.lightbox .caption p {
  margin: 0;
}

.lightbox .caption .date {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #555;
}
.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
}
.lightbox .prev {
  left: 10px;
}
.lightbox .next {
  right: 10px;
}
.lightbox .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Account page layout */
.account-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.account-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-nav li {
  margin-bottom: 0.5rem;
}
.account-nav a {
  text-decoration: none;
  color: #333;
}
.account-nav a.active {
  font-weight: bold;
}
@media (min-width:768px) {
  .account-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
  .account-nav {
    width: 200px;
    flex-shrink: 0;
  }
  .account-content {
    flex: 1;
  }
  .account-sections {
    display: flex;
    gap: 2rem;
  }
  .account-sections fieldset {
    flex: 1;
  }
}

/* Toggle switch */
.email-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--blau);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Generic info box */
.info-box {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: #f9f9f9;
  display: flex;
  gap: 10px;
  align-items: center;
}

.info-box .icon {
  font-size: 1.5em;
}

/* Share Info Card */
.share-info{
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 30%, transparent);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: box-shadow .25s ease, transform .25s ease;
}
.share-info:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

/* Bild */
.share-info > img{
  flex: 0 0 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Textbereich */
.share-info > div{
  flex: 1;
  min-width: 260px;
  display: grid;
  gap: .7rem;
}

/* Texte */
.share-info p{
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text, #1b1b1b);
}
.share-info p strong{
  color: var(--mitternachtsblau, #374785);
}

/* Formular */
.share-info form{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .5rem;
}

.share-info input[type="email"]{
  flex: 1;
  min-width: 200px;
  padding: .65rem .9rem;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 35%, #0000);
  background: var(--wolkenweiss, #FAFAFA);
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.share-info input[type="email"]:focus{
  outline: none;
  border-color: var(--pastellblau, #A8D8EA);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--pastellblau) 35%, transparent);
}

/* Button */
.share-info button.btn{
  padding: .65rem 1.2rem;
  border-radius: 999px;
  background: var(--pastellblau, #A8D8EA);
  color: var(--mitternachtsblau, #374785);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease, color .25s ease;
}
.share-info button.btn:hover{
  background: var(--rosa, #F9C9D1);
  color: #fff;
  transform: translateY(-2px);
}
.share-info button.btn:focus-visible{
  outline: 3px solid var(--sternen-gelb, #FFE066);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 640px){
  .share-info{ flex-direction: column; align-items: center; text-align: center; }
  .share-info > img{ width: 100%; height: auto; max-height: 260px; }
  .share-info form{ flex-direction: column; align-items: stretch; }
}

/* Plan features list */
.features {
  list-style: none;
  padding: 0;
}
.features li {
  display: flex;
  align-items: center;
  margin: 0.25rem 0;
}
.features li::before {
  content: '✔';
  color: #28a745;
  margin-right: 0.5rem;
}

/* FAQ styles */
#faq-search {
  padding: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.birth-info li{
	font-size:20pt;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-weight: 500;
  text-decoration: none;
}

.btn-google img {
  height: 18px;
  margin-right: 8px;
}

.btn-google:hover {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* =========================
   Scroll Timeline (vertical)
   ========================= */

/* Container: per Inline-Style werden top/bottom gesetzt */
.scroll-timeline{
  position: fixed;                 /* nutzt top/bottom aus dem HTML */
  right: clamp(8px, 2vw, 20px);
  width: 56px;                     /* schlanke Leiste */
  z-index: 50;
  pointer-events: none;            /* nur Dots interaktiv */
}

/* Die vertikale Linie */
.scroll-timeline .line{
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--pastellblau, #A8D8EA) 70%, white 30%),
    color-mix(in oklab, var(--rosa, #F9C9D1) 70%, white 30%)
  );
  opacity: .7;
}

/* Dots */
.scroll-timeline .dot{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pastellblau, #A8D8EA);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--pastellblau, #A8D8EA) 30%, transparent);
  pointer-events: auto;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  z-index: 1;
}

.scroll-timeline .dot:hover{
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--pastellblau, #A8D8EA) 40%, transparent);
}

.scroll-timeline .dot.active{
  border-color: var(--rosa, #F9C9D1);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--rosa, #F9C9D1) 45%, transparent);
}

/* Labels: Standard nach rechts */
.scroll-timeline .dot .label{
  position: absolute;
  top: calc(50% - 6px); /* etwas höher für mehr Abstand */
  left: calc(100% + 10px);
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  padding: .35rem .7rem;
  font-size: .85rem;
  line-height: 1;
  color: var(--mitternachtsblau, #374785);
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--pastellblau, #A8D8EA) 35%, #0000 65%);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

/* Variante: Label nach links */
.scroll-timeline .dot .label.label-left{
  left: auto;
  right: calc(100% + 10px);
  transform: translateY(-50%) translateX(-4px);
}

/* Sichtbar bei Hover/Active */
.scroll-timeline .dot:hover .label,
.scroll-timeline .dot.active .label{
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Responsive Anpassungen */
@media (max-width: 680px){
	.scroll-timeline{
		display:none;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce){
  .scroll-timeline .dot,
  .scroll-timeline .dot .label{ transition: none; }
}

/* Grid-Layout */
.grid.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

/* Zwei Spalten ab Tablet */
@media (min-width: 768px) {
  .grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Optional: Reihenfolge tauschen ab Desktop */
@media (min-width: 1024px) {
  .grid.two-col.reverse > :first-child { order: 2; }
  .grid.two-col.reverse > :nth-child(2) { order: 1; }
}

/* Bild/Caption */
.grid.two-col figure {
  margin: 0;
}

.grid.two-col figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  background: var(--wolkenweiss, #FAFAFA);
}

/* Bildunterschrift dezent */
.grid.two-col figure figcaption {
  margin-top: .6rem;
  font-size: .95rem;
  line-height: 1.4;
  color: color-mix(in oklab, var(--mitternachtsblau, #374785) 70%, black 30%);
  opacity: .85;
}

/* Textspalte */
.grid.two-col > div {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.grid.two-col p {
  margin: 0;
  color: #1b1b1b;
  font-size: clamp(1rem, .9rem + .2vw, 1.05rem);
  line-height: 1.65;
}

.grid.two-col p strong {
  color: var(--mitternachtsblau, #374785);
  font-weight: 700;
}

/* Feine Details */
.grid.two-col p + p {
  border-top: 1px dashed color-mix(in oklab, var(--pastellblau, #A8D8EA) 60%, white 40%);
  padding-top: .9rem;
}

/* Optional: dezenter Abschnittshintergrund (abschalten, wenn nicht gewünscht) */
.grid.two-col {
  background: var(--wolkenweiss, #FAFAFA);
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: 20px;
}

/* Sektion: Grid Layout */
.grid.three-col.features{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(1rem,2vw,1.75rem);
  align-items:stretch;
  padding:clamp(0.5rem,1.5vw,1rem);
  background:var(--wolkenweiss);
  border-radius:20px;
}

/* Zwei/ drei Spalten responsiv */
@media (min-width: 700px){
  .grid.three-col.features{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .grid.three-col.features{ grid-template-columns: repeat(3, 1fr); }
}

/* Karten */
.grid.three-col.features .card{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  padding:clamp(1rem,1.8vw,1.25rem);
  background:#fff;
  border-radius:18px;
  box-shadow:var(--card-shadow);
  transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

/* dezente Akzentlinie oben */
.grid.three-col.features .card::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:4px;
  background: linear-gradient(90deg,var(--pastellblau),var(--rosa),var(--sternen-gelb));
  opacity:.6;
}

.grid.three-col.features .card:hover{
  transform:translateY(-4px);
  box-shadow:var(--card-shadow-hover);
}
.grid.three-col.features .card:focus-within{
  outline:2px solid color-mix(in oklab, var(--mitternachtsblau) 60%, white 40%);
  outline-offset:2px;
}

/* Medien */
.grid.three-col.features .card img{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
  background:var(--wolkenweiss);
}

/* Typo */
.grid.three-col.features .card h3{
  margin:.25rem 0 0;
  font-size:clamp(1.1rem, .9rem + .4vw, 1.25rem);
  line-height:1.25;
  color:var(--mitternachtsblau);
}
.grid.three-col.features .card p{
  margin:0;
  color:var(--text);
  font-size:clamp(0.98rem, .9rem + .2vw, 1.05rem);
  line-height:1.65;
  opacity:.95;
}

/* Barrierefreiheit & Motion-Respect */
.grid.three-col.features .card a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  .grid.three-col.features .card{ transition:none; }
}


/* Steps – Grundlayout */
.steps {
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: 0;
  margin: 0;
}

/* Einzelne Schritte */
.steps li {
  counter-increment: step-counter;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  padding: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  gap: .75rem;
  align-items: start;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

/* Nummern-Kreis */
.steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: .75rem;
  left: .75rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--pastellblau, #A8D8EA);
  color: var(--mitternachtsblau, #374785);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  z-index: 2;
}

/* Bild */
.steps li img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--wolkenweiss, #FAFAFA);
}

/* Titel */
.steps li h3 {
  margin: 0;
  font-size: clamp(1.05rem, .9rem + .3vw, 1.2rem);
  line-height: 1.3;
  color: var(--mitternachtsblau, #374785);
}

/* Text */
.steps li p {
  margin: 0;
  font-size: clamp(.95rem, .85rem + .2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text, #1b1b1b);
  opacity: .95;
}

/* Grid-Variante: ab Tablet nebeneinander */
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps li {
    text-align: center;
  }
  .steps li::before {
    left: 50%;
    top: -1.1rem;
    transform: translateX(-50%);
  }
}

.section#faq {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  background: var(--wolkenweiss, #FAFAFA);
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
}

/* Überschrift */
#faq header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
#faq header h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--mitternachtsblau, #374785);
  margin: 0;
  position: relative;
}
#faq header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: .5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pastellblau, #A8D8EA), var(--rosa, #F9C9D1));
  opacity: 0.8;
}

/* Liste */
.faq-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ-Artikel */
.faq-list article {
  background: #fff;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.faq-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

/* Frage */
.faq-list h3 {
  font-size: clamp(1.05rem, .9rem + .3vw, 1.2rem);
  color: var(--mitternachtsblau, #374785);
  margin: 0 0 .5rem;
  cursor: default;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.faq-list h3::before {
  content: "❓";
  font-size: 1.1rem;
  color: var(--sternen-gelb, #FFE066);
}

/* Antwort */
.faq-list p {
  margin: 0;
  font-size: clamp(.95rem, .85rem + .2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text, #1b1b1b);
}

/* Responsive */
@media (min-width: 768px) {
  .faq-list {
    gap: 2rem;
  }
}

/* Container / Karte */
.feature.container{
  --bg: var(--wolkenweiss, #FAFAFA);
  --ink: var(--text, #1b1b1b);
  --accent: var(--mitternachtsblau, #374785);
  --soft: var(--pastellblau, #A8D8EA);
  --pop: var(--rosa, #F9C9D1);

  max-width: 960px;
  margin: clamp(1rem, 4vw, 3rem) auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

/* Badge */
.feature.container .feature__badge{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in oklab, var(--soft) 60%, white 40%);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

/* Titel & Lead */
.feature.container .feature__title{
  margin: .75rem 0 0;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.2;
  color: var(--accent);
}
.feature.container .feature__lead{
  margin: .5rem 0 1rem;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
  opacity: .95;
}

/* Liste mit Checks */
.feature.container .feature__list{
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .6rem;
}
.feature.container .feature__list li{
  position: relative;
  padding-left: 2rem;
  font-size: clamp(1rem, .95rem + .2vw, 1.06rem);
  line-height: 1.6;
  color: var(--ink);
}
.feature.container .feature__list li::before{
  content: "";
  position: absolute;
  left: 0; top: .1rem;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 30%, white 20%, transparent 21%),
    linear-gradient(135deg, var(--soft), var(--pop));
  box-shadow: 0 2px 6px rgba(0,0,0,.12) inset;
  mask: none;
}
.feature.container .feature__list li::after{
  content: "";
  position: absolute;
  left: .38rem; top: .55rem;
  width: .5rem; height: .3rem;
  border: .14rem solid white;
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}

/* Warum-Box */
.feature.container .feature__why{
  margin: .5rem 0 0;
  padding: .9rem 1rem;
  background: color-mix(in oklab, var(--pop) 22%, white 78%);
  border: 1px solid color-mix(in oklab, var(--pop) 45%, white 55%);
  border-radius: 14px;
  font-size: clamp(.98rem, .9rem + .2vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink);
}
.feature.container .feature__why strong{
  color: var(--accent);
}

/* Zarte Deko im Hintergrund (abschaltbar: einfach entfernen) */
.feature.container::after{
  content:"";
  position:absolute; inset:auto -20% -30% -20%;
  height: 60%;
  background:
    radial-gradient(40% 60% at 20% 50%, color-mix(in oklab, var(--soft) 25%, transparent) 0%, transparent 70%),
    radial-gradient(35% 55% at 80% 40%, color-mix(in oklab, var(--pop) 18%, transparent) 0%, transparent 70%);
  pointer-events:none;
  filter: blur(12px);
  opacity:.6;
}

/* Hover/Motion-Respect */
@media (prefers-reduced-motion: no-preference){
  .feature.container{ transition: box-shadow .25s ease; }
  .feature.container:hover{ box-shadow: 0 12px 36px rgba(0,0,0,.09); }
}

/* Responsive Feinschliff */
@media (min-width: 768px){
  .feature.container{
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
  }
}

/* Container */
.hero__nav {
  margin: clamp(1rem, 2vw, 2rem) auto 0;
  max-width: 960px;
  padding: 0 1rem;
  text-align: center;
}

/* UL */
.hero__nav .feature-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem .9rem;
}

/* Links als Pillen */
.hero__nav .feature-toc a {
  display: inline-block;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  font-size: clamp(.9rem, .85rem + .2vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--mitternachtsblau, #374785);
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
  transition: 
    background .25s ease, 
    color .25s ease, 
    transform .25s ease, 
    box-shadow .25s ease;
}

/* Hover */
.hero__nav .feature-toc a:hover {
  background: color-mix(in oklab, var(--pastellblau, #A8D8EA) 70%, white 30%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

/* Active (z. B. per JS beim Scroll oder mit .is-active) */
.hero__nav .feature-toc a.is-active {
  background: linear-gradient(135deg, var(--rosa, #F9C9D1), var(--pastellblau, #A8D8EA));
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* Fokus (Barrierefreiheit) */
.hero__nav .feature-toc a:focus-visible {
  outline: 3px solid var(--sternen-gelb, #FFE066);
  outline-offset: 2px;
}

/* Mobile Optimierung */
@media (max-width: 640px){
  .hero__nav .feature-toc {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__nav .feature-toc a {
    text-align: center;
    padding: .7rem 1rem;
  }
}

/* =========================
   Calc Section
   ========================= */

.section.section--calc {
  --bg: var(--wolkenweiss, #FAFAFA);
  --ink: var(--text, #1b1b1b);
  --accent: var(--mitternachtsblau, #374785);
  --soft: var(--pastellblau, #A8D8EA);
  --pop: var(--rosa, #F9C9D1);
  --gold: var(--sternen-gelb, #FFE066);
  --green: var(--salbeigruen, #B7D7B1);

  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in oklab, var(--soft) 18%, transparent) 0%, transparent 55%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in oklab, var(--pop) 16%, transparent) 0%, transparent 55%),
    var(--bg);
}

.section.section--calc .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Heading */
.section.section--calc h2 {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  color: var(--accent);
  text-align: center;
}

/* =========================
   Form Grid
   ========================= */

.calc.grid.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.75rem, 2vw, 1rem);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 750px) {
  .calc.grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc__field {
  display: grid;
  gap: .45rem;
}

.calc__field > span {
  font-size: .95rem;
  color: color-mix(in oklab, var(--accent) 80%, black 20%);
}

/* Inputs */
.calc__field input[type="number"],
.calc__field input[type="text"] {
  width: 100%;
  appearance: none;
  -moz-appearance: textfield; /* Firefox: Number arrows aus */
  border: 1px solid color-mix(in oklab, var(--soft) 35%, #0000 65%);
  background: var(--wolkenweiss, #FAFAFA);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.calc__field input[type="number"]::-webkit-outer-spin-button,
.calc__field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc__field input:focus {
  outline: none;
  border-color: var(--soft);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--soft) 35%, transparent);
  background: #fff;
}

.calc__field input[disabled] {
  opacity: .8;
  cursor: not-allowed;
}

/* =========================
   Result Cards
   ========================= */

.calc__result.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.25rem);
}

@media (min-width: 900px) {
  .calc__result.cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc__result .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: clamp(1rem, 2.2vw, 1.4rem);
  display: grid;
  gap: .5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.calc__result .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

.calc__result .card h4 {
  margin: 0;
  font-size: clamp(1rem, .9rem + .3vw, 1.15rem);
  color: var(--accent);
}

.calc__result .card p {
  margin: .2rem 0 .25rem;
  line-height: 1.2;
}

/* Zahlen prominent */
.calc__payout,
.calc__turnover,
.calc__saving {
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem);
  letter-spacing: .2px;
}

/* Farbliche Akzente für die drei Kennzahlen */
.calc__payout { color: var(--accent); }
.calc__turnover { color: var(--soft); }
.calc__saving { color: var(--green); }

.calc__result .card small {
  color: #4a4a4a;
  opacity: .8;
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce) {
  .calc.grid.grid-3,
  .calc__result .card { transition: none; }
}

/* ===== Seite / Wrapper ===== */
.booking{
  color: var(--ink);
}
.booking > h2{
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 .4rem;
}
.booking > p{
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ===== Feature-Liste ===== */
.booking .features{
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .6rem .9rem;
}
.booking .features li{
  position: relative;
  padding: .65rem .9rem .65rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg,#fff, #fafbff);
}
.booking .features li::before{
  content: "✓";
  position: absolute;
  left: .7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #374785;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .9rem;
}
.booking .features small{ color: var(--muted); }

/* ===== Form Container ===== */
#bookingForm{
  --pad: clamp(16px, 2.5vw, 24px);
  margin: 32px auto;
  padding: var(--pad);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}

/* ===== Fieldsets als Karten ===== */
#bookingForm fieldset{
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

#bookingForm fieldset:hover{
  box-shadow: var(--shadow);
}

#bookingForm legend{
  font-weight: 650;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--blau) 35%, #fff 65%);
  color: #0d2a3a;
  border: 1px solid var(--line);
}

/* ===== Typografie & Grundlayout ===== */
#bookingForm label{
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.25;
}

#bookingForm input[type="text"]{
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .02s ease;
}

#bookingForm input[type="text"]:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--blau) 25%, #0000);
}

/* hübschere Standard-Radios/Checkboxen ohne extra Markup */
#bookingForm input[type="radio"],
#bookingForm input[type="checkbox"]{
  accent-color: var(--nacht);
  transform: translateY(1px);
}

/* ===== Zwei-Spalten-Layout für Adressdaten ===== */
#bookingForm fieldset:nth-of-type(4) { /* Rechnungsadresse */
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
}
#bookingForm fieldset:nth-of-type(4) label{
  grid-column: span 6;
}
#bookingForm fieldset:nth-of-type(4) label:nth-child(2){ /* Hausnummer */
  grid-column: span 6;
}
#bookingForm fieldset:nth-of-type(4) label:nth-child(3){ /* PLZ */
  grid-column: span 4;
}
#bookingForm fieldset:nth-of-type(4) label:nth-child(4){ /* Stadt */
  grid-column: span 8;
}
#bookingForm fieldset:nth-of-type(4) label:nth-child(5){ /* Land */
  grid-column: span 6;
}

/* ===== Radio-Gruppen (Laufzeit/Zahlungsweise) als Chips ===== */
#bookingForm fieldset:first-of-type,
#bookingForm fieldset:nth-of-type(2){
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

#bookingForm fieldset:first-of-type label,
#bookingForm fieldset:nth-of-type(2) label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: transform .02s ease, box-shadow .15s ease, background .15s ease;
}

#bookingForm fieldset:first-of-type input[type="radio"]:checked + *,
#bookingForm fieldset:nth-of-type(2) input[type="radio"]:checked + *{
  /* Fallback falls jemand <input><span> nutzt – dein HTML hat Text direkt; wir stylen Eltern via :has */
}

/* Elternlabel hervorheben, wenn Radio gecheckt ist */
#bookingForm fieldset label:has(input[type="radio"]:checked){
  background: color-mix(in oklab, var(--blau) 22%, #fff 78%);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--blau) 25%, #0000);
  border-color: var(--focus);
}

/* ===== Zahlungsarten als Karten ===== */

.payment-option{
  margin-block: 6px;
}
.payment-option label{
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
  cursor: pointer;
}
.payment-option label:hover{
  box-shadow: var(--shadow);
}
.payment-option label:has(input[type="radio"]:checked){
  border-color: var(--focus);
  background: color-mix(in oklab, var(--blau) 18%, #fff 82%);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--blau) 18%, #0000);
}
.payment-logo{
  height: 22px;
  width: auto;
}

/* ===== Hinweise & Validierung ===== */
.booking  .text-info{
  color: #0b4b6b;
  background: color-mix(in oklab, var(--blau) 20%, #fff 80%);
  border: 1px dashed var(--focus);
  padding: 10px 12px;
  border-radius: 12px;
}

.booking  .text-error{
  color: #7a1323;
  background: color-mix(in oklab, var(--rosa) 22%, #fff 78%);
  border: 1px dashed color-mix(in oklab, var(--rosa) 55%, #7a1323 10%);
  padding: 8px 10px;
  border-radius: 10px;
}

/* ===== Preisbox ===== */
.booking  .price-summary{
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--gelb) 8%, #fff 92%));
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  font-size: 1rem;
}
.booking  .price-summary p{
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: var(--ink);
}
.booking  .price-summary p strong{
  font-weight: 800;
}

/* ===== Button ===== */
#bookingForm .btn{
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 750;
  font-size: 1.05rem;
  background: linear-gradient(180deg, var(--nacht), color-mix(in oklab, var(--nacht) 86%, #000 14%));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(55,71,133,.25);
  transition: transform .06s ease, box-shadow .15s ease, opacity .15s ease;
}
#bookingForm .btn:hover{
  box-shadow: 0 14px 28px rgba(55,71,133,.32);
  transform: translateY(-1px);
}
#bookingForm .btn:active{
  transform: translateY(0);
}
#bookingForm .btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===== Kleinkram / Utilities ===== */
.d-block{ display: block; }

/* Checkbox-Rechtsblock (Rechtliches) luftiger machen */
#bookingForm fieldset:last-of-type label{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Fokus-Ring auch für Tastatur-Nutzer auf Labels */
#bookingForm label:focus-within{
  outline: 3px solid color-mix(in oklab, var(--blau) 25%, #0000);
  border-radius: 12px;
}

/* ===== Responsiv ===== */
@media (max-width: 820px){
  #bookingForm{ padding: 16px; }
  /* Rechnungsadresse einspaltig mobil */
  #bookingForm fieldset:nth-of-type(4){
    grid-template-columns: 1fr;
  }
  #bookingForm fieldset:nth-of-type(4) label{ grid-column: 1 / -1; }
  .payment-option label{ padding: 10px; }
  .payment-logo{ height: 20px; }
}

/* ===== Tabelle: Meilenstein-Ideen nach Alter ===== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--tile-bg, #fff);
  color: var(--tile-fg, #223);
  border: 1px solid var(--tile-border, color-mix(in oklab, #9fb3c8 35%, #0000));
  border-radius: 16px;
  overflow: hidden; /* für runde Ecken bei scroll */
  box-shadow: var(--card-shadow, 0 10px 24px rgba(0,0,0,.08));
}

.table thead th {
  background: linear-gradient(0deg, color-mix(in oklab, var(--blau, #A8D8EA) 24%, #fff 0%) 0 0, var(--blau, #A8D8EA));
  color: var(--mitternachtsblau, #374785);
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  font-size: 0.95rem;
  border-bottom: 1px solid color-mix(in oklab, var(--mitternachtsblau, #374785) 15%, #fff);
}

.table tbody td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in oklab, var(--blau, #A8D8EA) 20%, #fff);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

/* Zebra & Hover */
.table tbody tr:nth-child(odd) {
  background: color-mix(in oklab, var(--blau, #A8D8EA) 8%, #fff);
}

.table tbody tr:hover {
  background: color-mix(in oklab, var(--rosa, #F9C9D1) 12%, #fff);
  transition: background .2s ease;
}

/* Typografie-Feinschliff */
.table tbody td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--mitternachtsblau, #374785);
}

/* Mobile: Spalten stapeln (optional) */
@media (max-width: 680px) {
  .table thead {
    display: none;
  }
  .table, .table tbody, .table tr, .table td {
    display: block;
    width: 100%;
  }
  .table tr {
    border-bottom: 1px solid color-mix(in oklab, var(--blau, #A8D8EA) 25%, #fff);
    padding: 10px 0;
  }
  .table tbody td {
    padding: 8px 16px;
  }
  .table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8rem;
    letter-spacing: .02em;
    color: var(--tile-sub, #5b6b7b);
    margin-bottom: 2px;
    text-transform: uppercase;
  }
}

/* ===== Breadcrumbs ===== */

.breadcrumbs {
  margin: 24px auto 0;
  padding: 0 16px 24px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumbs a,
.breadcrumbs li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--tile-sub, #5b6b7b);
  text-decoration: none;
}

.breadcrumbs a {
  position: relative;
  padding: 6px 10px;
  background: color-mix(in oklab, var(--blau, #A8D8EA) 10%, #fff);
  border: 1px solid color-mix(in oklab, var(--blau, #A8D8EA) 25%, #fff);
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.breadcrumbs a:hover {
  background: color-mix(in oklab, var(--rosa, #F9C9D1) 20%, #fff);
  border-color: color-mix(in oklab, var(--rosa, #F9C9D1) 35%, #fff);
  transform: translateY(-1px);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--mitternachtsblau, #374785);
  font-weight: 700;
  padding: 6px 0 6px 4px;
}

/* Separator mit Icon-Pfeil */
.breadcrumbs ol > li:not(:last-child)::after {
  content: "›";
  color: color-mix(in oklab, var(--mitternachtsblau, #374785) 60%, #fff);
  margin: 0 6px 0 10px;
}

/* High-contrast / Dark Mode fein justieren */
@media (prefers-color-scheme: dark) {
  .table {
    background: #0f1220;
    color: #e9ecf2;
    border-color: color-mix(in oklab, var(--blau, #A8D8EA) 35%, #000);
  }
  .table thead th {
    color: #e9ecf2;
    border-bottom-color: color-mix(in oklab, var(--mitternachtsblau, #374785) 40%, #000);
  }
  .table tbody tr:nth-child(odd) {
    background: color-mix(in oklab, var(--blau, #A8D8EA) 12%, #0b0e19);
  }
  .table tbody tr:hover {
    background: color-mix(in oklab, var(--rosa, #F9C9D1) 18%, #0b0e19);
  }

  .breadcrumbs a {
    background: color-mix(in oklab, var(--blau, #A8D8EA) 14%, #0b0e19);
    border-color: color-mix(in oklab, var(--blau, #A8D8EA) 30%, #0b0e19);
    color: #e9ecf2;
  }
  .breadcrumbs a:hover {
    background: color-mix(in oklab, var(--rosa, #F9C9D1) 20%, #0b0e19);
    border-color: color-mix(in oklab, var(--rosa, #F9C9D1) 35%, #0b0e19);
  }
.breadcrumbs li[aria-current="page"] {
  color: #fff;
}
}

/* Passwortfeld mit Toggle-Auge */
.password-wrapper {
  position: relative;
  display: block;
}
.password-wrapper input {
  padding-right: 2.5rem;
}
.password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--muted);
}
.password-wrapper .toggle-password svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.password-wrapper .toggle-password .eye-open {
  opacity: 0;
  transform: scale(0.8);
}
.password-wrapper .toggle-password .eye-closed {
  opacity: 1;
  transform: scale(1);
}
.password-wrapper.show-password .toggle-password .eye-open {
  opacity: 1;
  transform: scale(1);
}
.password-wrapper.show-password .toggle-password .eye-closed {
  opacity: 0;
  transform: scale(0.8);
}

.page-blog .container {
  padding-top: 2rem;
}

.blog-overview {
  padding: 2rem 0 3rem;
}

.blog-overview__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-overview__header h1 {
  margin-bottom: 0.5rem;
}

.blog-overview__header p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
}

.blog-overview__empty {
  text-align: center;
  color: var(--muted);
}

.blog-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 2rem;
}
@media (max-width: 890px) {
  .blog-overview__grid {
	  grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (max-width: 580px) {
  .blog-overview__grid {
	  grid-template-columns: repeat(1, minmax(260px, 1fr));
  }
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.blog-card__date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

.blog-card__title {
  font-size: 1.4rem;
  margin: 0;
}

.blog-card__title a {
  color: inherit;
}

.blog-card__title a:hover {
  color: var(--primary);
}

.blog-card__excerpt {
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
  flex: 1;
}

.blog-card__link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card__link::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.blog-card__link:hover::after {
  transform: translateX(4px);
}

.blog-post {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.blog-post__header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.blog-post__date {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.blog-post__image {
  margin: 2rem 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.blog-post__image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.blog-post__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2d3748;
}

.blog-post__content p,
.blog-post__content ul,
.blog-post__content ol,
.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4,
.blog-post__content blockquote {
  margin-bottom: 1.6rem;
}

.blog-post__content img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 1.5rem auto;
}

.blog-post__content a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .blog-card__content {
    padding: 1.25rem;
  }

  .blog-card__title {
    font-size: 1.2rem;
  }

  .blog-post {
    padding: 1.5rem 0 3rem;
  }
}
.blog h1, .blog h2 {
  color: #374785; /* Mitternachtsblau */
}

.blog-lead {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

.highlight-box {
  background: #F9C9D1; /* sanftes Rosa */
  padding: 16px 20px;
  border-radius: 12px;
  margin: 30px 0;
}

.blog-cta {
  display: inline-block;
  background: #FFE066; /* Sternen-Gelb */
  color: #374785;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.blog-cta:hover {
  background: #FFD633;
}
