@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f3efe8;
    --bg-soft: #f8f5f0;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-strong: #ffffff;
    --primary: #1b312d;
    --primary-soft: #2d4b45;
    --primary-light: #e3ece8;
    --accent: #d9ae66;
    --accent-soft: #f6ebd4;
    --text: #1f201d;
    --muted: #5d655d;
    --line: rgba(16, 45, 34, 0.12);
    --shadow: 0 18px 42px rgba(16, 45, 34, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(243, 239, 232, 0.9), rgba(243, 239, 232, 0.96)),
        url("../img/Hintergrund.jpg") center/cover no-repeat fixed;
    color: var(--text);
    line-height: 1.7;
}

.welcome-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 24, 22, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.welcome-overlay-inner {
    text-align: center;
    padding: 32px 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.8s ease;
}

.welcome-overlay.is-visible .welcome-overlay-inner {
    transform: translateY(0) scale(1);
}

.welcome-logo {
    width: min(230px, 70vw);
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

.welcome-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(217, 174, 102, 0.14);
    border: 1px solid rgba(217, 174, 102, 0.35);
    color: #f6ebd4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.welcome-overlay-inner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}

.welcome-overlay-inner p {
    margin: 12px 0 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

button,
input,
textarea {
    font: inherit;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 14px;
    color: var(--primary);
    line-height: 1.2;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

section[id],
[id]:not(body):not(html) {
    scroll-margin-top: 130px;
}

.site-main {
    padding: 20px 0 40px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0 12px;
    background: linear-gradient(to bottom, rgba(17, 24, 23, 0.12), rgba(17, 24, 23, 0));
}

.navbar-custom {
    position: relative;
    background: rgba(20, 35, 32, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(16, 45, 34, 0.08);
    min-height: 84px;
    padding: 0 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.scroll-progress-wrap {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(217, 174, 102, 0.9), rgba(255, 255, 255, 0.9));
    box-shadow: 0 0 14px rgba(217, 174, 102, 0.5);
    transition: width 0.12s ease-out;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 12px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: transform 0.28s ease, filter 0.25s ease;
}

.navbar-brand:hover,
.navbar-brand:focus-visible {
    transform: rotate(-4deg) translateY(-1px);
    filter: drop-shadow(0 8px 18px rgba(217, 174, 102, 0.18));
}

.navbar-brand:active,
.navbar-brand.is-tilted {
    transform: rotate(-7deg) scale(1.02);
}

.brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.logo {
    width: 170px;
    height: 78px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.28s ease;
}

.navbar-brand:hover .logo,
.navbar-brand:focus-visible .logo,
.navbar-brand.is-tilted .logo {
    transform: rotate(-8deg);
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

.nav-cta {
    background: rgba(217, 174, 102, 0.18);
    border: 1px solid rgba(217, 174, 102, 0.45);
    color: #fff !important;
    box-shadow: 0 10px 18px rgba(17, 24, 23, 0.12);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: transparent;
    padding: 10px 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 999px;
}

.hero {
    padding: 30px 0 18px;
}

.hero-grid,
.story-shell,
.contact-layout,
.footer-layout,
.custom-grid,
.two-col {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: 620px;
}

.eyebrow,
.kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 45, 34, 0.07);
    border: 1px solid rgba(16, 45, 34, 0.08);
    color: var(--primary-soft);
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.page-banner h1 {
    margin-top: 18px;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 640px;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    box-shadow: 0 14px 24px rgba(16, 45, 34, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(16, 45, 34, 0.24);
}

.btn-secondary {
    background: rgba(16, 45, 34, 0.05);
    border: 1px solid rgba(16, 45, 34, 0.1);
    color: var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px rgba(16, 45, 34, 0.12);
    border-color: rgba(16, 45, 34, 0.2);
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 0;
    margin: 18px 0 0;
}

.hero-points li {
    position: relative;
    padding-left: 24px;
    font-weight: 700;
    color: var(--primary);
}

.hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

.hero-media,
.story-media {
    position: relative;
}

.hero-card,
.story-image,
.contact-panel,
.info-panel,
.feature-box,
.service-card,
.about-panel,
.page-banner,
.process-panel,
.cta-box,
.info-card,
.contact-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.hero-card {
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.section {
    padding: 26px 0 10px;
}

.section-header {
    margin-bottom: 26px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-top: 12px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(16, 45, 34, 0.04);
}

.metric-value {
    display: block;
    font-size: clamp(1.7rem, 2vw, 2.5rem);
    color: var(--primary);
    font-weight: 800;
}

.metric-label {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.feature-grid,
.service-grid {
    display: grid;
    gap: 24px;
}

.leistung-slider-topline {
    margin: 0 0 18px;
}

.leistung-slider-topline .kicker {
    display: inline-block;
    margin-bottom: 8px;
}

.leistung-slider-topline p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    line-height: 1.6;
}

.leistung-slider-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
}

.slider-cta-button {
    background: linear-gradient(135deg, var(--primary), #486b5d);
    box-shadow: 0 18px 28px rgba(16, 45, 34, 0.18);
}

.slider-cta-button:hover,
.slider-cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 24px 34px rgba(16, 45, 34, 0.24);
}

.leistung-slider-wrap {
    position: relative;
    margin-top: 8px;
}

.leistung-slider {
    position: relative;
    height: 640px;
    border-radius: 30px;
    overflow: hidden;
    background: #dfe6e0;
    box-shadow: 0 24px 60px rgba(16, 45, 34, 0.12);
}

.leistung-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 42px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.leistung-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 17, 15, 0.78) 0%, rgba(11, 17, 15, 0.55) 32%, rgba(11, 17, 15, 0.12) 100%);
}

.leistung-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}

.leistung-slide-content {
    position: relative;
    z-index: 3;
    max-width: 560px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.leistung-slide-action {
    position: absolute;
    left: 18px;
    top: 24px;
    right: auto;
    bottom: auto;
    z-index: 8;
}

.leistung-slide-action .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.leistung-slide-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}

.leistung-slide-content h3 {
    font-size: clamp(2.2rem, 3vw, 4rem);
    line-height: 1.05;
    margin: 0 0 14px;
    color: #fff;
}

.leistung-slide-content p {
    max-width: 46ch;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.04rem;
    line-height: 1.7;
}

.leistung-slider-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 246, 242, 0.94) 80%, rgba(248, 246, 242, 1));
    pointer-events: none;
    z-index: 2;
}

