:root {
    --primary: #163a5f;
    --primary-dark: #0d1b2a;
    --secondary: #00b4d8;
    --accent: #38bdf8;
    --background: #f7f9fc;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #667085;
    --line: #dbe5ef;
    --shadow: 0 20px 55px rgba(9, 39, 71, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 104px;
    padding: 12px clamp(20px, 4vw, 64px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(219, 229, 239, 0.8);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: clamp(330px, 24vw, 420px);
}

.brand-logo {
    display: block;
    width: clamp(330px, 24vw, 420px);
    height: auto;
    max-width: none;
}

.main-nav {
    justify-self: center;
    display: flex;
    gap: clamp(14px, 1.8vw, 30px);
    color: #0b2440;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a {
    padding: 12px 0;
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--secondary);
    border-radius: 6px;
    background: linear-gradient(135deg, var(--secondary), #1596a8);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.22);
    min-width: 0;
    text-align: center;
}

.button-small {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 13px;
}

.button-ghost {
    background: #fff;
    color: var(--primary-dark);
    border-color: var(--primary);
    box-shadow: none;
}

.hero {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
    align-items: stretch;
    overflow: hidden;
    background: #eaf1f7;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 82px) clamp(24px, 5vw, 68px);
    background: linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.9) 72%, rgba(247, 249, 252, 0) 100%);
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 650px;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: clamp(42px, 4.8vw, 70px);
    line-height: 1.02;
    letter-spacing: 0;
}

h1 span,
h2 span,
.workflow-panel h3 span {
    color: #008fa6;
}

.hero-lead {
    max-width: 600px;
    color: #102a45;
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 600;
}

.hero-sub {
    max-width: 580px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 720px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(22, 58, 95, 0.14);
    border-radius: 8px;
    background: rgba(22, 58, 95, 0.14);
    box-shadow: 0 18px 36px rgba(9, 39, 71, 0.08);
}

.hero-proof span {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.78);
    color: #41546b;
    font-size: 13px;
    font-weight: 750;
}

.hero-proof svg {
    grid-row: span 2;
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

.hero-proof strong {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-dark);
    font-size: 14px;
    line-height: 1.2;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-floating-card {
    position: absolute;
    right: clamp(24px, 5vw, 72px);
    bottom: clamp(24px, 5vw, 64px);
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 14px;
    width: min(390px, calc(100% - 48px));
    padding: 18px;
    border: 1px solid rgba(219, 229, 239, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    box-shadow: 0 22px 55px rgba(9, 39, 71, 0.18);
    backdrop-filter: blur(10px);
}

.hero-floating-card svg {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    color: var(--secondary);
}

.hero-floating-card strong {
    font-size: 16px;
    line-height: 1.25;
}

.hero-floating-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
}

.proof-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    padding: 16px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.problem-band,
.section,
.workflow-section,
.contact {
    padding-inline: clamp(20px, 4vw, 64px);
}

.problem-band {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(600px, 2.4fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    padding-block: 38px;
    background: #fff;
}

.section-title h2,
.split h2,
.about h2,
.contact h2 {
    color: var(--primary-dark);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
}

.compact h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.section-title p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.centered {
    text-align: center;
}

.centered p:not(.eyebrow) {
    margin-inline: auto;
}

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

.problem-item {
    min-width: 0;
}

.problem-item svg,
.industry-card svg {
    width: 42px;
    height: 42px;
    color: var(--primary);
}

.problem-item h3 {
    margin: 10px 0 6px;
    color: var(--primary-dark);
    font-size: 16px;
    line-height: 1.25;
}

.problem-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.solution-callout {
    padding: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.solution-callout h2 {
    margin-bottom: 12px;
    font-size: 26px;
}

.solution-callout a {
    display: inline-flex;
    margin-top: 14px;
    padding: 11px 22px;
    border-radius: 6px;
    background: var(--secondary);
    font-weight: 800;
}

.section {
    padding-block: clamp(44px, 6vw, 78px);
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, 0.65fr) 1.35fr;
    gap: 38px;
    align-items: start;
}

.step-grid,
.industry-grid,
.reference-grid,
.faq-grid {
    display: grid;
    gap: 20px;
}

.step-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.contact-form,
.faq article {
    border: 1px solid rgba(219, 229, 239, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(9, 39, 71, 0.06);
}

.card {
    padding: 28px;
}

.step-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--secondary), #168c9e);
    color: #fff;
    font-weight: 900;
}

.step-card {
    box-shadow: none;
    border: 0;
    border-top: 1px solid rgba(22, 58, 95, 0.16);
    border-radius: 0;
    background: transparent;
    padding-inline: 0;
}

.card h3 {
    color: var(--primary-dark);
    font-size: 20px;
}

.card p,
.faq p,
.about p,
.contact p {
    color: var(--muted);
}

.workflow-section {
    padding-block: 0 48px;
}

.workflow-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) 88px minmax(380px, 1.25fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 239, 0.86);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(9, 39, 71, 0.08);
}

