/* ===================================
   SERVICE PAGE STYLES
   =================================== */

/* Form Select */
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Ausschreibungstexte – volle Breite */
.ausschreibung-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
}

.ausschreibung-bar .form-select {
    flex: 1 1 320px;
    min-width: 0;
}

.ausschreibung-bar .btn-download {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Download Dropdown */
.download-dropdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: #a00030;
}

/* Section Header Left */
.section-header-left {
    margin-bottom: 2rem;
}

.section-header-left h2 {
    font-family: var(--font-headline);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.section-header-left p {
    color: #666;
    font-size: 1rem;
}

/* Download Cards */
.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.download-card-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.download-card-large:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.download-card-large > .material-symbols-outlined:first-child {
    font-size: 2.5rem;
    color: var(--color-accent);
}

.download-card-large .download-info {
    flex: 1;
}

.download-card-large .download-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.download-card-large .download-desc {
    font-size: 0.85rem;
    color: #888;
}

.download-card-large > .material-symbols-outlined:last-child {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.2s ease;
}

.download-card-large:hover > .material-symbols-outlined:last-child {
    color: var(--color-accent);
}

/* Komponenten Grid */
.komponenten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.komponenten-category {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem;
}

.komponenten-category h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-list li {
    margin-bottom: 0.5rem;
}

.download-list a {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.download-list a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.download-list li:last-child a {
    border-bottom: none;
}

/* CTA Dark */
.section-cta-dark {
    background: #0a0a0a;
    padding: 5rem 2rem;
    text-align: center;
}

.section-cta-dark .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.section-cta-dark h2 {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1rem;
}

.section-cta-dark p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .komponenten-grid {
        grid-template-columns: 1fr;
    }
    
    .ausschreibung-bar .form-select {
        flex: 1 1 100%;
    }
    
    .ausschreibung-bar .btn-download {
        width: 100%;
        justify-content: center;
    }
}
