:root {
    --green-950: #1f1a10;
    --green-900: #2a2417;
    --green-800: #3a311e;
    --green-700: #b8860b;
    --green-600: #d7a928;
    --mint-50: #fffdf6;
    --mint-100: #faf3df;
    --mint-200: #f2e2b3;
    --ink-900: #1f1a11;
    --ink-700: #5d513d;
    --white: #ffffff;
    --line: #e3d19e;
    --maxw: 1200px;
    --radius: 16px;
    --shadow: 0 20px 44px rgba(58, 49, 30, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink-900);
    background: linear-gradient(180deg, #fffef9 0%, #f9f2df 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.62;
}

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

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.18;
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

.container {
    width: min(100% - 2.4rem, var(--maxw));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(184, 134, 11, 0.24);
    background: rgba(255, 251, 239, 0.9);
    backdrop-filter: blur(11px);
}

.nav-wrap {
    min-height: 138px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand img {
    display: block;
    width: auto;
    height: 118px;
    max-width: min(620px, 68vw);
}

.main-nav {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    padding-bottom: 0.18rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav > a {
    margin-top: 0;
    padding: 0.44rem 0.78rem;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 999px;
    background: rgba(255, 249, 234, 0.8);
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--green-700);
    border-bottom-color: var(--green-700);
}

.nav-select {
    display: inline-flex;
    border: 1px solid rgba(184, 134, 11, 0.36);
    border-radius: 999px;
    padding: 0.18rem;
    background: rgba(255, 249, 234, 0.8);
}

.nav-select-btn {
    border: 0;
    background: transparent;
    color: var(--ink-700);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.44rem 0.78rem;
    border-radius: 999px;
    cursor: pointer;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.nav-select-btn.active {
    background: var(--green-700);
    color: var(--white);
}

.nav-submenu-wrap {
    min-height: 32px;
    display: flex;
    align-items: center;
}

.nav-submenu {
    display: none;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding-left: 0.7rem;
    margin-left: 0.2rem;
    border-left: 2px solid rgba(184, 134, 11, 0.4);
}

.nav-submenu.active {
    display: inline-flex;
}

.nav-submenu a {
    font-size: 1rem;
    color: var(--ink-700);
    padding-bottom: 0.14rem;
}

.lang-switcher {
    display: inline-flex;
    gap: 0.2rem;
    background: var(--mint-200);
    border-radius: 999px;
    padding: 0.2rem;
}

.lang-switcher a {
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.32rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.lang-switcher a.active {
    background: var(--green-700);
    color: var(--white);
    border-color: rgba(0, 0, 0, 0.12);
}

.lang-flag {
    font-size: 1.24rem;
    line-height: 1;
    filter: saturate(1.05);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    scroll-margin-top: 154px;
    background:
        radial-gradient(circle at 84% 16%, rgba(215, 169, 40, 0.26), transparent 34%),
        radial-gradient(circle at 8% 18%, rgba(90, 69, 25, 0.16), transparent 30%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-texture-subtle.svg");
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 252, 243, 0.8) 0%, rgba(252, 245, 226, 0.72) 100%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-variant-bold .hero::before {
    background-image: url("../images/hero-texture-bold.svg");
    opacity: 0.62;
}

.hero-variant-bold .hero::after {
    background: linear-gradient(180deg, rgba(255, 251, 240, 0.6) 0%, rgba(248, 237, 205, 0.54) 100%);
}

.hero-bg-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.hero-bg-switch__label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6d5d38;
    font-weight: 700;
}

.hero-bg-switch__controls {
    display: inline-flex;
    border: 1px solid rgba(184, 134, 11, 0.34);
    border-radius: 999px;
    padding: 0.14rem;
    background: rgba(255, 250, 238, 0.9);
}

.hero-bg-btn {
    border: 0;
    background: transparent;
    color: #6b5a31;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.35rem 0.62rem;
    cursor: pointer;
}

.hero-bg-btn.is-active {
    background: var(--green-700);
    color: #fff;
}

.hero-grid {
    display: grid;
    gap: 1.4rem 2rem;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
}

.hero-copy {
    position: relative;
    padding: 0.45rem 0.2rem 0.8rem 1.15rem;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d1a232, rgba(209, 162, 50, 0.12));
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: 0.2rem 0.1rem 0.5rem 0.4rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 227, 160, 0.3), transparent 38%),
        radial-gradient(circle at 65% 75%, rgba(255, 214, 120, 0.16), transparent 42%);
    z-index: -1;
    pointer-events: none;
}

.kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-700);
    font-weight: 800;
}

