/*
  Datei: style.css
  Autor: Andreas Illenseer
  Teilnehmernummer: 800659937
  Datum: 24.05.2026
  Beschreibung: Layout und Gestaltung auf smart-by-illenseer.de
*/

/*
  Datei: style.css
  Autor: Andreas Illenseer
  Teilnehmernummer: 800659937
  Datum: 24.05.2026
  Beschreibung: Layout und Gestaltung auf smart-by-illenseer.de
*/

/* ==========================================================================
   DESIGN TOKENS (VARIABLEN)
   ========================================================================== */
:root {
    --bg-color: #0b0914;
    --card-bg: #161324;
    --border-color: #252136;
    --accent-orange: #f59e0b;
    --accent-orange-dark: #d97706;
    --text-main: #f5f4f8;
    --text-muted: #a5a1b8;
    --cookie-bg: #0f1c24;
    --cookie-accent: #00f0ff;
    --cookie-border: #143d52;
}

/* ==========================================================================
   GLOBALES SETUP
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(11, 9, 20, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    z-index: 999;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1001;
}

.logo span {
    color: var(--accent-orange);
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-orange);
}

/* Mobiler Hamburger-Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}

/* Hamburger zu X Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    background-color: var(--accent-orange);
}

.menu-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    background-color: var(--accent-orange);
}

/* ==========================================================================
   LAYOUT-CONTAINER & HERO
   ========================================================================== */
.section-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 140px 5% 80px 5%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 60px;
}

.section-container:nth-of-type(even) {
    background-color: var(--bg-color);
}

.section-container h2,
.section-content,
.services-grid,
.timeline,
.contact-form {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-container h2 {
    color: var(--accent-orange);
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.hero {
    text-align: center;
    padding: 200px 5% 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

h1 {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

/* ==========================================================================
   BUTTONS & STATUS-BOX
   ========================================================================== */
.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: #0b0914;
    padding: 14px 32px;
    border: none;
    border-radius: 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn:hover {
    background-color: var(--accent-orange-dark);
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.btn-link {
    text-decoration: none;
}

.test-box {
    max-width: 750px;
    margin: 20px auto;
    padding: 14px 20px;
    border: 1px solid var(--accent-orange);
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: all 0.4s ease-in-out;
}

/* ==========================================================================
   SERVICES GRID (CARDS)
   ========================================================================== */
.services-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.service-card h3 {
    color: var(--text-main);
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

/* ==========================================================================
   FORMULAR-ELEMENTE
   ========================================================================== */
.contact-form {
    max-width: 550px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
    background-color: var(--bg-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-orange);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--cookie-bg);
    border: 1px solid var(--cookie-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
    z-index: 1000;
    padding: 24px;
    box-sizing: border-box;
    transition: all 0.4s ease-in-out;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content h3 {
    margin-top: 0;
    color: var(--cookie-accent);
    font-size: 18px;
    letter-spacing: 1px;
}

.cookie-content p {
    font-size: 14px;
    color: #b0cddb;
    margin: 10px 0 20px 0;
}

.cookie-content a {
    color: var(--cookie-accent);
    text-decoration: none;
    font-weight: 600;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--cookie-accent);
    color: #0b0914;
}

.cookie-btn.accept:hover {
    background-color: #66f5ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.cookie-btn.deny {
    background-color: rgba(20, 61, 82, 0.4);
    color: #b0cddb;
    border: 1px solid var(--cookie-border);
}

.cookie-btn.deny:hover {
    background-color: rgba(20, 61, 82, 0.8);
    color: var(--text-main);
}

/* ==========================================================================
   DEVELOPMENT ROADMAP (TIMELINE & PAINS/GAINS)
   ========================================================================== */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -15px;
    margin-bottom: 40px;
    font-size: 15px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #252136;
    border: 3px solid var(--bg-color);
    left: 14px;
    top: 6px;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.timeline-item.next-step .timeline-dot {
    background-color: var(--accent-orange-dark);
}

.timeline-item.final-destination .timeline-dot {
    background-color: var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.timeline-date {
    font-size: 13px;
    font-weight: bold;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.timeline-content h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: var(--text-main);
}

.timeline-desc {
    margin: 0 0 20px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.pain-gain-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pain-box,
.gain-box {
    flex: 1;
    min-width: 260px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.pain-box {
    background-color: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.pain-box strong {
    color: #ef4444;
    display: block;
    margin-bottom: 4px;
}

.gain-box {
    background-color: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #a7f3d0;
}

.gain-box strong {
    color: #10b981;
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE INHERIT OVERLAY CODES)
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0b0914;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        font-size: 24px;
        font-weight: 600;
    }

    .section-container {
        padding: 40px 5%;
        margin: 20px 0;
    }

    h1 {
        font-size: 30px;
    }

    .pain-gain-container {
        flex-direction: column;
    }

    .pain-box,
    .gain-box {
        min-width: 100%;
    }
}
