@charset "UTF-8";

:root {
    --ink: #0d1511;
    --ink-soft: #17241c;
    --paper: #f7f8f6;
    --white: #ffffff;
    --muted: #e9eee9;
    --line: #d7ded8;
    --green: #2e7d46;
    --green-bright: #65c77b;
    --green-pale: #dff3e5;
    --text: #1d2a22;
    --text-soft: #5d6a62;
    --danger: #9b2c2c;
    --shadow: 0 22px 60px rgba(13, 21, 17, .12);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shell: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

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

h1 {
    font-size: clamp(3rem, 7vw, 6.7rem);
    max-width: 850px;
}

h2 {
    font-size: clamp(2.15rem, 4.5vw, 4.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
    margin: 0 0 1rem;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.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;
    left: 20px;
    top: 12px;
    z-index: 9999;
    transform: translateY(-180%);
    padding: .8rem 1rem;
    border-radius: 10px;
    background: var(--green-bright);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

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

.eyebrow {
    margin-bottom: .75rem;
    color: var(--green);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #d9f5df;
}

.eyebrow.green {
    color: var(--green-bright);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .86rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
    background: var(--green-bright);
    color: var(--ink);
    box-shadow: 0 10px 30px rgba(101, 199, 123, .25);
}

.button-primary:hover {
    background: #78d38d;
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-dark:hover {
    background: #203228;
}

.button-ghost {
    border-color: rgba(255,255,255,.58);
    color: var(--white);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.button-ghost:hover {
    background: rgba(255,255,255,.16);
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--green);
    font-weight: 850;
    cursor: pointer;
    text-align: left;
}

.text-button span {
    transition: transform .2s ease;
}

.text-button:hover span {
    transform: translateX(4px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 248, 246, .92);
    border-bottom: 1px solid rgba(13, 21, 17, .08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--shell);
    min-height: 84px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    width: min(330px, 44vw);
    text-decoration: none;
}

.brand img {
    width: 100%;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.55rem;
}

.main-nav a {
    color: var(--text);
    font-size: .95rem;
    font-weight: 760;
    text-decoration: none;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--green);
}

.main-nav .nav-cta {
    padding: .72rem 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    padding: 12px;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: min(820px, calc(100vh - 84px));
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--ink);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: url("../images/hero-beachfest.webp") center 53% / cover no-repeat;
    transform: scale(1.01);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 14, 10, .9) 0%, rgba(7, 14, 10, .58) 47%, rgba(7, 14, 10, .24) 100%),
        linear-gradient(0deg, rgba(7, 14, 10, .7) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: clamp(70px, 10vw, 130px);
    color: var(--white);
}

.hero-lead {
    max-width: 760px;
    margin-top: 1.5rem;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

/* Trust */
.trust-strip {
    background: var(--ink);
    color: var(--white);
}

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

.trust-grid > div {
    min-height: 138px;
    padding: 2rem 2.4rem;
    border-right: 1px solid rgba(255,255,255,.14);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-grid > div:first-child {
    border-left: 1px solid rgba(255,255,255,.14);
}

.trust-grid strong {
    font-size: 1.15rem;
}

.trust-grid span {
    color: rgba(255,255,255,.68);
    font-size: .92rem;
}

/* Sections */
.section {
    padding: clamp(76px, 9vw, 132px) 0;
}

.section-muted {
    background: var(--muted);
}

.section-dark {
    background: var(--ink);
    color: var(--white);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 3rem;
}

.section-heading > p {
    color: var(--text-soft);
    font-size: 1.04rem;
}

.section-heading.compact {
    grid-template-columns: 1fr;
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.intro-copy > p:last-child {
    max-width: 780px;
    margin-top: 1.6rem;
    color: var(--text-soft);
    font-size: 1.1rem;
}

.quick-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--green-pale);
    box-shadow: var(--shadow);
}

.quick-card > span {
    color: var(--green);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.quick-card h3 {
    margin: .7rem 0 1rem;
}

.quick-card p {
    color: var(--text-soft);
}

.quick-card a {
    color: var(--green);
    font-weight: 850;
    text-decoration: none;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-card {
    position: relative;
    min-height: 335px;
    padding: 2rem;
    border: 1px solid rgba(13, 21, 17, .11);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.85);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 125, 70, .4);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    background: var(--green-pale);
    color: var(--green);
    display: grid;
    place-items: center;
}

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

.card-eyebrow {
    margin-bottom: .5rem;
    color: var(--green);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: .9rem;
}

.service-card > p:not(.card-eyebrow) {
    color: var(--text-soft);
}

.service-card .text-button {
    margin-top: auto;
}

/* Feature */
.feature-section {
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.feature-image {
    position: relative;
}

.feature-image::after {
    content: "";
    position: absolute;
    width: 38%;
    aspect-ratio: 1;
    right: -6%;
    bottom: -12%;
    border-radius: 50%;
    background: var(--green-bright);
    z-index: -1;
    opacity: .25;
}

.feature-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-copy > p:not(.eyebrow) {
    margin: 1.4rem 0;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.check-list,
.modal-list {
    padding: 0;
    margin: 1.5rem 0 2rem;
    list-style: none;
}

.check-list li,
.modal-list li {
    position: relative;
    padding: .55rem 0 .55rem 2rem;
}

.check-list li::before,
.modal-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .45rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: .76rem;
    font-weight: 900;
}

/* Qualification */
.qualification-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .6fr);
    gap: clamp(2rem, 8vw, 8rem);
    align-items: center;
}

.qualification-grid > div:first-child p:not(.eyebrow) {
    max-width: 740px;
    color: rgba(255,255,255,.72);
    font-size: 1.08rem;
}

.qualification-grid h2 {
    margin-bottom: 1.7rem;
}

.qualification-card {
    position: relative;
    min-height: 330px;
    padding: 2.2rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(101,199,123,.14), rgba(255,255,255,.03));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.qualification-mark {
    position: absolute;
    top: -18px;
    right: 22px;
    color: rgba(101,199,123,.22);
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
}

.qualification-card strong {
    position: relative;
    font-size: 1.45rem;
}

.qualification-card p {
    position: relative;
    margin-top: .8rem;
    color: rgba(255,255,255,.7);
}

/* References */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.reference-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(13,21,17,.06);
}

