/* =========================
   LOKALE SCHRIFTEN
========================= */
@font-face {
    font-family: "Inter";
    src: url("fonts/inter-300.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/inter-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/playfair-display-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/playfair-display-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BASIS
========================= */
:root {
    --navy: #183153;
    --navy-soft: #2b4a72;
    --sand: #d7c2a3;
    --stone: #f6f1ea;
    --text: #2c2c2c;
    --header-border: rgba(24, 49, 83, 0.08);
}

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

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   TYPOGRAFIE
========================= */
h1,
h2 {
    font-family: "Playfair Display", serif;
    letter-spacing: 0;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
    margin: 60px 0 25px;
}

p {
    font-weight: 300;
    font-size: 1rem;
}

a {
    overflow-wrap: anywhere;
}

/* =========================
   HEADER
========================= */
.header {
    position: relative;
    width: 100%;
    z-index: 10;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 10px 28px rgba(18, 32, 54, 0.06);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 26px;
    min-height: 108px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    padding-right: 22px;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 84px;
    height: auto;
    object-fit: contain;
}

.navigation {
    display: flex;
    justify-content: flex-end;
}

.navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.navigation a {
    text-decoration: none;
    color: var(--navy);
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    background: var(--navy-soft);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s;
}

.navigation a:hover,
.navigation a:focus-visible {
    color: var(--navy-soft);
    transform: translateY(-1px);
}

.navigation a:hover::after,
.navigation a:focus-visible::after,
.navigation a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    font: inherit;
    line-height: 1;
    text-indent: 0;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    min-height: clamp(460px, 64vh, 620px);
    overflow: hidden;
    background: #0d1d2f;
}

.hero-media {
    position: absolute;
    inset: -6%;
    background: linear-gradient(rgba(10, 24, 39, 0.35), rgba(10, 24, 39, 0.55)), url("images/fassaden.jpg") center center / cover no-repeat;
    transform: scale(1.18);
    animation: heroFloat 16s ease-in-out infinite alternate;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    min-height: clamp(460px, 64vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 60px 20px;
}

.hero-copy {
    max-width: 760px;
}

.hero-copy h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 1.05;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    margin: 18px auto 0;
    max-width: 620px;
    font-size: 1.12rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.home-services {
    padding: 52px 0 36px;
    background: #ffffff;
}

.home-services-inner {
    max-width: 980px;
    text-align: center;
    padding: 0 24px;
}

.section-eyebrow {
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy-soft);
}

.home-services h2 {
    margin: 0 auto;
    max-width: 780px;
    color: var(--navy);
    line-height: 1.16;
}

.home-services-text {
    margin: 22px auto 0;
    max-width: 680px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: rgba(44, 44, 44, 0.84);
}

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 1px solid var(--navy);
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.section-link:hover,
.section-link:focus-visible {
    background: var(--navy);
    color: #ffffff;
    transform: translateY(-2px);
}

@keyframes heroFloat {
    0% {
        transform: scale(1.18) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.1) translate3d(0, -12px, 0);
    }
}

/* =========================
   COUNTER
========================= */
.counter-section {
    padding: 48px 0 74px;
    background: linear-gradient(180deg, #ffffff 0%, var(--stone) 100%);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.counter-card {
    position: relative;
    overflow: hidden;
    padding: 34px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 49, 83, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(24, 49, 83, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.counter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(24, 49, 83, 0.25), rgba(24, 49, 83, 0.25));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.counter-card > * {
    position: relative;
    z-index: 1;
}

.counter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(24, 49, 83, 0.14);
}

.counter-number {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1;
    color: var(--navy);
}

.counter-card p {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(44, 44, 44, 0.86);
}

.counter-card-dog::before {
    background: linear-gradient(rgba(24, 49, 83, 0.24), rgba(24, 49, 83, 0.4)),
        url("images/macey.jpeg") center center / cover no-repeat;
}

.counter-card-dog:hover::before,
.counter-card-dog:focus-within::before,
.counter-card-dog.is-active::before {
    opacity: 1;
}

.counter-card-dog:hover .counter-number,
.counter-card-dog:hover p,
.counter-card-dog:focus-within .counter-number,
.counter-card-dog:focus-within p,
.counter-card-dog.is-active .counter-number,
.counter-card-dog.is-active p {
    color: #ffffff;
}

/* =========================
   SUB HERO
========================= */
.sub-hero {
    height: 40vh;
    min-height: 280px;
    background: url("images/fassaden.jpg") center/cover no-repeat;
    position: relative;
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.sub-hero-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* =========================
   LEISTUNGEN
========================= */
.leistungen {
    padding: 100px 0;
}

.services-page .leistungen .container,
.services-page .services-extra .container,
.services-page .details .container {
    max-width: 900px;
}

.leistungen-intro,
.services-extra-intro {
    max-width: 820px;
    margin-bottom: 56px;
}

.services-page .leistungen {
    padding: 96px 0 34px;
}

.services-page .leistungen-intro,
.services-page .services-extra-intro,
.services-page .leistung-text {
    max-width: 760px;
}

.services-page .leistungen-intro h2,
.services-page .services-extra-intro h2 {
    margin-bottom: 18px;
    line-height: 1.3;
}

.leistungen-intro h2,
.services-extra-intro h2 {
    margin-top: 0;
    color: var(--navy);
}

.leistungen-intro p:last-child,
.services-extra-intro p:last-child {
    color: rgba(44, 44, 44, 0.88);
}

.leistung-item {
    display: block;
    margin-bottom: 64px;
}

.leistung-text {
    max-width: 900px;
}

.services-page .leistungen-intro p:last-child,
.services-page .services-extra-intro p:last-child,
.services-page .leistung-text p {
    line-height: 1.85;
}

.leistung-text h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--navy);
}