.workflow-panel {
    padding: clamp(28px, 4vw, 52px);
}

.workflow-panel h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.08;
}

.workflow-panel p {
    color: var(--muted);
}

.panel-kicker {
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.workflow-panel-before {
    background:
        radial-gradient(circle at 15% 18%, rgba(216, 95, 95, 0.18), transparent 24%),
        linear-gradient(135deg, #ffffff, #f2f6fb);
}

.workflow-panel-after {
    background:
        radial-gradient(circle at 82% 20%, rgba(0, 180, 216, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(0, 180, 216, 0.08), rgba(255, 255, 255, 0.96)),
        #fff;
}

.manual-stack,
.manual-chaos {
    display: grid;
    gap: 10px;
    margin: 24px 0 18px;
}

.manual-stack span,
.manual-chaos span {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 11px 14px 11px 42px;
    border: 1px solid #d8e2ec;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.manual-stack span::before,
.manual-chaos span::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 12px;
    height: 12px;
    border: 2px solid #9aaabd;
    border-radius: 3px;
}

.manual-chaos {
    grid-template-columns: repeat(2, 1fr);
}

.manual-chaos span:nth-child(2n) {
    transform: translateY(8px);
}

.manual-chaos span:nth-child(3n) {
    background: #fff8e8;
}

.process-cost {
    display: block;
    padding: 14px 16px;
    border-left: 4px solid #d85f5f;
    border-radius: 6px;
    background: #fff5f5;
    color: #7f1d1d;
}

.workflow-bridge {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

.workflow-bridge span {
    display: grid;
    place-items: center;
    width: min(118px, calc(100% - 18px));
    min-height: 68px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 16px 28px rgba(9, 39, 71, 0.26);
}

.system-lane {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.system-lane span {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(0, 180, 216, 0.28);
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(9, 39, 71, 0.08);
}

.system-lane b {
    display: block;
    margin-bottom: 18px;
    color: var(--secondary);
    font-size: 12px;
}

.workflow-proof {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.62fr) minmax(560px, 1.38fr);
    gap: clamp(26px, 4vw, 56px);
    align-items: center;
    margin-top: clamp(34px, 6vw, 72px);
    padding: clamp(34px, 6vw, 86px);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 14px;
    background:
        radial-gradient(circle at 72% 24%, rgba(0, 180, 216, 0.34), transparent 32%),
        radial-gradient(circle at 34% 92%, rgba(56, 189, 248, 0.18), transparent 30%),
        linear-gradient(135deg, #071525 0%, #0a2741 54%, #06101d 100%);
    color: #eaf7ff;
    box-shadow: 0 34px 90px rgba(3, 12, 24, 0.34);
    overflow: hidden;
}

.workflow-proof::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(7, 21, 37, 0.92) 0%, rgba(7, 21, 37, 0.72) 48%, rgba(6, 16, 29, 0.82) 100%),
        radial-gradient(circle at 76% 28%, rgba(0, 180, 216, 0.32), transparent 34%);
    pointer-events: none;
}

.workflow-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(1.1) contrast(1.08) blur(0.2px);
    pointer-events: none;
}

.workflow-proof > *:not(.workflow-bg-video) {
    position: relative;
    z-index: 1;
}

.workflow-proof h2 {
    max-width: 680px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(36px, 4.7vw, 72px);
    line-height: 0.98;
}

.workflow-proof p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(234, 247, 255, 0.78);
    font-size: clamp(17px, 1.25vw, 21px);
}

.workflow-proof .eyebrow {
    color: #7ee7ff;
}

.workflow-proof > div:first-child {
    grid-row: 1 / span 2;
}

.workflow-proof-lead {
    margin-bottom: 26px;
}

.workflow-proof-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.workflow-proof-metrics span {
    min-height: 84px;
    padding: 16px;
    border: 1px solid rgba(126, 231, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
    color: #fff;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.workflow-proof-metrics strong {
    display: block;
    margin-bottom: 12px;
    color: #7ee7ff;
    font-size: 12px;
    font-weight: 900;
}

.workflow-media-stack {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.workflow-screenshot {
    grid-column: 2;
}

.workflow-screenshot {
    grid-row: 1;
}

.workflow-proof figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(126, 231, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 80px rgba(0, 180, 216, 0.18);
}

.workflow-screenshot::before {
    content: "Beispiel-Workflow";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(6, 31, 59, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.workflow-proof img {
    width: 100%;
    height: auto;
}


.pipeline-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.pipeline-board div {
    min-height: 126px;
    padding: 16px;
    border: 1px solid rgba(0, 180, 216, 0.26);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(9, 39, 71, 0.08);
}

.pipeline-board span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
}

.pipeline-board strong {
    display: block;
    color: var(--primary-dark);
    font-size: 17px;
}

.pipeline-board small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.pipeline-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.pipeline-result span {
    position: relative;
    min-height: 58px;
    padding: 12px 12px 12px 34px;
    border-radius: 6px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.pipeline-result span::before {
    content: "✓";
    position: absolute;
    left: 13px;
    color: var(--secondary);
    font-weight: 900;
}

.image-story-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    margin-top: 22px;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 64px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(6, 31, 59, 0.94) 0%, rgba(9, 39, 71, 0.82) 48%, rgba(9, 39, 71, 0.2) 100%),
        url("/assets/hero-erding-network.png") center / cover no-repeat;
}

.image-story-content {
    width: min(720px, 100%);
    color: #fff;
}

.image-story-content h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
}

.image-story-content p:not(.eyebrow) {
    max-width: 650px;
    color: #d8e7f3;
    font-size: 19px;
}

.image-story-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 32px;
}

.image-story-points span {
    min-height: 70px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.service-grid span,
.why-row span {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 800;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.service-icon-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.service-tabs {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(560px, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.service-tab-list {
    display: grid;
    gap: 10px;
}

.service-tab {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    color: var(--primary-dark);
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.service-tab svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 8px;
    background: #eefbff;
    color: #0b5db8;
}

.service-tab.is-active {
    border-color: var(--primary);
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow);
}

.service-tab.is-active svg {
    background: rgba(0, 180, 216, 0.16);
    color: #fff;
}

.service-tab-panels {
    min-width: 0;
}

.service-panel {
    min-height: 470px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(219, 229, 239, 0.9);
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(0, 180, 216, 0.15), transparent 34%),
        #fff;
    box-shadow: var(--shadow);
}

.service-panel h3 {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1.02;
}

.service-panel > p:not(.service-pain) {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
    margin: 30px 0;
}

.service-detail-grid h4 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 15px;
}

.service-detail-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-detail-grid li {
    position: relative;
    padding-left: 24px;
    color: #34495f;
    font-weight: 750;
}

.service-detail-grid li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 10px;
    height: 2px;
    background: var(--secondary);
}

.service-flow-horizontal {
    grid-template-columns: repeat(3, 1fr);
}

.service-panel > strong {
    display: block;
    max-width: 760px;
    padding: 18px 20px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.service-panel > a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--secondary);
    font-weight: 850;
}