.leistung-slider-timer {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    z-index: 6;
}

.leistung-slider-timer-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(217, 174, 102, 0.95));
    box-shadow: 0 0 14px rgba(217, 174, 102, 0.5);
    transition: width 0.08s linear;
}

.leistung-slider-prev,
.leistung-slider-next {
    position: absolute;
    border: 1px solid rgba(16, 45, 34, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 14px 24px rgba(16, 45, 34, 0.12);
    cursor: pointer;
    z-index: 5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leistung-slider-prev {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
}

.leistung-slider-next {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
}

.leistung-slider-prev:hover,
.leistung-slider-prev:focus,
.leistung-slider-next:hover,
.leistung-slider-next:focus {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 18px 26px rgba(16, 45, 34, 0.18);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-box {
    padding: 24px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-box:hover,
.feature-box:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(16, 45, 34, 0.12);
    border-color: rgba(16, 45, 34, 0.18);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 26px 42px rgba(16, 45, 34, 0.16);
    border-color: rgba(16, 45, 34, 0.2);
}

.service-card img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.service-card-body {
    padding: 22px 22px 20px;
}

.card-link {
    margin-top: 10px;
    background: transparent;
    border: 1px solid rgba(16, 45, 34, 0.12);
    color: var(--primary);
}

.card-link:hover,
.card-link:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.story-shell {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.story-image img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 24px;
}

.page-banner {
    padding: 34px 28px;
    margin: 12px 0 20px;
}

.page-banner p {
    max-width: 720px;
}

.cta-section {
    padding: 28px 0 56px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), #1d5148);
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(16, 45, 34, 0.18);
}

.cta-box h2,
.cta-box p,
.cta-box .kicker {
    color: #fff;
}

.cta-box .kicker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
}

.contact-layout-tight {
    gap: 20px;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: stretch;
}

.contact-panel,
.info-panel,
.info-card,
.contact-card {
    padding: 24px 22px;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-image-wrap {
    margin-top: 20px;
}

.contact-image-wrap img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 260px;
    display: block;
}

.map-wrap {
    margin-top: 18px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(16, 45, 34, 0.12);
    box-shadow: var(--shadow);
}

.map-wrap iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}

.map-link {
    display: inline-flex;
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(16, 45, 34, 0.08), rgba(108, 156, 127, 0.12));
    border: 1px solid rgba(16, 45, 34, 0.12);
    color: var(--primary);
    box-shadow: 0 12px 24px rgba(16, 45, 34, 0.08);
}

