:root {
    --ink-black: #0d1f22;
    --dark-spruce: #264027;
    --hunter-green: #3c5233;
    --olive: #6f732f;
    --camel: #b38a58;
    --camel-light: #d4b080;
    --beige: #e9dcc6;
    --beige-soft: #f4ecdf;
    --line: rgba(13, 31, 34, 0.12);
    --shadow: 0 24px 60px rgba(13, 31, 34, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100% - 48px));
    --script-gradient: linear-gradient(180deg, #d2b084 0%, #b8874f 55%, #8e6437 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Crimson Text", serif;
    color: var(--ink-black);
    background:
        radial-gradient(circle at 18% 12%, rgba(233, 220, 198, 0.84), transparent 16%),
        radial-gradient(circle at 82% 18%, rgba(233, 220, 198, 0.72), transparent 14%),
        radial-gradient(circle at 72% 58%, rgba(233, 220, 198, 0.62), transparent 18%),
        radial-gradient(circle at top left, rgba(111, 115, 47, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(179, 138, 88, 0.16), transparent 28%),
        linear-gradient(180deg, #f8f2e8 0%, #efe4d3 100%);
}

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

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

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    filter: blur(24px);
    opacity: 0.42;
}

.site-shell::before {
    top: 8%;
    left: -100px;
    width: 280px;
    height: 280px;
    background: rgba(60, 82, 51, 0.12);
    border-radius: 46% 54% 58% 42% / 48% 41% 59% 52%;
}

.site-shell::after {
    right: -100px;
    bottom: 12%;
    width: 340px;
    height: 340px;
    background: rgba(179, 138, 88, 0.14);
    border-radius: 61% 39% 40% 60% / 44% 54% 46% 56%;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(244, 236, 223, 0.92);
    border-bottom: 1px solid rgba(13, 31, 34, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 104px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: var(--camel);
}

.brand-mark,
.hero-accent,
.section-script {
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    background: var(--script-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding-top: 0.24em;
    padding-bottom: 0.12em;
    line-height: 1.18;
    overflow: visible;
}

.brand-mark {
    font-size: clamp(2.2rem, 2.6vw, 2.6rem);
    padding-top: 0.14em;
    padding-bottom: 0.04em;
    line-height: 1;
}

.brand-name,
.nav,
.eyebrow,
.button,
.button-secondary,
.meta-card strong,
.section-kicker,
.stat-value,
.stat-label,
h1,
h2,
h3,
.board-role,
.footer-links a,
.footer-links span,
.copyright {
    font-family: "Oswald", sans-serif;
}

.brand-name {
    color: currentColor;
    margin-bottom: 0;
    font-size: clamp(1.15rem, 1.5vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
    font-size: 0.94rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(13, 31, 34, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    backdrop-filter: blur(10px) saturate(135%);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink-black);
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav a {
    position: relative;
    padding-bottom: 4px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.news-ticker {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(13, 31, 34, 0.08);
    border-bottom: 1px solid rgba(13, 31, 34, 0.08);
    background: rgba(244, 236, 223, 0.52);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    backdrop-filter: blur(10px) saturate(135%);
}

.news-ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 24s linear infinite;
}

.news-ticker-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 13px 28px;
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: "Oswald", sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-ticker-group span {
    position: relative;
}

.news-ticker-group span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(179, 138, 88, 0.88);
    transform: translateY(-50%);
}

.news-ticker-label {
    color: var(--hunter-green);
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero {
    padding: 56px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 700px);
    align-items: center;
    gap: 22px;
    position: relative;
}

.hero-grid > :first-child {
    position: relative;
    z-index: 8;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid rgba(60, 82, 51, 0.18);
    border-radius: 999px;
    background: rgba(244, 236, 223, 0.72);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--olive);
}

.hero-accent {
    margin: 18px 0 8px;
    font-size: clamp(2.1rem, 3.8vw, 3.5rem);
    white-space: nowrap;
}

h1,
h2,
h3,
.stat-value {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 54ch;
    margin: 26px 0 0;
    font-size: 1.3rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
    position: relative;
    z-index: 9;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
    background: var(--ink-black);
    color: var(--beige-soft);
    box-shadow: var(--shadow);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px) saturate(145%);
    backdrop-filter: blur(12px) saturate(145%);
    box-shadow: 0 16px 34px rgba(13, 31, 34, 0.08);
}

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

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    z-index: 9;
}

.hero-meta-wide {
    margin-top: 0;
}

.hero-facts {
    padding-top: 8px;
}

.meta-card {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 10;
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
    box-shadow: 0 18px 44px rgba(13, 31, 34, 0.08);
}

.meta-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-card span {
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-visual {
    position: relative;
    min-height: 760px;
    isolation: isolate;
    margin-left: -210px;
    width: calc(100% + 210px);
    align-self: end;
    z-index: 1;
}

.hero-visual::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 8%;
    bottom: 6%;
    height: 70px;
    background: radial-gradient(circle, rgba(13, 31, 34, 0.22), transparent 70%);
    filter: blur(16px);
    z-index: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    left: 8%;
    top: 22%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(233, 220, 198, 0.86), rgba(233, 220, 198, 0));
    filter: blur(8px);
    z-index: 0;
}

