/* ===== ÜBER-MICH SHARED STYLES ===== */
/* Gemeinsame Styles für alle Über-mich Unterseiten */
/* Basiert auf AGISTO Design System */

/* ===== CSS VARIABLES (Design System) ===== */
:root {
    /* AGISTO Gold */
    --gold: #d4a724;
    --gold-light: #e8c45a;
    --gold-dark: #b8911f;

    /* Navy Blue */
    --navy: #4469a0;
    --navy-light: #5e83ba;
    --navy-dark: #35527c;

    /* Backgrounds */
    --bg-white: #faf8f5;
    --bg-cream: #f5f1ea;
    --white: #ffffff;
    --black: #1a1a1a;

    /* Grays */
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-700: #444444;
    --gray-800: #333333;

    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #444444;
    --text-muted: #666666;

    /* Fonts */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Accent (für Kompatibilität) */
    --accent: var(--gold);
    --accent-light: var(--gold-light);
    --accent-dark: var(--gold-dark);
}

/* ===== BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== SUB-NAVIGATION (Pills) ===== */
.sub-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sub-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sub-nav-back {
    color: var(--gray-600);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.sub-nav-back:hover {
    color: var(--gold);
}

.sub-nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sub-nav-link {
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.sub-nav-link:hover {
    background: var(--gray-100);
    color: var(--gold);
}

.sub-nav-link.active {
    background: var(--gold);
    color: var(--white);
}

/* ===== MAIN CONTENT SECTIONS ===== */
main {
    background: var(--bg-white);
}

.intro {
    padding: 4rem 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.intro .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro strong {
    color: var(--navy);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 4rem 0;
}

.content-section.alt-bg {
    background: var(--white);
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Card with accent border */
.card-accent {
    border-left: 4px solid var(--gold);
}

.card-accent-navy {
    border-left: 4px solid var(--navy);
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== METHOD/FEATURE CARDS ===== */
.method-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.method-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.method-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.method-card .subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.highlight-box h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight-box p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

/* Gold Button (Primary CTA - für Conversions) */
.btn-gold {
    background: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Navy Button (für "Mehr erfahren" etc.) */
.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* White Button (auf dunklem Hintergrund) */
.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Outline Button */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Outline Gold (auf hellem Hintergrund) */
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
    background: rgba(212,167,36,0.1);
}

/* ===== FAQ STYLES ===== */
.faq-nav {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.faq-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-category-link {
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border-radius: 25px;
    text-decoration: none;
    font-family: var(--font-body);
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.faq-category-link:hover,
.faq-category-link.active {
    background: var(--gold);
    color: var(--white);
}

.faq-section {
    padding: 4rem 0;
}

.faq-section.alt-bg {
    background: var(--white);
}

.faq-section h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.125rem;
    list-style: none;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    transition: var(--transition);
}

.faq-icon::before {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--gray-800);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateX(-5px);
}

.timeline-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-item .date {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-family: var(--font-body);
    color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .sub-nav {
        position: static;
    }

    .sub-nav-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sub-nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .sub-nav-link {
        font-size: 0.875rem;
        padding: 0.4rem 0.75rem;
    }

    .intro {
        padding: 3rem 0;
    }

    .intro h2 {
        font-size: 1.75rem;
    }

    .intro .lead {
        font-size: 1.125rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .cards-grid,
    .cards-grid-2,
    .cards-grid-3 {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .faq-categories {
        gap: 0.5rem;
    }

    .faq-category-link {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .highlight-box {
        padding: 2rem;
    }

    .highlight-box h3 {
        font-size: 1.5rem;
    }
}