.map-link:hover,
.map-link:focus {
    background: linear-gradient(135deg, rgba(16, 45, 34, 0.12), rgba(108, 156, 127, 0.18));
    border-color: rgba(16, 45, 34, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(16, 45, 34, 0.12);
}

.privacy-panel p:last-of-type {
    margin-bottom: 0;
}

.contact-list,
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li,
.footer-list li {
    margin-bottom: 12px;
    color: var(--muted);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.contact-call-button {
    background: linear-gradient(135deg, var(--primary), #486b5d);
    box-shadow: 0 18px 28px rgba(16, 45, 34, 0.18);
}

.contact-call-button:hover,
.contact-call-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 24px 34px rgba(16, 45, 34, 0.24);
}

.service-picker-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.service-picker-status {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
}

.service-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.service-chip {
    appearance: none;
    border: 1px solid rgba(16, 45, 34, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.service-chip:hover,
.service-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(16, 45, 34, 0.24);
}

.service-chip.is-selected {
    background: linear-gradient(135deg, rgba(217, 174, 102, 0.25), rgba(217, 174, 102, 0.4));
    border-color: rgba(217, 174, 102, 0.7);
    box-shadow: 0 12px 18px rgba(217, 174, 102, 0.18);
    color: #1c2b26;
}

.selected-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 38px;
    margin-top: 12px;
}

.selected-service-tags .tag-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 45, 34, 0.05);
    border: 1px solid rgba(16, 45, 34, 0.12);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.selected-service-tags .tag-empty {
    color: var(--muted);
    font-size: 0.82rem;
    padding: 7px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row label {
    display: block;
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--primary);
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 45, 34, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 13px 14px;
    color: var(--primary);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(16, 45, 34, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(16, 45, 34, 0.32);
    box-shadow: 0 0 0 3px rgba(16, 45, 34, 0.06);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-privacy-info {
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(227, 236, 232, 0.42);
}

.form-privacy-info h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.form-privacy-info dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.form-privacy-info dl div {
    display: grid;
    grid-template-columns: minmax(145px, 0.3fr) minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid rgba(16, 45, 34, 0.1);
}

.form-privacy-info dt {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.86rem;
    line-height: 1.5;
}

.form-privacy-info dd,
.form-privacy-info p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.form-privacy-info p {
    margin-top: 10px;
}

.privacy-consent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: start;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(16, 45, 34, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-form .privacy-consent input[type="checkbox"] {
    width: 21px;
    height: 21px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.privacy-consent label {
    font-size: 0.9rem;
    line-height: 1.6;
    cursor: pointer;
}

.map-privacy-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.map-privacy-note a {
    font-weight: 700;
}

.contact-form .btn-primary {
    margin-top: 4px;
    width: fit-content;
    min-width: 190px;
}

.legal-inline-link {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    color: var(--primary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal.is-open {
    display: flex;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 24, 0.62);
    backdrop-filter: blur(4px);
}

.legal-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.22);
    padding: 30px 26px 24px;
}

.legal-header {
    margin-bottom: 18px;
}

.legal-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0 20px;
}

.legal-tab {
    background: rgba(16, 45, 34, 0.04);
    border: 1px solid rgba(16, 45, 34, 0.12);
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
}

.legal-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.legal-panel {
    display: none;
}

.legal-panel.is-visible {
    display: block;
}

.legal-panel h4 {
    margin-bottom: 12px;
}

.form-control {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(16, 45, 34, 0.12);
    background: rgba(255, 255, 255, 0.75);
    padding: 12px 14px;
    margin-bottom: 14px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.details-panel {
    margin-top: 20px;
}

.details-panel summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.site-footer {
    background: transparent;
    color: var(--primary);
    padding: 14px 0 18px;
    margin-top: 42px;
    border-top: none;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(27, 49, 45, 0.1);
    border-radius: 20px;
    padding: 14px 18px;
    min-height: 76px;
    box-shadow: 0 8px 22px rgba(16, 45, 34, 0.04);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.footer-brand strong,
.footer-brand span,
.footer-meta-item,
.footer-meta-item a,
.footer-bottom {
    color: var(--primary);
}

.footer-brand strong {
    display: block;
    color: var(--primary);
    font-size: 0.96rem;
    margin-bottom: 2px;
    font-weight: 800;
}

.footer-brand span {
    display: block;
    font-size: 0.76rem;
    opacity: 0.8;
}

.footer-logo {
    width: 104px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-nav a:hover,
.footer-nav a:focus {
    background: rgba(16, 45, 34, 0.06);
    color: var(--primary);
}

.footer-nav-cta {
    background: rgba(16, 45, 34, 0.06);
    color: var(--primary) !important;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    flex-shrink: 0;
}

.footer-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.74rem;
}

.footer-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}

.site-footer a,
.footer-scroll-top {
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-footer a:hover,
.site-footer a:focus,
.footer-scroll-top:hover,
.footer-scroll-top:focus {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-1px);
}

.footer-scroll-top {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(16, 45, 34, 0.08);
    font-size: 0.78rem;
    opacity: 0.9;
}

@media (max-width: 860px) {
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav,
    .footer-meta {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-nav {
        justify-content: flex-start;
    }
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(16, 45, 34, 0.95);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 18px 32px rgba(16, 45, 34, 0.18);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-top:hover,
.scroll-top:focus {
    transform: translateY(-4px);
    box-shadow: 0 26px 36px rgba(16, 45, 34, 0.24);
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.service-modal.is-open {
    display: flex;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 24, 0.62);
    backdrop-filter: blur(4px);
}

.service-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.22);
    padding: 30px 26px 24px;
}

.service-modal-dialog h3 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.service-modal-dialog ul {
    margin: 18px 0 22px;
    padding-left: 18px;
}

.service-modal-dialog li {
    color: var(--muted);
}

.service-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(16, 45, 34, 0.06);
    color: var(--primary);
    font-size: 1.7rem;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {

    .hero-grid,
    .story-shell,
    .contact-layout,
    .footer-layout,
    .feature-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .footer-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .form-privacy-info {
        padding: 15px 14px;
    }

    .form-privacy-info dl div {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 8px 0;
    }

    .privacy-consent {
        gap: 10px;
        padding: 12px;
    }

    .nav-toggle {
        display: inline-block;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 9px 8px;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.02);
        flex-shrink: 0;
    }

    .nav-toggle span {
        height: 1.5px;
        margin: 4px 0;
        background: rgba(255, 255, 255, 0.92);
    }

    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .nav-shell {
        flex-wrap: wrap;
        align-items: center;
    }

    .navbar-brand {
        flex: 1;
        min-width: 0;
        padding: 4px 4px 4px 0;
    }

    .brand-text {
        font-size: 0.72rem;
        letter-spacing: 0.03em;
        white-space: normal;
        line-height: 1.25;
    }

    .logo {
        width: 88px;
        height: 41px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        padding: 12px 0 4px;
    }

    .nav-menu.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-list a {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-grid,
    .story-shell,
    .contact-layout,
    .contact-detail-grid,
    .footer-layout,
    .feature-grid,
    .service-grid,
    .metrics {
        grid-template-columns: 1fr;
    }

    .hero-card img {
        height: 420px;
    }

    .service-picker-header {
        align-items: flex-start;
    }

    .service-picker {
        gap: 6px;
        margin-top: 6px;
    }

    .service-chip {
        padding: 7px 9px;
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .selected-service-tags {
        gap: 5px;
        min-height: 30px;
        margin-top: 8px;
    }

    .selected-service-tags .tag-item {
        padding: 4px 7px;
        font-size: 0.72rem;
    }

    .leistung-slider {
        height: 430px;
    }

    .leistung-slide {
        padding: 16px 14px 76px;
    }

    .leistung-slide-content {
        max-width: 100%;
        align-items: flex-start;
    }

    .leistung-slide-action {
        position: relative;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        margin-top: 8px;
        width: auto;
        display: flex;
        justify-content: flex-start;
    }

    .leistung-slide-action .btn-primary {
        width: auto;
        max-width: 190px;
        padding: 10px 14px;
        font-size: 0.82rem;
        margin-top: 0;
    }

    .leistung-slide-content h3 {
        font-size: 1.65rem;
        line-height: 1.12;
        margin-bottom: 10px;
    }

    .leistung-slide-content p {
        font-size: 0.84rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .leistung-slider-gradient {
        height: 100px;
    }

    .leistung-slider-prev {
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .leistung-slider-next {
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-box {
        text-align: center;
    }

    .site-footer {
        padding-top: 24px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-list li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .scroll-top {
        width: 38px;
        height: 38px;
        right: 10px;
        bottom: 10px;
        font-size: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .container {
        width: min(1480px, calc(100% - 48px));
    }
}

@media (min-width: 1800px) {
    .container {
        width: min(1650px, calc(100% - 72px));
    }

    .site-main {
        padding-top: 32px;
    }

    .hero-grid {
        min-height: 760px;
    }

    .hero-card img {
        height: 760px;
    }

    .service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}