/* ====================================
   WURFINFO SEITE - PERFEKTE SYMMETRIE V3
   ==================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #e0cdb2 0%, #d4c1a6 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    color: #5e4b45;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-header .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #7a6860;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Intro Section */
.intro-section {
    padding: 3rem 2rem;
    background: #faf8f5;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(94, 75, 69, 0.08);
    border-left: 4px solid #e0cdb2;
}

.intro-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #6d5d4d;
    margin: 0;
}

/* Links Section */
.links-section {
    padding: 3rem 2rem;
    background: #f5f0e8;
}

.link-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    /* WICHTIG: alle Rows gleich hoch */
    grid-auto-rows: 1fr !important;
}

/* Link Card - FLEXBOX statt Grid für bessere Kontrolle */
.link-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(94, 75, 69, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* FLEXBOX Layout */
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(94, 75, 69, 0.15);
}

.link-card.featured {
    border: 3px solid #e0cdb2;
}

/* Card Header - EXAKTE HÖHE für perfekte Symmetrie */
.card-header {
    background: linear-gradient(135deg, #e0cdb2 0%, #d4c1a6 100%);
    padding: 2rem;
    position: relative;
    flex-shrink: 0;
    
    /* EXAKTE HÖHE - nicht min-height! */
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-header h2 {
    color: #5e4b45;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.badge {
    display: inline-block;
    background: #5e4b45;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    width: auto;
    max-width: max-content;
}

/* Card Content - nimmt den gesamten verfügbaren Platz */
.card-content {
    padding: 2rem;
    flex-grow: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    
    /* KRITISCH: Mindesthöhe damit beide Cards gleich werden */
    min-height: 350px;
}

.card-description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #6d5d4d;
    margin: 0;
}

/* Card Details */
.card-details {
    margin: 0;
    padding: 1.5rem 0;
    border-top: 2px solid #f5f0e8;
    border-bottom: 2px solid #f5f0e8;
}

.card-details dt {
    color: #5e4b45;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.card-details dt:first-child {
    margin-top: 0;
}

.card-details dd {
    color: #6d5d4d;
    margin: 0 0 0 0;
    padding-left: 1rem;
    border-left: 2px solid #e0cdb2;
    font-size: 1rem;
}

/* Card List */
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    color: #6d5d4d;
    font-size: 1rem;
    line-height: 1.6;
}

.card-list li:first-child {
    padding-top: 0;
}

.card-list li:last-child {
    padding-bottom: 0;
}

.card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #e0cdb2;
    font-weight: bold;
    font-size: 1.2rem;
}

.card-list li:first-child::before {
    top: 0;
}

/* Card Footer - EXAKTE HÖHE für perfekte Symmetrie */
.card-footer {
    padding: 2rem;
    background: #faf8f5;
    flex-shrink: 0;
    
    /* EXAKTE HÖHE - nicht min-height! */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-large,
.btn-large.btn-secondary {
    display: block;
    width: 100%;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
    box-sizing: border-box;
}

.btn-large {
    background: #e0cdb2;
    color: #5e4b45;
    border: 2px solid #e0cdb2;
}

.btn-large:hover {
    background: #d4c1a6;
    border-color: #d4c1a6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 75, 69, 0.2);
}

.btn-large.btn-secondary {
    background: white;
    color: #5e4b45;
    border: 2px solid #e0cdb2;
}

.btn-large.btn-secondary:hover {
    background: #e0cdb2;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    background: #faf8f5;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(94, 75, 69, 0.1);
    text-align: center;
    border: 3px solid #e0cdb2;
}

.cta-content h2 {
    color: #5e4b45;
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: #6d5d4d;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    padding: 18px 40px;
    background: #e0cdb2;
    color: #5e4b45;
    text-decoration: none;
    font-weight: 700;
    border-radius: 35px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background: #d4c1a6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(94, 75, 69, 0.25);
}

/* Quick Info Box */
.quick-info-box {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    padding: 1.5rem 2rem;
    background: #e0cdb2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.quick-info-box ion-icon {
    font-size: 2.5rem;
    color: #5e4b45;
    flex-shrink: 0;
}

.quick-info-box p {
    margin: 0;
    color: #5e4b45;
    line-height: 1.6;
    font-size: 1rem;
}

.quick-info-box a {
    color: #5e4b45;
    font-weight: 700;
    text-decoration: underline;
}

.quick-info-box a:hover {
    text-decoration: none;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .link-cards {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
    }
    
    /* Bei mobil keine Mindesthöhe mehr nötig */
    .card-content {
        min-height: auto;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 3rem 1.5rem;
    }

    .intro-section,
    .links-section,
    .cta-section {
        padding: 2.5rem 1.5rem;
    }

    .intro-content {
        padding: 2rem 1.5rem;
    }

    .link-cards {
        gap: 2rem;
    }

    .card-header {
        padding: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
        min-height: auto;
    }

    .card-footer {
        padding: 1.5rem;
    }

    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .quick-info-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .card-header {
        padding: 1.25rem;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-footer {
        padding: 1.25rem;
    }

    .cta-content {
        padding: 1.5rem 1rem;
    }

    .btn-cta {
        width: 100%;
        padding: 15px 30px;
    }
}

/* Print Styles */
@media print {
    .page-header {
        background: white;
        border-bottom: 2px solid #e0cdb2;
    }

    .link-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }

    .card-header {
        background: white;
        border-bottom: 2px solid #e0cdb2;
    }

    .card-footer,
    .cta-section {
        display: none;
    }

    .intro-content,
    .cta-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .quick-info-box {
        background: white;
        border: 1px solid #e0cdb2;
    }
}
