@charset "utf-8";
/* CSS Document */

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(to top, #ff9a76, #ffb347, #ffe29f, #ffffff);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Navigation */
.navbar {
  font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: bold;
  margin: 30px 30px 0;
}

.navbar a {
  color: rgba(4,3,156,1);
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

/* Logo */
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-fluid {
  margin-top: 20px;
  width: auto;
  max-width: 320px;
  height: auto;
}

/* Hauptbereich */

main {
  display: block;   
  max-width: 1200px;
  padding-bottom: 30px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  background:rgba(253,253,253,1.00);
  color: #333;
  border-radius: 30px;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  height: auto;}

/* Grid */
.grid-container {
  display: grid;
  grid-template-columns: auto;
  padding: 0 20px;
  color: #1F175C;
}

/* Haupttitel: Betreuungstarife */
.item1 {
  padding: 35px 20px 25px;
  margin-top: 35px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  color: rgba(4,3,156,1);
}

/* Box für Tagestarife + Preistabelle */
.item2 {
  margin: 0 auto 35px auto;
  width: 100%;
  max-width: 950px;
  box-sizing: border-box;
  padding: 30px 30px 35px;
  background-color: #fdfdfd;
  border-radius: 30px;
  color: #333;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

/* Titel innerhalb der Box */
.tarif-titel {
  text-align: center;
  font-size: 2.3em;
  font-weight: 700;
  color: rgba(4,3,156,1);
  margin-top: 0;
  margin-bottom: 35px;
}

.tarif-titel em,
.item1 em {
  font-style: italic;
}

/* Preistabelle als Bild */
.preis-box {
  width: 100%;
  text-align: center;
}

.preis-box img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}

/* Hinweis unten */
.item4 {
  max-width: 950px;
  margin: 0 auto 30px auto;
  padding: 20px;
  text-align: center;
  font-size: 1em;
  color: rgba(4,3,156,1);
  box-sizing: border-box;
}

.item4 p {
  margin: 10px 0;
  line-height: 1.5;
}


.item5 {
  margin: 0 auto 35px auto;
  width: 100%;
  max-width: 950px;
  box-sizing: border-box;
  padding: 30px 30px 35px;
  background-color: #fdfdfd;
  border-radius: 30px;
  color: #333;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}
/* Titel über allem */
.monatspauschale-titel {
  text-align: center;
  font-size: 2.3em;
  font-weight: 700;
  color: rgba(4,3,156,1);
  margin-bottom: 30px;
}

/* Tabelle */
.monatspauschale-tabelle {
  width: 100%;
  border-collapse: collapse;
  color: #31229B;
  font-size: 1.7em;
}

/* Tabellenkopf */
.monatspauschale-tabelle th {
  color: #00A6D6;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px 22px;
}

/* Tabellenzellen */
.monatspauschale-tabelle td {
  padding: 12px;
  vertical-align: top;
}

/* Linke Spalte fett wie bei Module */
.monatspauschale-tabelle td:first-child {
  font-weight: 700;
}

/* Zahlen sauber ausrichten */
.monatspauschale-tabelle td:nth-child(2),
.monatspauschale-tabelle td:nth-child(3) {
  text-align: left;
}

.module-info-zeile td {
  padding-top: 18px;
}

.module-info-link,
.module-info-link:visited {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 700;
  color: #00A6D6;
  text-decoration: none !important;
  border-bottom: 2px solid #DDF721;
  padding-bottom: 3px;
}

.module-info-link::before {
  content: "➜ ";
}

.module-info-link:hover {
  color: rgba(4,3,156,1);
  border-bottom-color: #00A6D6;
}

.item6 {
  margin: 0 auto 35px auto;
  width: 100%;
  max-width: 950px;
  box-sizing: border-box;
  padding: 30px 30px 35px;
  background-color: #fdfdfd;
  border-radius: 30px;
  color: #333;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.item6-titel {
  text-align: center;
  font-size: 2.3em;
  font-weight: 700;
  color: rgba(4,3,156,1);
  margin-bottom: 30px;
}

.monats-tabelle {
  width: 100%;
  border-collapse: collapse;
  color: #31229B;
  font-size: 1.8em;
}

.monats-tabelle th {
  color: #00A6D6;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px 25px;
}

.monats-tabelle th span {
  font-size: 0.75em;
  font-weight: 700;
}

.monats-tabelle td {
  padding: 12px;
  vertical-align: top;
}

.monats-tabelle td:first-child {
  font-weight: 700;
}

.monats-tabelle td:last-child {
  text-align: left;
}

.monats-tabelle .modul-mit-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
}

.monats-tabelle .info-button,
.monats-tabelle .info-button:visited {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.55em;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(4,3,156,1);
  text-decoration: none;
  border: thin solid #DDF721;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}

.monats-tabelle .info-button:hover {
  color: #00A6D6;
  text-decoration: none;
  transform: translateY(-1px);
}
.item7 {
  margin: 0 auto 35px auto;
  width: 100%;
  max-width: 950px;
  box-sizing: border-box;
  padding: 30px 30px 35px;
  background-color: #fdfdfd;
  border-radius: 30px;
  color: #333;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.item7-titel {
  text-align: center;
  font-size: 2.3em;
  font-weight: 700;
  color: rgba(4,3,156,1);
  margin-bottom: 30px;
}

.zusatzkosten-tabelle {
  width: 100%;
  border-collapse: collapse;
  color: #31229B;
  font-size: 1.8em;
}

.zusatzkosten-tabelle td {
  padding: 12px;
  vertical-align: top;
}

.zusatzkosten-tabelle td:first-child {
  font-weight: 700;
}

.zusatzkosten-tabelle td:last-child {
  text-align: left;
}

/* Allgemeine Überschriften */
h2 {
  margin-top: 0;
  color: rgba(4,3,156,1);
}

/* Kind-Figur animiert & unten rechts positioniert */
.kindFigur {
  position: fixed;
  bottom: 80px;
  right: 170px;
  width: 150px;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  animation: none;
}

/* Wenn sichtbar → Animation abspielen */
.kindFigur.visible {
  animation: erscheinen 10s ease forwards;
}

@keyframes erscheinen {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  85% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* Mobile Ansicht */
@media only screen and (max-width: 600px) {

  main {
    width: calc(100% - 20px);
    max-width: 100%;
    margin: 20px auto 30px auto;
    border-radius: 22px;
    box-sizing: border-box;
  }

  .navbar {
    font-size: 24px;
    margin: 20px 20px 0;
  }

  .img-fluid {
    max-width: 240px;
  }

  .grid-container {
    padding: 0 10px;
  }

  .item1 {
    padding: 25px 10px 20px;
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 1.8em;
  }

  .item2,
  .item5,
  .item6,
  .item7{
    width: 100%;
    max-width: 100%;
    padding: 18px 8px 22px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
    box-sizing: border-box;
    overflow: hidden;
  }

.tarif-titel,
.monatspauschale-titel,
.item6-titel,
.item7-titel {
  font-size: 1.55em;
  margin-bottom: 22px;
}

  .preis-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

.monatspauschale-tabelle,
.monats-tabelle,
.zusatzkosten-tabelle {
  width: 100%;
  table-layout: fixed;
  font-size: 0.9em;
}

.monatspauschale-tabelle th,
.monatspauschale-tabelle td,
.monats-tabelle th,
.monats-tabelle td,
.zusatzkosten-tabelle td {
  padding: 7px 4px;
  line-height: 1.2;
}

  .monatspauschale-tabelle th,
  .monats-tabelle th {
    font-size: 0.95em;
  }

.monatspauschale-tabelle td,
.monats-tabelle td,
.zusatzkosten-tabelle td {
  font-size: 0.95em;
}

  .monats-tabelle th span {
    font-size: 0.7em;
  }

  .item4 {
    padding: 15px;
    font-size: 0.95em;
  }

  .kindFigur {
    display: none !important;
  }
}