/* ==========================================================================
   Oetztalpflege – Design Tokens & Global Styles
   Basis: docs/DESIGN_SYSTEM.md
   ========================================================================== */

@font-face {
    font-family: "Tiempos";
    src:
        url("../fonts/tiemposheadline-regular-webfont.woff2") format("woff2"),
        url("../fonts/tiemposheadline-regular-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir";
    src:
        url("../fonts/avenirltstd-book-webfont.woff2") format("woff2"),
        url("../fonts/avenirltstd-book-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --color-brand-dark: #233041;
    --color-brand-blue: #456CB5;
    --color-brand-blue-alt: #5677B4;
    --color-brand-gold: #BA934A;
    --color-accent-green: #61CE70;
    --color-text: #7A7A7A;
    --color-text-dark: #000000;
    --color-white: #ffffff;
    --color-bg-light: #fcfcfc;
    --color-border: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-display: "Tiempos", Georgia, "Times New Roman", serif;
    --font-body: "Avenir", "Helvetica Neue", Arial, sans-serif;
    --font-size-body: 1rem;
    --font-size-body-lg: 1.125rem;
    --font-size-small: 0.875rem;
    --line-height-body: 1.6;
    --line-height-heading: 1.2;

    /* Layout */
    --container-max: 1140px;
    --container-narrow: 1024px;
    --header-height: 80px;
    --section-padding-y: 4rem;
    --section-padding-y-sm: 2.5rem;
    --grid-gap: 1.5rem;

    /* Z-index */
    --z-header: 100;
    --z-sticky-bar: 110;
    --z-nav: 200;
    --z-dialog: 300;
    --z-cookie: 400;

    /* Shadows */
    --shadow-card: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text);
    background: var(--color-white);
    padding-top: var(--header-height);
}

body.nav-open,
body.dialog-open {
    overflow: hidden;
}

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

a {
    color: var(--color-brand-blue);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent-green);
}

button {
    font: inherit;
    cursor: pointer;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--line-height-heading);
    color: var(--color-text-dark);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.75rem); }

.prose p {
    margin: 0 0 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.visually-hidden {
    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: absolute;
    top: -100px;
    left: 1rem;
    z-index: calc(var(--z-cookie) + 1);
    background: var(--color-brand-dark);
    color: var(--color-white);
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.section {
    padding-block: var(--section-padding-y-sm);
}

.section__heading,
.text-section__heading {
    text-align: center;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    gap: var(--grid-gap);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border: 0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background: var(--color-brand-dark);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-accent-green);
    color: var(--color-brand-dark);
}

.btn--secondary {
    background: transparent;
    color: var(--color-brand-dark);
    border: 2px solid var(--color-brand-dark);
}

.btn--secondary:hover {
    background: var(--color-brand-dark);
    color: var(--color-white);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header .container {
    width: 100%;
    max-width: none;
    padding-inline: 10px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header__logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-header__email-btn,
.site-header__menu-btn {
    border: 0;
    background: transparent;
    color: var(--color-brand-dark);
    padding: 0.35rem 0.5rem;
}

.site-header__email-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 44px;
}

.site-header__email-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 400;
}

.site-header__menu-btn {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.5rem;
    min-width: 44px;
}

.site-header__email-btn:hover,
.site-header__menu-btn:hover,
.site-header__menu-btn[aria-expanded="true"] {
    color: var(--color-accent-green);
}

.icon {
    display: block;
}

/* ==========================================================================
   Popup Navigation
   ========================================================================== */

.popup-nav[hidden],
.email-dialog[hidden],
.cookie-consent[hidden] {
    display: none !important;
}

.popup-nav {
    position: fixed;
    inset: 0;
    z-index: var(--z-nav);
}

.popup-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.popup-nav__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--color-brand-dark);
    color: var(--color-white);
    overflow: hidden;
}

.popup-nav--open .popup-nav__dialog {
    animation: popup-nav-in 0.22s ease-out;
}

.popup-nav__panel--enter {
    animation: popup-panel-in 0.18s ease-out;
}

