/*
Theme Name: SaaS Master Theme (Tier-Profi)
Author: Kay Bahrmann
Description: White-Label Basis für maßgeschneiderte SaaS-Lösungen. 100% Custom Code.
Version: 1.0.0
*/

/* =========================================
   SAAS BASELINE (Typografie & Reset)
   ========================================= */

/* Sauberes Box-Modell für alle Elemente */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa; /* Ein sehr helles Grau, wirkt edler als reines Weiß */
}

/* =========================================
   TYPOGRAFIE & ÜBERSCHRIFTEN
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
}

/* =========================================
   BUTTONS (Nutzt die Customizer-Variable)
   ========================================= */
.wp-block-button__link {
    border-radius: 6px !important; /* Moderne, leicht abgerundete Ecken */
    padding: 12px 28px !important;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wp-block-button__link:hover {
    background-color: var(--saas-primary-hover) !important;
    transform: translateY(-2px);
}

/* =========================================
   LAYOUT-CONTAINER
   ========================================= */
#saas-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================
   SAAS BLÖCKE (Spezifisches Styling)
   ========================================= */
.wp-block-columns {
    max-width: 1200px;
    margin: 3rem auto !important;
    gap: 2rem;
}

.wp-block-column {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0 !important; /* Sanfter, heller Rahmen */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Leichter Basis-Schatten */
}

.wp-block-column:hover {
    transform: translateY(-5px); /* Hebt die Karte beim Hover leicht an */
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1);
}

/* =========================================
   LAYOUT-FIX: Spalten nebeneinander (Desktop)
   ========================================= */
@media (min-width: 768px) {
    .wp-block-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch; /* Zwingt alle drei Karten dazu, exakt gleich hoch zu sein */
    }
}

/* =========================================
   SAAS BLÖCKE (Profil & Media)
   ========================================= */
.wp-block-media-text {
    max-width: 1000px;
    margin: 4rem auto !important;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.wp-block-media-text__media {
    border-right: 1px solid #f0f0f0;
}

/* Zwingt das Bild in eine quadratische/runde Form */
.wp-block-media-text__media img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 50%; /* Macht das Bild rund */
    padding: 2rem; /* Abstand vom Rand */
}

.wp-block-media-text__content {
    padding: 3rem !important;
}