h1 {
    font-size: clamp(1.6rem, 2.9vw, 2.45rem);
    max-width: 24ch;
    line-height: 1.24;
}

.lead {
    margin: 1rem 0 0.8rem;
    color: var(--ink-700);
    max-width: 62ch;
}

.tagline {
    margin: 0 0 1.4rem;
    color: var(--green-700);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.84rem 1.18rem;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
    background: var(--green-700);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(136, 99, 22, 0.26);
}

.btn-primary:hover {
    background: var(--green-800);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(184, 134, 11, 0.34);
}

.hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0.2rem 0.8rem 1.15rem;
}

.hero-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d1a232, rgba(209, 162, 50, 0.12));
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0.2rem 0.1rem 0.5rem 0.4rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 227, 160, 0.28), transparent 38%),
        radial-gradient(circle at 78% 72%, rgba(255, 214, 120, 0.14), transparent 42%);
    z-index: -1;
    pointer-events: none;
}

.hero-panel h3 {
    color: #513e1c;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 1;
}

.focus-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
    min-height: 340px;
    align-content: start;
    position: relative;
    z-index: 1;
}

.focus-item {
    font-size: 1.08rem;
    font-weight: 700;
    color: #3e3118;
    line-height: 1.35;
    padding: 0.55rem 0.75rem;
    border-left: 3px solid rgba(184, 134, 11, 0.38);
    background: rgba(255, 252, 244, 0.55);
    border-radius: 8px;
}

.section {
    padding: 4.9rem 0;
}

.sub-anchor {
    display: block;
    position: relative;
    top: 0;
    scroll-margin-top: 160px;
    visibility: hidden;
    pointer-events: none;
}

.section h2 {
    font-size: clamp(1.58rem, 3vw, 2.6rem);
    margin-bottom: 0.9rem;
}

.section p {
    color: var(--ink-700);
}

.section-intro {
    margin: 0;
    max-width: 78ch;
}

.section-light {
    background: linear-gradient(180deg, var(--mint-50), var(--mint-100));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-dark {
    color: var(--white);
    background: linear-gradient(145deg, #2b2416 0%, #1b160e 100%);
}

.section-dark p,
.section-dark .section-intro {
    color: #eadcb2;
}

.split-company {
    display: grid;
    gap: 1.2rem 1.8rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.founder-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem;
}

.founder-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
    margin-bottom: 0.8rem;
}

.founder-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.founder-note {
    margin: 0 0 0.6rem;
    color: var(--green-700);
    font-weight: 700;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder-name {
    margin: 0 0 0.6rem;
    color: var(--green-700);
    font-weight: 800;
}

.founder-card ul {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
}

.cards {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.95rem;
}

.service-columns {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.services-section-modern .section-intro {
    max-width: 110ch;
    font-size: 1.08rem;
    color: #4c402c;
}

.services-section-modern .service-columns {
    margin-top: 1.8rem;
    position: relative;
    gap: 0;
    border: 1px solid rgba(215, 169, 40, 0.45);
    border-radius: 20px;
    background: #fffdf7;
    box-shadow: 0 18px 36px rgba(48, 36, 18, 0.12);
    overflow: hidden;
}

.services-section-modern .service-columns::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 1px;
    background: rgba(215, 169, 40, 0.35);
    transform: translateX(-0.5px);
}

.services-section-modern .service-column {
    padding: 1.6rem 1.7rem 1.5rem;
    background: transparent;
}

.services-section-modern .service-column h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #211b12;
}

.services-section-modern .service-column p {
    color: #4f4330;
}

.services-section-modern .service-column h4 {
    color: #8e6c1a;
}

.services-section-modern .service-list li {
    color: #231d14;
}

.services-section-modern .service-list.compact li {
    color: #3b3122;
}

.service-column h4 {
    margin: 0.9rem 0 0.35rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f2dfb4;
}

.service-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.service-list.compact {
    gap: 0.25rem;
    font-size: 0.92rem;
}

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

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

.card {
    border-radius: 14px;
    padding: 1rem;
}

.card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.38rem;
}

.products-section-intro {
    margin-bottom: 2rem;
}

.products-card {
    margin-top: 0;
}

.glass {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.border-accent {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--green-600);
    box-shadow: var(--shadow);
}

.project-notice {
    margin-top: 1.2rem;
}

.partner-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 110px;
    border: 1px solid rgba(215, 169, 40, 0.45);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(56, 43, 18, 0.08);
    font-weight: 700;
    color: #231d14;
    padding: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-item img {
    max-width: 150px;
    max-height: 40px;
    width: auto;
    height: auto;
    margin-bottom: 0.5rem;
}

