/*
Theme Name: EcoFarm Pro
Theme URI: https://packlhof.bayern/ecofarm
Author: B.Urban
Author URI: https://packlhof.bayern
Description: Professionelles WordPress Theme für ökologische Landwirtschaft mit High-End UI und Animationen.
Version: 5.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecofarm-pro
Tags: bio, ökologisch, modern, responsive, farm
*/

:root {
    --primary:#2E7D32;
    --secondary:#81C784;
    --accent:#A5D6A7;
    --bg:#F9F9F6;
    --text:#1a1a1a;
    --glass: rgba(255,255,255,0.7);
}

body {
    margin:0;
    font-family: Inter, sans-serif;
    background:var(--bg);
    color:var(--text);
}

/* Smooth Scroll */
html { scroll-behavior:smooth; }

/* HEADER (Glassmorphism) */
header {
    display:flex;
    justify-content:space-between;
    padding:20px 40px;
    position:sticky;
    top:0;
    backdrop-filter: blur(10px);
    background:var(--glass);
    border-bottom:1px solid rgba(255,255,255,0.3);
    z-index:1000;
}

/* HERO */
.hero {
    padding:140px 40px;
    text-align:center;
    background:linear-gradient(120deg,var(--primary),var(--secondary));
    color:#fff;
}

.hero h1 {
    font-size:56px;
    margin-bottom:20px;
}

.hero p { font-size:20px; opacity:0.9; }

/* BUTTON */
.button {
    display:inline-block;
    margin-top:20px;
    padding:14px 28px;
    border-radius:40px;
    background:#fff;
    color:var(--primary);
    font-weight:600;
    transition:all 0.3s ease;
}

.button:hover {
    transform:scale(1.05);
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* SECTIONS */
.section { padding:100px 40px; max-width:1200px; margin:auto; }

/* GRID */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:40px; }

/* CARDS (Glass + Hover) */
.card {
    background:var(--glass);
    backdrop-filter:blur(8px);
    padding:30px;
    border-radius:20px;
    transition:all 0.4s ease;
    border:1px solid rgba(255,255,255,0.2);
}

.card:hover {
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* SCROLL ANIMATION */
.reveal {
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s ease;
}

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

/* FOOTER */
footer {
    background:#111;
    color:#fff;
    padding:60px;
    text-align:center;
}