@font-face {
    font-family: 'Nunito'; /* Wähle einen Namen für deine Schriftart */
    src: url('fonts/Nunito-Regular.ttf') format('truetype'); /* Pfad zur .ttf Datei */
    /* Optional: Font Weight und Style definieren, falls nötig */
    /* font-weight: normal; */
    /* font-style: normal; */
  }
  
  /* --- Globale Stile & Variablen --- */
  :root {
      /* ... deine restlichen Variablen ... */
       /* Füge die neue Schriftart hier hinzu */
  }

/* --- Globale Stile & Variablen --- */
:root {
    /* Farben aus dem neuen Logo (ungefähre Werte, ggf. anpassen) */
    --primary-green-dark: #4CAF50; /* Dunkleres Grün für Akzente */
    --primary-green-light: #8BC34A; /* Helleres Grün für Hintergründe/Verläufe */
    --primary-green-gradient: linear-gradient(90deg, var(--primary-green-light), var(--primary-green-dark));
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #555555;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #dee2e6;
    --font-primary: 'Poppins', sans-serif;
    --font-headings: 'Nunito', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 600;
    font-family: var(--font-headings);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; color: var(--primary-green-dark); }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-green-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header --- */
header {
    background-color: var(--background-white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 4em; /* Höhe anpassen nach Bedarf */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-green-dark);
    text-decoration: none;
}

.cta-button.nav-cta {
    padding: 8px 18px;
    font-size: 0.9rem;
    margin-left: 15px; /* Abstand zum Rest der Navi */
}

/* --- Call-to-Action Button Basis --- */
.cta-button {
    display: inline-block;
    background: var(--primary-green-gradient);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 50px; /* Abgerundete Ecken */
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4);
}

/* --- Hero Section --- */
.hero-section {
    /* Entferne den alten Hintergrund */
    /* background: var(--primary-green-gradient); */
    color: var(--text-light);
    padding: 80px 0 200px; /* Padding beibehalten/anpassen */
    text-align: center;
    position: relative; /* Wichtig für absolute Positionierung der Kinder (Video, Overlay, Content) */
    overflow: hidden; /* Verhindert, dass Video/Swoosh überlaufen */
    display: flex;
    align-items: center;
    min-height: 70vh; /* Mindesthöhe beibehalten/anpassen */
}

/* Wrapper für das Video */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Ganz nach hinten, hinter den Overlay */
    overflow: hidden; /* Sicherstellen, dass nichts übersteht */
}

/* Das Video selbst */
#bgvideo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Skaliert das Video, um den Container zu füllen, behält Seitenverhältnis bei (kann Ränder abschneiden) */
    object-position: center center; /* Zentriert das Video, wenn es abgeschnitten wird */
}

/* Optional: Overlay für bessere Lesbarkeit */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Beispiel: Dunkler Overlay mit 40% Deckkraft */
    /* Alternativ ein Gradient Overlay: */
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); */
    z-index: -1; /* Liegt über dem Video (-2), aber unter dem Inhalt (1) */
}

/* Der Inhalt der Hero Section */
.hero-content {
    /* Bestehende Styles (display: flex, flex-direction, align-items ...) */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Wichtig: Über Video und Overlay legen */
    position: relative; /* Stellt eigenen Stapelkontext her */
    z-index: 1;
    /* Optional: Maximale Breite, damit Text nicht zu breit wird */
    max-width: 90%; /* Oder ein fester Wert wie 1100px */
    margin: 0 auto; /* Zentriert den Container, falls max-width gesetzt ist */
}

.hero-swoosh-svg{
    width:100%;
    margin-top: -200px;
}


/* Bestehende Animations-Styles für Logo/Text können unverändert bleiben,
   da sie sich auf Elemente innerhalb von .hero-content beziehen */

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
   /* Ggf. Padding oder Mindesthöhe anpassen */
   .hero-section {
        padding: 60px 0 100px;
        min-height: 60vh;
    }
     .hero-section::after {
        height: 60px;
    }
    /* Optional: Overlay auf Mobilgeräten stärker machen, falls Lesbarkeit leidet */
    /* .hero-overlay { background-color: rgba(0, 0, 0, 0.6); } */
}

