/*
Theme Name: Tanti & Anti
Theme URI: https://tantianti.de
Description: Custom WordPress Theme für Tanti & Anti - Ätherische Öle für Frauen & Männer. Mit Dual-Perspektive Design (Tanti = Violett/Wellness, Anti = Orange/Pragmatisch).
Author: Matthias & Denise Wandrei
Author URI: https://tantianti.de
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tantianti
Tags: custom-background, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

Tanti & Anti WordPress Theme, Copyright 2026 Matthias & Denise Wandrei
*/

/* ============================================================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================================================ */

:root {
    /* Tanti Farben (Violett) */
    --tanti-primary: #8B3FD9;
    --tanti-light: #B565D8;
    --tanti-dark: #6B21A8;
    
    /* Anti Farben (Orange/Gold) */
    --anti-primary: #F59E0B;
    --anti-light: #FBBF24;
    --anti-dark: #D97706;
    
    /* Neutral */
    --bg-white: #FAFAFA;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --border-gray: #E5E7EB;
    
    /* Verlauf */
    --gradient: linear-gradient(135deg, #8B3FD9 0%, #E879D9 50%, #F59E0B 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* Links */
a {
    color: var(--tanti-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--tanti-dark);
}

/* Buttons - Einheitliches Design */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--tanti-primary);
    font-size: 1rem;
    text-decoration: none;
    background: white;
    color: var(--tanti-primary);
}

.btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: white;
    border: 2px solid var(--tanti-primary);
    color: var(--tanti-primary);
}

.btn-primary:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-secondary {
    background: white;
    border: 2px solid var(--anti-primary);
    color: var(--anti-primary);
}

.btn-secondary:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-tanti {
    background: white;
    border: 2px solid var(--tanti-primary);
    color: var(--tanti-primary);
}

.btn-tanti:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-anti {
    background: white;
    border: 2px solid var(--anti-primary);
    color: var(--anti-primary);
}

.btn-anti:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-outline {
    background: white;
    border: 2px solid var(--tanti-primary);
    color: var(--tanti-primary);
}

.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================================
   WORDPRESS CORE STYLES
   ============================================================================ */

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
/* Ähnliche Rezepte/Wissen - Optimiert */
.aehnliche-rezepte-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.aehnliche-card {
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.aehnliche-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--anti-primary);
}

.aehnliche-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
	background: var(--bg-white); /* Optional: Hintergrund wenn Bild nicht voll ausfüllt */
}

.aehnliche-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	object-position: center;
    transition: transform 0.3s ease;
}

.aehnliche-card:hover .aehnliche-image img {
    transform: scale(1.05);
}

.aehnliche-card h3 {
    padding: 20px;
    margin: 0;
    font-size: 1.1rem;
}

.aehnliche-card h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.aehnliche-card h3 a:hover {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile */
@media (max-width: 768px) {
    .aehnliche-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aehnliche-image {
        height: 180px;
    }
}
/* ========================================
   NOTFALL FIX - ÄHNLICHE REZEPTE 
   ======================================== */

.aehnliche-image {
    width: 100% !important;
    height: 150px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.aehnliche-image img {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.aehnliche-card:hover .aehnliche-image img {
    transform: scale(1.05) !important;
HIER DER KOMPLETTE CODE FÜR PERSON PORTRAITS! 💪
📝 KOPIERE DAS KOMPLETT IN STYLE.CSS:
css

/* ========================================
   PERSON PORTRAITS - HOMEPAGE
   ======================================== */

.person-image {
    text-align: center !important;
    margin: 30px auto !important;
    width: 200px !important;
    height: 200px !important;
}

.person-image img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    transition: transform 0.3s ease !important;
}

.person-image img:hover {
    transform: scale(1.02) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .person-image {
        width: 180px !important;
        height: 180px !important;
    }
Ha! Perfekt, danke für den Inspector! 😄 Jetzt sehe ich das Problem:
Das Problem:

Die .workshop-card hat kein height: 100% UND die Parent-Container (.workshops-grid) fehlen die richtigen Grid-Einstellungen!

Im Inspector sehe ich:
css

.workshop-content {
    display: flex;
    flex-direction: column;
}

Aber die Grid-Items (<article class="workshop-card">) haben keine feste Höhe.
Die Lösung - ERSETZE dein gerade eingefügtes CSS:
css

/* ============================================================================
   WORKSHOP CARDS - EINHEITLICHE HÖHEN
   ============================================================================ */

.workshops-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.workshop-card {
    height: 100% !important;
}

.workshop-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 20px !important;
}

.workshop-title {
    flex-grow: 1 !important;
}

.workshop-preis-info {
    margin-top: auto !important;
}

.workshop-footer .btn {
    width: 100% !important;
}