.partner-item span {
    display: block;
    line-height: 1.3;
}

.partner-item:hover {
    border-color: var(--green-700);
    box-shadow: 0 14px 28px rgba(56, 43, 18, 0.12);
    transform: translateY(-2px);
}

.cta-section {
    color: var(--white);
    background:
        radial-gradient(circle at 86% 14%, rgba(215, 169, 40, 0.3), transparent 38%),
        linear-gradient(140deg, #2a2416, #17130d);
}

.cta-section p {
    color: #efdfb7;
}

.contact-grid {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "intro ."
        "form info";
    align-items: start;
}

.contact-intro {
    grid-area: intro;
}

.contact-form-wrap {
    grid-area: form;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.contact-info-wrap {
    grid-area: info;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.contact-form-wrap h3 {
    margin: 0 0 0.8rem;
    font-size: 1.06rem;
    color: #f4e4b8;
}

.form-notice {
    margin: 0 0 0.7rem;
    padding: 0.55rem 0.7rem;
    border-radius: 9px;
    font-size: 0.9rem;
}

.form-notice.success {
    background: #dff5e8;
    border: 1px solid #7bc59a;
    color: #103525;
}

.form-notice.error {
    background: rgba(176, 61, 47, 0.2);
    border: 1px solid rgba(228, 120, 104, 0.42);
    color: #ffd9d2;
}

.contact-form {
    display: grid;
    gap: 0.6rem;
}

.contact-form label {
    display: grid;
    gap: 0.26rem;
}

.contact-form label > span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e8d7aa;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    padding: 0.6rem 0.68rem;
    color: #fff7df;
    font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #d5c598;
}

.contact-form textarea {
    resize: vertical;
    min-height: 118px;
}

.privacy-check {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.5rem;
}

.privacy-check input {
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
}

.contact-list {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-list div {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.82rem;
}

.contact-list dt {
    margin: 0;
    color: #f1e1ae;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0.3rem 0 0;
    line-height: 1.45;
}

.contact-label-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.contact-label-icon svg {
    width: 22px;
    height: 22px;
    fill: #f0cc73;
    flex: 0 0 22px;
}

.social-links-wrap {
    margin-top: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
}

.social-links-title {
    margin: 0 0 0.5rem;
    color: #f1e1ae;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-section-modern {
    background: linear-gradient(180deg, #fffdf7 0%, #f8efd8 100%);
}

.contact-section-modern .contact-intro p {
    color: #4b3f2b;
}

.contact-section-modern .contact-form-wrap,
.contact-section-modern .contact-info-wrap {
    border: 1px solid rgba(215, 169, 40, 0.45);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(56, 43, 18, 0.1);
}

.contact-section-modern .contact-form-wrap h3 {
    color: #211b12;
}

.contact-section-modern .contact-form label > span {
    color: #8d6a14;
}

.contact-section-modern .contact-form input,
.contact-section-modern .contact-form textarea {
    border: 1px solid rgba(184, 134, 11, 0.3);
    background: #fffaf0;
    color: #231d14;
}

.contact-section-modern .contact-form input::placeholder,
.contact-section-modern .contact-form textarea::placeholder {
    color: #8c7a57;
}

.contact-section-modern .contact-list div {
    border: 1px solid rgba(215, 169, 40, 0.45);
    background: #fffaf0;
}

.contact-section-modern .contact-list dt {
    color: #8d6a14;
}

.contact-section-modern .contact-list dd,
.contact-section-modern .contact-list dd a {
    color: #261f15;
}

.contact-section-modern .contact-label-icon svg {
    fill: #bf8e12;
}

.contact-section-modern .social-links-wrap {
    border: 1px solid rgba(215, 169, 40, 0.45);
    background: #fff9ee;
}

.contact-section-modern .social-links-title {
    color: #8d6a14;
}

.contact-section-modern .social-link {
    border-color: rgba(184, 134, 11, 0.4);
    color: #2a2218;
    background: #fffdf6;
}

.social-links {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff2cf;
    font-weight: 700;
    font-size: 0.85rem;
}

.social-link svg {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 999px;
    fill: #ffffff;
    flex: 0 0 24px;
}

.social-link[aria-label="LinkedIn"] svg {
    background: #0a66c2;
}

.social-link[aria-label="Xing"] svg {
    background: #0c5f52;
}

.legal-section {
    background: #fffaf0;
    border-top: 1px solid var(--line);
}

.legal-grid {
    display: grid;
    gap: 1rem 1.4rem;
    grid-template-columns: 1fr 1fr;
}

.legal-text {
    font-size: 0.95rem;
}

.legal-text h3 {
    margin: 1.1rem 0 0.45rem;
    font-size: 1.02rem;
    color: var(--ink-900);
}

.legal-text p {
    margin: 0 0 0.7rem;
}

.legal-text ul {
    margin: 0 0 0.9rem 1rem;
    padding: 0;
}

.site-footer {
    padding: 1.2rem 0;
    background: #f6eed9;
    border-top: 1px solid var(--line);
    color: #796a44;
    font-size: 0.9rem;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.ai-cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9998;
}

.ai-cookie-banner[hidden],
.ai-cookie-modal[hidden] {
    display: none !important;
}

.ai-cookie-banner__inner {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid rgba(184, 134, 11, 0.34);
    background: rgba(17, 13, 9, 0.95);
    color: #f2e7ca;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

.ai-cookie-banner__title {
    margin: 0 0 0.2rem;
    font-weight: 800;
}

.ai-cookie-banner__text {
    margin: 0;
    color: #decfa6;
    font-size: 0.92rem;
}

.ai-cookie-banner__actions {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ai-cookie-btn {
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.ai-cookie-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #f2e5c1;
}

.ai-cookie-btn--primary {
    background: var(--green-700);
    color: #fff;
}

.ai-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(10, 9, 7, 0.6);
}

.ai-cookie-modal__card {
    width: min(100%, 720px);
    border-radius: 16px;
    border: 1px solid rgba(184, 134, 11, 0.3);
    background: #fff8e8;
    color: #2b2111;
    padding: 1rem;
}

.ai-cookie-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.ai-cookie-modal__head h3 {
    margin: 0;
}

.ai-cookie-close {
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #5c4825;
}

.ai-cookie-modal__desc {
    margin: 0.45rem 0 0.8rem;
    color: #5e4f35;
}

.ai-cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    border: 1px solid #ead6aa;
    border-radius: 10px;
    padding: 0.72rem;
    background: #fffdf6;
    margin-bottom: 0.55rem;
}

.ai-cookie-option.is-required {
    opacity: 0.92;
}

.ai-cookie-option__title {
    margin: 0;
    font-weight: 800;
    font-size: 0.92rem;
}

.ai-cookie-option__text {
    margin: 0.22rem 0 0;
    color: #66563a;
    font-size: 0.88rem;
}

.ai-cookie-links {
    margin: 0.72rem 0;
    display: inline-flex;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.ai-cookie-links a {
    text-decoration: underline;
}

.ai-cookie-modal__actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .cards.five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        scroll-margin-top: 142px;
    }

    .services-section-modern .service-columns::before {
        display: none;
    }

    .sub-anchor {
        scroll-margin-top: 142px;
    }

    .hero-grid,
    .split-company,
    .cards.three,
    .service-columns,
    .partner-grid,
    .contact-grid,
    .legal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .hero {
        scroll-margin-top: 126px;
    }

    .services-section-modern .service-column {
        padding: 1.2rem 1rem 1.1rem;
    }

    .sub-anchor {
        scroll-margin-top: 126px;
    }

    .brand img {
        height: 88px;
        max-width: min(86vw, 520px);
    }

    .nav-wrap {
        min-height: 108px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.6rem 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 0.45rem;
    }

    .main-nav > a {
        margin-top: 0;
        border-radius: 10px;
    }

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

    .nav-submenu-wrap {
        width: 100%;
        min-height: 0;
    }

    .nav-submenu {
        width: 100%;
        padding-left: 0.55rem;
        margin-left: 0;
        gap: 0.7rem 1.3rem;
        border-left-width: 1px;
    }

    .hero {
        padding-top: 4.7rem;
    }

    .hero-bg-switch {
        justify-content: flex-start;
        margin-bottom: 0.95rem;
    }

    .hero-grid,
    .split-company,
    .cards.five,
    .cards.three,
    .service-columns,
    .partner-grid,
    .contact-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-areas:
            "intro"
            "form"
            "info";
    }

    .focus-list {
        min-height: 250px;
    }

    .ai-cookie-banner {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
    }

}

/* Codex forced notice contrast (2026-03-05) */
.contact-section-modern .form-notice.success,
.form-notice.success {
    background: #dff5e8 !important;
    border: 1px solid #7bc59a !important;
    color: #103525 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Codex forced error notice contrast (2026-03-06) */
.contact-section-modern .form-notice.error,
.form-notice.error {
    background: #fdecea !important;
    border: 1px solid #e1a29a !important;
    color: #7a1f1f !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: 600;
}
