/* ----------------------------------
   1. VARIABLEN (Dark / Light Mode)
----------------------------------- */
:root {
    --bg: #0b1220;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #eaf2ff;
    --text-muted: #9aa3b2;
    --primary: #5ee3ff;
    --accent: #6ee7b7;
    --header-bg: rgba(11, 18, 32, 0.85);
    --border: rgba(255, 255, 255, 0.1);
}

body.light-theme {
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --text: #1a202c;
    --text-muted: #4a5568;
    --primary: #3182ce;
    --accent: #38a169;
    --header-bg: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.1);
}

/* ----------------------------------
   2. BASICS & RESET
----------------------------------- */
* { 
    box-sizing: border-box; 
    transition: background 0.3s, color 0.3s; 
}

body { 
    margin: 0; 
    font-family: 'Segoe UI', Roboto, Helvetica, sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
    line-height: 1.6;
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: auto; 
}

/* ----------------------------------
   3. NAVIGATION / HEADER
----------------------------------- */
header { 
    position: sticky; 
    top: 0; 
    background: var(--header-bg); 
    backdrop-filter: blur(10px); 
    z-index: 1000; 
    border-bottom: 1px solid var(--border); 
}

.nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 0; 
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.brand img { 
    height: 45px; 
    filter: drop-shadow(0 0 5px rgba(94, 227, 255, 0.3)); 
}

.brand-text { 
    display: flex; 
    flex-direction: column; 
}

.main-title { 
    font-weight: 800; 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
    color: var(--primary); 
}

.sub-title { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
}

.menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn { 
    color: var(--text); 
    text-decoration: none; 
    padding: 8px 15px; 
    font-weight: 500; 
}

.nav-btn:hover { 
    color: var(--primary); 
}

.theme-btn { 
    background: var(--card-bg); 
    border: 1px solid var(--border); 
    cursor: pointer; 
    padding: 8px 12px; 
    border-radius: 50%; 
    font-size: 1.2rem; 
}

/* ----------------------------------
   4. HERO BEREICH (Startseite)
----------------------------------- */
.hero { 
    position: relative; 
    height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #fff; 
    overflow: hidden; 
}

.slider { 
    position: absolute; 
    inset: 0; 
    z-index: -1; 
}

.slide { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; 
}

.slide.active { 
    opacity: 1; 
}

.hero h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    text-shadow: 0 2px 15px rgba(0,0,0,0.5); 
}

.text-gradient { 
    background: linear-gradient(90deg, var(--primary), var(--accent)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.cta-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* ----------------------------------
   5. BUTTONS
----------------------------------- */
.btn { 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    color: #000; 
    padding: 12px 25px; 
    border-radius: 10px; 
    text-decoration: none; 
    font-weight: bold; 
    border: none; 
    cursor: pointer; 
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(94, 227, 255, 0.3);
}

.btn.big { 
    font-size: 1.1rem; 
    padding: 15px 35px; 
}

.btn.ghost { 
    background: rgba(0,0,0,0.3); 
    border: 2px solid var(--primary); 
    color: var(--primary); 
    backdrop-filter: blur(5px); 
}

.btn.ghost:hover {
    background: var(--primary);
    color: #000;
}

/* ----------------------------------
   6. SECTIONS & CARDS (Leistungen)
----------------------------------- */
section { 
    padding: 100px 0; 
}

.alt-bg {
    background: rgba(255,255,255,0.02);
}

.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 50px; 
    position: relative; 
}

.section-title::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 4px; 
    background: var(--primary); 
    margin: 15px auto; 
    border-radius: 2px; 
}

.section-title.left { 
    text-align: left; 
}

.section-title.left::after { 
    margin: 15px 0; 
}

.section-intro { 
    text-align: center; 
    max-width: 700px; 
    margin: -30px auto 50px; 
    color: var(--text-muted); 
    font-size: 1.1rem; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid var(--border); 
    position: relative; 
    overflow: hidden; 
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
}

.card-icon { 
    font-size: 3rem; 
    margin-bottom: 20px; 
}

.card ul { 
    padding-left: 20px; 
    color: var(--text-muted); 
    line-height: 1.8; 
}

.stars { 
    color: #ffcc00; 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

/* ----------------------------------
   7. EXPERTISE BEREICH
----------------------------------- */
.expertise-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 50px; 
    align-items: center; 
}

.trust-icons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 30px; 
}

.trust-icons span { 
    background: rgba(110, 231, 183, 0.1); 
    color: var(--accent); 
    padding: 8px 15px; 
    border-radius: 30px; 
    font-weight: bold; 
    font-size: 0.9rem; 
}

.expertise-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    object-fit: cover;
}

/* ----------------------------------
   8. KONTAKT FORMULAR
----------------------------------- */
.contact-form-center { 
    max-width: 700px; 
    margin: 0 auto; 
    background: var(--card-bg); 
    padding: 50px; 
    border-radius: 20px; 
    border: 1px solid var(--border); 
}

