/* ========================================
   BARRIEREFREIE LANDINGPAGE - STYLES
   ======================================== */

/* root */
:root{
    --background: #f2f6fa; /* rgb(242, 246, 250) */
    --lightblue: #cfe0f9; /* rgb(207, 224, 249) */
    --lightgrey: #edf3fd;
    --bluegrey: #b9cade;
    --grey: #aab6c3;
    --bodytext: #030a11;
    --deepblue: #071322; /* rgb(7, 19, 34) */
    --darkblue: #103156; /* rgb(16, 49, 86) */
    --blue: #1c5494; /* rgb(28, 84, 148) */
    --darkorange: #cc4700;
    --orange: #e75a10;
    --lightorange: #f38b53;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--bodytext);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link für Barrierefreiheit */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--darkorange);
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--deepblue);
    outline-offset: 2px;
}

.skip-link:focus:hover{
    background: var(--lightblue);
    color: var(--bodytext);
}

header{
    margin: 0;
    padding: .5rem 0;
    background: linear-gradient(to bottom, var(--deepblue) 0%, var(--darkblue) 100%);
    border-bottom: 1px solid var(--blue);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.nav--list{
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav--list > li > a{
    color: var(--bluegrey);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: .25rem .5rem;
    border: 1px solid rgba(185, 202, 222, .5);
    border-radius: 50px;
    background-color: rgba(3, 10, 17, .5);
}

@media (min-width: 768px){
    .nav--list > li > a{
        font-size: 1.1rem;
        padding: .35rem .75rem;
    }
}

.nav--list > li > a:hover{
    color: var(--bodytext);
    font-weight: 700;
    _text-decoration: underline;
    background-color:rgba(237, 243, 253, .75);
    border-color: #fff;
}

main{
    padding-top: 5rem;
}

/* Container */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

header > .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    header > .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    main{
        padding-top: 2.75rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--deepblue) 0%, var(--darkblue) 50%, var(--blue) 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.hero-cols--logo > img{
    width: 40%;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 80px 0;
        background-image: url('img/barriereFREIHEITdigital_bg_dark.png'), linear-gradient(135deg, var(--deepblue) 0%, var(--darkblue) 50%, var(--blue) 100%);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
    }

    .hero-cols{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1.5rem;
    }

    .hero-cols--logo{
        order: 2;
    }

    .hero-cols--logo > img {
        width: 100%;
        max-width: 100%;
    }

    .hero-cols--text{
        text-align: left;
    }
}

@media (min-width: 1024px){
    .hero-cols{
        grid-template-columns: 3fr 1fr;
    }
}

.headline {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .headline {
        font-size: 2.75rem;
    }
}

.subheadline {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 32px;
    color: var(--lightblue);
}

@media (min-width: 768px) {
    .subheadline {
        font-size: 1.65rem;
    }
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: left;
    color: var(--background);
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 1.25rem;
    }
}

/* Benefits List */
.benefits-list {
    list-style: none;
    text-align: left;
    margin: 40px 0;
    padding: 0;
}

.benefits-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    _padding-left: 32px;
    padding: 3px 10px 3px 50px;
    margin-bottom: 16px;
    position: relative;
    color: var(--lightgrey);
    border: 1px solid rgba(237, 243, 253, .5);
    border-radius: 50px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 15px;
    color: var(--lightorange);
    font-weight: 700;
    font-size: 1.5rem;
    height: fit-content;
}

@media (min-width: 768px) {
    .benefits-list li {
        font-size: 1.25rem;
    }
}

/* CTA Button */
.cta-container {
    margin: 48px 0 24px;
}

@media (min-width: 1024px){
    .cta-container{
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }
}

.cta-button {
    display: inline-block;
    width: 100%;
    background-color: var(--orange);
    background: linear-gradient(90deg, var(--darkorange) 0%, var(--orange) 100%);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 24px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(231, 90, 16, 0.3);
    border: 3px solid var(--darkorange);
    margin-bottom: 1rem;
}

.cta-button.blue{
    background-color: var(--blue);
    background: linear-gradient(90deg, var(--blue) 0%, var(--darkblue) 100%);
    border: 3px solid var(--blue);
    box-shadow: 0 4px 12px rgba(16, 49, 86, 0.5);
}

.cta-button:hover {
    background-color: var(--orange);
    background: linear-gradient(90deg, var(--orange) 0%, var(--lightorange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 90, 16, 0.4);
    border: 3px solid var(--lightorange);
}

.cta-button.blue:hover{
    background-color: var(--darkblue);
    background: linear-gradient(90deg, var(--darkblue) 10%, var(--blue) 100%);
    border: 3px solid rgba(185, 202, 222, .5);
    color: var(--background);
    transform: translateY(2px);
    box-shadow: 0 6px 20px rgba(237, 243, 253, .15);
}

.cta-button:focus {
    outline: 3px solid #f38b53;
    outline-offset: 4px;
    background-color: #cc4700;
}

.cta-button:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .cta-button {
        font-size: 1.375rem;
        padding: 20px 60px;
    }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    background-color: #ffffff;
    padding: 60px 0;
}

