:root {
    /* Colors */
    --background-light: #F2F2F7;
    --nav-background: rgba(245, 245, 247, .8);
    --nav-color: rgba(0, 0, 0, .8);
    --nav-hover-color: #000000;
    
    --linkt-color: #06c;
    --text-color: #06c;

    --feature-background-color: #0071e3;

    --text-secondary: #86868B;
    --border-color: rgba(0, 0, 0, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --button-shadow: rgba(0, 113, 227, 0.3);
    --card-background: #ffffff;
    --text-primary: #1d1d1f;
    --footer-background: #f5f5f7;
    --footer-textColor: #515154;
    --footer-textColor-hover: #1d1d1f;

    /* Font Sizes */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-base: 16px;
    --font-lg: 20px;
    --font-xl: 22px;
    --font-2xl: 24px;

    /* Line Heights */
    --line-height-large: 170%;

    /* Andere */
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

    /* Font-Family Variablen */
    --font-family-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont, 
        "Helvetica Neue", Arial, sans-serif;
    --font-family-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, 
        "Helvetica Neue", Arial, sans-serif;

    /* Bento Box Variablen */
    --mx-pro-blue: #2997ff;
    --mx-max-purple: #a972ff;
    --mx-teal: #43b9b9;
    --ai-gradient: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

.devices-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.ipad-center {
    width: 950px;
    animation-delay: 0s;
    z-index: 1;
}

.device-frame {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.hero-text {
    text-align: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-text h1 {
    font-family: var(--font-family-heading);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.subtitle {
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

@keyframes gradientMove {
    0% {
        background-position: 100% 50%;
        opacity: 0.5;
    }
    40% {
        background-position: 0% 50%;
        opacity: 1;
    }
    70% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ipad-center {
        width: 650px;
    }
}

@media (max-width: 992px) {
    .devices-container {
        height: 450px;
    }
    .ipad-center {
        width: 500px;
    }
    .hero-text {
        text-align: left;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .devices-container {
        height: 350px;
    }
    .ipad-center {
        width: 320px;
    }
    .hero-text {
        text-align: left;
        padding: 0 20px;
    }
    .hero-text h1 {
        font-size: 42px;
    }
    .subtitle {
        font-size: 18px;
    }
}

/* Questions Slider Styles */
.questions-slider {
    padding: 40px 0;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.slider-track {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 398px;
    flex: 0 0 auto;
}

.slide:first-child {
    margin-left: 0;
}

.question-card {
    background-color: #f5f5f7;
    border-radius: 18px;
    width: 398px;
    height: 512px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.question-card h2 {
    color: #1d1d1f;
    font-family: var(--font-family-heading);
    font-size: 44px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
    margin: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-content p {
    color: #1d1d1f;
    font-family: var(--font-family-heading);
    font-size: 64px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    margin: 0;
}

.hover-content .gradient-text {
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.question-card:hover h2 {
    transform: translateY(-20px);
    opacity: 0;
}

.question-card:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.play-button {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-color: rgba(210, 210, 215, 0.64);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: width 0.3s ease;
    overflow: hidden;
}

.play-button.playing {
    width: 100px;
    justify-content: flex-start;
    padding-left: 15px;
    background-color: rgba(210, 210, 215, 0.64);
}

.play-button.playing::after {
    content: none;
}

.play-button.playing .progress-bar {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translateY(-50%);
    height: 8px;
    width: 40px;
    background-color: rgba(29, 29, 31, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.play-button.playing .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(29, 29, 31, 0.8);
    animation: progressAnim 5s linear;
    animation-fill-mode: forwards;
    border-radius: 4px;
    animation-play-state: running;
    transform: translateZ(0);
}

@keyframes progressAnim {
    0% { width: 0; }
    100% { width: 100%; }
}

.play-button i {
    z-index: 2;
    position: relative;
    color: #1d1d1f;
    font-size: 18px;
}

.play-button.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.slider-navigation {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 40px;
}

.slider-prev,
.slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(210, 210, 215, 0.64);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev.disabled,
.slider-next.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.slider-prev i,
.slider-next i {
    color: #1d1d1f;
    font-size: 18px;
}

.slider-prev:not(.disabled):hover,
.slider-next:not(.disabled):hover {
    background-color: rgba(210, 210, 215, 0.8);
}

@media (max-width: 1068px) {
    .slider-container {
        padding: 0 20px;
    }
    
    .slide {
        min-width: 340px;
    }
    
    .question-card {
        width: 340px;
        height: 436px;
    }
    
    .question-card h2 {
        font-size: 36px;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
}

@media (max-width: 734px) {
    .slider-container {
        padding: 0 20px;
    }
    
    .slide {
        min-width: 240px;
    }
    
    .question-card {
        width: 240px;
        height: 300px;
        padding: 20px;
        border-radius: 18px;
    }
    
    .question-card h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hover-content p {
        font-size: 36px;
        line-height: 1.1;
    }
    
    .slider-controls {
        padding: 0 20px;
    }
}

/* Feature Section Styles */
.feature-section {
    padding: 120px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(245, 245, 247);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
    max-width: 980px;
    width: 100%;
}

.section-heading h2 {
    font-family: var(--font-family-heading);
    font-size: 80px;
    line-height: 1.05;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.content-slider {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.content-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 980px;
    position: relative;
    margin: 0 auto;
}

.content-slide {
    min-width: 980px;
    flex: 0 0 auto;
    opacity: 1;
    pointer-events: auto;
    transform: scale(0.8);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-slide.active {
    transform: scale(1);
}

.content-card {
    width: 980px;
    height: 620px;
    background-color: #fff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.expand-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(210, 210, 215, 0.64);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.expand-button i {
    color: #fff;
    font-size: 18px;
}



.expand-button {
    background-color: #1d1d1f;
}

.expand-button:hover {
    background-color: #000;
}

.content-card.white-bg {
    background-color: #fff;
}

.content-card.white-bg .card-text h2 {
    color: #1d1d1f;
}

.card-text {
    padding: 48px 48px 0;
    z-index: 2;
}

.card-text h2 {
    color: #1d1d1f;
    font-family: var(--font-family-heading);
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
}

.heart-icon {
    font-style: normal;
    vertical-align: -0.05em;
}

.device-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 60%;
    max-width: 500px;
    z-index: 1;
}

.device-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 980px;
    padding: 20px 0;
    position: relative;
}

/* Container für die Buttons und die Linie */
.card-navigation .nav-buttons-container {
    display: flex;
    gap: 20px;
    position: relative;
    margin-left: 120px;
}

/* Play-Button in der card-navigation */
.card-navigation .play-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Durchgehende graue Linie */
.card-navigation .nav-buttons-container::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.16);
}

.nav-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.nav-button span {
    color: rgba(0, 0, 0, 0.6);
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Schwarze aktive Linie */
.nav-button::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.nav-button:hover span {
    color: #000;
}

.nav-button.active span {
    color: #000;
}

.nav-button.active::after {
    transform: scaleX(1);
}

/* Responsive Design für Feature Section */
@media (max-width: 1068px) {
    .feature-section {
        padding: 80px 20px 40px;
    }

    .section-heading {
        max-width: 692px;
    }

    .section-heading h2 {
        font-size: 64px;
        font-weight: 800;
    }

    .content-slider {
        padding: 0;
    }

    .content-slider-track {
        padding: 0 20px;
    }

    .content-slider-track {
        width: 692px;
    }

    .content-slide {
        min-width: 692px;
        transform: scale(0.8);
    }

    .content-slide.active {
        transform: scale(1);
    }

    .content-card {
        width: 692px;
        height: 438px;
    }

    .card-text {
        padding: 36px 36px 0;
    }

    .card-text h2 {
        font-size: 40px;
    }

    .card-navigation {
        max-width: 692px;
        gap: 15px;
        padding: 15px 0;
    }
    
    .card-navigation .nav-buttons-container {
        margin-left: 80px;
    }

    .nav-button span {
        font-size: 14px;
    }
}

@media (max-width: 734px) {
    .feature-section {
        padding: 60px 0 40px;
    }

    .section-heading {
        padding: 0 20px;
    }

    .section-heading h2 {
        font-size: 40px;
        font-weight: 800;
    }

    .second-info-section .section-heading h2 {
        text-align: left;
        font-size: 40px !important;
        font-weight: 800;
    }

    .content-slider {
        padding: 0;
        overflow: hidden;
        width: 100%;
    }

    .content-slider-track,
    .second-slider-track {
        display: flex;
        padding: 0 20px 0 20px;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .content-slider-track::-webkit-scrollbar,
    .second-slider-track::-webkit-scrollbar {
        display: none;
    }

    .content-slide {
        min-width: 300px;
        flex-shrink: 0;
        transform: scale(1);
        scroll-snap-align: start;
    }

    .content-slide.active {
        transform: scale(1);
    }

    .content-card {
        width: 300px;
        height: 416px;
        margin: 0;
    }

    .card-text {
        padding: 24px 20px 0;
    }

    .card-text h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .device-image {
        width: 50%;
        max-width: 180px;
    }

    .expand-button {
        width: 32px;
        height: 32px;
        bottom: 16px;
        right: 16px;
    }

    .expand-button i {
        font-size: 14px;
    }

    .card-navigation,
    .card-navigation.second-navigation {
        display: none;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #000;
    border-radius: 18px;
    width: 90%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: sticky;
    top: 20px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 1000;
    align-self: flex-end;
    margin: 20px 20px 0 auto;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-close i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.modal-icon i {
    color: #4facfe;
}

.modal-header h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.modal-body h2 {
    font-size: 24px;
    line-height: 1.08349;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}

/* Modal Content Padding (da wir padding vom modal-content entfernt haben) */
.modal-header,
.modal-body:not(.reverse-layout):not(.privacy-content) {
    padding-left: 40px;
    padding-right: 40px;
}

.modal-body {
    padding-bottom: 40px;
}

.modal-body p {
    font-size: 19px;
    line-height: 1.381;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-weight: 600;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-item h4 {
    font-size: 19px;
    line-height: 1.16667;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: flex;
}

.feature-item h4::after {
    content: attr(data-gray-text);
    color: rgba(255, 255, 255, 0.6);
    margin-left: 6px;
    font-weight: 600;
}

.feature-item p {
    display: none;
}

.modal-image {
    width: 100%;
    margin-top: 40px;
}

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

@media (max-width: 734px) {
    .modal-header,
    .modal-body:not(.reverse-layout):not(.privacy-content) {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .modal-body {
        padding-bottom: 24px !important;
    }

    .modal-body h2 {
        font-size: 32px;
    }

    .modal-body p {
        font-size: 21px;
    }

    .feature-item {
        margin-bottom: 24px;
    }

    .feature-item h4 {
        font-size: 21px;
        display: block;
        margin-bottom: 8px;
    }

    .feature-item h4::after {
        content: attr(data-gray-text);
        color: rgba(255, 255, 255, 0.6);
        margin-left: 0;
        font-weight: 600;
        display: block;
        margin-top: 4px;
    }

    .feature-item p {
        font-size: 21px;
    }
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(0, 113, 227);
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    margin: 20px 0;
    border-bottom: 2px solid transparent;
}

.modal-link:hover {
    border-bottom-color: rgb(0, 118, 223);
}

.modal-link i {
    font-size: 16px;
}

/* Second Info Section Styles */
.second-info-section {
    background-color: rgb(245, 245, 247);
}

.second-info-section .section-heading h2 {
    color: #1d1d1f;
    font-weight: 800;
    font-size: 80px;
}

.second-slider {
    margin-top: 40px;
}

.second-slider-track {
    width: 980px;
}

/* Zweite Sektion Card-Texte */
.second-slider .card-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Erste Karte - Text oben */
.second-slider .content-slide:nth-child(1) .card-text {
    justify-content: flex-start;
    top: 48px;
}

/* Zweite Karte - Text zentriert */
.second-slider .content-slide:nth-child(2) .card-text {
    justify-content: center;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Zweite Karte - Gradient Border Design */
.second-slider .content-slide:nth-child(2) .content-card {
    position: relative;
    border-radius: 30px;
    background-color: #fff;
    overflow: hidden;
}

/* Bento Box Styles */
.bento {
    align-content: center;
    justify-items: center;
    background: #000;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: white;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-intelligence-glow {
    --igradient: linear-gradient(
        to bottom right,
        #00f2fe 0%,
        #4facfe 34%,
        #2a5298 68%,
        #1e3c72 100%
    );
    position: absolute;
    z-index: 0;
    inset: 0;
    border: 0;
    filter: blur(1px);
}

.apple-intelligence-glow::after {
    --bg-size: calc(100% + 14px);
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: var(--igradient) 50% / var(--bg-size) var(--bg-size);
    border-radius: 28px;
    border: 3px solid rgba(0, 0, 0, 0);
    mask: linear-gradient(hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0)),
        linear-gradient(hsl(0, 0%, 100%), hsl(0, 0%, 100%));
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
}

.apple-intelligence-glow.apple-intelligence-glow-2 {
    filter: blur(7px);
}

.apple-intelligence-glow.apple-intelligence-glow-2::after {
    border: 8px solid rgba(0, 0, 0, 0);
}

.apple-intelligence-content-item-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.bento-copy {
    font-family: var(--font-family-heading);
    font-size: 48px;
    line-height: 1.1;
    font-weight: 600;
    margin: 0;
}

.ai-gradient-text {
    background: #f5f5f7;
    background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: var(--ai-gradient);
}

/* Responsive Design für Bento Box */
@media (max-width: 1068px) {
    .bento-copy {
        font-size: 40px;
    }
}

@media (max-width: 734px) {
    .bento-copy {
        font-size: 22px;
        line-height: 1.1;
    }
    
    .bento {
        padding: 20px 16px;
    }
    
    .doc-intelligence-link {
        font-size: 17px !important;
        margin-top: 16px;
    }
}



.second-slider .card-text h2 {
    text-align: center;
}

/* Spezielle Karte mit Schloss-Icon */
.lock-icon-card .card-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 700px;
    padding: 0;
}

.lock-icon-card .card-text h2 {
    text-align: left;
    font-size: 56px;
}

.lock-icon-card .lock-icon {
    font-size: 64px;
    margin-right: 30px;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Responsive Anpassungen für das Schloss-Icon */
@media (max-width: 1068px) {
    .lock-icon-card .card-text h2 {
        font-size: 48px;
    }
    
    .lock-icon-card .lock-icon {
        font-size: 54px;
        margin-right: 24px;
    }
}

@media (max-width: 734px) {
    .lock-icon-card .card-text h2 {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .lock-icon-card .lock-icon {
        font-size: 32px;
        margin-right: 16px;
    }
    
    .lock-icon-card .card-text {
        width: 95%;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Second Navigation Styles */
.second-nav-buttons-container {
    display: flex;
    gap: 20px;
    position: relative;
}

.second-nav-buttons-container::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.16);
}

.second-nav-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.second-nav-button span {
    color: rgba(0, 0, 0, 0.6);
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    transition: color 0.3s ease;
}

.second-nav-button::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.second-nav-button:hover span {
    color: #000;
}

.second-nav-button.active span {
    color: #000;
}

.second-nav-button.active::after {
    transform: scaleX(1);
}

/* Reverse Layout Modal Styles */
.modal-body.reverse-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.modal-body.reverse-layout .modal-image {
    flex: 1;
    position: static;
    transform: none;
    margin-top: 0;
}

.modal-body.reverse-layout .modal-content-right {
    flex: 1;
}

.modal-body.reverse-layout .modal-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 734px) {
    .modal-body.reverse-layout {
        flex-direction: column;
        gap: 24px;
    }

    .modal-body.reverse-layout .modal-image {
        margin-top: 0;
    }
}

/* Privacy Modal Styles */
.privacy-modal {
    background-color: #000;
    color: #fff;
    max-width: 1000px;
    padding: 0;
}

.privacy-modal .modal-header,
.privacy-modal .modal-body {
    padding-left: 50px;
    padding-right: 50px;
}

.privacy-modal .modal-body {
    padding-bottom: 50px;
}

.privacy-modal .modal-header {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.privacy-modal .modal-header h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-content {
    padding: 0;
}

.privacy-icon {
    text-align: center;
    margin: 20px 0 30px;
}

.privacy-icon i {
    font-size: 56px;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-content h2 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: 0.007em;
    margin-bottom: 15px;
    color: #fff;
}

.privacy-content p {
    font-size: 19px;
    line-height: 1.47059;
    font-weight: 600;
    letter-spacing: -0.022em;
    margin-bottom: 20px;
    color: rgb(134, 134, 139);
}

/* Spezieller Stil für den Einleitungstext */
.privacy-content > p:first-of-type {
    font-size: 24px;
    line-height: 1.33341;
}

.privacy-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.privacy-section h3 {
    font-size: 19px;
    line-height: 1.21053;
    font-weight: 600;
    letter-spacing: 0.012em;
    color: #fff;
    margin-bottom: 10px;
}

.privacy-section p {
    margin-bottom: 0;
    font-size: 19px;
    font-weight: 600;
    color: rgb(134, 134, 139);
}

@media (max-width: 734px) {
    .privacy-modal .modal-header,
    .privacy-modal .modal-body {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .privacy-modal .modal-body {
        padding-bottom: 30px !important;
    }
    
    .privacy-content h2 {
        font-size: 24px;
    }
    
    .privacy-content > p:first-of-type {
        font-size: 21px;
    }
    
    .privacy-section h3 {
        font-size: 21px;
    }
    
    .privacy-section p {
        font-size: 21px;
        font-weight: 600;
    }
}

/* Performance Modal Styles */
.performance-modal {
    background-color: #000 !important;
    color: #fff;
    max-width: 1000px;
    padding: 0;
}

.performance-modal .modal-header,
.performance-modal .modal-body {
    padding-left: 50px;
    padding-right: 50px;
}

.performance-modal .modal-body {
    padding-bottom: 50px;
}

.performance-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.performance-modal .modal-icon i {
    color: #4facfe;
    font-size: 32px;
}

.performance-modal .modal-header h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.performance-modal .modal-body h2 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: 0.007em;
    margin-bottom: 15px;
    color: #fff;
}

.performance-modal .modal-body p {
    font-size: 19px;
    line-height: 1.47059;
    font-weight: 600;
    letter-spacing: -0.022em;
    margin-bottom: 40px;
    color: rgb(134, 134, 139);
}

.performance-charts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.performance-chart {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chart-section {
    margin-bottom: 40px;
}

.chart-section:last-child {
    margin-bottom: 0;
}

.chart-title {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.chart-title sup {
    font-size: 12px;
    color: #86868b;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: auto;
}

.bar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.chart-bar.baseline .bar-row {
    grid-template-columns: 1fr;
}

.bar-label {
    font-size: 14px;
    line-height: 1.42857;
    font-weight: 400;
    color: #1d1d1f;
    margin-top: 4px;
}

.bar-visual {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

.inklory-bar {
    background: linear-gradient(90deg, #00d4aa, #4facfe, #00f2fe);
}

.baseline-bar {
    background: rgba(0, 0, 0, 0.2);
}

.bar-value {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    color: #00f2fe;
    text-align: right;
    min-width: 60px;
}

/* Animation on modal open */
.performance-modal.animate-bars .bar-fill {
    width: var(--target-width) !important;
}

/* Performance Footnotes */
.performance-footnotes {
    margin-top: 24px;
}

.performance-footnotes p {
    font-size: 12px !important;
    line-height: 1.33337;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
}

.performance-footnotes p:last-child {
    margin-bottom: 0 !important;
}

.performance-footnotes sup {
    font-size: 10px;
}

/* Responsive Design für Performance Modal */
@media (max-width: 734px) {
    .performance-modal .modal-header,
    .performance-modal .modal-body {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .performance-modal .modal-body {
        padding-bottom: 30px !important;
    }
    
    .performance-modal .modal-body h2 {
        font-size: 24px;
    }
    
    .performance-modal .modal-body p {
        font-size: 17px;
    }
    
    .performance-chart {
        padding: 24px;
    }
    
    .bar-visual {
        width: 100%;
    }
    
    .bar-row {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }
    
    .chart-bar.baseline .bar-row {
        grid-template-columns: 1fr;
    }
    
    .chart-section {
        margin-bottom: 32px;
    }
    
    .bar-value {
        text-align: left;
        margin-top: 8px;
    }
}

.second-slider .content-slide:nth-child(2) .card-text {
    justify-content: center;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.second-slider .content-slide:nth-child(2) .card-text h2 {
    color: #1d1d1f;
    font-size: 64px;
    text-shadow: none;
    font-weight: 800;
}

.doc-intelligence-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-size: 21px;
    font-weight: 600;
    margin-top: 20px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.doc-intelligence-link:hover {
    border-bottom-color: #4facfe;
}

.doc-intelligence-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.doc-intelligence-link:hover i {
    transform: translateX(4px);
}

.second-slider .content-slide:nth-child(2) .expand-button {
    display: none;
}

.bento .doc-intelligence-link {
    color: #fff;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento .doc-intelligence-link i {
    color: #fff;
    background: linear-gradient(108deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hidden Costs Card Styles */
.hidden-costs-card {
    background: linear-gradient(135deg, #00f2fe, #4facfe 34%, #2a5298 68%, #1e3c72) !important;
    position: relative;
    overflow: hidden;
}

.hidden-costs-card .centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    padding: 0;
}

.hidden-costs-card .centered-text h2 {
    color: #ffffff !important;
}

.hidden-costs-card .gradient-text {
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.blur-reveal-text {
    filter: blur(8px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.content-slide.active .blur-reveal-text,
.blur-reveal-text.mobile-active {
    animation: revealText 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes revealText {
    0% {
        filter: blur(8px);
        opacity: 0.7;
        transform: scale(0.95);
    }
    50% {
        filter: blur(4px);
        opacity: 0.85;
        transform: scale(0.98);
    }
    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Anpassungen für Hidden Costs Card */
@media (max-width: 1068px) {
    .hidden-costs-card .centered-text {
        width: 85%;
    }
}

@media (max-width: 734px) {
    .hidden-costs-card .centered-text {
        width: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .hidden-costs-card .centered-text h2 {
        font-size: 20px;
        line-height: 1.2;
    }
}

/* Extra kleine Mobile Geräte (iPhone SE, etc.) */
@media (max-width: 375px) {
    .speed-card .card-text h2 {
        font-size: 18px;
    }
    
    .bento-copy {
        font-size: 20px;
    }
    
    .lock-icon-card .card-text h2 {
        font-size: 20px;
    }
    
    .card-text h2 {
        font-size: 22px;
    }
    
    .hidden-costs-card .centered-text h2 {
        font-size: 18px;
    }
}

/* Speed Card Styles */
.speed-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.speed-lines::before,
.speed-lines::after {
    content: '';
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe, #4facfe, transparent);
    animation: speedLine 1.5s ease-in-out infinite;
}

.speed-lines::before {
    top: 30%;
    width: 300px;
    animation-delay: 0s;
}

.speed-lines::after {
    top: 70%;
    width: 250px;
    animation-delay: 0.3s;
}

@keyframes speedLine {
    0% {
        left: -300px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.speed-card .card-text {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    width: 90%;
    z-index: 2;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.speed-card .card-text h2 {
    color: #ffffff !important;
    font-weight: 700;
    white-space: nowrap;
    overflow: visible;
}

.typing-text {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.typed-text {
    display: inline;
    border-right: 3px solid #00f2fe;
    animation: blink 1s infinite;
}

.explosion-emoji {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
    animation: explode 0.6s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes blink {
    0%, 50% { border-color: #00f2fe; }
    51%, 100% { border-color: transparent; }
}

@keyframes explode {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Responsive Anpassungen für Speed Card */
@media (max-width: 1068px) {
    .speed-lines::before,
    .speed-lines::after {
        height: 1.5px;
    }
    
    .speed-lines::before {
        width: 250px;
    }
    
    .speed-lines::after {
        width: 200px;
    }
}

@media (max-width: 734px) {
    .speed-card .card-text h2 {
        font-size: 20px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }
    
    .speed-lines::before,
    .speed-lines::after {
        height: 1px;
    }
    
    .speed-lines::before {
        width: 200px;
    }
    
    .speed-lines::after {
        width: 150px;
    }
}



