:root {
    --primary: #2563eb;
    --text: #0f172a;
    --muted: #374151;
    --border: #e5e7eb;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 40%, #f4f4f5 100%);
    color: var(--text);
    line-height: 1.6;
}

strong {
    font-weight: 600;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.logo-img {
    height: 90px;
    width: auto;
    display: block;
    margin-left: -25px;
}

.logo-tagline {
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    color: #203553;
    font-size: 13px;
}

@media (max-width: 450px) {
    .header {
        flex-wrap: wrap;
        gap: 6px;
    }

    .logo-tagline {
        position: relative;
        left: 66px;
        top: -28px;
        white-space: normal;   /* Umbruch erlaubt */
    }
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.nav-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-right: 4px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #3264c9;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 5px;
    position: relative;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #3264c9;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 640px) {
    .nav {
        gap: 6px;
    }

    .nav-label {
        font-size: 12px;
        width: 100%;
        margin-bottom: 4px;
    }

    .nav-link {
        font-size: 12px;
    }
}

main {
    flex: 1;
}

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 18px 48px;
}

h1 {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

h1 span {
    background: #3264c9;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 22px;
}

.hero-note {
    font-size: 13px;
    color: var(--muted);
}

.hero-note strong {
    color: var(--text);
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px 40px;
}

.section-header {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    flex-wrap: wrap;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color:#3264c9;
}

.section-sub {
    font-size: 13px;
    color: var(--muted);
    max-width: 420px;
}

.section-text {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 22px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 960px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 12px 12px 14px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.18);
}

.step-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 4px;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-text {
    font-size: 15px;
    color: #4b5563;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
}

@media (max-width: 840px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(148, 163, 184, 0.2);
}

.box h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.box ul {
    list-style: none;
}

.box li {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
}

.box li::before {
    content: "•";
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 12px auto 0; /* statt nur margin-top: 12px; */
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-subtext {
    display: block;
    font-size:26px;
    font-weight: 400;
    margin-top: 0.15em;
    color: #203553;
}

.hero-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-xl);
    padding: 20px;
    color: #e5e7eb;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center;
    font-size: 11px;
    color: #9ca3af;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.dialog {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.dialog-label {
    font-weight: 600;
    font-size: 11px;
    width: 60px;
    flex-shrink: 0;
}

.dialog-text {
    color: #e5e7eb;
}

.dialog-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.18);
    margin-left: 4px;
    color: #bfdbfe;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 12px;
    color: #9ca3af;
    gap: 8px;
    flex-wrap: wrap;
}

.card-highlight {
    font-size: 12px;
    font-weight: 500;
    color: #e5e7eb;
}

.footer {
    padding: 10px 18px 18px;
    font-size: 11px;
    color: #9ca3af;
    border-top: 1px solid rgba(209, 213, 219, 0.7);
    background: rgba(248, 250, 252, 0.95);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
}

.footer-links a:hover {
    color: #111827;
}

.cta-section {
    padding: 60px 20px;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.cta-box h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    color: #203553;
}

.cta-box p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.98rem;
    color: #4b5563;
}

/* Kontaktbereich: Button + "kopieren" untereinander */
.cta-section .cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* Button im Kontaktbereich: kein Zeilenumbruch im Text */
.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;   /* verhindert das Umbrechen im Button */
}

.copy-link {
    display: inline-block;
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    padding-left: 20px;
}


.copy-link:hover {
    color: #004999;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background-color: #3264c9;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-primary .icon {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-primary:hover {
    background: #203553;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* Responsive: untereinander statt nebeneinander */

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-actions {
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

.impressum-box {
    display: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 420px;
    margin-left: auto;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    background: #fafafa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.impressum-heading {
    margin: 0 0 0.5rem 0;
}

.impressum-paragraph {
    margin: 0 0 0.5rem 0;
}

.impressum-paragraph-last {
    margin-bottom: 0;
}

.section.section-image img {
    display: block;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    height: auto;
}

.grid-2-team {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
}

.team-photo-box {
    max-width: 461px;
    width: 100%;
    justify-self: end;
}

.team-photo-frame {
    width: 100%;
    background: #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo-img {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 840px) {
    .grid-2-team {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .team-photo-box {
        justify-self: start;
        max-width: 100%;
    }

}