:root {
    --bg: #BDDDFC;
    --ink: #384959;
    --ink-soft: rgba(56, 73, 89, 0.7);
    --line: rgba(56, 73, 89, 0.35);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
   font-family: 'Inter', 'Arial', sans-serif;
   background-color: var(--bg);
   color: var(--ink);

   /* Footer immer ganz unten, auch auf kurzen Seiten */
   min-height: 100vh;
   min-height: 100dvh;
   display: flex;
   flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    margin-top: auto;
}

a {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

/* =========================
   NAV
========================= */

nav {
    width: 100%;
    height: 80px;

    background: var(--bg);
    border-bottom: 1px solid var(--line);

    display: flex;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;

    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;

    width: auto;
    height: 52px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 28px;

    list-style: none;
}

.nav-links li a {
    position: relative;

    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;

    text-decoration: none;
    color: var(--ink);

    transition: color 0.25s ease;
}

.nav-links li a:hover {
    color: #ffffff;
}

.nav-links li a.active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.text-link {
    display: inline-block;

    margin-top: 18px;

    font-size: 15px;
    font-weight: 600;
    color: var(--ink);

    text-decoration: none;

    border-bottom: 1px solid var(--ink);

    transition: opacity 0.2s ease;
}

.text-link:hover {
    opacity: 0.7;
}

.phone-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 50%;

    color: var(--ink);

    text-decoration: none;

    transition: all 0.25s ease;
}

.phone-btn svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
}

.phone-btn:hover {
    background: var(--ink);
    color: var(--bg);
}

.nav-cta {
    height: 44px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: var(--ink);
    color: var(--bg);

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: background 0.25s ease;
}

.nav-cta span {
    font-size: 16px;

    transition: transform 0.25s ease;
}

.nav-cta:hover {
    background: #1f2b36;
}

.nav-cta:hover span {
    transform: translate(2px, -2px);
}

/* MOBILE NAV TOGGLE */

.nav-toggle {
    display: none;

    width: 36px;
    height: 36px;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;

    background: var(--ink);

    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;

    padding: 90px 40px;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    align-items: center;
    gap: 60px;
}

.hero-kicker {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);

    margin-bottom: 18px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;

    margin-bottom: 22px;
}

.hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);

    max-width: 46ch;

    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    height: 48px;

    padding: 0 26px;

    display: inline-flex;
    align-items: center;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}

.btn-primary:hover {
    background: #1f2b36;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: rgba(56, 73, 89, 0.08);
}

/* HERO GRAPHIC — blueprint-style rings, no image dependency */

.hero-graphic {
    position: relative;

    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 380px;

    justify-self: center;
}

.blueprint-ring {
    position: absolute;
    inset: 0;

    border: 1px dashed var(--line);
    border-radius: 50%;
}

.blueprint-ring.ring-inner {
    inset: 15%;

    border-style: solid;
    border-color: var(--ink);
    border-width: 2px;
}

.blueprint-cross::before,
.blueprint-cross::after {
    content: "";

    position: absolute;

    background: var(--line);
}

.blueprint-cross::before {
    top: 0;
    bottom: 0;
    left: 50%;

    width: 1px;
}

.blueprint-cross::after {
    left: 0;
    right: 0;
    top: 50%;

    height: 1px;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-graphic {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }
}

/* =========================
   PAGE HERO (subpages)
========================= */

.page-hero {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    padding: 80px 40px 20px;

    text-align: center;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;

    margin-bottom: 20px;
}

.page-hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);

    max-width: 56ch;
    margin: 0 auto;
}

.page-hero .hero-kicker {
    text-align: center;
}

@media (max-width: 600px) {
    .page-hero {
        padding: 60px 20px 10px;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}

/* =========================
   ABOUT LEAD
========================= */

.about-lead {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;

    padding: 80px 40px;
}

.about-lead-container {
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    align-items: center;
    gap: 60px;
}

.about-lead-text h2 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 18px;
}

