/* styles.css - verspielt / witzig */
:root {
  --accent: #ef476f;
  --accent2: #ffd166;
  --bg: #fff7f2;
  --card: #ffffff;
  --text: #222;
  --muted: #666;
}

* { box-sizing: border-box; }
body {
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
}

.nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
  background: linear-gradient(90deg,#fff,#fff0);
  border-bottom: 2px solid rgba(0,0,0,0.03);
}
.logo {
  font-family: "Fredoka One", cursive;
  font-size:24px;
  color:var(--accent);
  text-decoration:none;
}
.nav-right a { margin-left:14px; text-decoration:none; color:var(--muted); }
.nav-right a:hover { color:var(--text); }

.hero {
  display:flex;
  gap:20px;
  align-items:center;
  padding:30px;
  flex-wrap:wrap;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 500px; /* Desktop-Höhe */
    overflow: hidden;
    background-color: white;
}

/* Slider Bilder */
.slider img {
    width: 50%;
    height: 100%;
    /* ZENTRIERUNG */
    margin-left: auto;
    margin-right: auto;
    
    /* Contain sorgt dafür, dass das ganze Bild sichtbar ist */
    object-fit: contain; 
    display: block;
}

/* Overlay Text + Button */
.slider-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10; 
    padding: 0 10px; 
}

/* Button Styling */
.slider-overlay .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: pink;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
}
.slider-overlay .btn:hover {
    background-color: #ff69b4;
}

/* Mobile Anpassungen */
@media screen and (max-width: 768px) {
    .slider-container {
        height: 300px; 
    }

    .slider-overlay h1 {
        font-size: 1.5rem; 
    }

    .slider-overlay .btn {
        padding: 8px 20px; 
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .slider-container {
        height: 250px; 
    }

    .slider-overlay h1 {
        font-size: 1.2rem;
    }

    .slider-overlay .btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

.hero-cta { max-width:540px; padding: 12px; }
.hero-cta h1 { font-family: "Fredoka One", cursive; color:var(--accent); font-size:32px; margin:0 0 8px; }
.hero-cta p { color:var(--muted); margin:0 0 16px; }

/* _________________________________________________ */
/* ZENTRIERUNG UNSERER PAKETE / WIE FUNKTIONIERT'S */
/* _________________________________________________ */

/* Sektionen erhalten Padding */
.prices,
.how {
    padding: 30px;
}

/* FLEXBOX-LÖSUNG FÜR DIE ÜBERSCHRIFTEN (sollte funktionieren) */
.prices h2,
.how h2 {
    display: flex; /* Mache H2 zu einem Flex-Container */
    justify-content: center; /* ZENTRIERT DEN H2-INHALT MIT FLEXBOX */
    text-align: center; /* Fallback */
    margin: 0 auto 25px auto; /* Zentriert H2 als Block und fügt Abstand hinzu */
    width: 100%; /* Stellt sicher, dass H2 die volle Breite einnimmt */
}

.price-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center; /* ZENTRIERT DIE KARTEN ALS FLEX-ELEMENTE */
}
.card {
  background: var(--card);
  border-radius:12px;
  padding:16px;
  width:260px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  text-align: center; /* ZENTRIERT DEN INHALT DER KARTE */
}
.price { font-size:22px; color:var(--accent); margin:8px 0; }

/* container muss in der Mitte bleiben */
.container { 
    padding:24px; 
    max-width:900px; 
    margin:0 auto; 
}

.form { display:flex; flex-direction:column; gap:12px; max-width:480px; }
.form label { display:block; font-weight:600; color:var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form select {
  padding:10px; border-radius:8px; border:1px solid #eee; width:100%;
}
.form-row { display:flex; gap:10px; margin-top:8px; }

.btn {
  background:var(--accent);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  border:none; text-decoration:none;
}
.btn-outline {
  border:2px dashed var(--accent);
  color:var(--accent);
  padding:8px 12px; border-radius:10px; text-decoration:none;
}

.notice { padding:12px; border-radius:8px; margin:12px 0; }
.notice.success { background: #e6ffef; color: #1f7a3a; border:1px solid #c8f2d4; }
.notice.error { background:#fff0f0; color:#8b2a2a; border:1px solid #f2c8c8; }
.notice.info { background:#f0f8ff; color:#064e8a; border:1px solid #cfe8ff; }

.orders { width:100%; border-collapse:collapse; margin-top:12px; }
.orders th, .orders td { border:1px solid #f0f0f0; padding:8px; text-align:left; }
.footer { 
    /* Padding auf der Fusszeile entfernen, da der .container das Padding liefert */
    padding: 0; 
    
    /* Füge das vertikale Padding und den oberen Rand hier hinzu */
    padding-top: 20px; 
    padding-bottom: 20px; 
    margin-top: 40px; 
    
    /* Andere Stile beibehalten */
    color: var(--muted); 
    border-top: 1px solid rgba(0,0,0,0.03); 
    
    /* text-align: center; ist nicht mehr nötig, da der Container zentriert ist */
}

/* Zentriert die OL-Liste als Block und lässt den Text linksbündig */
.how ol {
    display: inline-block; 
    text-align: left; 
    margin: 0 auto;
    max-width: 500px; 
}

/* Responsive */
@media (max-width:800px) {
  .hero { flex-direction:column; align-items:flex-start; }
}

/* Slider Navigations-Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15; 
    background: rgba(255, 255, 255, 0.7); 
    color: var(--accent);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Mobile: Buttons etwas kleiner machen */
@media screen and (max-width: 768px) {
    .slider-btn {
        padding: 8px 12px;
        font-size: 20px;
    }
}