/* Container für die Logo-Darstellung */
.hero-logo-display {
    margin-bottom: 2em; /* Abstand zum restlichen Text */
}

/* Haupt-Titel (H1), der die Logo-Elemente enthält */
.main-brand-title {
    display: flex;
    flex-direction: column; /* Stapelt Zeile 1 und Zeile 2 übereinander */
    align-items: center; /* Zentriert die Zeilen horizontal */
    font-family: var(--font-headings); /* Stellt sicher, dass die Logo-Schriftart verwendet wird */
    color: var(--text-light); /* Textfarbe Weiß für Kontrast */
    line-height: 1.1; /* Zeilenhöhe anpassen für Kompaktheit */
    font-weight: 700; /* Fetteres Gewicht, wie im Logo */
    margin: 0; /* Reset von Browser-Standard-Margins */
    font-size: 4.5rem; /* Basis-Schriftgröße für das Logo - anpassen nach Bedarf! */
}

/* Erste Zeile: Pin + "arden" */
.logo-line-1 {
    display: flex;
    align-items: center; /* Vertikal zentrieren */
    justify-content: center; /* Horizontal zentrieren (obwohl durch H1 align-items schon erledigt) */
}

/* Der Logo-Pin (Bild) */
/* --- Animation Keyframes --- */