.about-lead-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);

    margin-bottom: 16px;
}

.about-graphic {
    max-width: 300px;
}

@media (max-width: 900px) {
    .about-lead-container {
        grid-template-columns: 1fr;
    }

    .about-graphic {
        display: none;
    }
}

/* =========================
   WERTE / VALUES
========================= */

.values-section {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto;

    padding: 0 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    padding: 28px 24px;

    background: rgba(56, 73, 89, 0.06);

    border: 1px solid var(--line);
    border-radius: 22px;
}

.value-index {
    display: block;

    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);

    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;

    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ARBEITSWEISE / PROCESS
========================= */

.process-section {
    width: 100%;
    max-width: 1300px;
    margin: 60px auto;

    padding: 0 40px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-card {
    position: relative;

    padding: 32px 26px;

    background: var(--ink);
    color: var(--bg);

    border-radius: 22px;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 18px;

    border: 1px solid rgba(189, 221, 252, 0.4);
    border-radius: 50%;

    font-size: 14px;
    font-weight: 600;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 600;

    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(189, 221, 252, 0.85);
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    width: 100%;
    max-width: 1300px;
    margin: 60px auto 100px;

    padding: 48px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: rgba(56, 73, 89, 0.06);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.cta-content h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 8px;
}

.cta-content p {
    font-size: 15px;
    color: var(--ink-soft);
}

.cta-section .btn-primary {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .cta-section {
        flex-direction: column;
        align-items: flex-start;

        padding: 36px 28px;
    }
}

/* =========================
   SECTION HEAD (shared)
========================= */

.section-head {
    max-width: 640px;

    margin-bottom: 32px;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 8px;
}

.section-head p {
    font-size: 15px;
    color: var(--ink-soft);
}

/* =========================
   CARDS
========================= */

.cards-section {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 40px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    position: relative;

    height: 390px;

    border-radius: 22px;

    overflow: hidden;

    background: var(--ink);

    border: 1px solid rgba(56, 73, 89, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(56, 73, 89, 0.20);
}

.info-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.info-card:hover img {
    transform: scale(1.04);
}

.info-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(56, 73, 89, 0.75) 0%,
        rgba(56, 73, 89, 0.15) 35%,
        rgba(56, 73, 89, 0.15) 55%,
        rgba(56, 73, 89, 0.85) 100%
    );

    pointer-events: none;
}

.card-overlay {
    position: absolute;
    inset: 0;

    padding: 20px;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-overlay span {
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;

    color: var(--bg);

    opacity: 0.9;
}

.card-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;

    color: var(--bg);
}

@media (max-width: 900px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .cards-container {
        grid-template-columns: 1fr;
    }

    .info-card {
        height: 280px;
    }
}

/* =========================
   STATS BAR
========================= */

.stats-bar {
    width: 100%;
    max-width: 1300px;
    margin: 60px auto;

    padding: 24px 40px;

    display: flex;
    align-items: center;
    gap: 28px;

    background: var(--ink);
    border-radius: 22px;

    color: var(--bg);
}

.divider {
    width: 1px;
    height: 38px;

    background: rgba(189, 221, 252, 0.35);
}

.stat {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat strong {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;

    margin-bottom: 8px;
}

.stat span {
    color: rgba(189, 221, 252, 0.85);

    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 750px) {
    .stats-bar {
        flex-direction: column;
        align-items: stretch;

        gap: 18px;

        margin: 40px auto;
        padding: 24px;
    }

    .divider {
        width: 100%;
        height: 1px;
    }

    .stat {
        padding: 5px 0;
    }
}

/* =========================
   ABOUT
========================= */

.about-section {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 100px;

    padding: 0 40px;
}

.about-container {
    max-width: 680px;
}

.about-container h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 18px;
}

.about-container p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* =========================
   FOOTER
========================= */

