﻿/* =======================================================
   GROOVY BABY – SHARED STYLES & UTILITIES
   (für alle Seiten wiederverwendbar)
   ======================================================= */

/* ---------- Farbvariablen ---------- */
:root {
    --gb-bg: #EFECD9;
    --gb-accent-lavender: #C98AD3;
    --gb-accent-orange: #F39A17;
    --gb-accent-soft: #f4f0e4;
    --gb-text-main: #333333;
    --gb-text-muted: #7a7a7a;
    --gb-text-soft: #4a4a4a;
    --gb-radius-lg: 24px;
    --gb-radius-xl: 28px;
    --gb-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.06);
    --gb-shadow-strong: 0 16px 36px rgba(0, 0, 0, 0.15);
}

/* =======================================================
   SECTION LAYOUT
   ======================================================= */

/* Standard-Section mit Abstand oben/unten */
.gb-section {
    padding-top: 70px;
    padding-bottom: 80px;
    background-color: var(--gb-bg);
}

/* Zentrierter Innenbereich mit max. Breite */
.gb-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 32px;
}

/* bei schmaleren Screens weniger seitlicher Abstand */
@media (max-width: 960px) {
    .gb-section-inner {
        padding-inline: 20px;
    }
}

/* =======================================================
   TYPOGRAPHIE-UTILITIES
   ======================================================= */

/* Kleine Overline / Eyebrow-Text über einer Überschrift */
.gb-overline {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gb-text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 0.78rem;
}

/* Section-Überschrift */
.gb-section-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--gb-text-main);
}

/* etwas kleinere Überschrift */
.gb-section-title-sm {
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--gb-text-main);
}

/* Standard-Fließtext */
.gb-body-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--gb-text-soft);
}

/* hervorgehobener Satz im Text */
.gb-highlight-text {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #3b372f;
}

/* Textzentrierung als Utility */
.gb-text-center {
    text-align: center;
}

/* =======================================================
   GRID-HILFEN
   ======================================================= */

/* 2-Spalten-Grid */
.gb-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
}

/* 3-Spalten-Grid */
.gb-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 4-Spalten-Grid */
.gb-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Responsives Verhalten für Grids */
@media (max-width: 1100px) {
    .gb-grid-3,
    .gb-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .gb-grid-2,
    .gb-grid-3,
    .gb-grid-4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

/* =======================================================
   CARDS
   ======================================================= */

/* weiche, glasige Karte */
.gb-card-soft {
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--gb-radius-lg);
    padding: 22px 22px 20px;
    box-shadow: var(--gb-shadow-soft);
    backdrop-filter: blur(4px);
}

/* stärkerer Schatten, z. B. für Portrait o. Ä. */
.gb-card-strong {
    background: var(--gb-accent-soft);
    border-radius: var(--gb-radius-xl);
    box-shadow: var(--gb-shadow-strong);
    overflow: hidden;
}

/* Hover-Lift-Effekt für Karten */
.gb-card-hover {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .gb-card-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    }

/* =======================================================
   BUTTONS
   ======================================================= */

.gb-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* Primärer Groovy-Button mit Verlauf */
.gb-btn-primary {
    background: linear-gradient(90deg, var(--gb-accent-lavender), var(--gb-accent-orange));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

    .gb-btn-primary:hover {
        transform: translateY(-1px);
        opacity: 0.96;
    }

/* Ghost-Button (transparent mit Rahmen) */
.gb-btn-ghost {
    background: transparent;
    color: var(--gb-text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    .gb-btn-ghost:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.6);
    }

/* zentrierter Button-Container */
.gb-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gb-btn-row-center {
    justify-content: center;
}

/* =======================================================
   SPACING UTILITIES
   (nur ein paar sinnvolle Abstände)
   ======================================================= */

.gb-mt-xs {
    margin-top: 8px;
}

.gb-mt-sm {
    margin-top: 12px;
}

.gb-mt-md {
    margin-top: 20px;
}

.gb-mt-lg {
    margin-top: 32px;
}

.gb-mb-xs {
    margin-bottom: 8px;
}

.gb-mb-sm {
    margin-bottom: 12px;
}

.gb-mb-md {
    margin-bottom: 20px;
}

.gb-mb-lg {
    margin-bottom: 32px;
}

/* horizontale Trennlinie */
.gb-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) );
    margin: 24px 0;
}

*:focus {
    outline: none !important;
}