@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-italic.woff2') format('woff2');
}

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

:root {
    --primary-color: #FF8C00;
    --secondary-color: #FFA500;
    --primary-strong: #8A4A00;
    --text-dark: #2C3E50;
    --text-light: #4F6070;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-radius: 8px;
    --font-family-base: 'Plus Jakarta Sans', sans-serif;
    --font-weight-body: 400;
    --font-weight-ui: 600;
    --font-weight-display: 700;
    --font-weight-accent: 500;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

body {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-body);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    overflow-x: hidden;
    position: relative;
    font-optical-sizing: auto;
    overscroll-behavior-y: none;
}

button,
input,
textarea {
    font-family: inherit;
}

.site-main,
.legal-main {
    flex: 1 0 auto;
}

[id] {
    scroll-margin-top: 110px;
}

.skip-link,
.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:focus {
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    z-index: 200;
    background: #111111;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.94);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.navbar .container > * {
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.logo-text,
.footer-logo {
    display: inline-flex;
    align-items: center;
    font-weight: var(--font-weight-display);
    line-height: 1;
}

.logo-text {
    font-size: 1.8rem;
    min-width: 170px;
}

.brand-dev,
.brand-mast {
    display: inline-block;
    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.logo .brand-dev {
    color: #111111;
}

.logo .brand-mast {
    color: var(--primary-color);
}

.logo::after,
.footer-logo::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    bottom: -6px;
    background: linear-gradient(90deg, #111111 0 34%, var(--primary-color) 34% 100%);
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: left;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover .brand-dev,
.footer-logo:hover .brand-dev {
    transform: translateY(-1px);
}

.logo:hover .brand-mast {
    transform: translateY(-1px);
    color: var(--primary-strong);
}

.footer-logo:hover .brand-mast {
    transform: translateY(-1px);
    opacity: 0.88;
}

.logo:hover::after,
.footer-logo:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    min-width: 0;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-strong);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: auto;
    min-width: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: #556473;
    font-size: 0.9rem;
    font-weight: var(--font-weight-ui);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.25s ease;
    position: relative;
    letter-spacing: 0;
}

.lang-btn:hover {
    color: var(--primary-strong);
}

.lang-btn.active {
    color: var(--primary-strong);
    font-weight: var(--font-weight-display);
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FF8C00;stop-opacity:0.9" /><stop offset="100%" style="stop-color:%23FFA500;stop-opacity:0.8" /></linearGradient><linearGradient id="grad2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FFFFFF;stop-opacity:1" /><stop offset="100%" style="stop-color:%23F8F9FA;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad2)"/><circle cx="-100" cy="100" r="300" fill="url(%23grad1)" opacity="0.1"/><circle cx="1300" cy="500" r="400" fill="url(%23grad1)" opacity="0.08"/><path d="M 0 200 Q 300 100 600 200 T 1200 200" stroke="%23FF8C00" stroke-width="2" fill="none" opacity="0.1"/><g opacity="0.05"><rect x="100" y="150" width="100" height="100" fill="%23FF8C00"/><rect x="300" y="250" width="80" height="80" fill="%23FF8C00"/><rect x="800" y="100" width="120" height="120" fill="%23FF8C00"/><circle cx="1000" cy="350" r="50" fill="%23FF8C00"/></g></svg>') center/cover no-repeat,
         linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 8rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: min(100%, 700px);
    max-width: 700px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-display);
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: var(--font-weight-body);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
    transition: transform 0.28s ease, color 0.28s ease, background-color 0.28s ease, opacity 0.28s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: var(--font-weight-ui);
}

.btn-submit:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-bg);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-display);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: var(--font-weight-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.28s ease, opacity 0.6s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-display);
}

.service-card p {
    color: #4F6070;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: var(--font-weight-body);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-display);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.info-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-ui);
}

.info-item p {
    color: #4F6070;
    font-weight: var(--font-weight-body);
}

.info-item a {
    color: var(--primary-strong);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #6F3B00;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E8E8E8;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: var(--font-weight-body);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B8B8B8;
}

.form-group textarea {
    resize: vertical;
    min-height: 152px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-honeypot {
    display: none;
}

.contact-form .btn-submit {
    margin-top: 0.5rem;
}

.contact-form-status {
    min-height: 1.5rem;
    color: #445260;
    font-size: 0.95rem;
    font-weight: var(--font-weight-accent);
}

.contact-form-status.is-success {
    color: #11663A;
}

.contact-form-status.is-error {
    color: #9A2F18;
}

.contact-form.is-submitting .btn-submit {
    opacity: 0.78;
    cursor: progress;
    pointer-events: none;
}

.service-card.reveal-ready {
    opacity: 0;
    transform: translateY(20px);
}

.service-card.reveal-ready.is-visible,
.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem 0;
    position: relative;
    border-top: 3px solid var(--primary-color);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
}

