
/* === 01_styles.css === */
/* ========================================
   DRK Kyffhäuserkreis - Impressum Styles
   ======================================== */

/* CSS Variables - Design System */
:root {
    --drk-red: #e60005;
    --drk-red-dark: #b80004;
    --drk-red-light: #ff3338;
    --white: #ffffff;
    --off-white: #f8f7f5;
    --gray-light: #e8e6e3;
    --gray-medium: #9a9590;
    --gray-dark: #4a4744;
    --black: #1a1918;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-strong: 0 16px 60px rgba(0,0,0,0.18);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: var(--black);
    line-height: 1.2;
}

/* Hero-Überschrift bewusst auf max. 36px begrenzt (nicht 4rem/4.5rem).
   Bis zum libs.js-Rollout (05.08.2026) lud die Seite ungewollt die Framework-Regel
   `body h1 { clamp(2rem, 4vw, 36px) }` aus libs.css mit; deren höhere Spezifität
   (0-0-2) überschrieb die frühere DRK-Regel und ergab faktisch diese 36px.
   Andreas hat den kleineren Wert im Screenshot-Vergleich als den besseren bestätigt
   ("die 36px vorher sind besser"). Seit libs.css weg ist, steht der Wert hier fest
   im eigenen Stylesheet — NICHT zurück auf 4rem/4.5rem "korrigieren". */
h1 { font-size: clamp(2rem, 4vw, 36px); }

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    max-width: 65ch;
}

a {
    color: var(--drk-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Label */
.section-label {
    display: inline-block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--drk-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--gray-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(230, 0, 5, 0.03) 50%, transparent 70%);
    transform: rotate(-12deg);
    pointer-events: none;
}

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

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray-medium);
}

/* Impressum Section */
.impressum-section {
    padding: 5rem 2rem 6rem;
    background: var(--white);
}

/* Impressum Grid (Contact Cards) */
.impressum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.impressum-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.impressum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--drk-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-smooth);
}

.impressum-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.impressum-card:hover::before {
    transform: scaleX(1);
}

.impressum-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 0, 5, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.impressum-card:hover .impressum-card-icon {
    background: var(--drk-red);
}

.impressum-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--drk-red);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.impressum-card:hover .impressum-card-icon svg {
    stroke: var(--white);
}

.impressum-card h3 {
    margin-bottom: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.impressum-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.impressum-card p:last-child {
    margin-bottom: 0;
}

.impressum-card a {
    color: var(--drk-red);
    font-weight: 500;
}

.impressum-card a:hover {
    color: var(--drk-red-dark);
}

/* Impressum Blocks (Text Content) */
.impressum-block {
    background: var(--off-white);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.impressum-block:last-child {
    margin-bottom: 0;
}

.impressum-block h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.impressum-block h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--drk-red);
}

.impressum-block h3:first-of-type {
    margin-top: 0;
}

.impressum-block p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    text-align: justify;
    hyphens: auto;
}

.impressum-block p:last-child {
    margin-bottom: 0;
}

/* Vorstand Name */
.vorstand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
}

/* Präsidium Grid */
.praesidium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.praesidium-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.praesidium-item:hover {
    border-color: var(--drk-red);
    box-shadow: var(--shadow-soft);
}

.praesidium-role {
    font-size: 0.85rem;
    color: var(--drk-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.praesidium-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .impressum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .praesidium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 8rem 1.5rem 4rem;
    }
    
    .impressum-section {
        padding: 3rem 1.5rem 4rem;
    }
    
    .impressum-grid {
        grid-template-columns: 1fr;
    }
    
    .impressum-card {
        padding: 2rem;
    }
    
    .impressum-block {
        padding: 2rem;
    }
    
    .praesidium-grid {
        grid-template-columns: 1fr;
    }
    
    .section-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 7rem 1rem 3rem;
    }
    
    .impressum-section {
        padding: 2rem 1rem 3rem;
    }
    
    .impressum-card {
        padding: 1.5rem;
    }
    
    .impressum-block {
        padding: 1.5rem;
    }
    
    .impressum-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .impressum-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