@keyframes dropAndBounce {
    0% {
      transform: translateY(-200%); /* Startet weit oben (außerhalb des sichtbaren Bereichs) */
      opacity: 0;
      animation-timing-function: ease-in; /* Beschleunigt beim Fallen */
    }
    30% {
      opacity: 1; /* Wird sichtbar während des Falls */
    }
    50% {
      transform: translateY(0); /* Erster Aufprall */
      opacity: 1;
      animation-timing-function: ease-out; /* Verlangsamt beim Abprallen */
    }
    70% {
      transform: translateY(-25px); /* Erster Bounce nach oben (kleiner) */
      animation-timing-function: ease-in; /* Beschleunigt wieder nach unten */
    }
    80% {
      transform: translateY(0); /* Zweiter, kleinerer Aufprall */
      animation-timing-function: ease-out;
    }
    85% {
      transform: translateY(-5px); /* Zweiter, sehr kleiner Bounce */
      animation-timing-function: ease-in;
    }
    100% {
      transform: translateY(0); /* Endgültige Position */
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px); /* Optional: Leichte Bewegung von unten */
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  
  /* --- Anpassungen an Hero Section Elementen --- */
  
  /* Der Logo-Pin bekommt die dropAndBounce Animation */
  .hero-logo-pin {
    /* Bestehende Styles beibehalten (height, width, margin-right, display) */
    height: 2.5em;
    width: auto;
    margin-right: 0.1em;
    display: inline-block;
    z-index: 1;
    /* Animations-Setup */
    opacity: 0; /* Startet unsichtbar, bis die Animation beginnt */
    animation-name: dropAndBounce;
    animation-duration: 1.0s; /* Dauer der Pin-Animation */
    animation-delay: 0.2s;  /* Startet mit einer kleinen Verzögerung */
    animation-timing-function: ease-out; /* Standard Timing, wird in Keyframes überschrieben */
    animation-fill-mode: forwards; /* Behält den Endzustand (opacity: 1, transform: translateY(0)) bei */
  }
  
  /* Der Text "arden" bekommt die fadeIn Animation */
  .logo-text-arden {
    /* Bestehende Styles beibehalten */
  
    /* Animations-Setup */
    z-index: 2;
    font-size: 1.2em;
    margin-left: -0.2em;
    margin-top: 0.2em;
    opacity: 0; /* Startet unsichtbar */
    transform: translateY(10px); /* Optional: Startet etwas tiefer */
    animation-name: fadeIn;
    animation-duration: 0.4s; /* Dauer des Einblendens */
    animation-delay: 0.7s; /* Startet, nachdem der Pin gelandet ist (Pin-Dauer + Pin-Delay - kleiner Überlapp) */
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; /* Bleibt sichtbar */
  }
  
  /* Die Zeile "1000 Gardeners" bekommt die fadeIn Animation etwas später */
  .logo-line-2 {
    /* Bestehende Styles beibehalten (display, font-size, font-weight, margin-top, color) */
     display: block;
     font-size: 0.6em;
     font-weight: 600;
     margin-top: -1.2em;
     margin-left: 2.5em;
        z-index: 2;
    /* Animations-Setup */
    opacity: 0; /* Startet unsichtbar */
    transform: translateY(10px); /* Optional: Startet etwas tiefer */
    animation-name: fadeIn;
    animation-duration: 0.4s; /* Dauer des Einblendens */
    animation-delay: 1.0s; /* Startet kurz nach "arden" */
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; /* Bleibt sichtbar */
  }
  
  /* --- Optional: Animation für Nutzer mit reduzierter Bewegung deaktivieren --- */
  @media (prefers-reduced-motion: reduce) {
    .hero-logo-pin,
    .logo-text-arden,
    .logo-line-2 {
      animation: none; /* Keine Animation abspielen */
      opacity: 1;      /* Sofort sichtbar machen */
      transform: translateY(0); /* Sofort an die richtige Position */
    }
  }


/* Style für den normalen H2 Subtitle unter dem Logo */
.hero-section h2 {
    font-size: 1.6rem; /* Etwas kleiner als vorher, da Logo größer ist */
    color: var(--text-light);
    margin-bottom: 0.8em;
    font-weight: 400;
    margin-top: 1em; /* Abstand zum Logo darüber */
    max-width: 600px; /* Maximale Breite für Lesbarkeit */
}

/* Style für den Beschreibungstext */
.hero-section .subtitle {
    max-width: 650px;
    margin: 0 auto 2em;
    opacity: 0.9;
    font-size: 1rem;
}

/* Style für den Button */
.cta-button.hero-cta {
    background: var(--background-white);
    color: var(--primary-green-dark);
    padding: 14px 30px;
    font-size: 1rem;
}
.cta-button.hero-cta:hover {
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    .main-brand-title {
        font-size: 3.5rem; /* Logo-Schriftgröße auf Mobilgeräten verkleinern */
    }

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .hero-section .subtitle {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 60px 0 100px; /* Padding anpassen */
        min-height: 60vh;
    }

     .hero-section::after {
        height: 60px; /* Höhe des Swooshs ggf. mobil anpassen */
    }
}

@media (max-width: 480px) {
    .main-brand-title {
        font-size: 2.8rem; /* Noch kleinere Schriftgröße für sehr kleine Screens */
    }
     .hero-section h2 {
        font-size: 1.2rem;
    }
}

/* Hero Swoosh - Einfache Implementierung mit pseudo-Element */
.hero-section-swoosh {
    /* Verwendung des Verlaufs als Hintergrund */
    color: var(--text-light);
    padding: 80px 0 120px; /* Mehr Padding unten für den Schwung */
    height: 180px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Verhindert, dass der Schwung überläuft */
}
.hero-swoosh-top {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 100px; /* Höhe des Schwungs */
    background: var(--primary-green-gradient); /* Farbe des nächsten Abschnitts */
    /* Erzeugt eine Kurve - anpassen für genaueren Look */
    border-bottom-right-radius: 50% 100%;
    /* Alternativ: SVG verwenden für exakten Schwung */
}
.hero-swoosh-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Höhe des Schwungs */
    background: var(--primary-green-gradient); /* Farbe des nächsten Abschnitts */
    /* Alternativ: SVG verwenden für exakten Schwung */
}
.hero-swoosh {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Höhe des Schwungs */
    background-color: var(--background-white); /* Farbe des nächsten Abschnitts */
    /* Erzeugt eine Kurve - anpassen für genaueren Look */
    border-top-left-radius: 50% 100%;
    /* Alternativ: SVG verwenden für exakten Schwung */
}
/* Optional: SVG als Hintergrundbild für präziseren Schwung */
/* .hero-swoosh {
    height: 100px;
    background-image: url('swoosh.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100px;
} */


/* --- Features Section --- */
.features-section {
    /* Fügt 80px Abstand oben und unten hinzu. Das schafft Luft zum Atmen! */
    padding: 80px 0; 
    background-color: var(--background-white);
    text-align: center;
}