.footer-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: var(--font-weight-display);
    margin-bottom: 1rem;
}

.footer-logo .brand-dev {
    color: var(--white);
}

.footer-logo .brand-mast {
    color: var(--primary-color);
}

.footer-logo::after {
    background: linear-gradient(90deg, var(--white) 0 34%, var(--primary-color) 34% 100%);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-ui);
    margin-bottom: 1.2rem;
    color: var(--white);
}

.footer-description {
    color: #B8B8B8;
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: var(--font-weight-accent);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #B8B8B8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: var(--font-weight-body);
    display: inline-flex;
    align-items: center;
}

.footer-links a:before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:hover:before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
    font-weight: var(--font-weight-body);
}

.legal-page {
    min-height: 100vh;
    background: #FFFFFF;
    color: var(--text-dark);
}

.legal-shell {
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 0 20px;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(18, 24, 38, 0.96) 0%, rgba(28, 36, 59, 0.96) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 720"><rect width="1600" height="720" fill="%23121826"/><path d="M0 140h1600M0 260h1600M0 380h1600M0 500h1600" stroke="%23ff8c00" stroke-opacity="0.08" stroke-width="2"/><path d="M180 0v720M520 0v720M860 0v720M1200 0v720M1480 0v720" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"/><path d="M0 540c180-24 320-94 492-94 188 0 288 74 478 74 208 0 290-86 630-142" stroke="%23ff8c00" stroke-opacity="0.18" stroke-width="4" fill="none"/></svg>') center/cover no-repeat;
    color: var(--white);
    padding: 1.35rem 0 3.8rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-topbar,
.legal-hero-grid {
    position: relative;
    z-index: 1;
}

.legal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.4rem;
    padding-bottom: 2.5rem;
}

.legal-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.legal-home .logo-text {
    font-size: 1.55rem;
}

.legal-home .brand-dev {
    color: var(--white);
}

.legal-home .brand-mast {
    color: var(--primary-color);
}

.legal-toplinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
}

.legal-toplinks a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
    transition: color 0.25s ease;
}

.legal-toplinks a:hover {
    color: var(--primary-color);
}

.legal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2.5rem 3rem;
    align-items: end;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    margin-bottom: 0.95rem;
    border: 1px solid rgba(255, 140, 0, 0.36);
    border-radius: 8px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: var(--font-weight-ui);
    letter-spacing: 0;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0 0 1rem;
    max-width: 11ch;
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
    line-height: 1.02;
    font-weight: var(--font-weight-display);
}

.legal-hero p {
    margin: 0;
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    font-weight: var(--font-weight-accent);
}

.legal-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.3rem;
    margin-top: 1.7rem;
}

.legal-link-row a {
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.legal-link-row a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.legal-summary {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-summary h2 {
    margin: 0 0 0.45rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: var(--font-weight-ui);
}

.legal-summary p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-summary-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.legal-summary-list li {
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-summary-label {
    display: block;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
    text-transform: uppercase;
    font-weight: var(--font-weight-ui);
}

.legal-summary strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: var(--font-weight-ui);
}

.legal-main {
    padding: 1.15rem 0 4.5rem;
    background: #FFFFFF;
}

.legal-entry {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 240px;
    gap: 1rem 2rem;
    align-items: start;
    padding: 2.2rem 0;
    border-bottom: 1px solid rgba(18, 24, 38, 0.09);
}

.legal-entry:last-of-type {
    border-bottom: 0;
}

.legal-number {
    padding-top: 0.25rem;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: var(--font-weight-display);
    line-height: 1;
}

.legal-content h2 {
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    font-size: 1.55rem;
    font-weight: var(--font-weight-display);
    line-height: 1.18;
}

.legal-content p,
.legal-content li {
    color: #4F6070;
    font-size: 1rem;
    line-height: 1.75;
}

.legal-content ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.legal-content li + li {
    margin-top: 0.45rem;
}

.legal-content a,
.legal-aside a {
    color: var(--primary-strong);
    text-decoration: none;
}

.legal-content a:hover,
.legal-aside a:hover {
    text-decoration: underline;
}

.legal-aside {
    color: #6B7280;
    font-size: 0.92rem;
    line-height: 1.7;
    padding-top: 0.15rem;
}

.legal-callout {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 140, 0, 0.18);
    color: #445060;
    font-size: 0.94rem;
    line-height: 1.65;
}

.legal-crosslinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.3rem;
    padding-top: 2rem;
}