.blob {
    position: absolute;
    bottom: -170px;
    right: 70px;
    width: min(100%, 700px);
    aspect-ratio: 1;
    border-radius: 43% 57% 47% 53% / 40% 45% 55% 60%;
    background: linear-gradient(145deg, rgba(211, 216, 134, 0.94), rgba(113, 185, 84, 0.92));
    clip-path: shape(from 65.18% 81.64%, curve to 36.07% 86.52% with 52.43% 88.66%, curve to 15.17% 68.42% with 19.70% 84.37%, curve to 16.73% 39.26% with 10.63% 52.48%, curve to 35.25% 19.55% with 22.83% 26.05%, curve to 61.89% 16.72% with 47.68% 13.06%, curve to 77.42% 34.29% with 76.11% 20.38%, curve to 78.33% 61.41% with 78.74% 48.19%, curve to 65.18% 81.64% with 77.92% 74.62%);
    opacity: 0.95;
    z-index: 1;
}

.blob::before {
    content: "";
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(244, 236, 223, 0.18);
    border-radius: inherit;
    clip-path: inherit;
}

.forest {
    position: absolute;
    bottom: -154px;
    left: -160px;
    width: 156%;
    z-index: 2;
}

.forest img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
}

.dog {
    position: absolute;
    right: 18px;
    bottom: -160px;
    width: min(72%, 620px);
    z-index: 3;
}

.dog img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
}

.section {
    padding: 56px 0;
}

.section-rasse .container {
    position: relative;
}

.section-rasse .section-header,
.section-rasse .about-grid {
    position: relative;
    z-index: 2;
}

.section-rasse .section-header {
    max-width: min(64%, 760px);
}

.section-dog-photo {
    position: absolute;
    top: 130px;
    right: -90px;
    width: min(54vw, 680px);
    border-radius: 32px;
    overflow: hidden;
    z-index: 1;
}

.section-dog-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-news .container {
    position: relative;
}

.section-news .section-header,
.section-news .cards {
    position: relative;
    z-index: 2;
}

.section-dog {
    position: absolute;
    right: -10px;
    bottom: -100px;
    width: min(30vw, 300px);
    pointer-events: none;
    z-index: 1;
}

.section-dog img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-dog-mobile {
    display: none;
}

.section-header {
    display: grid;
    gap: 8px;
    margin-bottom: 28px;
}

.section-script {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin-top: -0.08em;
}

.section-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--hunter-green);
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    text-transform: uppercase;
    line-height: 0.95;
}

.section-intro {
    max-width: 72ch;
    font-size: 1.22rem;
    line-height: 1.5;
}

.about-grid,
.cards,
.board-grid {
    display: grid;
    gap: 20px;
}

.about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.panel,
.card,
.board-card,
.wide-panel {
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 246, 0.42);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 16px 40px rgba(13, 31, 34, 0.08);
}