@keyframes popup-nav-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popup-panel-in {
    from { opacity: 0.6; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.popup-nav__top {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem 0;
}

.popup-nav__close {
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.popup-nav__close:hover,
.popup-nav__back:hover {
    color: var(--color-accent-green);
}

.popup-nav__panels {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0 2rem;
}

.popup-nav__panel {
    display: none;
}

.popup-nav__panel.is-active {
    display: block;
}

.popup-nav__back {
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 1.25rem 1rem;
}

.popup-nav__panel-title {
    margin: 0 1.25rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
}

.popup-nav__list {
    border-top: 1px solid var(--color-border);
}

.popup-nav__item {
    border-bottom: 1px solid var(--color-border);
}

.popup-nav__link {
    display: block;
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    text-decoration: none;
}

.popup-nav__link:hover,
.popup-nav__link:focus-visible {
    color: var(--color-accent-green);
    outline: none;
}

.popup-nav__contact {
    padding: 1.5rem 1.25rem 2rem;
    border-top: 1px solid var(--color-border);
    font-size: var(--font-size-small);
    line-height: 1.7;
}

.popup-nav__contact a {
    color: var(--color-white);
}

.popup-nav__contact a:hover {
    color: var(--color-accent-green);
}

.popup-nav__contact-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--hero-focal-x, 50%) var(--hero-focal-y, 50%);
    padding-block: 3rem;
}

.hero--has-image {
    background-image: var(--hero-image);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 48, 65, 0.75) 0%, rgba(35, 48, 65, 0.35) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero--home {
    min-height: calc(100svh - var(--header-height));
    align-items: center;
    padding-block: 4rem 3rem;
}

.hero--page {
    min-height: clamp(280px, 40vh, 420px);
    padding-top: calc(var(--header-height) + 2rem);
}

.hero--minimal {
    min-height: clamp(200px, 28vh, 320px);
    padding-top: calc(var(--header-height) + 1.5rem);
}

.hero--page .hero__title,
.hero--minimal .hero__title,
.hero--has-image .hero__title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    max-width: 20ch;
}

.hero--has-image .hero__kicker {
    color: var(--color-brand-gold);
}

.hero__kicker {
    margin: 0 0 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
}

.hero__title {
    max-width: 14ch;
    color: var(--color-white);
    margin: 0;
}

.hero--home .hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8125rem, 8vw, 7.5rem);
    line-height: 1.05;
    max-width: 11ch;
}

.hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 4.375rem);
    line-height: 1.1;
    color: var(--color-white);
    margin: 0.35rem 0 0;
}

.hero:not(.hero--home):not(.hero--has-image) .hero__title {
    color: var(--color-text-dark);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.service-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card__link:hover {
    color: inherit;
}

.service-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.service-card__title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.service-card__cta {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-brand-blue);
    text-transform: lowercase;
}

.service-card__link:hover .service-card__cta {
    color: var(--color-accent-green);
}

.service-card--inactive {
    opacity: 0.85;
}

.service-card__link--static {
    cursor: default;
}

/* ==========================================================================
   Content Components
   ========================================================================== */

.prose {
    color: var(--color-text);
    line-height: var(--line-height-body);
}

.prose p {
    margin: 0 0 1rem;
}

.prose h2,
.prose h3 {
    color: var(--color-text-dark);
    margin: 1.5rem 0 0.75rem;
}

.prose a {
    color: var(--color-brand-blue);
}

.prose a:hover {
    color: var(--color-accent-green);
}

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

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

.recruiting-cta {
    background: var(--color-bg-light);
}

.recruiting-cta__inner {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
}

.recruiting-cta__heading {
    margin-bottom: 1rem;
}

.recruiting-cta__body {
    margin-bottom: 1.5rem;
}

.recruiting-cta--secondary {
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-teaser__inner {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}

.faq-teaser__text {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.social-wall-placeholder {
    background: var(--color-bg-light);
}

.social-wall-placeholder__inner {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
}

.social-wall-placeholder__text {
    color: var(--color-text);
}

.service-subnav {
    background: var(--color-brand-dark);
    color: var(--color-white);
    overflow-x: auto;
}

.service-subnav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
}

.service-subnav__link {
    display: block;
    padding: 0.35rem 0;
    color: var(--color-white);
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}

.service-subnav__link:hover,
.service-subnav__link.is-active {
    color: var(--color-accent-green);
}

.image-text-section__inner {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.image-text-section__media img {
    width: 100%;
    height: auto;
    display: block;
}

.image-text-section__heading {
    margin-bottom: 1rem;
}

.team-grid-section__category {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--color-brand-gold);
}

.team-grid-section__category:first-of-type {
    margin-top: 0;
}

.team-grid {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
}

.team-card {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.team-card__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-card__body {
    padding: 1.25rem;
}

.team-card__name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-card__status {
    font-size: 0.875rem;
    color: var(--color-brand-gold);
    margin-bottom: 0.5rem;
}

.team-card__roles {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.job-block {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.job-block:last-child {
    border-bottom: 0;
}

.job-block__title {
    margin-bottom: 0.35rem;
}

.job-block__subtitle {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.job-block__label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.job-block__list {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: var(--color-text);
}

.reference-entry {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.reference-entry:last-child {
    border-bottom: 0;
}

.reference-entry__name {
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
}

.reference-entry__specialty {
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text);
}

.reference-entry__address,
.reference-entry__contact {
    margin: 0.25rem 0 0;
    color: var(--color-text);
}

.reference-entry__contact a {
    display: inline-block;
    margin-right: 1rem;
}

.faq-accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    color: var(--color-text-dark);
    cursor: pointer;
}

.faq-accordion__trigger:hover,
.faq-accordion__trigger[aria-expanded="true"] {
    color: var(--color-brand-blue);
}

.faq-accordion__icon::before {
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
}

.faq-accordion__trigger[aria-expanded="true"] .faq-accordion__icon::before {
    content: "−";
}

.faq-accordion__panel[hidden] {
    display: none;
}

.faq-accordion__content {
    padding-bottom: 1rem;
}

.application-form__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.application-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.application-form__field input,
.application-form__field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font: inherit;
}

.application-form__consent {
    margin: 1.25rem 0;
}

.application-form__checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9375rem;
}

.application-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.application-form__alert {
    background: #fdecea;
    color: #8a1f17;
    border: 1px solid #f5c2c0;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.application-form__error {
    display: block;
    color: #8a1f17;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.application-form__note {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.spenden-bank__list {
    max-width: 32rem;
    margin-inline: auto;
}

.spenden-bank__row {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spenden-bank__row dt {
    font-weight: 700;
}

.spenden-bank__row dd {
    margin: 0;
}

.spenden-motives__grid {
    grid-template-columns: 1fr;
}

.spenden-motive__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spenden-motive__heading {
    margin: 1rem 0 0.5rem;
}

.link-list-group {
    margin-bottom: 2rem;
}

.link-list-group__heading {
    margin-bottom: 0.75rem;
}

.link-list-group__list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-text);
}

.link-list-group__list a {
    color: var(--color-brand-blue);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-brand-dark);
    color: var(--color-white);
    padding: 3rem 0 5.5rem;
}

