:root {
    --blue: #2f6ea5;
    --blue-dark: #234f78;
    --blue-light: #4a86b8;
    --text: #333;
    --muted: #667085;
    --bg: #f4f7fa;
    --white: #ffffff;
    --border: #e5eaf0;
    --shadow: 0 8px 24px rgba(0,0,0,.10);
    --shadow-soft: 0 4px 18px rgba(0,0,0,.08);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header,
#header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo,
.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img,
.logo-link img {
    width: 256px;
    height: auto;
}

.main-nav ul,
#nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a,
#nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #42545d;
    font-weight: 700;
    font-size: .95rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active,
#nav a:hover,
#nav a.active {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-1px);
}

/* Banner */
.banner {
    background: var(--white);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Intro */
.intro {
    background: var(--white);
    padding: 70px 0 50px;
    text-align: center;
}

.eyebrow {
    color: var(--blue);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 10px;
    font-size: .9rem;
}

.intro h1 {
    margin: 0 auto 18px;
    max-width: 900px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    color: #24364a;
}

.intro p {
    max-width: 820px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 1.15rem;
}

.button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(47,110,165,.22);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 38px;
}

.section-header h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #24364a;
}

.section-header p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    border-top: 4px solid var(--blue);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card figure {
    margin: 0 auto 22px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef5fb;
    overflow: hidden;
}

.service-card figure img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.service-card h3 {
    margin: 0 0 10px;
    color: #24364a;
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
}

/* Info-Bereich */
.info-band {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    color: var(--white);
    padding: 72px 0;
    text-align: center;
}

.info-band h2 {
    max-width: 900px;
    margin: 0 auto 18px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.25;
}

.info-band p {
    max-width: 820px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.92);
    font-size: 1.1rem;
}

.info-band .btn {
    background: var(--white);
    color: var(--blue-dark);
}

.info-band .btn:hover {
    background: #f4f7fa;
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* Highlights */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 10px;
}

.highlight {
    background: var(--white);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.highlight strong {
    display: block;
    color: var(--blue);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.highlight span {
    color: var(--muted);
}

/* Footer */

.site-footer {
    background: #1f2933;
    color: #d8dee8;
    padding: 55px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 34px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.site-footer a,
.footer-links a,
.copyright a {
    color: #d8dee8;
}

.site-footer a:hover,
.footer-links a:hover,
.copyright a:hover {
    color: var(--white);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 18px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: .9rem;
    color: #aab4c3;
}

/* Nach oben */

.move-up {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
}

.move-up a,
.move-up button,
.back-to-top {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow);
    font-size: 1.35rem;
    cursor: pointer;
    text-decoration: none;
}

.move-up a:hover,
.move-up button:hover,
.back-to-top:hover {
    background: var(--blue-dark);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav ul,
    #nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service-grid,
    .highlight-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .intro {
        padding-top: 50px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo img,
    .logo-link img {
        width: 220px;
    }

    .main-nav a,
    #nav a {
        padding: 0 12px;
        font-size: .9rem;
    }

    .section {
        padding: 52px 0;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .copyright {
        display: block;
    }

    .copyright li {
        margin-bottom: 8px;
    }
}




.contact-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--blue);
    box-shadow: var(--shadow);
    padding: 36px 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--text);
}

.contact-form .form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    color: var(--text);
    background: #fff;
    box-shadow: none;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 110, 165, .15);
}

.captcha-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.captcha-area img {
    height: 52px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fbfc;
}

.captcha-area button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
}

.privacy-row {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 24px;
    color: var(--muted);
    font-weight: 400 !important;
}

.privacy-row input {
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
}

@media (max-width: 640px) {
    .contact-card {
        padding: 28px 22px;
    }
}
/* Modernes Kontaktformular */
.contact-form-page {
    background:
        radial-gradient(circle at top left, rgba(47, 110, 165, .10), transparent 32rem),
        var(--bg);
}

.contact-form-section {
    padding-top: 82px;
}

.contact-form-header {
    margin-bottom: 34px;
}

.contact-form-header h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #24364a;
    line-height: 1.15;
}

.form-shell {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.45fr);
    gap: 0;
    overflow: hidden;
    background: var(--white);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-info {
    padding: 42px 34px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    color: var(--white);
}

.form-info-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: 1.45rem;
}

.form-info h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 1.55rem;
    line-height: 1.25;
}

.form-info p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .9);
}

.form-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.form-info-list i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.form-info-list a {
    color: var(--white);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-form-modern {
    padding: 42px 38px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form-modern .form-group {
    margin-bottom: 20px;
}

.contact-form-modern label,
.captcha-box legend {
    display: block;
    margin-bottom: 8px;
    color: #24364a;
    font-weight: 700;
}

.contact-form-modern .form-control {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfdff;
    color: var(--text);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form-modern textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-form-modern .form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(47, 110, 165, .14);
}

.captcha-box {
    margin: 4px 0 22px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fbfe;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.captcha-image-wrap {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.captcha-image-wrap img {
    max-height: 46px;
    width: auto;
}

.captcha-refresh {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(47, 110, 165, .22);
    transition: transform .2s ease, background .2s ease;
}

.captcha-refresh:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.captcha-input {
    max-width: 260px;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 24px;
    color: var(--muted);
    font-weight: 400;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
    accent-color: var(--blue);
}

.form-submit {
    min-width: 220px;
    gap: 10px;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    .form-shell {
        grid-template-columns: 1fr;
    }

    .form-info {
        padding: 34px 28px;
    }

    .contact-form-modern {
        padding: 34px 28px;
    }
}

@media (max-width: 620px) {
    .contact-form-section {
        padding-top: 56px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .captcha-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .captcha-input,
    .form-submit {
        width: 100%;
        max-width: none;
    }
}
