/* findnix Kids — kids.css */
:root {
  --blue:    #1e90ff;
  --teal:    #00ced1;
  --yellow:  #FFD700;
  --green:   #3dd68c;
  --orange:  #FF8C00;
  --red:     #ff4757;
  --purple:  #9c59d1;
  --bg:      #e8f4ff;
  --white:   #ffffff;
  --text:    #1a2a3a;
  --muted:   #5a7a9a;
  --radius:  14px;
  --shadow:  0 4px 20px rgba(30,144,255,.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── Header ─────────────────────────────────────── */
.kids-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 15px rgba(0,0,0,.2);
}

.kids-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.kids-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.kids-logo-text {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.kids-logo-text span { color: var(--yellow); }

.kids-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.kids-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
  white-space: nowrap;
}

.kids-nav a:hover { background: rgba(255,255,255,.3); }
.kids-nav a .nav-icon { font-size: 18px; }

/* ── Hero / Suchbereich ─────────────────────────── */
.kids-hero {
  background: linear-gradient(180deg, #1e90ff 0%, #00ced1 60%, var(--bg) 100%);
  padding: 40px 20px 60px;
  text-align: center;
  position: relative;
}

.kids-hero h1 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.kids-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
}

.kids-search-box {
  display: flex;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
}

.kids-search-box input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  color: var(--text);
}

.kids-search-box button {
  background: var(--yellow);
  border: none;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.kids-search-box button:hover { background: #e6c200; }

/* ── Hauptinhalt ────────────────────────────────── */
.kids-main {
  max-width: 1000px;
  margin: -30px auto 40px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* ── Themen-Kacheln ─────────────────────────────── */
.kids-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.kids-topic {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--blue);
}

.kids-topic:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30,144,255,.25);
}

.kids-topic .topic-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.kids-topic .topic-name { font-size: 13px; font-weight: 700; }

/* Verschiedene Farben für Kacheln */
.kids-topic:nth-child(1) { border-color: var(--blue); }
.kids-topic:nth-child(2) { border-color: var(--green); }
.kids-topic:nth-child(3) { border-color: var(--orange); }
.kids-topic:nth-child(4) { border-color: var(--purple); }
.kids-topic:nth-child(5) { border-color: var(--teal); }
.kids-topic:nth-child(6) { border-color: var(--yellow); }
.kids-topic:nth-child(7) { border-color: var(--red); }
.kids-topic:nth-child(8) { border-color: var(--blue); }
.kids-topic:nth-child(9) { border-color: var(--green); }
.kids-topic:nth-child(10){ border-color: var(--orange); }
.kids-topic:nth-child(11){ border-color: var(--purple); }
.kids-topic:nth-child(12){ border-color: var(--teal); }

/* ── Suchergebnisse ─────────────────────────────── */
.kids-results { margin-top: 20px; }

.kids-result {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .15s;
}

.kids-result:hover { transform: translateX(4px); }

.kids-result-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.kids-result-body { flex: 1; }

.kids-result-domain {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 4px;
}

.kids-result-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  line-height: 1.3;
}

.kids-result-title:hover { color: var(--teal); text-decoration: underline; }

.kids-result-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.kids-result-cat {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--blue);
  font-weight: 700;
}

/* ── Keine Ergebnisse ───────────────────────────── */
.kids-no-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kids-no-results .no-icon { font-size: 60px; display: block; margin-bottom: 16px; }
.kids-no-results h2 { font-size: 22px; color: var(--text); margin-bottom: 8px; }
.kids-no-results p { color: var(--muted); font-size: 15px; }

/* ── Pagination ─────────────────────────────────── */
.kids-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.kids-pagination a, .kids-pagination span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
}

.kids-pagination a {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow);
}

.kids-pagination a:hover { background: var(--blue); color: #fff; }
.kids-pagination span { background: var(--blue); color: #fff; }

/* ── Footer ─────────────────────────────────────── */
.kids-footer {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  margin-top: 40px;
}

.kids-footer a {
  color: var(--yellow);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 700;
}

.kids-footer a:hover { text-decoration: underline; }

/* ── Gras-Dekoration ────────────────────────────── */
.kids-grass {
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath fill='%2300ced1' d='M0,20 Q50,0 100,20 Q150,40 200,20 Q250,0 300,20 Q350,40 400,20 Q450,0 500,20 Q550,40 600,20 Q650,0 700,20 Q750,40 800,20 Q850,0 900,20 Q950,40 1000,20 Q1050,0 1100,20 Q1150,40 1200,20 L1200,40 L0,40 Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 1200px 40px;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
  .kids-logo-text { font-size: 20px; }
  .kids-nav a { padding: 5px 8px; font-size: 11px; }
  .kids-hero h1 { font-size: 24px; }
  .kids-topics { grid-template-columns: repeat(3, 1fr); }
  .kids-result { flex-direction: column; }
  .kids-result-thumb { width: 100%; height: 160px; }
}