.panel,
.wide-panel {
    padding: 28px;
}

.panel p,
.wide-panel p,
.card p,
.board-card p {
    margin: 0;
    font-size: 1.16rem;
    line-height: 1.5;
}

.board-card p + p {
    margin-top: 6px;
}

.stats {
    display: grid;
    gap: 16px;
}

.stat {
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgb(60, 82, 51), rgb(38, 64, 39));
    color: var(--beige-soft);
}

.stat-value {
    font-size: 2rem;
}

.stat-label {
    margin-top: 6px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.card,
.board-card {
    padding: 24px;
}

.card h3,
.board-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.card-list,
.result-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 1.05rem;
}

.card-list li,
.result-list li {
    padding-top: 10px;
    border-top: 1px solid rgba(13, 31, 34, 0.08);
}

.wide-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.dates-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.dates-card h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    text-transform: uppercase;
}

.dates-card p + p {
    margin-top: 8px;
}

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

.board-role {
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--camel);
}

#vorstand .container {
    position: relative;
}

#vorstand .section-header,
#vorstand .board-grid {
    position: relative;
    z-index: 2;
}

.board-dog {
    position: absolute;
    right: -10px;
    bottom: -60px;
    width: min(28vw, 320px);
    pointer-events: none;
    z-index: 1;
}

.board-dog img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.board-dog-mobile {
    display: none;
}

.footer {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    padding: 124px 0 34px;
    background:
        linear-gradient(180deg, rgba(13, 31, 34, 0), rgba(13, 31, 34, 0.04)),
        linear-gradient(140deg, rgba(38, 64, 39, 0.96), rgba(13, 31, 34, 0.98));
    color: var(--beige-soft);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(179, 138, 88, 0.16), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(111, 115, 47, 0.14), transparent 22%);
    pointer-events: none;
}

.footer-illustration {
    position: absolute;
    left: 50%;
    top: 22px;
    width: clamp(180px, 20vw, 260px);
    transform: translateX(-50%);
    opacity: 0.68;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: end;
}

.footer-side {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: stretch;
}

.footer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    line-height: 0.95;
}

.footer-copy {
    max-width: 48ch;
    margin-top: 16px;
    font-size: 1.15rem;
    line-height: 1.5;
}

