:root {
    --bg: #080808;
    --bg-soft: #111113;
    --bg-panel: #171717;
    --text: #f8f5ee;
    --muted: #c7c0b4;
    --line: rgba(255, 255, 255, 0.14);
    --orange: #ff8a00;
    --yellow: #ffd13d;
    --red: #ef3d2f;
    --steel: #35383d;
    --white: #ffffff;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
    --radius: 8px;
    --container: 1180px;
    --focus: 0 0 0 3px rgba(255, 209, 61, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 138, 0, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px, 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 74%);
}

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

a {
    color: inherit;
    text-decoration-color: rgba(255, 138, 0, 0.7);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--yellow);
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    background: var(--yellow);
    color: #161000;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container.narrow {
    max-width: 860px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(100% - 28px, 1280px);
    min-height: 84px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: 64px;
    max-width: 156px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 138, 0, 0.18));
}

.footer-brand .brand-logo {
    height: 78px;
    max-width: 186px;
}

.brand-mark {
    width: 56px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 4px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.brand-copy {
    display: grid;
    gap: 0;
}

.brand-copy strong {
    font-size: 1.1rem;
    color: var(--yellow);
    text-shadow: 0 0 20px rgba(255, 138, 0, 0.36);
}

.brand-copy span {
    font-size: 0.78rem;
    color: var(--muted);
}

.main-nav {
    margin-left: auto;
}

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

.main-nav li {
    position: relative;
}

.nav-link,
.subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 0.92rem;
}

.nav-link:hover,
.subnav a:hover,
.main-nav [aria-current="page"] {
    background: rgba(255, 138, 0, 0.14);
    color: var(--yellow);
}

.has-subnav > .nav-link::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.subnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    display: grid !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 10px !important;
    background: rgba(17, 17, 19, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.subnav a {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.9rem;
}

.header-call {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    color: #130b00;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text);
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: currentColor;
    content: "";
}

.nav-toggle-line::before {
    transform: translateY(-7px);
}

.nav-toggle-line::after {
    transform: translateY(5px);
}

.hero {
    position: relative;
    min-height: 86svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 138, 0, 0.28);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.72) 38%, rgba(8, 8, 8, 0.24) 100%),
        linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, transparent 40%),
        url("../img/halle710-header.webp") center / cover no-repeat;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 96px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    font-size: clamp(3rem, 8vw, 7.2rem);
    text-transform: uppercase;
    color: var(--yellow);
    text-shadow: 0 12px 46px rgba(0, 0, 0, 0.7), 0 0 18px rgba(255, 138, 0, 0.35);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.25rem;
}

.hero-kicker {
    margin: 8px 0 0;
    max-width: 760px;
    font-size: clamp(1.45rem, 3.2vw, 2.8rem);
    font-weight: 950;
    text-transform: uppercase;
}

.hero-text {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.hero-actions,
.footer-actions,
.next-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    color: #140b00;
}

.button-secondary {
    background: var(--orange);
    color: #140b00;
}

.button-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.button:hover {
    transform: translateY(-1px);
    color: inherit;
}

.signal-band {
    background: linear-gradient(90deg, #ffca2f, #ff8a00 46%, #ed342e);
    color: #120b00;
}

.signal-grid {
    min-height: 74px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    padding-block: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.signal-grid span {
    position: relative;
    padding-left: 26px;
}

.signal-grid span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 3px solid currentColor;
    border-radius: 50%;
    transform: translateY(-50%);
}

.section {
    position: relative;
    padding-block: 92px;
    background: #f6f2e9;
    color: #17130d;
}

.section-dark {
    background: var(--bg);
    color: var(--text);
}

.section-accent {
    background:
        linear-gradient(110deg, rgba(17, 17, 19, 0.96) 0%, rgba(17, 17, 19, 0.86) 52%, rgba(237, 52, 46, 0.42) 100%),
        var(--bg-soft);
    color: var(--text);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 82px);
}

.split-center {
    align-items: center;
}

.text-stack > * + * {
    margin-top: 18px;
}

.text-stack p {
    margin-bottom: 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.info-card,
.contact-card,
.contact-form {
    border-radius: var(--radius);
    border: 1px solid rgba(20, 13, 0, 0.12);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.section-dark .service-card,
.section-dark .info-card,
.section-accent .service-card,
.section-accent .info-card {
    border-color: var(--line);
    background: linear-gradient(180deg, #1a1a1c, #101011);
    box-shadow: var(--shadow);
}

.card-link,
.info-card {
    min-height: 100%;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 25px;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    border-color: rgba(255, 138, 0, 0.7);
}

.step-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: #120b00;
    font-weight: 950;
    font-size: 1.2rem;
}

.card-subtitle {
    margin: 0;
    color: var(--orange);
    font-weight: 900;
}

.text-link {
    margin-top: 8px;
    color: var(--orange);
    font-weight: 950;
}

.media-frame {
    border: 1px solid rgba(255, 138, 0, 0.38);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-frame img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: 104px 82px;
    background:
        linear-gradient(105deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.72)),
        url("../img/halle710-header.webp") center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 138, 0, 0.28);
}

.page-hero h1 {
    font-size: clamp(2.35rem, 5.5vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.12rem;
}

.legal-hero {
    padding-block: 82px 64px;
}

.visual-placeholder,
.service-media,
.gallery-item.placeholder {
    position: relative;
    min-height: 320px;
    display: grid;
    align-content: end;
    gap: 6px;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 138, 0, 0.35);
    background:
        linear-gradient(135deg, rgba(255, 209, 61, 0.18), transparent 38%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
        #191919;
    color: var(--text);
    box-shadow: var(--shadow);
}

.visual-placeholder::before,
.gallery-item.placeholder::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(255, 209, 61, 0.42);
    border-radius: var(--radius);
}