.service-icon-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    grid-column: span 3;
    gap: 18px;
    min-height: 320px;
    padding: 24px;
    text-align: left;
    background:
        radial-gradient(circle at top right, rgba(0, 180, 216, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(0, 180, 216, 0.04), rgba(255, 255, 255, 0) 42%),
        #fff;
}

.service-icon-card-featured {
    grid-column: span 6;
    min-height: 320px;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: stretch;
    padding: 0;
    background:
        linear-gradient(135deg, rgba(6, 31, 59, 0.98), rgba(22, 58, 95, 0.94)),
        var(--primary-dark);
    color: #fff;
}

.service-card-head {
    display: grid;
    gap: 18px;
}

.service-icon-card-featured .service-card-head {
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.service-card-head > svg {
    width: 52px;
    height: 52px;
    padding: 12px;
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 8px;
    background: #eefbff;
    color: #0b5db8;
}

.service-icon-card-featured .service-card-head > svg {
    width: 62px;
    height: 62px;
    border-color: rgba(0, 180, 216, 0.45);
    background: rgba(0, 180, 216, 0.12);
    color: #fff;
}

.service-flow {
    display: grid;
    gap: 8px;
}

.service-flow span {
    position: relative;
    display: block;
    padding: 9px 12px 9px 30px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(247, 249, 252, 0.9);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 850;
}

.service-flow span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--secondary);
}