.legal-link--primary {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-ui);
}

.legal-link--primary:hover {
    color: var(--primary-strong);
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 120;
}

.cookie-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 140, 0, 0.26);
    border-radius: 8px;
    background: rgba(18, 24, 38, 0.96);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(18, 24, 38, 0.28);
    backdrop-filter: blur(12px);
}

.cookie-banner__copy strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: var(--font-weight-ui);
}

.cookie-banner__copy p {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.94rem;
    line-height: 1.6;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.7rem;
}

.cookie-banner__actions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: var(--font-weight-ui);
}

.cookie-banner__actions a:hover {
    color: var(--primary-color);
}

.cookie-banner__btn {
    border: 0;
    border-radius: 8px;
    padding: 0.72rem 0.98rem;
    font-size: 0.92rem;
    font-weight: var(--font-weight-ui);
    cursor: pointer;
}

.cookie-banner__btn--ghost {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cookie-banner__btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0 1.1rem;
        border-bottom: 1px solid rgba(255, 140, 0, 0.12);
    }

    .navbar .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.9rem;
        width: 100%;
        padding: 0 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero {
        min-height: 400px;
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.6rem;
        width: 100%;
        display: flex;
    }

    .nav-links li {
        display: flex;
        flex: 1 1 0;
        min-width: 0;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        padding: 0.85rem 0.4rem;
        font-size: 1rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        color: rgba(17, 17, 17, 0.86);
        line-height: 1;
        min-width: 0;
        white-space: nowrap;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: var(--primary-strong);
    }

    .logo-text {
        font-size: 1.55rem;
        min-width: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1.1rem;
    }

    .footer-section {
        text-align: left;
    }

    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .footer-description,
    .footer-links a {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .footer-links li {
        margin-bottom: 0.55rem;
    }

    .footer-bottom {
        padding-top: 1.4rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .footer-links a:before {
        display: none;
    }

    .legal-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2rem;
    }

    .legal-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .legal-home .logo-text {
        font-size: 1.35rem;
    }

    .legal-summary {
        padding: 1.15rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .legal-entry {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 1.65rem 0;
    }

    .legal-aside {
        padding-top: 0;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        justify-content: flex-start;
    }

    .language-selector {
        width: 100%;
        margin-left: 0;
        display: flex;
        justify-content: space-between;
        gap: 0.2rem;
    }

    .lang-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        font-size: 0.8rem;
        padding: 0.55rem 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        color: #516273;
    }

    .lang-btn.active {
        color: var(--primary-strong);
        background: transparent;
        box-shadow: none;
    }

    .lang-btn.active::after {
        display: block;
        bottom: 2px;
        left: 18%;
        right: 18%;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.9rem 0 1rem;
    }

    .navbar .container {
        gap: 0.75rem;
        padding: 0 10px;
    }

    .hero {
        padding: 3rem 0;
        min-height: 300px;
    }

    .services {
        padding: 3rem 0;
    }

    .contact {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .services h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1.2rem 0;
    }

    .footer-logo {
        font-size: 1.15rem;
        margin-bottom: 0.65rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .footer-description,
    .footer-links a {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.85rem;
    }

    .footer-links li {
        margin-bottom: 0.45rem;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .legal-shell {
        padding: 0 14px;
    }

    .legal-hero {
        padding: 1rem 0 2.6rem;
    }

    .legal-kicker {
        font-size: 0.72rem;
        padding: 0.36rem 0.58rem;
        margin-bottom: 0.8rem;
    }

    .legal-hero h1 {
        font-size: 1.95rem;
    }

    .legal-hero p,
    .legal-summary p,
    .legal-content p,
    .legal-content li,
    .legal-aside {
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .legal-link-row,
    .legal-crosslinks {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .legal-content h2 {
        font-size: 1.22rem;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-banner__inner {
        padding: 0.95rem;
    }

    .cookie-banner__copy p {
        font-size: 0.88rem;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        width: 100%;
    }

    .nav-links {
        gap: 0.45rem;
    }

    .nav-links a {
        min-height: 50px;
        padding: 0.78rem 0.45rem;
        font-size: 0.9rem;
    }

    .language-selector {
        gap: 0.12rem;
    }

    .lang-btn {
        min-height: 40px;
        font-size: 0.72rem;
        padding: 0.45rem 0;
    }
}
