
/* === 01_styles.css === */
/* ==========================================================================
   DRK Kyffhäuserkreisverband - Rettungsdienst Page Styles
   Basierend auf dem neuen DRK Layout
   ========================================================================== */

/* CSS Variables */
: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, 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(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p { max-width: 65ch; }
a { color: var(--drk-red); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--drk-red-dark); }

/* ==========================================================================
   Hero Section - Rettungsdienst
   ========================================================================== */
.hero-rettungsdienst {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, #2d2926 100%);
    margin-top: 80px;
}

.hero-rettungsdienst::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e60005' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-rettungsdienst-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-rettungsdienst-content {
    animation: fadeInUp 1s var(--transition-smooth) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(230, 0, 5, 0.15);
    color: var(--drk-red);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 0, 5, 0.3);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--drk-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-rettungsdienst h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-rettungsdienst h1 .text-red {
    color: var(--drk-red);
}

.hero-rettungsdienst-text {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--drk-red);
    line-height: 1;
}

.hero-stat-label {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-rettungsdienst-visual {
    animation: fadeInUp 1s 0.3s var(--transition-smooth) forwards;
    opacity: 0;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--drk-red) 0%, var(--drk-red-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 1rem;
}

.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--drk-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-medium);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Background Variants */
.section-white { background: var(--white); }
.section-off-white { background: var(--off-white); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h2 {
    margin-bottom: 1.5rem;
}

.intro-content p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-highlight {
    background: var(--off-white);
    border-left: 4px solid var(--drk-red);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.intro-highlight p {
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--off-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Fahrzeuge Cards
   ========================================================================== */
.fahrzeuge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.fahrzeug-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--transition-smooth);
}

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

.fahrzeug-image {
    position: relative;
    overflow: hidden;
}

.fahrzeug-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s var(--transition-smooth);
}

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

.fahrzeug-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--drk-red) 0%, var(--drk-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fahrzeug-image-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
}

.fahrzeug-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--drk-red);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fahrzeug-content {
    padding: 1.5rem;
}

.fahrzeug-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.fahrzeug-type {
    color: var(--drk-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.fahrzeug-content p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.fahrzeug-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.fahrzeug-spec {
    background: var(--off-white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}

/* ==========================================================================
   Rettungswachen Section
   ========================================================================== */
.wachen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.wache-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.wache-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);
}

.wache-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

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

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

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

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

.wache-card h3 {
    margin-bottom: 0.5rem;
}

.wache-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.wache-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.wache-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ==========================================================================
   Ausrüstung Section
   ========================================================================== */
.ausruestung-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ausruestung-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.ausruestung-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.ausruestung-icon {
    width: 44px;
    height: 44px;
    background: rgba(230, 0, 5, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ausruestung-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--drk-red);
    fill: none;
    stroke-width: 2;
}

.ausruestung-text h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.ausruestung-text p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   DIN/EN Info Section
   ========================================================================== */
.din-info {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.din-info h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.din-info h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--drk-red);
    fill: none;
    stroke-width: 2;
}

.din-table {
    width: 100%;
    border-collapse: collapse;
}

.din-table th,
.din-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.din-table th {
    font-weight: 600;
    color: var(--black);
    background: var(--white);
}

.din-table tr:last-child td {
    border-bottom: none;
}

.din-table tr:hover td {
    background: var(--white);
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    max-width: 900px;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    display: block;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 1rem;
    cursor: pointer;
}

.video-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

/* ==========================================================================
   Galerie Section
   ========================================================================== */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.galerie-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--transition-smooth);
}

.galerie-item:hover img {
    transform: scale(1.1);
}

.galerie-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(230, 0, 5, 0);
    transition: background 0.3s ease;
}

.galerie-item:hover::after {
    background: rgba(230, 0, 5, 0.2);
}

.galerie-item-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.galerie-item-placeholder svg {
    width: 30px;
    height: 30px;
    stroke: var(--gray-medium);
    fill: none;
    stroke-width: 2;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--drk-red) 0%, var(--drk-red-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--drk-red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(230, 0, 5, 0.3);
}

.btn-primary:hover {
    background: var(--drk-red-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 0, 5, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--drk-red);
    color: var(--drk-red);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--drk-red);
}

.btn-white:hover {
    background: var(--off-white);
    color: var(--drk-red);
    transform: translateY(-3px);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   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) {
    .hero-rettungsdienst-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-rettungsdienst-content { order: 1; }
    .hero-rettungsdienst-visual { 
        order: 2; 
        max-width: 600px; 
        margin: 0 auto; 
    }
    
    .hero-rettungsdienst-text { 
        margin: 0 auto 2rem; 
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .fahrzeuge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wachen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }
    
    .hero-rettungsdienst {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 1rem;
    }
    
    .hero-stat-number {
        font-size: 1.8rem;
    }
    
    .fahrzeuge-grid {
        grid-template-columns: 1fr;
    }
    
    .wachen-grid {
        grid-template-columns: 1fr;
    }
    
    .ausruestung-list {
        grid-template-columns: 1fr;
    }
    
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .din-table {
        font-size: 0.9rem;
    }
    
    .din-table th,
    .din-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .galerie-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