.reference-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--muted);
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.04);
}

.reference-body {
    padding: 1.5rem;
}

.reference-body h3 {
    margin-bottom: .8rem;
}

.reference-body > p:not(.card-eyebrow) {
    color: var(--text-soft);
}

.reference-client {
    display: block;
    margin: 1rem 0 1.2rem;
    color: var(--text);
    font-size: .86rem;
    font-weight: 800;
}

/* Mascots */
.mascot-section {
    background: var(--ink-soft);
    color: var(--white);
}

.mascot-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 4rem;
    align-items: center;
}

.mascot-copy > p:not(.eyebrow) {
    color: rgba(255,255,255,.75);
    font-size: 1.04rem;
}

.mascot-copy .small-note {
    margin: 1.2rem 0 1.8rem;
    padding-left: 1rem;
    border-left: 3px solid var(--green-bright);
    font-size: .9rem;
}

.mascot-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, .55fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 8rem);
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 125px;
}

.faq-intro > p:not(.eyebrow) {
    margin: 1.3rem 0 1.8rem;
    color: var(--text-soft);
}

.faq-list {
    display: grid;
    gap: .8rem;
}

.faq-list details {
    border: 1px solid rgba(13, 21, 17, .12);
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
}

.faq-list summary {
    position: relative;
    padding: 1.25rem 3.3rem 1.25rem 1.3rem;
    cursor: pointer;
    font-weight: 820;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    padding: 0 1.3rem 1.3rem;
    color: var(--text-soft);
}