@media (min-width: 768px) {
    .how-it-works {
        padding: 80px 0;
        background-image: url('img/barriereFREIHEITdigital_bg_light.png'), linear-gradient(to bottom right, #ffffff 0%, var(--background) 100%);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
    }
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--darkblue);
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
    }
}

/* Steps List */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: 32px;
}

.steps-list li {
    counter-increment: step-counter;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 24px;
    _background-color: #f2f6fa;
    background: linear-gradient(to right, var(--background) 0%, var(--lightgrey) 100%);
    border: 1px solid var(--lightblue);
    border-left: 5px solid #1c5494;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .steps-list li {
        font-size: 1.25rem;
        padding: 28px 32px;
        display: flex;
        flex-direction: row;
    }
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    background: radial-gradient(var(--blue) 50%, var(--darkblue) 100%);
    color: #ffffff;
    border: 2px solid var(--deepblue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-text {
    flex: 1;
    color: var(--bodytext);
    font-size: 1.5rem;
    text-align: center;
}

@media (min-width: 768px){
    .step-text{
        text-align: left;
    }
}

.duration {
    font-size: 1.125rem;
    text-align: center;
    color: #103156;
    margin-top: 24px;
}

.duration strong {
    color: #e75a10;
}

@media (min-width: 768px) {
    .duration {
        font-size: 1.25rem;
    }
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    background: linear-gradient(135deg, var(--lightgrey) 0%, var(--lightblue) 100%);
    padding: 60px 0;
}

@media (min-width: 768px) {
    .trust-section {
        padding: 80px 0;
    }
}

.expert-card {
    background-color: #ffffff;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 49, 86, 0.1);
    text-align: center;
    border-top: 4px solid var(--orange);
}

@media (min-width: 768px) {
    .expert-card {
        padding: 48px 56px;
    }
}

.expert-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .expert-name {
        font-size: 2.25rem;
    }
}

.expert-title {
    font-size: 1.125rem;
    color: var(--blue);
    margin-bottom: 24px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .expert-title {
        font-size: 1.5rem;
    }
}

.expert-speaking {
    font-size: 1.2rem;
    color: var(--deepblue);
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .expert-speaking {
        font-size: 1.35rem;
    }
}

.expert-speaking strong {
    color: var(--darkblue);
}

.expert-speaking > span{
    color: var(--darkorange);
    font-size: 1.75rem;
}

/* Trust Badges */
.trust-badges {
    _display: flex;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    _justify-content: center;
    _flex-wrap: wrap;
    margin-top: 24px;
}

@media (min-width: 768px){
    .trust-badges{
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trust-badges > img:last-of-type{
        margin-block: -25px;
    }
}

@media (min-width: 1024px){
    .trust-badges{ 
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .trust-badges > a{
        grid-column: span 2;
    }    
}
/*
@media (min-width: 1024px){
    .trust-badges{
        width: 85%;
        margin: 24px auto auto auto;
    }
}
*/
.trust-badges img{
    width: 100%;
    max-width: 100%;
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--background);
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid var(--bluegrey);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    _background-color: var(--deepblue);
    background: linear-gradient(to bottom, var(--darkblue) 0%, var(--deepblue) 50%, var(--bodytext) 100%);
    border-top: 3px solid var(--orange);
    color: var(--background);
    padding: 32px 0;
    text-align: center;
}

.footer-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--background);
}

.footer-text > span{
    color: var(--orange);
}

.brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand > .logo{
    width: 65px;
    height: 65px;
}

.brand > .logo > img, 
.brand > .logo > a > img {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .footer-text {
        font-size: 1.5rem;
    }

    .kontakt{
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-block: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Fokus-Indikatoren für alle interaktiven Elemente */
a:focus,
button:focus {
    outline: 3px solid #e75a10;
    outline-offset: 3px;
}

/* Animationen respektieren prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Kontrast für Links im Text */
a {
    color: #1c5494;
    text-decoration: underline;
}

a:hover {
    color: #103156;
}

.kontakt > h3 > a{
    color: var(--background);
    text-decoration: none;
}

.kontakt > h3 > a:hover{
    color: var(--lightblue);
    text-decoration: underline;
}

footer > .container > nav#compliance{
    padding: 1rem 0;
    border-top:1px solid rgba(237, 243, 253, .75);
}

footer > .container > nav#compliance > ul{
    list-style-type: none;
}

footer > .container > nav#compliance > ul > li > a{
    color: var(--background);
    text-decoration: none;
    font-size: 1.2rem;
}

footer > .container > nav#compliance > ul > li > a:hover{
    color: var(--lightblue);
    text-decoration: underline;
    font-weight: 600;
}

@media (min-width:768px){
    footer > .container > nav#compliance > ul{
        display: flex;
        justify-content: space-between;
    }
}

/* Print Styles */
@media print {
    .skip-link {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .cta-button {
        border: 2px solid black;
    }
}
/*
div{
    background: linear-gradient(90deg, light-dark(rgba(242, 246, 250, .5), rgba(7, 19, 34, .5)) 0%, light-dark(rgba(207, 224, 249, .5), rgba(28, 84, 148, .5)) 100%)
}
*/