.service-icon-card-featured .service-flow span {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.service-icon-card-featured .service-card-body {
    padding: 30px;
}

.service-pain {
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff5f5;
    color: #9f1d1d !important;
    font-size: 12px !important;
    font-weight: 850;
}

.service-icon-card-featured .service-pain {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.service-icon-card h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
}

.service-icon-card-featured h3 {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.02;
}

.service-icon-card p {
    margin: 0;
    color: #4f6075;
    font-size: 15px;
}

.service-icon-card-featured p:not(.service-pain) {
    color: #d8e7f3;
    font-size: 17px;
}

.service-icon-card strong {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--primary-dark);
    font-size: 14px;
    line-height: 1.35;
}

.service-icon-card-featured strong {
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    min-height: 390px;
    overflow: hidden;
    padding: 24px;
    border-top: 4px solid var(--secondary);
    background:
        linear-gradient(180deg, rgba(0, 180, 216, 0.05), rgba(255, 255, 255, 0) 38%),
        #fff;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: clamp(21px, 1.7vw, 27px);
    line-height: 1.08;
}

.service-card > p {
    color: #506176;
    font-size: 16px;
}

.service-build {
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid rgba(219, 229, 239, 0.95);
    border-radius: 8px;
    background: rgba(247, 249, 252, 0.88);
}

.service-build span {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-build ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-build li {
    position: relative;
    padding-left: 22px;
    color: #34495f;
    font-size: 14px;
    font-weight: 700;
}

.service-build li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 10px;
    height: 2px;
    background: var(--secondary);
}

.service-card > strong {
    display: block;
    margin-top: auto;
    padding: 16px 18px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.industry-grid {
    grid-template-columns: repeat(6, 1fr);
}

.examples-section {
    padding-top: 36px;
}

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

.example-card {
    overflow: hidden;
    padding: 0 0 24px;
}

.example-visual {
    position: relative;
    height: 160px;
    border-bottom: 1px solid var(--line);
}

.example-visual-symbol {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 70% 20%, rgba(0, 180, 216, 0.18), transparent 32%),
        linear-gradient(135deg, #eef7fb, #fff);
}

.example-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-visual-symbol span {
    position: static;
    width: 74px;
    height: 74px;
}

.example-visual span {
    position: absolute;
    left: 24px;
    bottom: -26px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #0b5db8;
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 93, 184, 0.24);
}

.example-visual svg {
    width: 28px;
    height: 28px;
}

.example-card h3 {
    padding: 40px 24px 4px;
    font-size: 19px;
}

.example-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 8px 24px 0;
    list-style: none;
}

.example-card li {
    position: relative;
    padding-left: 24px;
    color: #34495f;
    font-size: 14px;
    font-weight: 700;
}

.example-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0b5db8;
    font-weight: 900;
}

.industry-card {
    min-height: 230px;
}

.references {
    padding-top: 28px;
}

.reference-grid {
    grid-template-columns: repeat(3, 1fr);
}

