/* =========================
   KinderKomet – Warm & Friendly UI (Light)
   ========================= */

:root{
  --bg: #fffdf8;
  --bg2:#f6fbff;
  --surface:#ffffff;
  --surfaceSoft: rgba(255,255,255,0.86);

  --text:#132033;
  --muted:#4b5b72;

  --line:#e7eef7;
  --shadow: 0 12px 34px rgba(20,32,51,0.10);

  /* Friendly accents */
  --blue:#2f7bf6;
  --mint:#22c7a6;
  --sun:#ffb84d;
  --pink:#ff6b8a;
  --violet:#7c5cff;

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  line-height:1.65;
  background:
    radial-gradient(900px 560px at 10% 0%, rgba(47,123,246,.14), transparent 62%),
    radial-gradient(860px 520px at 90% 10%, rgba(34,199,166,.14), transparent 62%),
    radial-gradient(760px 500px at 70% 95%, rgba(255,184,77,.16), transparent 60%),
    radial-gradient(680px 460px at 5% 95%, rgba(255,107,138,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

img{
  max-width:100%;
  display:block;
}

/* Accessibility focus */
:focus-visible{
  outline: 3px solid rgba(47,123,246, .42);
  outline-offset: 3px;
  border-radius: 14px;
}

.tiny{ font-size:12px; }
.muted{ color:var(--muted); }

/* =========================
   Cute doodles (global)
   ========================= */
main{
  position: relative;
}

main::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events:none;
  opacity: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg opacity='0.12'%3E%3Cpath d='M40 26l8 18 20 2-15 13 5 20-18-11-18 11 5-20-15-13 20-2z' fill='%237C5CFF'/%3E%3Cpath d='M184 78l7 16 18 2-14 12 4 18-15-9-15 9 4-18-14-12 18-2z' fill='%2322C7A6'/%3E%3Cpath d='M86 164l6 14 16 2-12 10 4 16-14-8-14 8 4-16-12-10 16-2z' fill='%23FFB84D'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg opacity='0.10'%3E%3Cpath d='M86 70c-18 0-32 14-32 32 0 10 4 18 10 24-10 10-16 24-16 39 0 33 26 59 59 59h46c33 0 59-26 59-59 0-15-6-29-16-39 6-6 10-14 10-24 0-18-14-32-32-32-12 0-23 6-28 16-8-7-18-11-29-11s-21 4-29 11c-5-10-16-16-28-16z' fill='%23FF6B8A'/%3E%3Ccircle cx='112' cy='150' r='8' fill='%23132033'/%3E%3Ccircle cx='148' cy='150' r='8' fill='%23132033'/%3E%3Cpath d='M130 162c10 0 18 6 18 14 0 3-2 6-5 6h-26c-3 0-5-3-5-6 0-8 8-14 18-14z' fill='%23132033'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='220' viewBox='0 0 360 220'%3E%3Cg opacity='0.11'%3E%3Cpath d='M110 170h150c34 0 62-25 62-56 0-29-24-53-54-56-10-28-38-48-71-48-39 0-72 29-76 66-27 4-48 25-48 50 0 25 20 44 37 44z' fill='%232F7BF6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position:
    8% 38%,
    95% 58%,
    10% 78%;
  background-size:
    220px,
    220px,
    300px;
}

/* =========================
   Header / Nav
   ========================= */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-mark{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,123,246,.95), rgba(34,199,166,.90));
  box-shadow: 0 12px 26px rgba(47,123,246,.18);
  font-size: 20px;
}

.brand-text{
  display:grid;
  gap:2px;
}

.brand-text strong{
  font-size: 18px;
  letter-spacing:.2px;
}