footer {
    width: 100%;

    background: var(--ink);
    color: var(--bg);
}

.footer-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;

    padding: 64px 40px 40px;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(189, 221, 252, 0.75);

    max-width: 32ch;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(189, 221, 252, 0.85);
    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col li {
    font-size: 14px;
    color: rgba(189, 221, 252, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(189, 221, 252, 0.2);

    padding: 20px 40px;

    text-align: center;

    font-size: 13px;
    color: rgba(189, 221, 252, 0.6);
}

@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE NAV
========================= */

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        transform: none;

        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        background: var(--bg);
        border-bottom: 1px solid var(--line);

        max-height: 0;
        overflow: hidden;

        transition: max-height 0.3s ease;
    }

    .nav-links.open {
        max-height: 420px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;

        padding: 16px 40px;

        width: 100%;
    }

    .nav-links li a:hover {
        color: var(--ink);
        background: rgba(56, 73, 89, 0.06);
    }

    .nav-cta {
        display: none;
    }

    .nav-mobile-only {
        display: block;
    }
}

@media (max-width: 560px) {
    .nav-container,
    .hero,
    .cards-section,
    .about-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================
   SHARED ADDITIONS
========================= */

a.info-card {
    display: block;

    color: inherit;
    text-decoration: none;
}

.nav-cta.active-cta {
    background: #1f2b36;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;

    max-width: 1300px;
    margin: 0 auto;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* =========================
   LEISTUNGEN
========================= */

.service-section {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto;

    padding: 0 40px;

    display: flex;
    flex-direction: column;
    gap: 28px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    background: rgba(56, 73, 89, 0.06);

    border: 1px solid var(--line);
    border-radius: 22px;

    overflow: hidden;

    scroll-margin-top: 100px;
}

.service-row.reverse .service-media {
    order: 2;
}

.service-media {
    min-height: 320px;

    background: var(--ink);
}

.service-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.service-text {
    padding: 44px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-index {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);

    margin-bottom: 12px;
}

.service-text h2 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 14px;
}

.service-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);

    margin-bottom: 18px;
}

.service-list {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-list li {
    padding: 8px 16px;

    border: 1px solid var(--line);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row.reverse .service-media {
        order: 0;
    }

    .service-media {
        min-height: 0;
        height: 240px;
    }

    .service-text {
        padding: 30px 26px 34px;
    }

    .service-text h2 {
        font-size: 26px;
    }
}

/* =========================
   REFERENZEN
========================= */

.ref-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

/* =========================
   KONTAKT
========================= */

.contact-section {
    width: 100%;
    max-width: 1300px;
    margin: 50px auto 100px;

    padding: 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    align-items: start;
    gap: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 24px 26px;

    background: var(--ink);
    color: var(--bg);

    border-radius: 22px;

    text-decoration: none;

    transition: transform 0.25s ease, background 0.25s ease;
}

.contact-card:hover {
    background: #1f2b36;
    transform: translateY(-3px);
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(189, 221, 252, 0.7);
}

.contact-card strong {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;

    overflow-wrap: anywhere;
}

.contact-hint {
    font-size: 13px;
    color: rgba(189, 221, 252, 0.85);
}

.contact-form {
    padding: 36px 34px;

    background: rgba(56, 73, 89, 0.06);

    border: 1px solid var(--line);
    border-radius: 22px;
}

.contact-form h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;

    margin-bottom: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 18px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;

    padding: 13px 16px;

    font-family: inherit;
    font-size: 16px;
    color: var(--ink);

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid var(--line);
    border-radius: 14px;

    transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;

    background: #ffffff;
    border-color: var(--ink);
}

.contact-form .btn-primary {
    border: none;
    cursor: pointer;

    font-family: inherit;
}

.form-error {
    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 600;
    color: #8a1c1c;
}