.site-footer a {
    color: var(--color-white);
}

.site-footer a:hover {
    color: var(--color-accent-green);
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
}

.site-footer__contact-upper {
    margin: 0 0 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__contact-line {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.site-footer__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
    margin-bottom: 0.25rem;
}

.site-footer__claim {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.site-footer__claim--accent {
    color: var(--color-brand-gold);
}

.site-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-small);
}

.site-footer__cookie-link {
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: var(--font-size-small);
    text-decoration: underline;
    padding: 0;
}

/* ==========================================================================
   Sticky Action Bar
   ========================================================================== */

.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky-bar);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--color-brand-dark);
    border-top: 1px solid var(--color-border);
}

.sticky-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-right: 1px solid var(--color-border);
}

.sticky-bar__item:last-child {
    border-right: 0;
}

.sticky-bar__item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-accent-green);
}

/* ==========================================================================
   Dialogs
   ========================================================================== */

.email-dialog {
    position: fixed;
    inset: 0;
    z-index: var(--z-dialog);
}

.email-dialog__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.email-dialog__panel {
    position: relative;
    width: min(92%, 420px);
    margin: 15vh auto 0;
    padding: 2rem;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.email-dialog__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-brand-dark);
}

.email-dialog__title {
    font-size: 1.5rem;
}

.email-dialog__link {
    font-weight: 700;
}

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: var(--z-cookie);
}

.cookie-consent__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 530px;
    margin-inline: auto;
    padding: 1.25rem;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.cookie-consent__text {
    margin: 0;
    font-size: var(--font-size-small);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 768px) {
    :root {
        --section-padding-y-sm: 3.5rem;
        --font-size-body: 1.0625rem;
    }

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

    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr 0.8fr;
        align-items: start;
    }

    .cookie-consent__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .image-text-section__inner {
        grid-template-columns: 1fr 1fr;
    }

    .image-text-section--image-right .image-text-section__content {
        order: 1;
    }

    .image-text-section--image-right .image-text-section__media {
        order: 2;
    }

    .application-form__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-form__field--full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-padding-y-sm: 4rem;
        --font-size-body: 1.125rem;
    }

    .site-header .container {
        width: min(100% - 2rem, var(--container-max));
        padding-inline: 0;
    }

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

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

    .sticky-bar {
        display: none;
    }

    .site-footer {
        padding-bottom: 3rem;
    }
}

@media (min-width: 1140px) {
    .container {
        width: min(100% - 3rem, var(--container-max));
    }

    .popup-nav__link {
        font-size: 1.0625rem;
        padding: 1.125rem 2rem;
    }

    .popup-nav__panels {
        padding-top: 2.5rem;
    }
}

@media (max-width: 1023px) {
    .cookie-consent {
        bottom: 4.25rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 3.25rem;
    }

    .site-header__email-label {
        font-size: 0.8125rem;
    }

    .site-header__menu-btn {
        font-size: 0.8125rem;
        letter-spacing: 0.06em;
    }

    .popup-nav__link,
    .popup-nav__back,
    .popup-nav__close {
        letter-spacing: 0.06em;
        padding-inline: 1.25rem;
    }

    .popup-nav__panels {
        padding: 2.5rem 0 2rem;
    }

    .popup-nav__contact {
        font-size: 0.8125rem;
        padding-inline: 1.25rem;
    }

    .site-footer__social .icon {
        width: 30px;
        height: 30px;
    }

    .text-section__heading {
        font-size: 1.75rem;
    }
}
