/* ===================================
   Subpage Styles
   =================================== */

/* Section Variants */
.section-white {
    background: #ffffff;
    color: #1a1a1a;
}

.section-white h2,
.section-white h3,
.section-white h4 {
    color: #1a1a1a;
}

.section-white p {
    color: #4a4a4a;
}

.section-light {
    background: #f5f5f5;
    color: #1a1a1a;
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: #1a1a1a;
}

.section-dark-split {
    background: #2a2a2a;
    color: #ffffff;
}

/* ===================================
   Navbar for Subpages
   =================================== */
.navbar-subpage {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.navbar-subpage .menu-toggle span {
    background: #1a1a1a;
}

.navbar-subpage .logo-text {
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1rem;
}

.navbar-subpage.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* ===================================
   Subpage Hero
   =================================== */
.subpage-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    background: #f8f8f8;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}

.hero-title .accent {
    color: var(--color-accent);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* ===================================
   Intro Bar
   =================================== */
.intro-bar {
    background: #ffffff;
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 900px;
}

.lead-text .accent {
    color: var(--color-accent);
}

/* ===================================
   Two Column Block
   =================================== */
.two-col-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.col-text .overline {
    color: var(--color-accent);
}

.col-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.col-text h2 .accent {
    color: var(--color-accent);
}

.col-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.col-text .cta-button {
    margin-top: 1.5rem;
}

.col-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===================================
   Praxis Section
   =================================== */
.praxis-grid {
    max-width: 700px;
}

.praxis-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.praxis-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===================================
   Compact Section
   =================================== */
.compact {
    padding: 4rem 2rem;
}

.centered-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===================================
   Nachgeregelte Kreise Block
   =================================== */
.nachgeregelt-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.nachgeregelt-header {
    margin-bottom: 2rem;
}

.nachgeregelt-header h2 {
    color: #1a1a1a;
    margin-bottom: 0;
}

.nachgeregelt-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.nachgeregelt-left h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.nachgeregelt-left h3.accent {
    color: var(--color-accent);
}

.nachgeregelt-left p {
    color: #4a4a4a;
    line-height: 1.7;
}

.nachgeregelt-right h4 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
}

/* ===================================
   Komponenten Header
   =================================== */
.komponenten-header {
    padding-bottom: 2rem;
}

.komponenten-header .section-header {
    text-align: center;
}

.komponenten-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-intro {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===================================
   Sticky Scroll Komponenten
   =================================== */
.komponenten-scroll {
    position: relative;
    background: #ffffff;
}

.komponenten-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sticky Image Side */
.komponenten-sticky {
    position: sticky;
    top: 100px;
    width: 50%;
    height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.komponenten-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.komponente-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.komponente-img.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Scrolling Content Side */
.komponenten-content {
    width: 50%;
    padding: 2rem;
}

.komponente-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.panel-inner {
    max-width: 450px;
    opacity: 0.3;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.komponente-panel.active .panel-inner {
    opacity: 1;
    transform: translateY(0);
}

.panel-inner h3 {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.panel-inner h3 .accent {
    color: var(--color-accent);
}

/* Specs Grid */
.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.spec-value {
    color: #4a4a4a;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ===================================
   Footer Grid
   =================================== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-cta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-cta a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-cta a:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-legal p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: var(--color-text);
}

/* ===================================
   Reveal Animations
   =================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 3rem;
    }
}

@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-bg-shape {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    .two-col-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nachgeregelt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .komponenten-container {
        flex-direction: column;
    }
    
    .komponenten-sticky {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 2rem;
    }
    
    .komponenten-content {
        width: 100%;
    }
    
    .komponente-panel {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .panel-inner {
        opacity: 1;
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nachgeregelt-block {
        padding: 2rem;
    }
    
    .panel-inner h3 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===================================
   Additional Page Elements
   =================================== */

/* Hero Variants */
.hero-modernisierung .hero-background.dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    width: 100%;
    clip-path: none;
}

.hero-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.subpage-headline.light {
    color: #ffffff;
}

.hero-lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-top: 1.5rem;
    line-height: 1.7;
}

.hero-compact {
    min-height: 50vh;
}

/* Checklist */
.split-checklist {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 12px;
}

.split-checklist h3 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #4a4a4a;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.1);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.timeline-content p {
    color: #4a4a4a;
    line-height: 1.7;
}

/* Comparison Cards */
.comparison-block {
    text-align: center;
}

.comparison-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.comparison-header h2 {
    color: #ffffff;
}

.comparison-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.comparison-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 1.5rem;
    border-radius: 12px;
}

.comparison-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.comparison-card h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.comparison-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Benefits Summary */
.benefits-summary {
    text-align: center;
}

.benefits-summary h2 {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f8f8;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.benefit-check {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 700;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, #8a002a 100%);
    text-align: center;
}

.cta-block h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-block p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-block .cta-button {
    background: #ffffff;
    color: var(--color-accent);
}

/* Stats Section */
.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-header h2 {
    color: #ffffff;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-headline);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Story Block */
.story-block {
    max-width: 800px;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Quality Block */
.quality-block {
    max-width: 700px;
}

/* Team Section */
.section-intro {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1rem;
}

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

.team-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.team-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-initials {
    position: absolute;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.8;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.team-position {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.team-tasks {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.team-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.team-contact a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.team-contact a:hover {
    color: var(--color-accent);
}

/* Location Block */
.location-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-text address {
    font-style: normal;
    color: #4a4a4a;
    line-height: 1.8;
    margin-top: 1rem;
}

.location-hours {
    margin-top: 1.5rem;
}

/* Downloads Section */
.downloads-section h2 {
    margin-bottom: 2rem;
}

.download-category {
    margin-bottom: 3rem;
}

.download-category h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: none;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: #666;
    margin-bottom: 1rem;
}

.download-subcategory {
    margin-top: 1.5rem;
}

.download-subcategory h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    color: #666;
    margin-bottom: 0.75rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.download-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.download-icon {
    font-size: 1.5rem;
}

.download-info {
    flex: 1;
}

.download-name {
    display: block;
    font-weight: 500;
}

.download-meta {
    font-size: 0.8rem;
    color: #888;
}

.download-action {
    font-size: 1.25rem;
    color: var(--color-accent);
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f8f8f8;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.accordion-content {
    display: none;
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.accordion-content.open {
    display: block;
}

.accordion-content h5 {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 1.5rem 0 0.75rem;
}

.accordion-content h5:first-child {
    margin-top: 0;
}

/* Footer Links Inline */
.footer-links-inline {
    display: flex;
    gap: 1.5rem;
}

.footer-links-inline a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-links-inline a:hover {
    color: var(--color-text);
}

/* Responsive Additional */
@media (max-width: 1200px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .location-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-number {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ===================================
   Legal Pages (Impressum, Datenschutz)
   =================================== */
.legal-page {
    background: #fff;
}

.legal-page h1 {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.legal-intro {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 .material-symbols-outlined {
    color: var(--color-accent);
    font-size: 1.75rem;
}

.legal-section p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #a00030;
}

.legal-list {
    display: grid;
    grid-template-columns: minmax(180px, 200px) 1fr;
    gap: 0.75rem 2rem;
}

.legal-list dt {
    font-weight: 600;
    color: #666;
}

.legal-list dd {
    color: #1a1a1a;
    margin: 0;
}

/* WCAG Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10001;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal-up,
    .slide-in-right,
    .slide-in-left {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-accent: #c0003a;
        --color-text-muted: #333;
    }
    
    .legal-list dt {
        color: #000;
    }
}

@media (max-width: 768px) {
    .legal-list {
        grid-template-columns: 1fr;
        gap: 0.25rem 0;
    }
    
    .legal-list dt {
        margin-top: 1rem;
    }
    
    .legal-list dt:first-child {
        margin-top: 0;
    }
}

/* ===================================
   Dark Hero Centered (for all pages)
   =================================== */
.hero-centered-dark {
    background: #0a0a0a;
    padding: 12rem 2rem 6rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-centered-dark.hero-compact {
    min-height: 40vh;
    padding: 10rem 2rem 4rem;
}

.hero-content-centered {
    max-width: 900px;
}

.hero-content-centered .overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-content-centered h1 {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.hero-content-centered .text-white {
    color: #fff;
}

.hero-content-centered .text-accent {
    color: var(--color-accent);
}

/* ===================================
   Legal Content (Impressum, Datenschutz)
   =================================== */
.legal-content {
    max-width: 800px;
    padding: 4rem 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0 0 0.5rem;
}

.legal-section .company-name {
    font-weight: 600;
    color: #1a1a1a;
}

/* ===================================
   Contact Page Grid
   =================================== */
.contact-grid-dark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.contact-info-block h2,
.contact-cta-block h2 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
}

.contact-info-block .company-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-info-block p {
    color: #4a4a4a;
    margin: 0 0 0.25rem;
}

.contact-links {
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-link .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.contact-cta-block p {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ===================================
   Downloads Page
   =================================== */
.download-category {
    margin-bottom: 3rem;
}

.download-category h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.download-card:hover {
    background: var(--color-accent);
    color: #fff;
}

.download-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--color-accent);
}

.download-card:hover .material-symbols-outlined {
    color: #fff;
}

.download-info {
    flex: 1;
}

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

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

.download-card:hover .download-size {
    color: rgba(255,255,255,0.7);
}

/* ===================================
   Responsive for new layouts
   =================================== */
@media (max-width: 768px) {
    .contact-grid-dark {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .legal-content {
        padding: 2rem 1rem;
    }
    
    .hero-centered-dark {
        padding: 10rem 1.5rem 4rem;
    }
    
    .hero-centered-dark.hero-compact {
        padding: 8rem 1.5rem 3rem;
        min-height: 30vh;
    }
}