.leistung-heading,
.service-card-heading {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.leistung-heading {
    align-items: center;
    gap: 12px;
}

.leistung-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    color: var(--navy);
    transform: translateY(2px);
}

.leistung-icon svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.leistung-icon-small {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 16px;
}

.leistung-icon-small svg {
    width: 28px;
    height: 28px;
}

.leistung-text p + p {
    margin-top: 16px;
}

.services-extra {
    padding: 0 0 100px;
}

.services-page .services-extra {
    padding-bottom: 42px;
}

.services-grid {
    margin-top: 0;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 138px;
    padding: 24px 24px;
    border-radius: 22px;
    border: 1px solid rgba(24, 49, 83, 0.09);
    background: #fffdf9;
    box-shadow: 0 10px 24px rgba(24, 49, 83, 0.035);
    text-align: center;
}

.service-card h3 {
    margin-bottom: 0;
    color: var(--navy);
    line-height: 1.35;
}

.service-card .service-card-heading {
    gap: 10px;
}

.service-card .leistung-icon-small {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.service-card .leistung-icon-small svg {
    width: 26px;
    height: 26px;
}

/* =========================
   DETAILS
========================= */
.details {
    background: #f7f7f7;
    padding: 100px 0;
}

.services-page .details {
    padding: 68px 0 86px;
}

.services-page .details h2 {
    margin-top: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.detail-grid h3 {
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
}

/* =========================
   UEBER UNS
========================= */
.about-split {
    padding: 32px 0;
}

.about-intro {
    padding: 56px 0 12px;
}

.about-intro .container {
    max-width: 980px;
}

.about-intro p {
    max-width: 760px;
    line-height: 1.9;
    color: rgba(44, 44, 44, 0.9);
}

.about-page .about-split .container,
.about-page .about-history .container {
    max-width: 980px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-page .about-grid {
    grid-template-columns: 1fr;
}

.about-page .about-team .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-box h3 {
    font-family: "Playfair Display", serif;
    margin-bottom: 16px;
    color: var(--navy);
    line-height: 1.2;
}

.about-box p {
    line-height: 1.85;
    color: rgba(44, 44, 44, 0.9);
    max-width: 52rem;
}

.about-panel,
.about-profile {
    border: 1px solid rgba(24, 49, 83, 0.09);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(24, 49, 83, 0.05);
}

.about-panel {
    padding: 30px 34px;
}

.about-panel h3 {
    font-size: 1.75rem;
}

.about-profile {
    padding: 30px 34px 26px;
}

.about-profile h3 {
    font-size: 1.7rem;
}

.about-list {
    padding-left: 20px;
    line-height: 1.9;
    color: rgba(44, 44, 44, 0.92);
}

.about-list li + li {
    margin-top: 8px;
}

.about-overview {
    padding-top: 96px;
    padding-bottom: 30px;
}

.about-overview .container {
    max-width: 900px;
}

.about-overview .about-grid {
    gap: 52px;
}

.about-overview .about-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-overview .about-panel h3 {
    font-size: 2rem;
}

.about-team {
    padding-top: 20px;
    padding-bottom: 34px;
}

.about-history {
    padding: 36px 0 92px;
}

.about-history-intro {
    max-width: 760px;
}

.about-history-intro h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--navy);
}

.about-history-intro p {
    line-height: 1.9;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.about-fact {
    padding: 28px 24px;
    border: 1px solid rgba(24, 49, 83, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ed 100%);
    box-shadow: 0 14px 34px rgba(24, 49, 83, 0.06);
}

.about-fact-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy-soft);
}

.about-fact strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.about-fact p {
    color: rgba(44, 44, 44, 0.84);
}

/* =========================
   KONTAKT
========================= */
.contact-intro {
    padding: 70px 0;
    text-align: center;
}