.form-note {
    margin-top: 14px;

    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-form {
        padding: 28px 22px;
    }

    .contact-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   IMPRESSUM / DATENSCHUTZ
========================= */

.legal {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;

    padding: 70px 40px 100px;
}

.legal h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;

    margin-bottom: 30px;
}

.legal h2 {
    font-size: 19px;
    font-weight: 600;

    margin: 28px 0 8px;
}

.legal p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.legal a {
    color: var(--ink);
    font-weight: 500;
}

/* =========================
   SMALL SCREENS
========================= */

/* keep side gutters for full-width boxes */
.stats-bar,
.cta-section {
    width: calc(100% - 80px);
}

@media (max-width: 750px) {
    .stats-bar,
    .cta-section {
        width: calc(100% - 40px);
    }
}

@media (max-width: 560px) {
    .service-section,
    .contact-section,
    .values-section,
    .process-section,
    .stats-bar,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-section,
    .contact-section {
        margin-top: 30px;
    }

    .stats-bar,
    .cta-section {
        width: calc(100% - 40px);
    }

    .legal {
        padding: 50px 20px 70px;
    }

    .legal h1 {
        font-size: 30px;
    }

    .hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        justify-content: center;
    }

    .footer-container {
        padding: 48px 20px 30px;
    }

    .footer-bottom {
        padding: 20px;

        flex-direction: column;
        text-align: center;
    }

    .nav-links li a {
        padding: 16px 20px;
    }

    .nav-right {
        gap: 14px;
    }

    .logo img {
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* =========================
   LOGO-SCHRIFTZUG
========================= */

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;

    color: var(--ink);
}

.nav-mobile-only {
    display: none;
}

/* =========================
   HANDY-OPTIMIERUNG
========================= */

/* Hover-Effekte nur auf Geräten mit Maus, nicht auf Touch */
@media (hover: none) {
    .info-card:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: none;
    }

    .info-card:hover img {
        transform: none;
    }
}

@media (max-width: 900px) {
    .nav-links li a {
        padding: 18px 40px;
        font-size: 17px;
    }

    .nav-links li a.active {
        text-underline-offset: 5px;
    }

    .hero {
        padding: 60px 40px;
    }

    .about-lead {
        padding: 50px 40px;
    }

    .about-section {
        margin-bottom: 70px;
    }

    .contact-section {
        margin-bottom: 70px;
    }

    .cta-section {
        margin-bottom: 70px;
    }
}

@media (max-width: 560px) {
    .logo-text {
        font-size: 24px;
    }

    .nav-links li a {
        padding: 18px 20px;
    }

    .hero {
        padding: 44px 20px 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .page-hero {
        padding: 44px 20px 10px;
    }

    .page-hero h1 {
        font-size: 29px;
    }

    .page-hero-sub {
        font-size: 16px;
    }

    .section-head h2 {
        font-size: 24px;
    }

    .about-lead {
        padding: 40px 20px;
    }

    .about-lead-text h2 {
        font-size: 26px;
    }

    .about-container h2 {
        font-size: 30px;
    }

    .about-container p {
        font-size: 16px;
    }

    .about-section,
    .cards-section,
    .values-section,
    .process-section {
        margin-top: 30px;
    }

    .about-section {
        margin-top: 10px;
        margin-bottom: 56px;
    }

    .cta-section {
        margin-top: 40px;
        margin-bottom: 56px;
    }

    .cta-section .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .service-text h2 {
        font-size: 24px;
    }

    .service-media {
        height: 210px;
    }

    .contact-card {
        padding: 20px 22px;
    }

    .contact-card strong {
        font-size: 18px;
    }

    .contact-section {
        margin-bottom: 56px;
    }

    .btn-primary,
    .btn-secondary {
        height: 50px;
    }

    .legal {
        padding: 40px 20px 60px;
    }

    .legal h1 {
        font-size: 28px;
    }

    .legal p {
        font-size: 15px;
    }

    .footer-container {
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .nav-links .nav-mobile-only {
        display: block;
    }
}