.center-text { 
    text-align: center; 
    color: var(--text-muted); 
    margin-bottom: 30px; 
}

.full-width { 
    width: 100%; 
    margin-top: 20px; 
}

.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

input, textarea { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    border-radius: 8px; 
    border: 1px solid var(--border); 
    background: rgba(0,0,0,0.2); 
    color: var(--text); 
    font-family: inherit; 
    font-size: 1rem;
}

.privacy-row { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 20px; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
}

.privacy-row input { 
    width: auto; 
    margin-top: 4px; 
}

.link-highlight { 
    color: var(--primary) !important; 
    text-decoration: underline !important; 
    font-weight: bold; 
}

/* Status Messages (Erfolg / Fehler) */
.status-msg { 
    padding: 15px; 
    border-radius: 10px; 
    margin-bottom: 20px; 
    font-weight: bold; 
}

.success { 
    background: rgba(110, 231, 183, 0.1); 
    color: #6ee7b7; 
    border: 1px solid #6ee7b7; 
}

.error { 
    background: rgba(239, 68, 68, 0.1); 
    color: #f87171; 
    border: 1px solid #f87171; 
}

/* ----------------------------------
   9. FOOTER
----------------------------------- */
footer { 
    padding: 60px 0 20px; 
    background: rgba(0,0,0,0.5); 
    border-top: 1px solid var(--border); 
}

.footer-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.footer-info h3 { 
    color: var(--primary); 
    margin-bottom: 15px; 
    margin-top: 0; 
}

.footer-info p { 
    margin: 5px 0; 
    color: var(--text-muted); 
}

.footer-info a { 
    color: var(--text); 
    text-decoration: none; 
}

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

.footer-links-container { 
    text-align: right; 
}

.footer-legal a { 
    margin-left: 20px; 
    color: var(--text-muted); 
    text-decoration: none; 
}

.footer-legal a:hover { 
    color: var(--primary); 
}

.copyright { 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    margin-top: 15px; 
}

/* ----------------------------------
   10. ANIMATIONEN (Scroll Reveal)
----------------------------------- */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ----------------------------------
   11. MOBILE ANPASSUNGEN (Smartphones)
----------------------------------- */
@media (max-width: 768px) {
    .nav { flex-direction: column; gap: 15px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links-container { text-align: center; }
    .footer-legal a { margin: 0 10px; }
    .cta-row { flex-direction: column; }
    .hero h1 { font-size: 2.2rem; }
}

/* ----------------------------------
   12. ABLAUF (50/50 Split & V-Timeline)
----------------------------------- */
.ablauf-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.v-timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 20px;
}

/* Die vertikale Linie im Hintergrund */
.v-timeline::before {
    content: '';
    position: absolute;
    left: 48px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    z-index: 0;
}

.v-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.v-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(94, 227, 255, 0.2);
}

.v-content h3 {
    margin: 0 0 5px 0;
    color: var(--text);
}

.v-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.ablauf-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent-gradient);
    color: #000;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.experience-badge strong { font-size: 1.5rem; display: block; }
.experience-badge span { font-size: 0.8rem; text-transform: uppercase; font-weight: bold; }

/* Mobile Anpassung */
@media (max-width: 900px) {
    .ablauf-split { grid-template-columns: 1fr; }
    .ablauf-image { order: -1; margin-bottom: 40px; }
    .v-timeline::before { left: 28px; }
    .v-number { width: 45px; height: 45px; font-size: 1.1rem; }
}

/* ----------------------------------
   13. FAQ (Akkordeon)
----------------------------------- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background: var(--card-bg); 
    border: 1px solid var(--border); 
    border-radius: 10px; 
    margin-bottom: 15px; 
    overflow: hidden; 
}
.faq-item summary { 
    padding: 20px; 
    font-weight: bold; 
    cursor: pointer; 
    list-style: none; /* Versteckt den Standard-Pfeil */
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.faq-item summary::-webkit-details-marker { display: none; } /* Safari Fix */
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; font-weight: normal; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { 
    padding: 0 20px 20px; 
    color: var(--text-muted); 
    border-top: 1px solid var(--border); 
    margin-top: 10px; 
    padding-top: 15px; 
}

/* ----------------------------------
   14. STICKY PHONE BUTTON
----------------------------------- */
.sticky-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(94, 227, 255, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s;
}
.sticky-phone:hover { transform: scale(1.1); }

/* ----------------------------------
   14. Styling für die neuen SVG-Icons
----------------------------------- */
.card-icon svg {
  color: var(--primary, #007BFF); /* Ersetze #007BFF durch deine Akzentfarbe */
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.card:hover .card-icon svg {
  transform: scale(1.1); /* Leichter Zoom-Effekt beim Hovern */
}