.contact-intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

.contact-box h2 {
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 15px;
}

/* =========================
   FORMULAR SEITE
========================= */
.form-intro {
    padding: 92px 0 26px;
}

.form-intro .container {
    max-width: 820px;
}

.form-intro p:not(.section-eyebrow) {
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(44, 44, 44, 0.88);
}

.form-intro h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--navy);
}

.form-list {
    padding: 34px 0 96px;
}

.form-list .container {
    max-width: 920px;
    padding: 16px 28px;
    border: 1px solid rgba(24, 49, 83, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(24, 49, 83, 0.06);
}

.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(24, 49, 83, 0.1);
}

.form-item:last-child {
    border-bottom: 0;
}

.form-link {
    text-decoration: none;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
}

.form-link:hover {
    color: var(--navy-soft);
}

.download-btn {
    width: 52px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 49, 83, 0.38);
    border-radius: 999px;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: 0.3s;
    flex-shrink: 0;
}

.download-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--navy);
    color: #ffffff;
    padding: 56px 0 24px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-col h3,
.footer-logo-text {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.footer-col h3 {
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    padding-left: 42px;
}

.footer-logo a {
    display: inline-flex;
}

.footer-logo-text {
    display: inline-flex;
    max-width: 220px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.76);
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-logo-text:hover,
.footer-logo-text:focus-visible {
    color: rgba(255, 255, 255, 0.72);
}

.footer-logo-text:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 4px;
}

.footer-logo img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-bottom .footer-links li {
    margin-bottom: 0;
}

/* =========================
   IMPRESSUM / DATENSCHUTZ
========================= */
.impressum,
.datenschutz {
    padding: 80px 0 96px;
    background: linear-gradient(180deg, #ffffff 0%, var(--stone) 100%);
}

.impressum .container,
.datenschutz .container {
    max-width: 860px;
    padding: 50px 56px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 49, 83, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(24, 49, 83, 0.07);
}

.impressum h2,
.datenschutz h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    line-height: 1.35;
}

.impressum h2:first-child,
.datenschutz h2:first-child {
    margin-top: 0;
}

.impressum p,
.datenschutz p {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(44, 44, 44, 0.88);
}

.datenschutz ul {
    display: grid;
    gap: 10px;
    margin: 8px 0 26px;
    padding-left: 0;
    list-style: none;
}

