/* 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;
}

/* _________________________________________________ */
/* KORRIGIERTER SLIDER-CONTAINER (GLEICH WIE BLOCK.PHP BILD) */
/* _________________________________________________ */
.slider-container {
    position: relative;
    width: 100%;
    height: 450px; 
    overflow: hidden;
    
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px; 
}

/* Slider Bilder */
.slider img {
    width: 100%; 
    height: 100%;
    
    object-fit: cover; 
    display: block;
    filter: brightness(60%); 
}

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

/* Button Styling */
.slider-overlay .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: var(--accent); 
    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 0; 
}

.prices h2,
.how h2 {
    text-align: center;
    margin-bottom: 25px;
}

.price-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center; 
}
.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; 
}
.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, .form input[type="tel"] {
  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: 0; 
    padding-top: 20px; 
    padding-bottom: 20px; 
    margin-top: 40px; 
    color: var(--muted); 
    border-top: 1px solid rgba(0,0,0,0.03); 
}

/* 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 (KORRIGIERT) */
/* _________________________________________________ */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15; 
    /* Hintergrund wieder weiss/opak gemacht */
    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;
    }
}

/* --- NEUE STYLES FÜR EINKLAPPBARE LOG-TABELLE (KORRIGIERT) --- */

/* Stellt sicher, dass die Klick-Zeile als Button erscheint */
.order-summary {
    cursor: pointer;
    font-weight: 600; 
}

/* Visuelle Trennung und Hover-Effekt */
.order-summary:hover {
    background-color: #f7f7f7; 
}

/* Die erste Bestellzeile bekommt den normalen Rahmen */
.orders tbody tr:first-child .order-summary {
    border-top: 1px solid #f0f0f0; 
}

/* Versteckt die Detail-Zeile standardmäßig */
/* Das ist der Stil, der die Javascript-Funktionalität ermöglicht */
.order-details-row.hidden {
    display: none;
}

/* Stellt sicher, dass die Log-Details die volle Breite einnehmen */
.log-details-cell {
    padding: 0; 
    border: none;
    background-color: #fcfcfc; 
}

/* Stellt sicher, dass die innere Tabelle keine unnötigen Ränder hat */
.sms-logs th, .sms-logs td {
    border: none !important; 
    padding: 6px 15px; 
    font-weight: 400; 
}

/* Trennlinie für alle Order-Details, um sie von der nächsten Bestellung zu trennen */
.orders tr:last-child .log-details-cell {
    border-bottom: 1px solid #f0f0f0;
}


/* --- STYLES FÜR BLOCK.PHP (STATISCHES BILD) --- */

.hero-blocklist {
    position: relative;
    height: 450px; 
    overflow: hidden;
    margin-bottom: 30px; 
    
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-blocklist .image-container {
    width: 100%;
    height: 100%;
}

.hero-blocklist .blocklist-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(60%); 
}

.hero-blocklist .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2); 
    color: white;
}

.hero-blocklist .overlay h1 {
    font-family: "Fredoka One", cursive;
    font-size: 48px;
    color: var(--accent2); 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    text-align: center;
}