/* --- ULTIMATE BENTO (Brand Colors Edition) --- */
:root {
    --bg-color: #050505;
    --card-bg: #101010;
    --text-main: #ffffff;
    --text-muted: #888888;
    
    /* DEINE MARKENFARBEN */
    --primary-blue: #3fa9f5;
    --primary-green: #82c341;
    /* Ein schicker Verlauf für Akzente */
    --brand-gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    /* Dezentes Leuchten */
    --blue-glow: rgba(63, 169, 245, 0.2);
    --green-glow: rgba(130, 195, 65, 0.2);

    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --font-stack: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-stack); }
body { background: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; position: relative; }
a { text-decoration: none; color: inherit; cursor: pointer; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* --- AMBIENT BACKGROUND LIGHTS (Dezentes Blau/Grün im Hintergrund) --- */
.ambient-light {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden;
}
.light-blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; }
.blob-blue { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--primary-blue); animation: float 20s infinite alternate; }
.blob-green { bottom: -10%; right: -10%; width: 500px; height: 500px; background: var(--primary-green); animation: float 25s infinite alternate-reverse; }
@keyframes float { 0% { transform: translate(0,0); } 100% { transform: translate(50px, 50px); } }


/* --- NEUER HEADER MIT LOGO --- */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1100px; /* Etwas breiter für den Namen */
    background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 100px;
    padding: 8px 25px; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { height: 35px; width: auto; } /* Logo Größe */
.brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.5px; color: white; }

nav { display: flex; gap: 20px; align-items: center; }
nav a { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
nav a:hover, nav a.active { color: white; }
/* Kontakt Button mit Verlauf */
.btn-nav { background: var(--brand-gradient); color: white !important; padding: 8px 20px; border-radius: 30px; font-weight: 600; box-shadow: 0 5px 15px var(--blue-glow); }
.btn-nav:hover { box-shadow: 0 8px 25px var(--green-glow); transform: translateY(-2px); }


/* --- HERO & TEXTE --- */
.hero {
    padding: 160px 20px 80px; /* Mehr Platz oben für den Header */
    text-align: center; position: relative;
}
h1 {
    font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; font-weight: 700; letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 15px; justify-content: center; margin-top: 40px; }

/* --- BUTTONS (Blau/Grün angepasst) --- */
.btn-primary {
    background: var(--brand-gradient); /* Verlauf! */
    color: white; padding: 15px 40px; border-radius: 50px; font-weight: 600; border: none; display: inline-block;
    box-shadow: 0 10px 30px -10px var(--blue-glow);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 15px 40px -10px var(--green-glow); }

.btn-secondary {
    background: transparent; color: white; padding: 15px 40px; border-radius: 50px; font-weight: 600;
    border: 2px solid var(--primary-blue); /* Blauer Rand */
    display: inline-block;
}
.btn-secondary:hover { background: var(--blue-glow); border-color: var(--primary-green); }


/* --- INFINITE MARQUEE (Jetzt in Blau/Grün!) --- */
.marquee-container {
    background: #0a0a0a;
    border-top: 1px solid var(--primary-blue); /* Blauer Rand oben */
    border-bottom: 1px solid var(--primary-green); /* Grüner Rand unten */
    padding: 20px 0; 
    overflow: hidden; white-space: nowrap; position: relative;
    /* Dezentes farbiges Leuchten */
    box-shadow: 0 -10px 30px -10px var(--blue-glow), 0 10px 30px -10px var(--green-glow);
    margin: 60px 0;
}
.marquee-content { display: inline-block; animation: scroll 25s linear infinite; }
.marquee-item {
    font-size: 1.3rem; font-weight: 700;
    /* Text mit Verlauf! */
    background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin: 0 40px; display: inline-flex; align-items: center; gap: 10px; letter-spacing: 1px;
    text-transform: uppercase;
}
.marquee-item i { color: var(--primary-blue); } /* Icons in Blau */
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* --- BENTO GRID SYSTEM --- */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; letter-spacing: -1px; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 30px;
    padding: 30px; position: relative; overflow: hidden;
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex; flex-direction: column; justify-content: flex-end;
}
/* Hover Effekt mit Firmenfarben */
.bento-card:hover {
    border-color: var(--primary-blue); /* Blauer Rand beim Hover */
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), 0 0 20px var(--blue-glow);
}
.bento-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.3; transition: 0.5s; z-index: 1;
    filter: grayscale(100%); /* Schwarz-Weiß Standard */
}
/* Beim Hover farbig werden */
.bento-card:hover .bento-bg { opacity: 0.5; transform: scale(1.05); filter: grayscale(0%); }

.bento-content { position: relative; z-index: 2; pointer-events: none; }
.bento-icon {
    font-size: 1.8rem; margin-bottom: 15px;
    /* Icon Hintergrund mit Verlauf */
    background: var(--brand-gradient); color: white;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    box-shadow: 0 5px 15px var(--blue-glow);
}
.bento-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.bento-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Grid Helper */
.span-2 { grid-column: span 2; } .span-row-2 { grid-row: span 2; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border); padding: 50px 20px; text-align: center; color: var(--text-muted); margin-top: 80px; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-card { height: 300px; }
    .span-2, .span-row-2 { grid-column: span 1; grid-row: span 1; }
    h1 { font-size: 3rem; }
    /* Header Anpassung mobil */
    header { width: 95%; padding: 8px 15px; }
    .brand-name { font-size: 0.9rem; } /* Name kleiner */
    nav a:not(.btn-nav) { display: none; } /* Nur Kontakt Button */
}

/* Container für das Bewertungs-Widget */
.widget-container {
    width: 150%;
    height: 500px; /* Du kannst die Höhe hier anpassen, je nachdem wie viele Bewertungen angezeigt werden */
    border-radius: 20px;
    overflow: hidden;
}

/* === Global Style Optimierung === */
:root {
  --primary: #2563eb;
  --dark: #0f172a;
  --light: #f8fafc;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Buttons */
button, .btn {
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  margin-bottom: 1.5rem;
}

/* Headings */
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* Mobile UX */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  button { width: 100%; }
}
