/* Font-Definition für Roboto wie bei DigiStore24 */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

:root {
    --ds-blue: #0064de;
    --ds-blue-dark: #004699;
    --ds-orange: #ff9900;
    --ds-orange-hover: #e68a00;
    --ds-green: #25b195;
    --ds-text-dark: #333333;
    --ds-text-light: #ffffff;
    --ds-text-gray: #555555;
    --ds-border-radius: 4px;
    --ds-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body,
html {
    font-family: "Roboto", sans-serif;
    color: var(--ds-text-dark);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    background-color: #f5f8fb;
}

.bg {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--ds-blue), var(--ds-blue-dark));
    background-size: 400% 400%;
    position: absolute;
    z-index: -1;
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
@keyframes gradient {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.head .logo {
    width: 180px;
}
.head {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--ds-blue), var(--ds-blue-dark));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.head.prices {
    /* Anstatt eines festen Farbwerts verwenden wir den gleichen Farbverlauf */
    background: linear-gradient(135deg, var(--ds-blue), var(--ds-blue-dark));
    background-size: cover;
    background-position: center bottom;
}
.head.prices .text {
    padding-top: 100px;
    padding-bottom: 600px;
}
.head.prices .text h2 {
    font-size: 40px;
    margin: 0;
}
.head.prices .text .darkblue {
    color: #30305a;
    font-weight: bold;
}
.head.prices .text .lightwhite {
    font-weight: lighter;
    color: #fff;
}
.head.prices .text .btn-custom {
    margin-top: 25px;
}
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--ds-text-light);
    font-weight: 500;
    padding: 0 15px;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.2px;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Button Styles im DigiStore24-Stil */
.btn-blue,
.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
    padding: 12px 28px;
    background: var(--ds-orange);
    border-radius: var(--ds-border-radius);
    font-weight: 600;
    transition: all 0.25s ease;
    color: var(--ds-text-light);
    text-decoration: none;
    border: none;
}
.btn-blue:hover {
    background: var(--ds-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-grey,
.btn-grey:hover,
.btn-grey:focus,
.btn-grey:active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background: #ff9900;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 50px;
    margin-top: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-grey:hover {
    background: #e68a00;
    transform: translateY(-2px);
}
.btn-round,
.btn-round:hover,
.btn-round:focus,
.btn-round:active {
    border-radius: 25px;
    padding: 15px 50px;
}

.section {
    padding: 70px 0;
}
.start {
    background: linear-gradient(135deg, var(--ds-blue), var(--ds-blue-dark));
    padding-top: 50px;
    color: var(--ds-text-light);
}
.start h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--ds-text-light);
    letter-spacing: -0.5px;
}
.start span {
    color: var(--ds-text-light);
    font-size: 16px;
    font-weight: 400;
}
.start a {
    color: var(--ds-orange);
    font-weight: bold;
    text-decoration: none;
}
.start .btn-custom {
    margin-right: 15px;
}
.start img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}
.start p {
    color: var(--ds-text-light);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

a.btn-custom,
a.btn-custom:hover,
a.btn-custom:focus,
a.btn-custom:hover {
    background: var(--ds-orange);
    color: var(--ds-text-light);
    border-radius: var(--ds-border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 15px;
}
a.btn-custom:hover {
    background: var(--ds-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--ds-text-light);
}

.opti {
    background: #ffffff;
    padding: 70px 0;
}
.opti h2 {
    color: var(--ds-text-dark);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}
.opti p {
    margin-bottom: 30px;
    color: var(--ds-text-gray);
    line-height: 1.6;
}
.opti .box {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--ds-box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.opti .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.opti .box img {
    width: 100%;
    margin-left: 0;
}

.orange {
    color: var(--ds-orange);
}

.title {
    width: 65%;
    margin: 0 auto 60px;
    text-align: center;
}
.title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--ds-text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.title p {
    color: var(--ds-text-gray);
    line-height: 1.6;
    font-size: 17px;
}

.easy {
    background: #f5f8fb;
    padding: 70px 0;
}
.easy .imgbox {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.easy .imgbox:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}
.easy .imgbox img {
    width: 100%;
}
.easy .imgtext {
    padding: 25px 5px;
}
.easy .imgtext h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ds-text-dark);
}
.easy .imgtext .orange {
    font-weight: bold;
}

/* Bessere Lesbarkeit für Text */
p.lh-huge {
    line-height: 1.7;
    color: inherit;
}

.banner {
    background: linear-gradient(135deg, var(--ds-blue), var(--ds-blue-dark));
    color: var(--ds-text-light);
    padding: 60px 0;
    text-align: center;
}
.banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--ds-text-light);
    letter-spacing: -0.5px;
}

