/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ds-blue: #246384;
    --ds-blue-dark: #225A7A;
    --ds-blue-light: #3596f6;
    --ds-bg-light: #f6fafc;
    --ds-footer-bg: #1c3144;
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, var(--ds-bg-light) 0%, #dbefff 100%);
    color: var(--ds-blue-dark);
    line-height: 1.7;
    transition: background 0.6s;
}

/* HEADER & LOGO-BAR */
header {
    background: var(--ds-blue-dark);
    box-shadow: 0 4px 12px rgba(34, 90, 122, 0.08);
    padding-bottom: 0;
}

.logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px 0 8px 0;
    background: #fff; 
}

.logo-img:hover {
    transform: scale(1.06);
}

.logo-img {
    height: 160px;       /* oder größer – je nach Geschmack */
    margin-top: 5px;
    margin-bottom: 18px;
    transition: transform 0.22s;
}

.logo-text {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--ds-blue);
    font-size: 2.1em;
    letter-spacing: 2px;
    font-weight: 700;
    margin-left: 5px;
    margin-bottom: 4px;
    user-select: none;
}

/* NAVIGATION */
header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
}

header nav ul li a {
    display: block;
    padding: 16px 28px;
    color: #f5f6fa;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 18px 18px 0 0;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

header nav ul li a:hover,
header nav ul li a.active {
    background: var(--ds-blue);
    color: #fff;
}
header nav ul li a.active {
    font-weight: 700;
    box-shadow: 0 -4px 0 0 #fff inset;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 18px;
}

.flag-icon {
    width: 28px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid #e1e1e1;
    background: #fff;
    box-shadow: 0 1px 3px rgba(20,44,70,0.05);
    transition: transform 0.13s;
}
.flag-icon:hover {
    transform: scale(1.1);
}


/* CONTAINER */
.container {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 0 auto;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 36px rgba(40,80,130,0.09);
    border-radius: 10px;
    padding: 20px 10px;
    min-height: 500px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TYPOGRAPHY */
h1 {
    font-size: 2.4em;
    margin-bottom: 18px;
    color: var(--ds-blue-dark);
    letter-spacing: 1px;
    font-weight: 700;
}
h2 {
    font-size: 1.5em;
    color: var(--ds-blue);
    border-bottom: 2px solid #d0e6f6;
    padding-bottom: 6px;
    margin-bottom: 22px;
    font-weight: 600;
}
h3 {
    font-size: 1.15em;
    color: var(--ds-blue);
    font-weight: 600;
    margin: 14px 0 8px 0;
}

p, li {
    font-size: 1.07em;
    color: #42526e;
    margin-bottom: 14px;
}

/* LINKS & BUTTONS */
a {
    color: var(--ds-blue-dark);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--ds-blue);
    text-decoration: underline;
}

.btn, button {
    display: inline-block;
    background: linear-gradient(90deg, var(--ds-blue-dark) 0%, var(--ds-blue-light) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(50, 110, 200, 0.09);
    margin: 18px 6px 0 0;
    letter-spacing: 0.6px;
    transition: background 0.18s, transform 0.12s;
}
.btn:hover, button:hover {
    background: linear-gradient(90deg, #185a93 0%, #1ebdff 100%);
    transform: translateY(-2px) scale(1.04);
}

/* SLIDER */
/* Slider immer volle Breite und keine Innenabstände */
#slider {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #fff;
    min-height: 420px;
    overflow: hidden;
}
.slide {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1);
    z-index: 1;
}
.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
    animation: fadein 0.7s;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
#slider img {
    width: 100%;
    height: 420px; /* oder gewünschte Sliderhöhe */
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 0;
}

