/* ===== Dark Garamond Theme für ki-hilfe.org ===== */
/* Warme Dunkeltonen + Organic/Natural + Luxury */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-semibold.woff2') format('woff2'),
         url('../fonts/cormorant-garamond-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-bold.woff2') format('woff2'),
         url('../fonts/cormorant-garamond-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-regular.woff2') format('woff2'),
         url('../fonts/cormorant-garamond-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-regular.woff2') format('woff2'),
         url('../fonts/plus-jakarta-sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-semibold.woff2') format('woff2'),
         url('../fonts/plus-jakarta-sans-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-bold.woff2') format('woff2'),
         url('../fonts/plus-jakarta-sans-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-extra-bold.woff2') format('woff2'),
         url('../fonts/plus-jakarta-sans-extra-bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables (Dark Garamond Palette) ===== */
:root {
    /* Dark Base */
    --bg-primary: #0f0e0d;
    --bg-secondary: #1a1715;
    --bg-card: rgba(26, 23, 21, 0.7);
    
    /* Warm Cream */
    --text-primary: #e8e4df;
    --text-secondary: #d4cfc9;
    --text-muted: #a8a29e;
    
    /* Organic Green */
    --primary: #7a9e6e;
    --primary-dark: #5f7d51;
    
    /* Gold Accent */
    --accent: #b8860b;
    --accent-hover: #cdaa4d;
    
    /* Soft Shadows */
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 24px rgba(184, 134, 11, 0.2);
    
    /* Borders */
    --border-soft: rgba(232, 228, 223, 0.15);
    --border-highlight: rgba(184, 134, 11, 0.3);
    
    /* Radius */
    --radius-md: 16px;
    --radius-lg: 28px;
    
    /* Spacing */
    --section-padding: clamp(60px, 12vw, 120px);
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    line-height: 1.65;
    background: radial-gradient(circle at top left, #1f1b17 0%, #0f0e0d 50%, #0a0908 100%);
    background-attachment: fixed;
    background-size: cover;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.main-header {
    background: rgba(15, 14, 13, 0.85);
    backdrop-filter: blur(24px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap;
}

.logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.4rem;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo img { height: 36px; width: auto; display: block; flex-shrink: 0; }

nav ul { 
    display: flex !important; 
    flex-direction: row !important;
    list-style: none; 
    gap: 28px; 
    align-items: center;
}
nav a { 
    text-decoration: none; 
    color: var(--text-secondary); 
    font-weight: 600; 
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}
nav a:hover, nav a.active { 
    color: var(--primary); 
    background: rgba(122, 158, 110, 0.1);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 992px) {
    .header-inner { flex-direction: column !important; gap: 16px; text-align: center; }
    nav ul { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

/* ===== HERO SECTION (Dark Garamond) ===== */
.hero {
    padding: clamp(80px, 16vw, 140px) 0;
    background: 
        radial-gradient(circle at top right, rgba(122, 158, 110, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(184, 134, 11, 0.06), transparent 40%);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8860b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4H5.333v-4H3.333v4c0 1.103.897 2 2 2h28c1.103 0 2-.897 2-2V34zM6 26v4H5.333v-4H3.333v4c0 1.103.897 2 2 2h28c1.103 0 2-.897 2-2V26z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero p {
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.75rem;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary) 0%, #d4cfc9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: clamp(40px, 8vw, 80px);
}

/* ===== BUTTONS (Dark Garamond) ===== */
.btn-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    padding: 18px 40px !important;
    border-radius: var(--radius-lg) !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    display: inline-block !important;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(122, 158, 110, 0.3);
}

.btn-main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.btn-secondary {
    background: rgba(184, 134, 11, 0.1) !important;
    color: var(--accent) !important;
    border: 1px solid rgba(184, 134, 11, 0.3) !important;
    padding: 16px 36px !important;
    border-radius: var(--radius-lg) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-block !important;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(184, 134, 11, 0.2) !important;
    transform: translateY(-3px);
}

/* ===== COOKIE BANNER OVERRIDES ===== */
.cookie-overlay .btn-main {
    background: linear-gradient(135deg, var(--accent) 0%, #cdaa4d 100%) !important;
    color: var(--bg-primary) !important;
    border-color: var(--accent) !important;
}
.cookie-overlay .btn-main:hover {
    background: linear-gradient(135deg, #cdaa4d 0%, var(--accent) 100%) !important;
    color: var(--bg-primary) !important;
}

.cookie-overlay .btn-secondary {
    background: rgba(232, 228, 223, 0.1) !important;
    color: var(--text-secondary) !important;
    border-color: rgba(232, 228, 223, 0.3) !important;
}
.cookie-overlay .btn-secondary:hover {
    background: rgba(232, 228, 223, 0.2) !important;
    color: var(--text-primary) !important;
}

.btn-nav-secondary {
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-soft) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-nav-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .btn-main, .btn-secondary { width: 100%; text-align: center; margin-bottom: 8px; }
}

/* ===== HERO IMAGE (Dark Garamond) ===== */
.hero-image {
    width: 100%;
    max-width: 860px;
    margin: clamp(50px, 10vw, 90px) auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-image:hover img {
    transform: scale(1.03);
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
}

/* ===== GRID & CARDS (Dark Garamond) ===== */
.grid {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 48px);
}

.card {
    background: var(--bg-secondary);
    padding: clamp(24px, 5vw, 36px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card img, .flex-col img {
    display: block !important;
    width: 100% !important;
    height: clamp(220px, 35vw, 340px) !important;
    object-fit: cover !important;
    border-radius: 12px;
    margin-bottom: clamp(20px, 4vw, 28px);
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.2s ease;
}
.card a:hover {
    color: var(--text-primary);
}

/* ===== STORY GRID (Dark Garamond) ===== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 50px);
    align-items: center;
}

@media (max-width: 992px) {
    .story-grid { grid-template-columns: 1fr; }
}

.story-grid .reveal img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.story-grid .reveal:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-grid .reveal:nth-child(2) h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.story-grid .reveal:nth-child(2) p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.story-grid .reveal:nth-child(2) a {
    display: inline-block;
    width: fit-content;
}

/* ===== PARTNER/TECH-STACK SECTION ===== */
.partner-stack {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-soft);
}

.partner-grid {
    display: flex;
    gap: clamp(30px, 6vw, 70px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-item {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    white-space: nowrap;
}

/* ===== FORMS (Dark Garamond) ===== */
.form-info-field { display: none !important; }

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(26, 23, 21, 0.5);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(26, 23, 21, 0.7);
    box-shadow: var(--shadow-glow);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== FOOTER (Dark Garamond) ===== */
.main-footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: clamp(60px, 12vw, 100px) 0 clamp(40px, 8vw, 60px);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-soft);
    margin-top: clamp(80px, 12vw, 140px);
}

.main-footer h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
}

.main-footer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.main-footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
.main-footer a:hover {
    color: var(--text-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(30px, 6vw, 50px);
    margin-bottom: clamp(40px, 8vw, 60px);
}

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: clamp(20px, 4vw, 35px);
    text-align: center;
    color: var(--text-muted);
}

/* ===== MISC ===== */
.highlight-box {
    background: rgba(184, 134, 11, 0.08);
    padding: clamp(20px, 4vw, 30px);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.wa-float {
    position: fixed;
    bottom: clamp(20px, 4vw, 35px);
    right: clamp(20px, 4vw, 35px);
    width: clamp(56px, 10vw, 72px);
    height: clamp(56px, 10vw, 72px);
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.reveal {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* ===== ANIMATIONS (CSS-only) ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.card img {
    animation: float 6s ease-in-out infinite;
}

.btn-main, .btn-secondary {
    animation: fadeInUp 0.5s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) {
    .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(30px, 5vw, 48px); }
    .hero-image img { max-height: clamp(300px, 45vw, 480px); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
    .hero p { font-size: clamp(1rem, 4vw, 1.25rem); }
}
