/* ==========================================
   TROBOTEC - Zentrale Stylesheet (style.css)
   ========================================== */

:root {
    --brand-color: #5c3a21;
    --accent-color: #b68c6c;
    --accent-hover: #8e6f56;
    --bg-main: #f5e5d8;
    --bg-card: #ffffff;
    --bg-secondary: #fdfaf8;
    --text-main: #2c3e50;
    --text-muted: #555555;
    --border-color: #e2d2c5;
    --radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Grundlayout */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    padding-top: 130px;
}

main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

/* Überschriften & Text */
h1 {
    color: var(--brand-color);
    font-size: 2.3em;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

h2 {
    color: var(--brand-color);
    margin-top: 40px;
    font-size: 1.6em;
}

p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05em;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 450px;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Willkommen Sektion */
#willkommen {
    text-align: center;
    padding: 20px 0 40px 0;
}

.willkommen-text {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Ablauf Raster (3 Schritte) */
.ablauf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0 50px 0;
}

.ablauf-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--accent-color);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.ablauf-step h3 {
    color: var(--brand-color);
    margin-top: 0;
    font-size: 1.2em;
}

/* Lokale Leistungen Grid */
#leistungen-lokal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

/* Buttons & Karten */
.shop-btn-highlight {
    background-color: var(--brand-color);
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
}

.shop-btn-highlight:hover {
    background-color: var(--accent-hover);
}

.shop-promo-button {
    background-color: var(--brand-color);
    color: #ffffff;
    font-weight: bold;
    padding: 16px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.shop-promo-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.leistung-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.leistung-card:hover {
    transform: translateY(-3px);
}

.leistung-card h3 {
    color: var(--brand-color);
    margin-top: 0;
    font-size: 1.3em;
}

.leistung-card p {
    color: var(--text-muted);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.leistung-card.featured {
    border-left: 5px solid var(--accent-color);
}

.leistung-card a {
    color: var(--brand-color);
    font-weight: bold;
    text-decoration: none;
    align-self: flex-start;
}

.leistung-card a:hover {
    text-decoration: underline;
}

/* FAQ Bereich */
#faq-bereich {
    margin: 50px 0;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: var(--brand-color);
    font-size: 1.15em;
    margin-bottom: 5px;
}

.faq-item p {
    margin: 0;
    font-size: 0.95em;
}

/* Über uns / Abschluss Sektion */
#ueber-uns {
    text-align: center;
    padding: 40px 20px;
    background: var(--brand-color);
    color: white;
    border-radius: var(--radius);
    margin-top: 50px;
}

#ueber-uns h2 {
    color: white;
    border-bottom: none;
}

#ueber-uns p {
    color: #f1f1f1;
    max-width: 700px;
    margin: 15px auto 25px auto;
}

.subtitle {
    display: block;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-link {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.cta-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    body {
        padding-top: 170px;
    }
    .slideshow-container {
        height: 280px;
    }
    main {
        padding: 20px 15px;
    }
}