.reference-card strong {
    display: block;
    margin-bottom: 10px;
    color: #008fa6;
    font-size: 20px;
}

.card-kicker {
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.mini-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 108px;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #eef7fb, #fff);
}

.mini-dashboard span {
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(22, 58, 95, 0.18), rgba(0, 180, 216, 0.24));
}

.about {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    background: var(--primary-dark);
    color: #fff;
}

.about h2,
.contact h2 {
    color: #fff;
}

.about p {
    color: #d8e7f3;
    font-size: 18px;
}

.why-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.why-row span {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.why-section {
    padding-top: 48px;
}

.case-section {
    background: #fff;
}

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

.case-card {
    display: grid;
    gap: 18px;
    min-height: 520px;
    padding: 28px;
    border: 1px solid rgba(219, 229, 239, 0.95);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbfe);
    box-shadow: var(--shadow);
}

.case-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 24px;
    line-height: 1.18;
}

.case-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.case-metric {
    display: block;
    margin: 0;
    color: var(--secondary);
    font-size: clamp(30px, 3vw, 48px);
    line-height: 0.95;
    letter-spacing: 0;
}

.case-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.case-card dt {
    margin-bottom: 4px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.case-card dd {
    margin: 0;
    color: #4f6075;
    font-size: 15px;
    line-height: 1.5;
}

.roi-section {
    padding-top: 32px;
}

.roi-card {
    display: grid;
    grid-template-columns: 1fr 1.05fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    padding: clamp(28px, 4vw, 46px);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-dark), #12385d);
    color: #fff;
    box-shadow: var(--shadow);
}

.roi-copy h2 {
    color: #fff;
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.08;
}

.roi-copy p:not(.eyebrow) {
    color: #d8e7f3;
}

.roi-form {
    display: grid;
    gap: 14px;
}

.roi-form label {
    display: grid;
    gap: 7px;
    color: #d8e7f3;
    font-size: 13px;
    font-weight: 800;
}

.roi-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font: inherit;
    font-weight: 800;
}

.roi-result {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
}

.roi-result span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.roi-result strong {
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
}

.why-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.why-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    min-height: 150px;
    padding: 28px;
    background: #fff;
}

.why-card svg {
    width: 36px;
    height: 36px;
    color: #0b5db8;
}

.why-card h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 18px;
}

.why-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.faq-grid {
    grid-template-columns: repeat(4, 1fr);
}

.faq article {
    padding: 24px;
}

.faq h3 {
    color: var(--primary-dark);
    font-size: 18px;
}

.contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    padding-block: clamp(56px, 8vw, 96px);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.contact p {
    color: #d8e7f3;
    font-size: 18px;
}

.contact-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    font-weight: 800;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px;
    background: #fff;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--text);
    font: inherit;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    color: #41546b !important;
    font-size: 13px !important;
    line-height: 1.45;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.page-hero {
    padding: clamp(58px, 8vw, 104px) clamp(20px, 4vw, 64px);
    background:
        linear-gradient(90deg, rgba(247, 249, 252, 0.98), rgba(247, 249, 252, 0.88)),
        url("/assets/hero-erding-network.png") center / cover no-repeat;
}

.page-hero h1 {
    max-width: 980px;
    margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(18px, 1.7vw, 22px);
}

.service-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.service-list-card,
.industry-page-card {
    overflow: hidden;
    border: 1px solid rgba(219, 229, 239, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.service-list-card {
    display: grid;
    grid-template-columns: 72px minmax(220px, 0.65fr) 1.35fr;
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
    padding: clamp(24px, 3vw, 38px) 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.service-list-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #eefbff;
    color: #0b5db8;
}

.service-list-icon svg {
    width: 30px;
    height: 30px;
}

.service-list-card h2,
.industry-page-card h2 {
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
}

.service-list-card h2 {
    margin: 0;
}

.service-list-card dl,
.case-card dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.service-list-card dt,
.industry-page-card h3 {
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-list-card dd {
    margin: 0;
    color: #4f6075;
}

.service-list-card a,
.industry-page-card a,
.case-card a {
    display: inline-flex;
    margin-top: 22px;
    color: var(--secondary);
    font-weight: 850;
}

.service-theme-section {
    display: grid;
    gap: 28px;
}

.service-theme-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(220px, 0.46fr);
    gap: 28px 40px;
    align-items: center;
    overflow: hidden;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(0, 143, 166, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 180, 216, 0.07), rgba(255, 255, 255, 0) 42%),
        #fff;
}

.service-theme-copy h2 {
    max-width: 680px;
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.06;
}

.service-theme-copy p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
}