.footer-top-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 62px;
    padding: 18px 10px;
    border: 1px solid rgba(244, 236, 223, 0.24);
    border-radius: 999px;
    background: rgba(244, 236, 223, 0.1);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    font-family: "Oswald", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.footer-links {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 22px;
    border: 1px solid rgba(244, 236, 223, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(244, 236, 223, 0.08);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
}

.footer-links a,
.footer-links span,
.copyright {
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-bottom {
    position: relative;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 236, 223, 0.12);
}

.copyright {
    margin: 0;
    opacity: 0.84;
}

@supports not (clip-path: shape(from 50% 0, curve to 100% 50% with 85% 15%, curve to 50% 100% with 100% 85%, curve to 0 50% with 15% 100%, curve to 50% 0 with 0 15%)) {
    .blob {
        clip-path: none;
    }
}

@media (max-width: 1180px) {
    .topbar-inner {
        min-height: 94px;
        gap: 18px;
    }

    .brand-mark {
        font-size: 3rem;
    }

    .nav {
        gap: 12px;
        font-size: 0.84rem;
    }
}

@media (max-width: 1040px) {
    .topbar {
        position: static;
    }

    .hero-grid,
    .about-grid,
    .wide-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
        min-height: 88px;
        padding: 18px 0;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .nav {
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 6px;
        padding: 18px 22px 22px;
        border: 1px solid rgba(13, 31, 34, 0.1);
        border-radius: 24px;
        background: rgba(244, 236, 223, 0.96);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
        backdrop-filter: blur(16px) saturate(140%);
        box-shadow: 0 18px 40px rgba(13, 31, 34, 0.12);
        white-space: normal;
        z-index: 30;
    }

    .nav.is-open {
        display: grid;
    }

    .nav a {
        padding: 0;
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 520px;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .section-dog-photo {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 420px);
        margin: 0 auto 24px;
    }

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

@media (max-width: 760px) {
    body.menu-open {
        overflow: hidden;
    }

    .topbar-inner {
        min-height: 80px;
        padding: 14px 0;
        grid-template-columns: minmax(0, 1fr) 52px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
        overflow: hidden;
    }

    .section-rasse .section-header {
        max-width: 100%;
    }

    .section-dog-photo {
        width: min(100%, 320px);
        margin: 0 auto 20px;
    }

    .brand-mark {
        font-size: 1.5rem;
        min-width: 0;
        white-space: nowrap;
    }

    .brand-name {
        font-size: 0.8rem;
        margin-bottom: 0;
        letter-spacing: 0.1em;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .nav-toggle {
        justify-self: end;
    }

    .hero {
        padding-top: 26px;
    }

    .news-ticker-group {
        gap: 22px;
        padding: 10px 18px;
        font-size: 0.74rem;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .hero-accent {
        white-space: normal;
        max-width: 100%;
    }

    .hero-copy {
        max-width: none;
        width: 100%;
        font-size: 1.06rem;
        overflow-wrap: anywhere;
    }

    .hero-meta,
    .cards,
    .board-grid {
        grid-template-columns: 1fr;
    }

    #termine {
        position: relative;
        z-index: 1;
    }

    #termine .wide-panel {
        position: relative;
        z-index: 1;
    }

    #ergebnisse {
        position: relative;
        z-index: 3;
    }

    #vorstand {
        position: relative;
        z-index: 4;
    }

    .section-dog {
        display: none;
    }

    .board-dog {
        display: none;
    }

    .section-dog-mobile {
        display: block;
        position: absolute;
        top: 600px;
        right: -6px;
        width: min(42vw, 250px);
        margin: 0;
        z-index: 2;
        pointer-events: none;
    }

    .section-dog-mobile img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .board-dog-mobile {
        display: block;
        position: absolute;
        top: -188px;
        right: -10px;
        width: min(45vw, 250px);
        margin: 0;
        z-index: 3;
        pointer-events: none;
    }

    .board-dog-mobile img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #vorstand .board-grid {
        z-index: 4;
    }

    #vorstand .board-card:first-child {
        position: relative;
        z-index: 5;
    }

    #pruefergebnisse,
    #pruefergebnisse .card {
        position: relative;
        z-index: 4;
    }

    #pruefergebnisse .card:first-child {
        position: relative;
        z-index: 4;
    }

    .hero-visual {
        min-height: 360px;
        margin: 0 auto;
        width: 100%;
        max-width: 360px;
    }

    .blob {
        bottom: 5px;
        width: min(150%, 400px);
        left: 50%;
        transform: translateX(-50%);
    }

    .forest {
        bottom: 10px;
        left: 50%;
        width: 180%;
        transform: translateX(-50%);
    }

    .dog {
        bottom: -8px;
        left: 50%;
        width: min(90%, 305px);
        transform: translateX(-50%);
    }

    .hero-actions {
        gap: 12px;
    }

    .footer .hero-accent {
        font-size: 1.5rem;
        line-height: 1.08;
        white-space: normal;
        max-width: 100%;
    }

    .footer-title {
        font-size: 2.2rem;
        line-height: 0.98;
        overflow-wrap: anywhere;
    }

    .footer-copy {
        max-width: none;
        width: 100%;
        font-size: 1.02rem;
    }

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

    .footer-top-button {
        min-width: 0;
        width: fit-content;
        padding: 12px 18px;
        writing-mode: initial;
        transform: none;
        justify-self: end;
    }

    .footer-links {
        width: 100%;
    }

    .footer-links a,
    .footer-links span,
    .copyright {
        font-size: 0.82rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .button,
    .button-secondary {
        min-height: 48px;
        padding: 0 20px;
        font-size: 0.9rem;
    }

    .section,
    .footer {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .footer {
        padding-top: 96px;
    }

    .footer-illustration {
        width: 170px;
    }
}