.brand-text span{
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.nav a{
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.nav a:hover{
  background: rgba(47,123,246,.07);
  color: var(--text);
}

.nav-cta{
  background: linear-gradient(135deg, rgba(47,123,246,.95), rgba(34,199,166,.90));
  color:white !important;
  box-shadow: 0 10px 20px rgba(47,123,246,.18);
}

.nav-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(20,32,51,0.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(20,32,51,0.10);
  border-color: rgba(47,123,246,.18);
}

.btn-primary{
  border: 0;
  color:white;
  background: linear-gradient(135deg, rgba(47,123,246,.95), rgba(34,199,166,.92));
}

.btn-ghost{
  background: rgba(255,255,255,0.70);
}

/* =========================
   Hero
   ========================= */
.hero{
  position: relative;
  padding: 52px 0 24px;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset: -90px -90px auto -90px;
  height: 420px;
  pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg opacity='0.18'%3E%3Ccircle cx='92' cy='92' r='46' fill='%23FFB84D'/%3E%3Cg stroke='%23FFB84D' stroke-width='8' stroke-linecap='round'%3E%3Cpath d='M92 16v18'/%3E%3Cpath d='M92 150v18'/%3E%3Cpath d='M16 92h18'/%3E%3Cpath d='M150 92h18'/%3E%3Cpath d='M38 38l13 13'/%3E%3Cpath d='M133 133l13 13'/%3E%3Cpath d='M38 146l13-13'/%3E%3Cpath d='M133 51l13-13'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg opacity='0.14'%3E%3Cpath d='M120 22l24 56 60 6-46 40 14 60-52-32-52 32 14-60-46-40 60-6z' fill='%2322C7A6'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='240' viewBox='0 0 520 240'%3E%3Cg opacity='0.10'%3E%3Cpath d='M20 220c80-120 160-180 240-180s160 60 240 180' fill='none' stroke='%232F7BF6' stroke-width='22' stroke-linecap='round'/%3E%3Cpath d='M55 220c68-100 136-150 205-150s137 50 205 150' fill='none' stroke='%237C5CFF' stroke-width='18' stroke-linecap='round'/%3E%3Cpath d='M88 220c56-82 112-122 172-122s116 40 172 122' fill='none' stroke='%23FF6B8A' stroke-width='14' stroke-linecap='round'/%3E%3Cpath d='M122 220c44-64 88-94 139-94s95 30 139 94' fill='none' stroke='%23FFB84D' stroke-width='12' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position:
    left -10px top 0px,
    right -20px top 10px,
    60% 25%;
  background-size:
    220px,
    190px,
    440px;
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead{
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--text);
  max-width: 72ch;
}

.hero-bullets{
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  display:grid;
  gap: 6px;
  color: rgba(19,32,51,0.90);
  font-weight: 750;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.kurzueberblick{
  margin-top: 14px;
  padding: 16px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.90);
  box-shadow: var(--shadow);
}

.kurzueberblick h2{
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.kurzueberblick p{
  margin: 0 0 12px;
  color: var(--text);
}

.kurzueberblick p:last-child{
  margin-bottom: 0;
}

/* =========================
   Sections
   ========================= */
.section{
  padding: 54px 0;
  position: relative;
}

.section h2{
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.section h3{
  margin: 16px 0 8px;
  font-size: 18px;
}

.section h4{
  margin: 14px 0 8px;
  font-size: 16px;
}

.section p{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 88ch;
}

.section ul{
  margin: 8px 0 12px;
  color: rgba(19,32,51,0.90);
}

.section + .section{
  border-top: 1px solid rgba(231,238,247,0.8);
}

/* =========================
   Checklist
   ========================= */
.checklist{
  list-style:none;
  padding-left: 0;
  display:grid;
  gap: 10px;
}

.checklist li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 22px rgba(20,32,51,0.06);
}

/* =========================
   Angebot cards
   ========================= */
.angebot-block{
  margin-top: 14px;
  padding: 16px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}

.angebot-block::after{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 30% 30%, rgba(255,184,77,0.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(34,199,166,0.25), transparent 55%);
  border-radius: 999px;
}

.angebot-block ul{
  padding-left: 18px;
  margin: 8px 0 0;
}

/* =========================
   Gallery (images)
   ========================= */
.gallery{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery--images{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.gallery__item{
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery__item img{
  width:100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(231,238,247,0.9);
  transition: transform .25s ease;
}

.gallery__item:hover img{
  transform: scale(1.02);
}

/* =========================
   FAQ
   ========================= */
.faq{
  margin-top: 14px;
  display:grid;
  gap: 12px;
}

.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.faq-item summary{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 850;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content: "＋";
  font-weight: 900;
  color: rgba(19,32,51,0.72);
  background: rgba(47,123,246,0.08);
  border: 1px solid rgba(47,123,246,0.18);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}

.faq-item[open] summary{
  background: linear-gradient(135deg, rgba(47,123,246,0.10), rgba(34,199,166,0.08));
}

.faq-item[open] summary::after{
  content: "–";
  background: rgba(34,199,166,0.10);
  border-color: rgba(34,199,166,0.22);
}

.faq-body{
  padding: 0 16px 14px;
}

.faq-body p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* =========================
   Form
   ========================= */
.form{
  margin-top: 14px;
  padding: 16px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
}

fieldset{
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin: 0 0 12px;
  background: rgba(246,251,255,0.75);
}

legend{
  padding: 0 8px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

label{
  display:grid;
  gap: 6px;
  margin: 10px 0;
  font-weight: 750;
  color: rgba(19,32,51,0.92);
}

input, select, textarea{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(231,238,247, 1);
  background: white;
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  box-shadow: 0 10px 22px rgba(20,32,51,0.05);
}

textarea{
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder{
  color: rgba(75,91,114,0.70);
}

input:focus,
select:focus,
textarea:focus{
  border-color: rgba(47,123,246,0.45);
  box-shadow: 0 0 0 4px rgba(47,123,246,0.12);
  outline: none;
}

label input[type="checkbox"]{
  width: auto;
  box-shadow: none;
  margin-right: 8px;
}

.form-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  margin-top: 10px;
}

.form-actions button{
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,123,246,.95), rgba(34,199,166,.92));
  color:white;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(47,123,246,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}

.form-actions button:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(47,123,246,.22);
}

.form-actions a{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}

.form-actions a:hover{
  color: var(--text);
  background: rgba(47,123,246,0.06);
}

/* =========================
   Contact / address
   ========================= */
address{
  font-style: normal;
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  max-width: 420px;
  margin-bottom: 16px;
}

#kontakt p a{
  color: var(--blue);
  font-weight: 700;
}

#kontakt p a:hover{
  text-decoration: underline;
}

/* =========================
   Footer
   ========================= */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  padding: 26px 0 40px;
}

.footer p{
  margin: 6px 0;
  color: var(--muted);
}

.footer a{
  color: var(--muted);
  border-bottom: 1px dashed rgba(75,91,114,0.35);
}

.footer a:hover{
  color: var(--text);
  border-bottom-color: rgba(19,32,51,0.55);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .header-row{
    flex-wrap: wrap;
  }

  .nav{
    gap: 8px;
  }

  .nav a:not(.nav-cta){
    display:none;
  }

  .gallery{
    grid-template-columns: 1fr 1fr;
  }

  .gallery--images{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__item img{
    height: 240px;
  }
}

@media (max-width: 560px){
  .container{
    width: min(var(--max), calc(100% - 28px));
  }

  .hero{
    padding-top: 36px;
  }

  .hero h1{
    font-size: 32px;
  }

  .hero-actions,
  .form-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .form-actions button,
  .form-actions a{
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .gallery{
    grid-template-columns: 1fr;
  }

  .gallery--images{
    grid-template-columns: 1fr;
  }

  .gallery__item img{
    height: 220px;
  }

  address{
    max-width: 100%;
  }
}

/* =========================
   Reduced motion
   ========================= */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior:auto !important;
    transition:none !important;
  }
}