.service-theme-copy a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    color: var(--secondary);
    font-weight: 900;
}

.service-theme-copy a::after {
    content: "→";
    font-size: 18px;
}

.service-theme-visual {
    justify-self: end;
    position: relative;
    display: grid;
    place-items: center;
    width: min(250px, 100%);
    aspect-ratio: 1.25;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.08), rgba(22, 58, 95, 0.04));
    color: #12843d;
}

.service-theme-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 2px solid currentColor;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
}

.service-theme-icon svg {
    width: 52px;
    height: 52px;
}

.service-theme-lines {
    position: absolute;
    right: 28px;
    top: 36px;
    display: grid;
    gap: 10px;
}

.service-theme-lines span {
    width: 64px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 999px;
    opacity: 0.48;
}

.service-theme-lines span:nth-child(2) {
    width: 44px;
}

.service-theme-lines span:nth-child(3) {
    width: 56px;
}

.service-theme-items {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 28px;
    margin: 4px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(22, 58, 95, 0.12);
    list-style: none;
}

.service-theme-items li {
    position: relative;
    padding-left: 28px;
    color: #34495f;
    font-weight: 750;
}

.service-theme-items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 18px;
    height: 18px;
    border: 2px solid #31a65a;
    border-radius: 999px;
}

.industry-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.industry-page-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.industry-page-body {
    position: relative;
    padding: 34px 28px 28px;
}

.industry-page-body > span {
    position: absolute;
    top: -30px;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: #0b5db8;
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 93, 184, 0.24);
}

.industry-page-body > span svg {
    width: 30px;
    height: 30px;
}

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

.industry-page-card ul,
.big-case ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-page-card li,
.big-case li {
    position: relative;
    padding-left: 22px;
    color: #34495f;
    font-weight: 700;
}

.industry-page-card li::before,
.big-case li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0b5db8;
    font-weight: 900;
}

.industry-page-card strong {
    display: block;
    margin-top: 22px;
    padding: 16px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
}

.featured-case {
    background: #fff;
}

.big-case {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    margin-top: 30px;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid rgba(219, 229, 239, 0.9);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f2f8fc);
    box-shadow: var(--shadow);
}

.big-case h3 {
    color: var(--primary-dark);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
}

.big-case strong {
    display: block;
    margin-top: 18px;
    color: var(--secondary);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.05;
}

.case-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.case-columns h4 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 18px;
}

.big-case .button {
    width: fit-content;
}

.cta-band {
    margin-inline: clamp(20px, 4vw, 64px);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    max-width: 720px;
    color: #d8e7f3;
}

.about-page {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 44px;
    align-items: start;
}