.footer {
    padding: 50px 0;
    font-size: 14px;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
}
.footer img {
    width: 150px;
}
.footer a {
    color: var(--ds-text-gray);
    text-decoration: none;
    padding: 0 20px;
    transition: all 0.3s ease;
}
.footer a:hover {
    color: var(--ds-blue);
}

.mobile {
    display: none;
}
.align-items-center-md {
    align-items: center;
}

.price_boxes {
    margin-top: -500px;
}
.price_boxes .box,
.price_boxes .btm_box {
    background: var(--ds-blue);
    color: var(--ds-text-light);
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price_boxes .btm_box {
    border-radius: 0 0 10px 10px;
}
.price_boxes .box.white {
    background: #fff;
    color: var(--ds-text-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.price_boxes .d-flex {
    align-items: end;
}
.price_boxes .col:first-child .box {
    border-top-left-radius: 10px;
}
.price_boxes .col:nth-child(2) .box {
    border-radius: 10px 10px 0 0;
}
.price_boxes .col:last-child .box {
    border-top-right-radius: 10px;
}
.price_boxes .box h4 {
    font-weight: bold;
    margin: 0;
    font-size: 20px;
}
.price_boxes .box h2 {
    margin: 0;
    font-size: 68px;
    margin-top: -5px;
}
.price_boxes .box .badge {
    background: var(--ds-orange);
    border-radius: 20px;
    color: var(--ds-text-light);
    padding: 5px 15px;
    font-size: 16px;
    margin: 15px 0 25px;
    font-weight: 500;
    display: inline-block;
}
.price_boxes .box p {
    color: var(--ds-text-light);
    display: block;
    line-height: 1.5;
    font-size: 15px;
}
.price_boxes .box.white p {
    color: var(--ds-text-gray);
}
.price_boxes .box .list i {
    color: var(--ds-green);
    margin-right: 5px;
}
.price_boxes .box .top {
    background: #5ec780;
    font-size: 18px;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 25px;
}
.price_boxes .btm_box h2 {
    font-weight: bold;
    font-size: 30px;
}
.price_boxes .btm_box .lightblue {
    color: #85b8f9;
    font-weight: lighter;
}
.price_boxes .btm_box .btn-custom {
    font-weight: bold;
}

.price-interval-switch {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.interval-switch-component {
    position: relative;
    margin: auto;
    background: white;
    display: block;
    padding: 0.5rem 0.5rem;
}

.interval-switch.monthly,
.interval-switch.annual {
    cursor: pointer;
    position: relative;
    display: block;
    float: left;
    -webkit-transition: 300ms ease-out;
    -moz-transition: 300ms ease-out;
    transition: 300ms ease-out;
    padding: 0.2rem 1rem;
}
.interval-selector {
    text-align: center;
    position: absolute;
    box-sizing: border-box;
    transition: 300ms ease-out;
    color: white;
    box-shadow: 0 2px 13px 0 #9b9b9b;
    padding: 0.2rem 0;
    background-color: #31315b;
}

.compare h2 {
    color: #30305a;
    font-size: 40px;
    font-weight: bold;
}
.compare i {
    color: #25b195;
    font-size: 22px;
}
.compare .table > :not(caption) > * > * {
    padding: 15px 0;
    border-color: #e5e5e5;
}

.testnow {
    margin-bottom: 100px;
    background: url(../img/testnowbg.png) no-repeat;
    background-size: cover;
    background-position: center bottom;
    padding: 100px 0;
    padding-top: 150px;
}
.testnow .box {
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    background: #fff;
    padding: 35px;
}
.testnow .box h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 25px;
}
.testnow .box img {
    width: 100%;
    margin-bottom: -80px;
}

@media only screen and (max-width: 1399px) {
    .start h2 {
        font-size: 73px;
        line-height: 70px;
    }
}

@media only screen and (max-width: 1199px) {
    .start h2 {
        font-size: 63px;
        line-height: 60px;
    }
    .start .row {
        align-items: center;
    }

    .title {
        width: 80%;
    }
    .easy .imgbox {
        padding: 25px;
    }
    .easy .imgtext {
        padding: 25px;
    }

    .price_boxes .box,
    .price_boxes .btm_box {
        padding: 25px;
    }
    .price_boxes .box .list {
        font-size: 14px;
    }
    .price_boxes .box .top {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) {
    .align-items-center-md {
        align-items: inherit;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .container-fluid {
        padding: 0;
    }
    .navbar-toggler {
        margin-left: auto;
    }
    .nav-item {
        text-align: right;
    }
    .head .logo {
        padding-top: 15px;
    }
    .navbar-nav {
        margin-top: 25px;
    }
    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:hover {
        padding: 10px 0;
    }
    .start h2 {
        font-size: 84px;
        line-height: 84px;
    }
    .start img {
        margin-top: 50px;
    }

    .opti .box {
        margin-top: 50px;
    }

    .title {
        width: 100%;
    }

    .footer {
        text-align: center;
    }
    .footer img {
        margin-bottom: 25px;
    }

    .price_boxes .btm_box h2 {
        font-size: 23px;
    }

    .compare h2 {
        font-size: 34px;
    }
    .compare {
        font-size: 14px;
    }
    .compare .table > :not(caption) > * > * {
        padding: 10px 0;
    }
    .testnow .box h2 {
        font-size: 21px;
    }
    .testnow .box .btn-custom {
        padding: 15px;
        font-size: 14px;
        width: 100%;
    }
    .testnow {
        padding-top: 0;
    }
    .navbar-light .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
        background-color: rgba(255, 255, 255, 0.1);
    }
    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media only screen and (max-width: 768px) {
    .start h2 {
        font-size: 71px;
        line-height: 70px;
    }
    .banner h2 {
        font-size: 36px;
    }

    .price_boxes .col {
        width: 100%;
        flex: 0 0 auto;
    }
    .price_boxes .col:first-child .box {
        border-radius: 10px 10px 0 0;
    }
    .price_boxes .col:nth-child(2) .box {
        border-radius: 0;
    }
    .price_boxes .col:last-child .box {
        border-radius: 0;
    }
    .head.prices .text h2 {
        font-size: 31px;
    }
    .compare h2 {
        font-size: 25px;
    }
    .compare {
        font-size: 13px;
    }
    .testnow .box {
        text-align: center;
    }
    .testnow .box img {
        margin: 0 auto;
        margin-bottom: 35px;
        width: 50%;
        display: block;
    }
}

@media only screen and (max-width: 590px) {
    .bg {
        clip-path: polygon(0 0, 0 100%, 0 280px, 130% 0);
    }

    .head {
        padding: 10px 15px;
    }
    .section {
        padding: 50px 0;
    }
    .start h2 {
        font-size: 49px;
        line-height: 50px;
    }
    .start .button {
        text-align: center;
    }
    .start .button .btn-custom {
        width: 100%;
        margin-bottom: 15px;
    }
    .opti h2 {
        font-size: 40px;
    }
    .opti .box {
        padding: 15px;
    }
    .opti .box img {
        margin: 0;
    }

    .title {
        margin-bottom: 50px;
    }

    .banner {
        text-align: center;
    }
    .banner h2 {
        font-size: 26px;
    }
    .banner .btn-custom {
        width: 100%;
    }

    .footer {
        padding: 35px 10px;
    }
    .footer a {
        padding: 0 5px;
    }

    .head.prices .text {
        padding-top: 50px;
        padding-bottom: 0;
    }
    .price_boxes {
        margin-top: 50px;
    }
    .price_boxes .btm_box .btn-custom {
        width: 100%;
        padding: 15px;
    }
    .compare .table > :not(caption) > * > td:first-child {
        width: 100px;
    }
}

.login-page {
    min-height: 100vh;
    background-size: cover;
}

.fancy-button {
    background: var(--theme-color);
    background: linear-gradient(90deg, var(--theme-color-hover) 0%, var(--theme-color) 100%);
    transition: all ease 0.3s;
    box-shadow: 0 0 0 2px transparent;
    border-width: 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem 2rem;
    line-height: 1;
}
.fancy-button:hover {
    box-shadow: 0 0 0 2px var(--theme-color);
    color: white !important;
}

.fancy-gray-button {
    background: white;
    transition: all ease 0.3s;
    color: #b5b5b5;
    text-transform: uppercase;
    padding: 1rem 2rem;
    line-height: 1;
    border-color: #eaeaea;
}
.fancy-gray-button:hover {
    --bs-btn-hover-color: #808080;
    --bs-btn-hover-bg: white;
    --bs-btn-hover-border-color: #b4b4b4;
}

.login-page-text {
    max-width: 500px;
}
.login-page-text h1 {
    font-size: var(--text-5xl);
    color: rgba(46, 46, 45, 1);
}

.login-box, .form-box {
    width: 100%;
    background-color: var(--bs-body-bg);
    border-radius: var(--border-radius-md);
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    padding: 2rem;
}

.login-box .login-box-head {
    padding-bottom: 1rem;
}
.login-box .login-box-head h2 {
    font-size: var(--text-2xl);
    font-weight: normal;
    color: #2e2e2d;
}
.login-box .login-box-head p {
    color: #2e2e2d;
}

.login-box input:-webkit-autofill,
.login-box input:-webkit-autofill:hover,
.login-box input:-webkit-autofill:focus,
.login-box input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000;
}

.login-box .form-control.is-invalid,
.login-box .form-select.is-invalid {
    border-color: rgba(224, 64, 80, 1);
}

.progress-tracker {
    display: flex;
    padding: 0;
    list-style: none;
}

.progress-step {
    display: block;
    position: relative;
    flex: 1 1 0;
    margin: 0;
    padding: 0;
    min-width: 28px;
}
.progress-step:last-child {
    flex-grow: 0;
}
.progress-step::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: -14px;
    width: 100%;
    height: 8px;
}
.progress-step:last-child::after {
    display: none;
}

.progress-marker {
    display: inline-block;
    position: relative;
    z-index: 20;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
.progress-step .progress-marker {
    background-color: #e5e5e5;
}
.progress-step::after {
    background-color: #e5e5e5;
}

.progress-step.is-active .progress-marker {
    background-color: #e5e5e5;
}
.progress-step.is-active::after {
    background-color: #e5e5e5;
}
.progress-step.is-complete .progress-marker {
    background-color: #54b74c;
}
.progress-step.is-complete::after {
    background: #54b74c;
}
.login-box .login-logo {
    display: none;
}
.login-box .login-logo img {
    height: 20px;
    width: auto;
}
.absolute-on-desktop {
    position: absolute;
}

.body-background {
    background: #f8fafc url("../img/body-bg.png") no-repeat center top;
    background-size: cover;
}

.invoice-view-box {
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    padding: 2.5rem;
    font-family: arial, helvetica, sans-serif;
    width: 100%;
    max-width: 640px;
}

.product-gallery {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-gallery .image-list {
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-view-price-table {
    width: 100%;
    font-size: var(--text-lg);
    font-weight: 600;
}
.product-view-price-table td {
    padding: 0.5rem 0;
}

@media (max-width: 991px) {
    .product-gallery {
        flex-direction: column;
    }
    .product-gallery .image-list {
        flex-direction: row;
    }
}

.product-gallery .image-list .image-item {
    width: 50px;
    aspect-ratio: 1/1;
    border: 1px solid var(--theme-color);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all ease 0.3s;
}
.product-gallery .image-list .image-item:hover {
    box-shadow: 0 0 5px var(--theme-color);
}

.product-gallery .image-list .image-item img {
    width: 100%;
    object-fit: contain;
}

.product-gallery .product-image {
    flex-grow: 1;
}

.product-gallery .product-image img {
    max-width: 100%;
}

@media (max-width: 991px) {
    .login-page-text {
        display: none;
    }

    .login-box .login-logo {
        display: block;
    }

    .login-box .login-logo {
        display: block;
    }

    .absolute-on-desktop {
        position: relative;
    }
}

.marketplace-container p {
    line-height: 1.5;
}

/* DigiStore24 spezifische Stil-Anpassungen */
.btn {
    font-family: "Roboto", sans-serif;
}

/* Anpassung für Button-Hover-Effekte im präzisen DigiStore24-Stil */
.btn-custom:hover,
.btn-blue:hover,
.btn-grey:hover {
    transform: translateY(-3px);
    transition: all 0.25s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: var(--ds-text-light);
}

/* DigiStore24 spezifische UI-Elemente */
.ds-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--ds-box-shadow);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.ds-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