.features-grid {
    display: grid;
    
    /* DESKTOP (Standard): Wir definieren hier 2 gleich breite Spalten. */
    grid-template-columns: repeat(2, 1fr); 
    
    /* Der Abstand zwischen den Karten bleibt. */
    gap: 30px; 

    /* Wir zentrieren das Grid, damit es auf großen Bildschirmen gut aussieht. */
    max-width: 800px; /* Optional, aber empfohlen für eine schöne Optik */
    margin: 40px auto; /* Zentriert das Grid horizontal */
    
    text-align: left;
}

.feature-item {
    /* Wichtig: Position relative, damit das Pseudo-Element relativ hierzu positioniert wird */
    position: relative; 
    
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px; /* Der Radius für die sichtbare Karte */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
    /* Wichtig: Überlauf verstecken, damit der Pseudo-Rahmen an den Ecken sauber aussieht */
    overflow: hidden; 

    /* Alte Border-Eigenschaften entfernen, wir brauchen sie nicht mehr */
    /* border: ... */
    /* border-image-source: ... */
    /* border-image-slice: ... */
}

/* 2. Das Pseudo-Element als Hintergrund-Rahmen erstellen */
.feature-item::before {
    content: ''; /* Erforderlich, damit das Pseudo-Element angezeigt wird */
    position: absolute;
    
    /* Positioniert das Pseudo-Element, um einen 3px "Rahmen" zu erzeugen */
    top: -3px; 
    left: -3px;
    right: -3px;
    bottom: -3px;
    
    /* Hier kommt der Farbverlauf rein! */
    background: var(--primary-green-gradient); 
    
    /* Legt das Pseudo-Element HINTER den Inhalt der Karte */
    z-index: -1; 
    
    /* Optional aber empfohlen: Animation für den Verlauf (kann man später hinzufügen) */
    /* transition: transform 0.3s ease; */
}

/* Optional: Den Hover-Effekt beibehalten/anpassen */
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item .icon {
    font-size: 2.5rem; /* Größe für Emoji/Icon */
    color: var(--primary-green-dark);
    display: block;
    margin-bottom: 15px;
}

.feature-item-img{
    border-radius: 8px;
}
/* Wenn FontAwesome verwendet wird:
.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-green-dark);
    margin-bottom: 15px;
} */

/* --- Demo Section --- */
.demo-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Heller Hintergrund für Kontrast */
    text-align: center;
}

.demo-section h2 {
    margin-bottom: 0.5em; /* Etwas weniger Abstand zum Text */
}

.demo-section p {
    margin-bottom: 30px; /* Abstand zum Video */
    color: var(--text-muted);
    max-width: 700px; /* Text nicht zu breit laufen lassen */
    margin-left: auto;
    margin-right: auto;
}

/* Container to maintain aspect ratio (16:9) */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
    max-width: 1080px; /* Maximale Breite des Videos */
    margin: 0 auto; /* Zentrieren des Containers */
    background-color: #000; /* Schwarzer Hintergrund während des Ladens */
    border-radius: 8px; /* Abgerundete Ecken beibehalten */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* Etwas stärkerer Schatten */
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Sicherstellen, dass kein Rahmen vom Browser hinzugefügt wird */
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background-color: var(--background-white);
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Für kleinere Bildschirme */
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px; /* Verhindert zu starkes Schrumpfen */
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 20px 0;
    padding-left: 20px;
    border-left: 4px solid var(--primary-green-light);
}

.team-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.team-list strong {
    color: var(--text-dark);
}

/* --- CTA Section --- */
.cta-section {
    background: var(--primary-green-gradient);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 2.2rem;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .cta-button {
     background: var(--background-white);
    color: var(--primary-green-dark);
    padding: 15px 35px;
    font-size: 1.1rem;
}

.cta-section .cta-button:hover {
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5em;
}

footer a {
    color: #ccc;
    margin: 0 10px;
}

footer a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* --- Responsive Anpassungen (Beispiel) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-section h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        /* Hier Logik für Hamburger Menu einfügen oder einfach umbrechen lassen */
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .cta-button.nav-cta { margin-left: 0;}

    .features-grid {
        grid-template-columns: 1fr; /* Einspaltig auf Mobile */
    }

     .about-content {
        flex-direction: column;
    }
}