.about-page h2 {
    color: var(--primary-dark);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.about-page p {
    color: var(--muted);
    font-size: 18px;
}

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

.contact-page {
    min-height: calc(100vh - 104px);
}

.full {
    grid-column: 1 / -1;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 48px clamp(20px, 4vw, 64px);
    background: #061f3b;
    color: #d8e7f3;
    font-size: 14px;
    font-weight: 650;
}

.footer-logo-image {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
}

.footer-cta {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta strong {
    max-width: 420px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.footer-cta .button {
    width: fit-content;
    min-height: 42px;
    padding-inline: 18px;
    font-size: 14px;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 16px;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: #d8e7f3;
}

.footer-brand p {
    max-width: 360px;
    color: #d8e7f3;
}

.legal-page {
    background: #fff;
}

.legal-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.legal-content h1 {
    display: none;
}

.legal-content h2 {
    margin: 34px 0 10px;
    color: var(--primary-dark);
    font-size: 24px;
    overflow-wrap: anywhere;
}

.legal-content p {
    color: var(--text);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.legal-note {
    padding: 16px 18px;
    border-left: 4px solid var(--secondary);
    background: var(--background);
    color: var(--primary-dark);
    font-weight: 700;
}

.legal-back {
    color: var(--secondary);
    font-weight: 800;
}

.legal-hero {
    background:
        linear-gradient(90deg, rgba(247, 249, 252, 0.98), rgba(247, 249, 252, 0.92)),
        url("/assets/hero-erding-network.png") center / cover no-repeat;
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: auto 1fr;
    }

    .site-header .button {
        display: none;
    }

    .main-nav {
        justify-self: end;
        gap: 22px;
    }
}

@media (max-width: 1180px) {
    .problem-band,
    .hero,
    .split,
    .about,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        background: var(--background);
    }

    h1 {
        font-size: clamp(40px, 8vw, 62px);
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .proof-strip,
    .service-grid,
    .example-grid,
    .case-grid,
    .why-card-grid,
    .image-story-points,
    .industry-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-tabs {
        grid-template-columns: 1fr;
    }

    .service-tab-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-icon-card,
    .service-icon-card-featured {
        grid-column: span 1;
    }

    .service-icon-card-featured {
        grid-template-columns: 1fr;
    }

    .service-icon-card-featured .service-card-head {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .service-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        grid-column: span 1;
    }

    .roi-card {
        grid-template-columns: 1fr;
    }

    .service-list-grid,
    .industry-page-grid,
    .big-case,
    .about-page {
        grid-template-columns: 1fr;
    }

    .service-list-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-theme-card {
        grid-template-columns: 1fr;
    }

    .service-theme-visual {
        justify-self: start;
        width: min(220px, 100%);
    }

    .service-theme-items {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 820px) {
    .site-header {
        grid-template-columns: 1fr;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: start;
        width: 100%;
        overflow-x: auto;
        gap: 22px;
        padding-bottom: 4px;
    }

    .site-header .button {
        display: none;
    }

    .brand {
        min-width: 250px;
    }

    h1 {
        font-size: clamp(36px, 10vw, 54px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .section-title h2,
    .split h2,
    .about h2,
    .contact h2,
    .image-story-content h2 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .workflow-showcase,
    .workflow-proof,
    .step-grid,
    .reference-grid,
    .why-row,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .workflow-proof {
        border-radius: 12px;
    }

    .workflow-proof > div:first-child,
    .workflow-screenshot {
        grid-column: auto;
        grid-row: auto;
    }

    .workflow-proof-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .workflow-bridge {
        min-height: 62px;
    }

    .workflow-bridge span {
        width: min(220px, calc(100% - 40px));
        min-height: 48px;
    }

    .workflow-panel {
        padding: 26px 22px;
    }

    .workflow-panel h3 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .manual-chaos,
    .system-lane {
        grid-template-columns: 1fr;
    }

    .manual-chaos span:nth-child(2n),
    .manual-chaos span:nth-child(3n) {
        transform: none;
    }

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

    .page-hero {
        padding-block: 42px;
    }

    .industry-page-card img {
        height: 180px;
    }

    .contact-page {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .site-header {
        width: 100vw;
        overflow: visible;
        padding: 10px 18px 12px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(3, auto);
        max-width: calc(100vw - 40px);
        justify-content: center;
        gap: 4px 12px;
        white-space: normal;
        overflow: visible;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .hero {
        display: block;
        width: 100vw;
        overflow: hidden;
    }

    .hero-copy {
        padding-block: 38px;
        padding-inline: 24px;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .hero-copy > * {
        width: calc(100vw - 72px) !important;
        max-width: calc(100vw - 72px) !important;
    }

    .hero-actions,
    .hero-actions .button {
        width: min(318px, calc(100vw - 72px)) !important;
        max-width: min(318px, calc(100vw - 72px)) !important;
    }

    .problem-grid,
    .proof-strip,
    .service-grid,
    .service-icon-grid,
    .example-grid,
    .case-grid,
    .why-card-grid,
    .image-story-points,
    .industry-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .problem-band,
    .problem-item,
    .solution-callout {
        min-width: 0;
        width: 100%;
        max-width: calc(100vw - 40px);
        overflow: hidden;
    }

    .problem-grid {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        overflow: hidden;
    }

    .problem-item h3,
    .problem-item p,
    .solution-callout p {
        width: min(290px, calc(100vw - 92px)) !important;
        max-width: min(290px, calc(100vw - 92px)) !important;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-tabs {
        grid-template-columns: 1fr;
    }

    .service-tab-list {
        grid-template-columns: 1fr;
    }

    .service-panel {
        min-height: auto;
        padding: 24px;
    }

    .service-panel h3 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .service-theme-card {
        padding: 24px;
    }

    .service-theme-copy h2 {
        font-size: clamp(27px, 8vw, 36px);
        width: min(318px, calc(100vw - 72px));
        max-width: min(318px, calc(100vw - 72px));
        overflow-wrap: anywhere;
    }

    .service-theme-copy p:not(.eyebrow) {
        font-size: 16px;
        width: min(318px, calc(100vw - 72px));
        max-width: min(318px, calc(100vw - 72px));
    }

    .service-theme-items,
    .service-theme-items li {
        max-width: min(318px, calc(100vw - 72px));
        overflow-wrap: anywhere;
    }

    .service-theme-items {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-flow-horizontal {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 280px;
    }

    .brand {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }

    .brand-logo {
        width: min(280px, 76vw);
    }

    .site-header {
        min-height: 70px;
        gap: 12px;
    }

    .main-nav {
        font-size: 12px;
    }

    .main-nav a {
        padding: 4px 0;
    }

    h1 {
        font-size: clamp(32px, 10.2vw, 42px);
        max-width: calc(100vw - 72px);
    }

    .section-title h2,
    .split h2,
    .about h2,
    .contact h2,
    .workflow-proof h2,
    .roi-copy h2 {
        width: min(318px, calc(100vw - 72px)) !important;
        max-width: min(318px, calc(100vw - 72px)) !important;
        overflow-wrap: anywhere;
    }

    .hero-sub,
    .hero-lead,
    .eyebrow,
    .page-hero p:not(.eyebrow),
    .section-title p:not(.eyebrow),
    .image-story-content p:not(.eyebrow) {
        font-size: 15px;
        width: min(318px, calc(100vw - 72px)) !important;
        max-width: min(318px, calc(100vw - 72px)) !important;
        overflow-wrap: anywhere;
    }

    .page-hero h1 {
        width: min(318px, calc(100vw - 72px)) !important;
        max-width: min(318px, calc(100vw - 72px)) !important;
        overflow-wrap: anywhere;
    }

    .service-icon-card,
    .example-card,
    .case-card,
    .why-card {
        min-height: auto;
    }

    .pipeline-board,
    .pipeline-result {
        grid-template-columns: 1fr;
    }

    .workflow-proof {
        padding: 24px;
    }

    .workflow-proof figure {
        min-height: auto;
    }

    .workflow-proof-metrics {
        grid-template-columns: 1fr;
    }

    .workflow-proof-metrics span {
        min-height: auto;
    }

    .workflow-proof img {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .hero-floating-card {
        position: static;
        width: calc(100vw - 72px);
        max-width: calc(100vw - 72px);
        margin: -18px 36px 24px;
        grid-template-columns: 34px 1fr;
        padding: 16px;
        overflow: hidden;
    }

    .hero-floating-card strong,
    .hero-floating-card span {
        min-width: 0;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .hero-floating-card span {
        font-size: 13px;
    }

    .image-story-section {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(6, 31, 59, 0.92), rgba(9, 39, 71, 0.76)),
            url("/assets/hero-erding-network.png") center / cover no-repeat;
    }

    .legal-content,
    .legal-content h2,
    .legal-content h3,
    .legal-content h4,
    .legal-content p,
    .site-footer,
    .site-footer * {
        max-width: calc(100vw - 40px) !important;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .legal-content {
        width: calc(100vw - 40px) !important;
        padding-inline: 0;
    }
}