/* Network */
.network-section {
    background: var(--white);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.network-card {
    min-height: 275px;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
}

.network-card:hover {
    transform: translateY(-5px);
}

.network-card.print {
    background: #201e25;
    color: #fff;
}

.network-card.design {
    background: #dff2e9;
    color: #123128;
}

.network-card.active {
    background: var(--green);
    color: #fff;
}

.network-kicker {
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .72;
}

.network-card strong {
    margin-top: .8rem;
    font-size: 1.8rem;
}

.network-card p {
    margin-top: .85rem;
    opacity: .76;
}

.network-card b {
    margin-top: auto;
}

/* Contact */
.contact-section {
    background: var(--ink);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 125px;
}

.contact-copy > p:not(.eyebrow):not(.draft-note) {
    margin: 1.4rem 0 2rem;
    color: rgba(255,255,255,.7);
    font-size: 1.04rem;
}

.contact-facts {
    display: grid;
    gap: 1.2rem;
}

.contact-facts div {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,.13);
}

.contact-facts span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-facts strong {
    display: block;
    margin-top: .3rem;
    font-size: 1rem;
}

.draft-note {
    margin-top: 1.6rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.63);
    font-size: .84rem;
}

.form-panel {
    padding: clamp(1.3rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow);
}

.form-panel form {
    display: grid;
    gap: 1rem;
}

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

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

.form-panel label,
.form-panel legend {
    font-size: .86rem;
    font-weight: 760;
}

.form-panel em {
    color: var(--danger);
    font-style: normal;
}

.form-panel input,
.form-panel textarea,
.form-panel select {
    width: 100%;
    margin-top: .4rem;
    padding: .82rem .9rem;
    border: 1px solid #cad3cc;
    border-radius: 11px;
    background: #fbfcfb;
    color: var(--text);
    outline: none;
}

.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(46,125,70,.12);
}

.form-panel textarea {
    resize: vertical;
}

.form-panel fieldset {
    margin: .3rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.form-panel legend {
    padding: 0 .5rem;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.service-options label {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .65rem;
    border-radius: 10px;
    background: var(--paper);
}

.service-options input {
    width: auto;
    margin: 0;
}

.upload-fieldset > p {
    margin-top: 0;
    color: var(--text-soft);
    font-size: .82rem;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-weight: 500 !important;
}

.checkbox-line input {
    width: auto;
    margin-top: .3rem;
}

.inline-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--green);
    text-decoration: underline;
    cursor: pointer;
}

.submit-button {
    justify-self: start;
    margin-top: .5rem;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.form-status {
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    font-size: .9rem;
}

.form-status.success {
    background: var(--green-pale);
    color: #19472a;
}

.form-status.error {
    background: #fbe5e5;
    color: #7d1d1d;
}

/* Footer */
.site-footer {
    padding: 70px 0 24px;
    background: #080d0a;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, .65fr);
    gap: 2.5rem;
}

.footer-brand img {
    width: min(320px, 100%);
}

.footer-brand p {
    max-width: 400px;
    margin-top: 1.2rem;
    color: rgba(255,255,255,.6);
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
}

.footer-grid strong {
    margin-bottom: .5rem;
}

.footer-grid a,
.footer-grid button {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    cursor: pointer;
}

.footer-grid a:hover,
.footer-grid button:hover {
    color: var(--green-bright);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.45);
    font-size: .82rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(13,21,17,.25);
}