.datenschutz li {
    position: relative;
    padding-left: 26px;
    color: rgba(44, 44, 44, 0.88);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.datenschutz li::before {
    content: "";
    position: absolute;
    top: 0.9em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: 0 0 0 4px rgba(24, 49, 83, 0.12);
    transform: translateY(-50%);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }

    .header-inner {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 18px;
        min-height: auto;
        padding: 18px 0;
    }

    .logo {
        justify-content: center;
        padding-right: 0;
        padding-bottom: 14px;
        width: 100%;
    }

    .logo img {
        max-width: 250px;
        max-height: 72px;
    }

    .navigation ul {
        gap: 10px 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navigation a {
        display: inline-flex;
        min-height: 44px;
        padding: 0 14px;
        font-size: 0.95rem;
    }

    .hero,
    .hero-overlay {
        min-height: clamp(420px, 60vh, 560px);
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 8vw, 4.4rem);
    }

    .home-services-inner {
        padding: 0 18px;
    }

    .counter-grid,
    .detail-grid,
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-page .about-team .about-grid,
    .about-facts {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        justify-content: flex-start;
        padding-left: 0;
        padding-top: 10px;
        border-top: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .leistungen,
    .details {
        padding: 80px 0;
    }

    .services-page .leistungen {
        padding: 80px 0 28px;
    }

    .services-extra {
        padding-bottom: 80px;
    }

    .services-page .services-extra {
        padding-bottom: 38px;
    }

    .services-page .details {
        padding: 60px 0 74px;
    }

    .leistung-item {
        margin-bottom: 62px;
    }

    .about-overview {
        padding-top: 80px;
    }

    .contact-intro {
        padding: 62px 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .impressum,
    .datenschutz {
        padding: 56px 0;
    }

    .impressum .container,
    .datenschutz .container {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 14px 0;
        align-items: center;
        position: relative;
    }

    .logo {
        justify-content: flex-start;
        width: auto;
        padding-right: 0;
        padding-bottom: 0;
    }

    .logo img {
        max-width: 220px;
        max-height: 64px;
    }

    .nav-toggle {
        position: relative;
        z-index: 12;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 32px;
        height: 26px;
        padding: 0;
        margin: 0;
        border: 0;
        outline: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        color: var(--navy);
        cursor: pointer;
        transition: color 0.25s ease, opacity 0.25s ease;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible {
        color: var(--navy-soft);
        opacity: 0.9;
    }

    .nav-toggle:focus-visible {
        outline: 2px solid rgba(24, 49, 83, 0.3);
        outline-offset: 3px;
    }

    .nav-toggle-bar {
        display: block;
        width: 26px;
        height: 2px;
        flex: 0 0 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.25s ease, opacity 0.25s ease;
        transform-origin: center;
    }

    .header.is-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

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

    .header.is-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .navigation {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        z-index: 11;
        display: flex;
        width: 100%;
        padding: 14px 18px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(24, 49, 83, 0.1);
        border-radius: 20px;
        box-shadow: 0 18px 40px rgba(18, 32, 54, 0.14);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
        backdrop-filter: blur(10px);
    }

    .header.is-open .navigation {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navigation ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .navigation li + li {
        border-top: 1px solid rgba(24, 49, 83, 0.18);
    }

    .navigation a {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 4px;
        font-size: 0.98rem;
        border-radius: 0;
        background: transparent;
    }

    .navigation a::after {
        display: none;
    }

    .hero,
    .hero-overlay {
        min-height: clamp(360px, 58vh, 500px);
    }

    .hero-overlay {
        padding: 48px 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .home-services-inner {
        padding: 0;
    }

    .home-services {
        padding: 56px 0 28px;
    }

    .section-link {
        width: 100%;
        max-width: 280px;
    }

    .counter-section {
        padding: 38px 0 58px;
    }

    .counter-card {
        padding: 28px 18px;
    }

    .sub-hero {
        height: 30vh;
        min-height: 220px;
    }

    .sub-hero-overlay h1 {
        font-size: 2rem;
        text-align: center;
        padding: 0 15px;
    }

    .contact-box {
        padding: 25px 20px;
    }

    .leistungen,
    .details {
        padding: 64px 0;
    }

    .services-page .leistungen {
        padding: 62px 0 22px;
    }

    .leistungen-intro,
    .services-extra-intro {
        margin-bottom: 38px;
    }

    .leistung-item {
        margin-bottom: 46px;
    }

    .leistung-heading,
    .service-card-heading {
        gap: 12px;
    }

    .leistung-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .leistung-icon svg {
        width: 32px;
        height: 32px;
    }

    .leistung-icon-small {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }

    .leistung-icon-small svg {
        width: 24px;
        height: 24px;
    }

    .services-extra {
        padding-bottom: 64px;
    }

    .services-page .services-extra {
        padding-bottom: 30px;
    }

    .services-page .details {
        padding: 52px 0 64px;
    }

    .detail-grid {
        margin-top: 28px;
        gap: 22px;
    }

    .service-card,
    .about-panel,
    .about-profile,
    .about-fact {
        padding: 24px 20px;
    }

    .service-card {
        justify-content: flex-start;
        min-height: 144px;
    }

    .service-card h3 {
        width: 100%;
        text-align: left;
    }

    .service-card .service-card-heading {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
    }

    .service-card .leistung-icon-small {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        justify-self: center;
        align-self: center;
    }

    .service-card .leistung-icon-small svg {
        width: 29px;
        height: 29px;
    }

    .about-overview {
        padding-top: 62px;
        padding-bottom: 22px;
    }

    .about-overview .about-grid {
        gap: 34px;
    }

    .about-team {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .about-history {
        padding: 34px 0 68px;
    }

    .contact-intro {
        padding: 52px 0 34px;
    }

    .contact {
        padding: 28px 0 64px;
    }

    .contact-grid {
        gap: 18px;
    }

    .form-intro {
        padding: 64px 0 18px;
    }

    .form-list {
        padding: 24px 0 72px;
    }

    .form-item {
        align-items: center;
        gap: 14px;
        padding: 18px 0;
    }

    .form-link {
        flex: 1;
        min-width: 0;
    }

    .download-btn {
        width: 44px;
        height: 44px;
    }

    .footer {
        padding: 46px 0 28px;
        margin-top: 0;
    }

    .footer-logo img {
        max-width: 190px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    .header-inner {
        padding: 12px 0;
        gap: 12px;
    }

    .nav-toggle {
        width: 30px;
        height: 24px;
    }

    .logo img {
        max-width: 190px;
        max-height: 56px;
    }

    .navigation a {
        min-height: 46px;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .hero-copy h1 {
        font-size: 2.15rem;
    }

    .hero-overlay {
        min-height: 340px;
        padding: 40px 16px;
    }

    .home-services {
        padding-top: 42px;
    }

    .sub-hero {
        min-height: 190px;
    }

    .section-eyebrow {
        letter-spacing: 0.16em;
    }

    .form-list .container {
        padding: 12px 18px;
        border-radius: 18px;
    }

    .footer-grid {
        gap: 26px;
    }

    .footer-bottom {
        gap: 12px;
    }
}