.visual-placeholder span,
.gallery-item.placeholder span {
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.service-media {
    min-height: 360px;
    isolation: isolate;
}

.service-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../img/halle710-header.webp") center / cover no-repeat;
    filter: saturate(0.95) contrast(1.08);
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.72) 76%),
        linear-gradient(90deg, rgba(255, 138, 0, 0.2), rgba(239, 61, 47, 0.18));
}

.service-media-rust::before {
    background-position: 64% center;
}

.service-media-protection::before {
    background-position: 80% 62%;
}

.service-media span {
    width: fit-content;
    max-width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    color: #140b00;
    font-weight: 950;
}

.detail-list {
    display: grid;
    gap: 14px;
}

.detail-list article {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(20, 13, 0, 0.12);
    background: #fff;
}

.detail-list h3 {
    color: #17130d;
}

.detail-list p {
    margin: 10px 0 0;
}

.next-links {
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
}

.next-links h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-right: auto;
}

.process-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    counter-reset: process;
}

.process-list li {
    position: relative;
    padding: 22px 22px 22px 76px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    counter-increment: process;
}

.process-list li::before {
    content: counter(process);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #120b00;
    font-weight: 950;
}

.process-list strong,
.process-list span {
    display: block;
}

.process-list span {
    color: var(--muted);
    margin-top: 4px;
}

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

.gallery-item {
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #161616;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 13px 15px;
    background: #111;
    color: var(--text);
    font-weight: 850;
}

.gallery-item.placeholder {
    min-height: 337px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: start;
}

.contact-card,
.contact-form {
    padding: 28px;
}

.contact-card address {
    margin-top: 18px;
    font-style: normal;
}

.contact-form h2,
.contact-card h2 {
    font-size: 1.6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
    margin-top: 16px;
}

.field label,
.check-field {
    font-weight: 850;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid rgba(20, 13, 0, 0.2);
    border-radius: var(--radius);
    background: #fff;
    color: #17130d;
    padding: 12px 13px;
}

.field textarea {
    resize: vertical;
}

.field input[type="file"] {
    cursor: pointer;
}

.field input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    color: #140b00;
    padding: 8px 12px;
    font-weight: 950;
    cursor: pointer;
}

.field-help {
    margin: 0;
    color: #675f54;
    font-size: 0.92rem;
    line-height: 1.45;
}

.is-hidden {
    position: absolute;
    left: -9999px;
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 22px;
}

.check-field input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--orange);
}

.success-message,
.error-message {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius);
}

.success-message {
    background: #e8f8df;
    color: #1f5b14;
    border: 1px solid #8dc46f;
}

.error-message {
    background: #fff0ec;
    color: #8a1e12;
    border: 1px solid #e78d7c;
}

.error-message p,
.error-message ul {
    margin: 0;
}

.error-message ul {
    padding-left: 20px;
    margin-top: 8px;
}

.legal-content h2 {
    margin-top: 32px;
    font-size: 1.55rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.check-list {
    padding-left: 20px;
}

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

.site-footer {
    background: #090909;
    color: var(--text);
    border-top: 1px solid rgba(255, 138, 0, 0.24);
}

.footer-cta {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    padding: 42px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    border-bottom: 1px solid var(--line);
}

.footer-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.footer-cta p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
}

.footer-main {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
    gap: 36px;
}

.footer-brand {
    margin-bottom: 18px;
}

address {
    font-style: normal;
}

.footer-heading {
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--yellow);
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(255, 138, 0, 0.7);
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    padding: 18px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}

.footer-bottom p {
    margin: 0;
}

.cookie-banner {
    position: fixed;
    z-index: 200;
    inset: auto 16px 16px;
    display: grid;
    place-items: end center;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-panel {
    width: min(100%, 780px);
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 138, 0, 0.4);
    background: rgba(17, 17, 19, 0.98);
    color: var(--text);
    box-shadow: var(--shadow);
}

.cookie-panel h2 {
    font-size: 1.5rem;
}

.cookie-panel p {
    margin: 8px 0 0;
    color: var(--muted);
}

.cookie-options {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.cookie-option {
    display: flex;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
}

.cookie-option input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--orange);
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option small {
    color: var(--muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 1060px) {
    .header-call {
        display: none;
    }

    .cards.three,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 70px;
    }

    .brand-logo {
        height: 52px;
        max-width: 128px;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        inset: 70px 14px auto;
        max-height: calc(100svh - 86px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(17, 17, 19, 0.98);
        box-shadow: var(--shadow);
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        display: grid;
        gap: 4px;
    }

    .nav-link,
    .subnav a {
        width: 100%;
    }

    .subnav {
        position: static;
        min-width: 0;
        margin: 4px 0 4px 14px !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .hero {
        min-height: 82svh;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.92) 58%, rgba(8, 8, 8, 0.98) 100%),
            url("../img/halle710-header.webp") center / cover no-repeat;
    }

    .hero-content {
        padding-block: 74px;
    }

    .split,
    .contact-layout,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .section {
        padding-block: 70px;
    }

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

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

@media (max-width: 640px) {
    .brand-logo {
        height: 48px;
        max-width: 118px;
    }

    .cards.three,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding-block: 72px 54px;
    }

    .signal-grid {
        justify-content: flex-start;
    }

    .contact-card,
    .contact-form,
    .card-link,
    .info-card,
    .detail-list article {
        padding: 20px;
    }

    .cookie-banner {
        inset: auto 10px 10px;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