/* Caption immer lesbar! */
.slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(20,44,70,0.90) 85%, rgba(20,44,70,0.05) 100%);
    color: #fff;
    padding: 40px 38px 32px 38px;
    text-align: left;
    border-radius: 0;
    z-index: 9;
    width: 100%;
    min-width: unset;
    font-size: 1.25em;
    box-shadow: none;
}
.slide-caption h2 {
    color: #fff;
    font-weight: 700;
    font-size: 2.2em;
    margin-bottom: 7px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.20);
    letter-spacing: 1px;
}
.slide-caption p {
    color: #f1f3fa;
    font-weight: 400;
    font-size: 1.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.20);
    margin: 0;
}

/* Buttons auf den Slider-Bereich, rund, ohne Rand */
#slider .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(36,99,132, 0.92);
    border-radius: 50%;
    width: 44px; height: 44px;
    font-size: 2em;
    line-height: 44px;
    padding: 0;
    z-index: 10;
    color: #fff;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(10,40,90,0.07);
    cursor: pointer;
    transition: background 0.18s;
    display: flex; align-items: center; justify-content: center;
}
#slider .btn:first-of-type { left: 18px; }
#slider .btn:last-of-type { right: 18px; }
#slider .btn:hover { background: #1c3144; }

.about-block {
    max-width: 900px;
    margin: 0px auto 0 auto;
    padding: 36px 28px;
    background: #f7fafd;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(40,90,130,0.06);
    font-size: 1.12em;
}
.about-block h2 {
    color: #246384;
    margin-bottom: 16px;
}
.about-block ul {
    margin: 22px 0 18px 30px;
}
.about-block li {
    margin-bottom: 9px;
}


/* RESPONSIVE */
@media (max-width: 700px) {
    #slider img { height: 220px; }
    .slide-caption { font-size: 1em; padding: 22px 13px 15px 13px; }
    .slide-caption h2 { font-size: 1.3em; }
    #slider .btn { width: 32px; height: 32px; font-size: 1.3em; }
}

/* Mobiles Menü untereinander statt nebeneinander */
@media (max-width: 700px) {
    header nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    header nav ul li {
        margin: 0;
    }
    header nav ul li a {
        padding: 15px 12px;
        border-radius: 0;
        border-bottom: 1px solid #2a4965;
        text-align: left;
        font-size: 1.08em;
    }
    header {
        padding-bottom: 0;
    }
}


/* ADMINTTOOL NAVIGATION LINKS */
.admin-side-nav {
    min-width: 150px;
    margin-right: 32px;
    background: #f4f7fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(90,130,200,0.08);
    padding: 28px 0;
    height: fit-content;
}
.admin-side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.admin-side-nav li {
    margin-bottom: 10px;
}
.admin-side-nav a {
    display: block;
    padding: 12px 36px 12px 28px;
    color: var(--ds-blue-dark);
    border-left: 4px solid transparent;
    border-radius: 0 22px 22px 0;
    font-weight: 600;
    transition: background 0.16s, border-color 0.15s, color 0.18s;
}
.admin-side-nav a.active,
.admin-side-nav a:hover {
    background: #dbefff;
    border-left: 4px solid var(--ds-blue);
    color: #12486b;
}

/* ADMIN TOOL CONTENT FLEX */
.admin-flex {
    display: flex;
    gap: 22px;
    width: 100%;
    align-items: flex-start;
}

/* FOOTER - Always on bottom */
footer {
    width: 100%;
    background: var(--ds-footer-bg);
    color: #f5f6fa;
    text-align: center;
    padding: 26px 0 22px 0;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 -3px 16px rgba(60, 120, 180, 0.08);
    flex-shrink: 0;
    position: relative;
    margin-top: auto;
}
footer p, footer a {
    color: #aee3fc;
    font-size: 0.98em;
    margin: 0;
}
footer a:hover { color: #fff; text-decoration: underline; }

/* FORMS (Optional) */
input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #b8d3ea;
    border-radius: 8px;
    background: #f6fbff;
    font-size: 1em;
    transition: border 0.2s;
}
input:focus, textarea:focus {
    border: 1.5px solid var(--ds-blue);
    outline: none;
}

#slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px auto;
    min-height: 420px; /* Notfalls, damit Platz reserviert ist! */
}
.slide {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.8s cubic-bezier(.77,0,.18,1);
    z-index: 1;
}
.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
    animation: fadein 0.8s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#slider img {
    width: 100%;
    height: 420px; /* oder gewünschte Höhe */
    object-fit: cover;
    border-radius: 12px;
}
.slide-caption {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34,90,122, 0.60);
    color: #fff;
    border-radius: 10px;
    padding: 18px 32px;
    min-width: 260px;
    text-align: center;
    font-size: 1.15em;
    box-shadow: 0 6px 24px rgba(55,110,170,0.08);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e6ef;
    padding: 13px 0 2px 0;
}
.faq-question {
    color: #246384;
    font-size: 1.16em;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color 0.16s;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}
.faq-question:hover {
    color: #185a93;
    text-decoration: none;
    transform: scale(1.04);
}
.faq-arrow {
    font-size: 1.17em;
    margin-left: 7px;
    color: #b7c9d5;
    transition: transform 0.2s;
}
.faq-answer {
    display: none;
    color: #42526e;
    font-size: 1.06em;
    background: none;
    margin-left: 28px;
    margin-top: 6px;
    margin-bottom: 13px;
    padding-left: 7px;
    border-left: 2px solid #e3edf7;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-arrow {
    transform: rotate(45deg);
    color: #246384;
}

.screenshots-slider {
    width: 800px;
    max-width: 98vw;
    margin: 0 auto 32px auto;
    position: relative;
    background: #fff;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(40,90,130,0.12);
    aspect-ratio: 800/835; /* Empfohlen, moderne Browser */
}
.screenshots-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Zeigt das komplette Bild immer an */
    border-radius: 16px;
    background: #222c38;
    display: block;
}
.screenslide {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transition: opacity 0.6s cubic-bezier(.77,0,.18,1);
    z-index: 1;
}
.screenslide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}
.screenshots-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(36,99,132, 0.88);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 2em;
    z-index: 10;
    color: #fff;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(10,40,90,0.08);
    cursor: pointer;
    transition: background 0.18s;
    display: flex; align-items: center; justify-content: center;
}
.screenshots-slider .slider-btn:first-of-type { left: 20px; }
.screenshots-slider .slider-btn:last-of-type { right: 20px; }
.screenshots-slider .slider-btn:hover { background: #1c3144; }


.more-symbol {
    color: #246384;
    margin-left: 9px;
    transition: color 0.15s, transform 0.22s;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.35em;
}
.more-symbol:hover {
    color: #185a93;
    transform: scale(1.2);
}

.contact-block {
    max-width: 700px;
    margin: 48px auto 0 auto;
    padding: 36px 28px;
    background: #f8fcff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(40,90,130,0.05);
    font-size: 1.13em;
    text-align: center;
}
.contact-block h1 {
    color: #246384;
    margin-bottom: 20px;
}
/* Responsive */
@media (max-width: 850px) {
    .screenshots-slider { width: 98vw; aspect-ratio: 800/835; }
}



/* RESPONSIVE */
@media (max-width: 1024px) {
    .container { padding: 30px 8px; }
    .admin-flex { flex-direction: column; }
    .admin-side-nav { margin-bottom: 30px; margin-right: 0; }
}

@media (max-width: 700px) {
    .container { padding: 16px 3vw; margin-top: 20px; }
    #slider { max-width: 98vw; }
    header nav ul li a { padding: 12px 10px; font-size: 1em; }
}

@media (max-width: 480px) {
    .container { padding: 7px 2vw; }
    h1 { font-size: 1.45em; }
    h2 { font-size: 1.1em; }
    .admin-side-nav { padding: 16px 0; min-width: 0; }
    #slider { padding: 0; }
}