/* Dialogs */
.modal,
.lightbox {
    width: min(900px, calc(100% - 28px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    overflow: visible;
}

.modal::backdrop,
.lightbox::backdrop {
    background: rgba(3, 8, 5, .8);
    backdrop-filter: blur(8px);
}

.modal-shell {
    position: relative;
    max-height: calc(100vh - 32px);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 24px;
    background: var(--white);
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.modal-shell.wide {
    width: min(1120px, calc(100vw - 28px));
}

.modal-close,
.lightbox-close {
    position: sticky;
    z-index: 3;
    float: right;
    top: 0;
    width: 42px;
    height: 42px;
    margin: -5px -5px 10px 15px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 1.55rem;
    cursor: pointer;
}

.modal-intro {
    max-width: 760px;
    margin-top: 1.2rem;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.modal-list {
    columns: 2;
    column-gap: 2.5rem;
}

.modal-list li {
    break-inside: avoid;
}

.modal-note,
.draft-legal {
    margin: 1.5rem 0;
    padding: 1.1rem 1.2rem;
    border-left: 4px solid var(--green);
    border-radius: 0 12px 12px 0;
    background: var(--green-pale);
    color: #254a31;
}

.project-client {
    color: var(--text-soft);
}

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

.gallery-grid figure {
    margin: 0;
}

.gallery-button {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 15px;
    background: var(--muted);
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-button img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .25s ease;
}

.gallery-button:hover img {
    transform: scale(1.025);
}

.gallery-grid figcaption {
    padding: .55rem .2rem 0;
    color: var(--text-soft);
    font-size: .82rem;
}

.legal-modal h3 {
    margin: 1.6rem 0 .6rem;
}

.lightbox {
    width: min(1400px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
}

.lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    justify-items: center;
    align-items: center;
    padding: 15px;
    background: rgba(4,9,6,.95);
}

.lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 110px);
    object-fit: contain;
    border-radius: 12px;
}

.lightbox p {
    margin: .65rem 0 0;
    color: var(--white);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    float: none;
    margin: 0;
    background: rgba(255,255,255,.15);
}

.noscript {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2000;
    padding: 1rem;
    border-radius: 12px;
    background: #fff3cd;
    color: #694f00;
    text-align: center;
}

/* Responsive */
@media (max-width: 1050px) {
    .main-nav {
        position: fixed;
        top: 84px;
        left: 20px;
        right: 20px;
        display: none;
        padding: 1.2rem;
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: .6rem .4rem;
    }

    .menu-toggle {
        display: block;
    }

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

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

    .contact-copy,
    .faq-intro {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.2fr repeat(2, .8fr);
    }

    .footer-grid > div:last-child {
        grid-column: 2;
    }
}

@media (max-width: 800px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    .brand {
        width: min(300px, 72vw);
    }

    .header-inner {
        min-height: 76px;
    }

    .main-nav {
        top: 76px;
        left: 14px;
        right: 14px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-media {
        background-position: 61% 50%;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(7,14,10,.92) 0%, rgba(7,14,10,.53) 72%, rgba(7,14,10,.28) 100%);
    }

    .hero-content {
        padding-top: 160px;
        padding-bottom: 62px;
    }

    .trust-grid,
    .intro-section,
    .feature-grid,
    .qualification-grid,
    .mascot-grid,
    .faq-layout,
    .section-heading,
    .network-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div {
        min-height: auto;
        padding: 1.25rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .trust-grid > div:first-child {
        border-left: 0;
    }

    .section-heading {
        gap: 1rem;
    }

    .service-card {
        min-height: 310px;
    }

    .mascot-grid {
        gap: 2rem;
    }

    .mascot-image {
        order: -1;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .modal-list {
        columns: 1;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: clamp(2.85rem, 15vw, 4.6rem);
    }

    h2 {
        font-size: clamp(2rem, 11vw, 3.5rem);
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .service-grid,
    .reference-grid,
    .form-row,
    .form-row.three,
    .service-options,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .reference-grid {
        gap: 1rem;
    }

    .footer-grid > div:last-child,
    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .modal,
    .lightbox {
        width: calc(100% - 12px);
    }

    .modal-shell {
        max-height: calc(100vh - 12px);
        border-radius: 18px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

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

.contact-facts a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-content { max-height: min(86vh, 900px); overflow-y: auto; }
.legal-content h3 { margin-top: 1.45rem; margin-bottom: .45rem; }
.legal-content a { color: var(--green-dark); font-weight: 700; }
@media (max-width: 800px) {
  .brand { width: min(280px, 70vw); }
}


/* Korrekturen v0.3.0 */
.site-header { background: rgba(247,249,244,.97); border-bottom: 1px solid rgba(24,34,27,.12); }
.main-nav a { color: #111813; }
.menu-toggle span { background: #111813; }
.brand img { width: min(230px, 42vw); max-height: 86px; object-fit: contain; }
.mascot-section {
    background: linear-gradient(135deg, #f5f7ef 0%, #dfe7cc 32%, #bfd38c 65%, #8eac5c 100%);
    color: #111813;
}
.mascot-section .eyebrow.light,
.mascot-section h2,
.mascot-section .mascot-copy > p,
.mascot-section .small-note { color: #111813 !important; }
.mascot-copy .small-note { border-left-color: #315f20; }
.mascot-image {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(176,30,31,.22), rgba(144,185,62,.4) 45%, rgba(49,95,32,.82) 100%);
    box-shadow: var(--shadow);
}
.mascot-image img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    box-shadow: none;
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.24));
}
.reference-modal .eyebrow,
.legal-modal .eyebrow,
.service-modal .eyebrow { color: #111813; }
.legal-content,
.reference-modal .modal-shell,
.service-modal .modal-shell { color: #111813; }
.gallery-grid figcaption { color: #111813; }


/* Header/Footer-Anpassung v0.3.1 – angelehnt an MeinTeamDesign */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0 14px;
    background: rgba(247, 249, 244, .92);
    border-bottom: 0;
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    isolation: isolate;
    width: var(--shell);
    min-height: 124px;
    margin-inline: auto;
    padding: 0 24px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    border: 1.5px solid #182119;
    border-radius: 42px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(24, 33, 25, .10);
}

.header-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: min(520px, 42%);
    background:
        linear-gradient(180deg, rgba(255,255,255,.52), transparent 42%),
        linear-gradient(135deg, #eef5dc 0%, #cbdca5 45%, #8dac62 72%, #556d45 100%);
    clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
}

.brand {
    position: relative;
    z-index: 1;
    width: min(260px, 28vw);
    min-width: 210px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: min(235px, 100%);
    max-height: 104px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.10));
}

.main-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1rem, 2vw, 2.25rem);
}

.main-nav a {
    color: #202822;
    font-size: .98rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta):focus-visible {
    color: #315f20;
}

.main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .95rem 1.35rem;
    border: 1px solid rgba(49,95,32,.20);
    border-radius: 999px;
    background: linear-gradient(135deg, #dff1b6, #b8db72);
    color: #111813;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.main-nav .nav-cta::after {
    content: "→";
    font-size: 1.2rem;
    line-height: 1;
}

.menu-toggle {
    position: relative;
    z-index: 3;
    background: #e2efc1;
    border: 1px solid rgba(49,95,32,.18);
}

.menu-toggle span:not(.sr-only) {
    background: #111813;
}

/* Das originale Firmenlogo im Footer sichtbar und ohne Ersatzlogo darstellen. */
.footer-brand img {
    width: min(235px, 100%);
    max-height: 122px;
    object-fit: contain;
    padding: .7rem .85rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f8ee, #dfe9ca);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 12px 28px rgba(0,0,0,.16);
}

@media (max-width: 1050px) {
    .header-inner {
        min-height: 110px;
        padding-right: 18px;
    }

    .header-inner::before {
        width: min(430px, 48%);
    }

    .brand {
        width: min(225px, 30vw);
        min-width: 180px;
    }

    .brand img {
        width: min(205px, 100%);
        max-height: 92px;
    }

    .main-nav {
        gap: 1rem;
    }
}

@media (max-width: 800px) {
    .site-header {
        padding: 10px 0;
    }

    .header-inner {
        min-height: 88px;
        padding: 0 14px 0 20px;
        border-radius: 30px;
        overflow: visible;
    }

    .header-inner::before {
        width: 70%;
        border-radius: 29px 0 0 29px;
        clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    }

    .brand {
        width: min(190px, 54vw);
        min-width: 0;
    }

    .brand img {
        width: min(180px, 100%);
        max-height: 76px;
    }

    .main-nav {
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: .9rem;
        border: 1px solid rgba(17,24,19,.12);
        border-radius: 22px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 18px 38px rgba(13,21,17,.16);
    }

    .main-nav .nav-cta {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .header-inner {
        min-height: 82px;
        border-radius: 26px;
    }

    .header-inner::before {
        border-radius: 25px 0 0 25px;
    }

    .brand {
        width: min(168px, 58vw);
    }

    .brand img {
        width: min(160px, 100%);
        max-height: 70px;
    }

    .footer-brand img {
        width: min(210px, 100%);
    }
}


/* Header-Hintergrund v0.3.2 – nur die abgerundete Kapsel bleibt sichtbar */
.site-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Header-Breite v0.3.3 – Desktoplänge wie bei MeinTeamDesign */
@media (min-width: 1051px) {
    .header-inner {
        width: min(1420px, calc(100% - 96px));
    }
}


/* Header-Logo v0.3.4 – Schild links, Schriftzug groß rechts daneben */
.brand {
    width: min(430px, 38vw);
    min-width: 355px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.brand img {
    width: auto;
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.10));
}

.brand-mark {
    flex: 0 0 auto;
    width: 88px !important;
    height: 88px;
    object-fit: contain;
}

.brand-wordmark {
    flex: 0 1 260px;
    width: 260px !important;
    height: auto;
    object-fit: contain;
}

/* Etwas mehr Platz im farbigen linken Headerbereich für den horizontalen Markenaufbau */
@media (min-width: 1051px) {
    .header-inner::before {
        width: min(610px, 46%);
        clip-path: polygon(0 0, 100% 0, 77% 100%, 0 100%);
    }
}

@media (max-width: 1050px) {
    .brand {
        width: min(350px, 40vw);
        min-width: 285px;
    }

    .brand-lockup {
        gap: 12px;
    }

    .brand-mark {
        width: 72px !important;
        height: 72px;
    }

    .brand-wordmark {
        flex-basis: 220px;
        width: 220px !important;
    }

    .header-inner::before {
        width: min(500px, 52%);
    }
}

@media (max-width: 800px) {
    .brand {
        width: min(265px, 68vw);
        min-width: 0;
    }

    .brand-lockup {
        gap: 9px;
    }

    .brand-mark {
        width: 58px !important;
        height: 58px;
    }

    .brand-wordmark {
        flex-basis: 182px;
        width: 182px !important;
    }
}

@media (max-width: 620px) {
    .brand {
        width: min(230px, 66vw);
    }

    .brand-mark {
        width: 50px !important;
        height: 50px;
    }

    .brand-wordmark {
        flex-basis: 162px;
        width: 162px !important;
    }
}


/* ================================================================
   v0.3.5 – hochauflösendes Header-Logo + einheitlicher Button-Grünton
   Der verwendete Grünton entspricht "Details anfragen": #2e7d46.
   ================================================================ */

/* Das hochaufgelöste Logo bewusst etwas größer darstellen. */
.brand {
    width: min(470px, 41vw);
    min-width: 390px;
}

.brand-lockup {
    gap: 20px;
}

.brand-mark {
    width: 98px !important;
    height: 98px !important;
    object-fit: contain;
    image-rendering: auto;
    filter: none !important;
}

.brand-wordmark {
    flex: 0 1 300px !important;
    width: 300px !important;
    height: auto !important;
    object-fit: contain;
    image-rendering: auto;
    filter: none !important;
}

/* Mehr Platz für die horizontale Marke im linken Verlaufsfeld. */
@media (min-width: 1051px) {
    .header-inner::before {
        width: min(640px, 47%);
        clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
    }
}

/* Alle klassischen/gerundeten Aktionsbuttons in exakt demselben Grün
   wie der Link "Details anfragen". */
.button,
.button-primary,
.button-dark,
.button-ghost,
.main-nav .nav-cta,
.menu-toggle,
.modal-close,
.lightbox-close,
.back-to-top {
    background: #2e7d46 !important;
    border-color: #2e7d46 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(46, 125, 70, .20);
}

.button:hover,
.button-primary:hover,
.button-dark:hover,
.button-ghost:hover,
.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible,
.menu-toggle:hover,
.modal-close:hover,
.lightbox-close:hover,
.back-to-top:hover {
    background: #25683a !important;
    border-color: #25683a !important;
    color: #ffffff !important;
}

/* Textartige Aktionen behalten ebenfalls genau den Marken-Grünton. */
.text-button,
.inline-button,
.quick-card a {
    color: #2e7d46 !important;
}

/* Burger-Striche bleiben auf dem grünen Button gut lesbar. */
.menu-toggle span:not(.sr-only) {
    background: #ffffff !important;
}

/* Responsive Größen für das hochauflösende Marken-Lockup. */
@media (max-width: 1050px) {
    .brand {
        width: min(390px, 45vw);
        min-width: 315px;
    }

    .brand-mark {
        width: 82px !important;
        height: 82px !important;
    }

    .brand-wordmark {
        flex-basis: 250px !important;
        width: 250px !important;
    }
}

@media (max-width: 800px) {
    .brand {
        width: min(300px, 70vw);
        min-width: 0;
    }

    .brand-lockup {
        gap: 12px;
    }

    .brand-mark {
        width: 66px !important;
        height: 66px !important;
    }

    .brand-wordmark {
        flex-basis: 210px !important;
        width: 210px !important;
    }
}

@media (max-width: 620px) {
    .brand {
        width: min(260px, 70vw);
    }

    .brand-mark {
        width: 55px !important;
        height: 55px !important;
    }

    .brand-wordmark {
        flex-basis: 185px !important;
        width: 185px !important;
    }
}

/* Footer-Logo ebenfalls mit der neuen hochauflösenden Datei anzeigen. */
.footer-brand img {
    image-rendering: auto;
    filter: none !important;
}


/* ================================================================
   v0.3.6 – Header-Schriftzug als echter Text statt Bild
   Dadurch keine Restlinie/Bemaßung und dauerhaft scharfe Darstellung.
   ================================================================ */

.brand-wordmark {
    display: none !important;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
    white-space: nowrap;
    transform: translateY(1px);
}

.brand-name {
    display: block;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 42px;
    line-height: .92;
    letter-spacing: -1.7px;
    border: 0 !important;
    text-decoration: none !important;
}

.brand-subtitle {
    display: block;
    margin-top: 7px;
    padding: 0 !important;
    color: #c6242c;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.45px;
    border: 0 !important;
    text-decoration: none !important;
}

@media (max-width: 1050px) {
    .brand-name {
        font-size: 36px;
    }

    .brand-subtitle {
        margin-top: 6px;
        font-size: 20px;
    }
}

@media (max-width: 800px) {
    .brand-name {
        font-size: 30px;
        letter-spacing: -1.2px;
    }

    .brand-subtitle {
        margin-top: 5px;
        font-size: 17px;
    }
}

@media (max-width: 620px) {
    .brand-name {
        font-size: 26px;
        letter-spacing: -1px;
    }

    .brand-subtitle {
        margin-top: 4px;
        font-size: 15px;
    }
}


/* ================================================================
   v0.3.7 – Footer-Logo ohne Rest-/Bemaßungslinie
   Auch hier: Schild als Bild, Schriftzug als echter HTML-Text.
   ================================================================ */

.footer-brand > img {
    display: none !important;
}

.footer-logo-lockup {
    width: min(330px, 100%);
    min-height: 152px;
    padding: 18px 28px;
    border-radius: 22px;
    background: #eef4df;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.footer-logo-mark {
    width: 92px !important;
    height: 92px !important;
    flex: 0 0 auto;
    object-fit: contain;
    filter: none !important;
}

.footer-logo-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
}

.footer-logo-name {
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -1.15px;
    border: 0 !important;
    text-decoration: none !important;
}

.footer-logo-subtitle {
    margin-top: 6px;
    color: #c6242c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    border: 0 !important;
    text-decoration: none !important;
}

@media (max-width: 700px) {
    .footer-logo-lockup {
        width: min(300px, 100%);
        min-height: 135px;
        padding: 16px 22px;
        gap: 13px;
    }

    .footer-logo-mark {
        width: 78px !important;
        height: 78px !important;
    }

    .footer-logo-name {
        font-size: 26px;
    }

    .footer-logo-subtitle {
        font-size: 15px;
    }
}


/* ================================================================
   v0.3.8 – "RSA 21" bleibt immer zusammen
   ================================================================ */

.nowrap {
    white-space: nowrap !important;
    display: inline-block;
}
