/* ===========================
   Font
   =========================== */
@font-face {
    font-family: 'Trip Sans';
    src: url('assets/trip-sans.otf') format('opentype');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trip Sans';
    src: url('assets/trip-sans-bold.otf') format('opentype');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   Variables
   =========================== */
:root {
    /* Colors */
    --color-ink:   #252525; /* Nero — primary text & dark backgrounds */
    --color-paper: #e6e6e6; /* Placebo — light backgrounds & light text */
    --color-warm:  #e1d8cb; /* Albescent White — warm accent sections */
    --color-stone: #a7a39c; /* Ashlite — borders, labels, secondary text */

    /* Typography */
    --font-display: 'Trip Sans', sans-serif;
    --font-body:    'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;

    /* Type scale */
    --text-xs:      11px;
    --text-sm:      13px;
    --text-base:    16px;
    --text-lg:      20px;
    --text-xl:      28px;
    --text-2xl:     42px;
    --text-display: clamp(60px, 7vw, 120px);

    /* Spacing */
    --page-padding:        60px;
    --page-padding-mobile: 30px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-paper);
    line-height: 1.6;
}

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

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

/* ===========================
   Typography
   =========================== */
h1 {
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-ink);
}

h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-ink);
}

h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-ink);
}

h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-ink);
}

h5 {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-stone);
}

p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-ink);
}

small {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    color: var(--color-stone);
}

/* ===========================
   Fixed Logo (Top Left)
   =========================== */
.fixed-logo {
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.85;
}

.fixed-logo a {
    display: block;
    transition: opacity 0.3s ease;
}



.fixed-logo img {
    height: 13vh;
    width: auto;
    
}

/* ===========================
   Menu Toggle (Top Right)
   =========================== */
.fixed-logo-r {
    position: fixed;
    top: 5%;
    right: 4%;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-logo-r img {
    height: 7vh;
    width: auto;
    transition: opacity 0.3s ease;
}

.fixed-logo-r:hover img {
    opacity: 0.6;
}

.menu-icon-close {
    display: none;
    font-size: 28px;
    font-weight: 300;
    font-family: var(--font-body);
    color: var(--color-paper);
    line-height: 1;
    width: 5vh;
    height: 5vh;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.fixed-logo-r:hover .menu-icon-close {
    opacity: 0.6;
}

body.menu-open .menu-icon-plates {
    display: none;
}

body.menu-open .menu-icon-close {
    display: flex;
}

/* ===========================
   Fullscreen Menu Overlay
   =========================== */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    background: var(--color-ink);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fullscreen-menu.is-open {
    opacity: 0.95;
    pointer-events: all;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .scroll-indicator {
    opacity: 0;
    pointer-events: none;
}

.fullscreen-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}

.fullscreen-nav-link {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-paper);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.fullscreen-nav-link:hover {
    opacity: 0.4;
}

/* ===========================
   Scroll Indicator
   =========================== */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 1%;
    transform: rotate(-90deg);
    transform-origin: center;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.4s ease;
}

.scroll-arrow {
    height: 250px;
    width: auto;
    transform: rotate(90deg);
    filter: invert(1);
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: 400;
}

/* ===========================
   Page Structure
   =========================== */
.page {
    width: 100%;
    position: relative;
    padding: 80px var(--page-padding);
}

.page-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.flex-center {
    display: flex;
    justify-content: center;
}

/* ===========================
   Hero
   =========================== */
.page-hero {
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-frame {
    width: 95%;
    height: 84%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 100%;
    position: absolute;
    inset: 0;
    /* Ken Burns (disabled): transform: scale(1); */
    /* Ken Burns (disabled): transform-origin: center center; */
    opacity: 0;
    transition: opacity 1.2s ease; /* Ken Burns (disabled): , transform 7s ease-in */
}

.hero-slide.is-active {
    opacity: 1;
    /* Ken Burns (disabled): transform: scale(1.06); */
    transition: opacity 1.2s ease; /* Ken Burns (disabled): , transform 7s ease-in */
}

.hero-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 37, 37, 0.35);
}

.page-claim .hero-background img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: -15%;
    left: 0;
    will-change: transform;
}

.page-claim--plan .hero-background img {
    filter: invert(1);
}

.hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: #0d0d0d;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Hero FAB buttons */
.hero-fabs {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.hero-fab {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    width: max-content;
    max-width: 100px;
    clip-path: polygon(29px 0%, 100% 0%, 100% 100%, 0% 100%);
    height: 58px;
    padding-left: 29px;
    background: var(--color-paper);
    color: var(--color-ink);
    text-decoration: none;
    transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.hero-fab:hover {
    max-width: 480px;
}

.hero-fab-label {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
    padding-left: 17px;
    padding-right: 5px;
}

.hero-fab:hover .hero-fab-label {
    opacity: 1;
}

.hero-fab-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    width: 58px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-fab-svg {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hero-menu {
    position: absolute;
    top: 3%;
    z-index: 2;
    left: 70%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 4vw;
    align-items: center;
    transition: opacity 0.3s ease;
}

.hero-menu a {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-ink);
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.hero-menu a:hover {
    opacity: 0.6;
}

/* ===========================
   Claim sections
   =========================== */
.page-claim {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.claim-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    padding: 350px var(--page-padding);
}

.claim-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 4vw, 140px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--color-paper);
    text-transform: uppercase;
}

/* ===========================
   Cascade animation
   =========================== */
@keyframes cascadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-line {
    display: block;
    opacity: 0;
}

.claim-title.is-visible .hero-line,
.claim2-title.is-visible .hero-line {
    animation: cascadeIn 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.claim-title.is-visible .hero-line:nth-child(1),
.claim2-title.is-visible .hero-line:nth-child(1) { animation-delay: 0.4s; }

.claim-title.is-visible .hero-line:nth-child(2),
.claim2-title.is-visible .hero-line:nth-child(2) { animation-delay: 0.6s; }

.claim-title.is-visible .hero-line:nth-child(3),
.claim2-title.is-visible .hero-line:nth-child(3) { animation-delay: 0.8s; }

.claim-title.is-visible .hero-line:nth-child(4),
.claim2-title.is-visible .hero-line:nth-child(4) { animation-delay: 1s; }

.claim2-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: right;
    justify-content: flex-end;
    text-align: end;
    padding: 140px var(--page-padding);
}

.claim2-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 4vw, 140px);
    font-weight: 900;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--color-paper);
    text-transform: uppercase;
    padding-right: 5%;
}

/* ===========================
   Section Headers
   =========================== */
.section-header-side {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--color-ink);
}

.section-title {
    display: flex;
    font-family: var(--font-display);
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--color-ink);
    text-transform: uppercase;
}

/* ===========================
   Über Uns
   =========================== */
.page-aboutus {
    background: var(--color-ink);
}

.page-aboutus p {
    color: var(--color-paper);
}

.page-aboutus h2,
.page-aboutus .section-title {
    color: var(--color-paper);
}

.page-aboutus .section-header-side {
    border-bottom: 1px solid var(--color-paper);
}

.about-us-text {
    max-width: fit-content;
}

.intro-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-ink);
    margin-bottom: 10px;
    max-width: 50vw;
    text-align: justify;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* ===========================
   Über Uns — new layout (au-)
   =========================== */
.au-header {
    margin-bottom: 60px;
}

.au-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-paper);
    text-align: left;
    margin-bottom: 20px;
}

.au-divider {
    border: none;
    border-top: 1px solid var(--color-paper);
    margin: 0;
}

.au-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.au-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 14px;
}

.au-photo-name {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-paper);
    margin-bottom: 4px;
}

.au-photo-role {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-stone);
}

.au-text .intro-text {
    max-width: none;
    text-align: justify;
    color: var(--color-paper);
    margin-bottom: 0;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.au-text .intro-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.au-text .intro-text:first-child {
    padding-top: 0;
}

.au-text .intro-text:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===========================
   Leistungen
   =========================== */
.page-services {
    background: var(--color-paper);
    min-height: 900px;
    padding-bottom: 0px;
}

.services-layout {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

.services-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 50%;
}

.services-image {
    max-height: 300px;
}

.services-list {
    list-style: none;
    margin-top: 40px;
}

.services-list li {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--color-ink);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-ink);
    text-transform: uppercase;
}

/* ===========================
   Leistungen — new layout (sv-)
   =========================== */
.sv-header {
    margin-bottom: 60px;
}

.sv-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-align: left;
    margin-bottom: 20px;
}

.sv-divider {
    border: none;
    border-top: 1px solid var(--color-ink);
    margin: 0;
}

.sv-body {
    padding-left: 160px;
    padding-bottom: 0px;
    padding-top: 50px;
    overflow: visible;
}

.sv-text {
    margin-bottom: 40px;
    max-width: 100%;
    
}

.sv-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: justify;
}

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

.sv-list {
    list-style: none;
    align-self: start;
    overflow: visible;
    padding-left: 120px;
}

.sv-list li {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-ink);
    padding: 14px 0 3px;
    position: relative;
    border-bottom: none;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

.sv-list li.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.sv-list-icon {
    position: absolute;
    left: -210px;
    top: 50%;
    transform: translateY(-50%);
    height: 70px;
    width: auto;
    opacity: 0.4;
    pointer-events: none;
}

.sv-list-label {
    display: block;
    font-size: var(--text-lg);
}

.sv-list-desc {
    max-height: 0;
    max-width: 700px;
    overflow: hidden;
    opacity: 0;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--color-ink);
    transition: max-height 1.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.sv-list li:hover .sv-list-desc,
.sv-list li.is-open .sv-list-desc {
    max-height: 200px;
    opacity: 1;
}

.sv-list li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1500px;
    height: 1px;
    background: var(--color-stone);
    clip-path: inset(0 100% 0 0);
    transition: clip-path 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-list.is-visible li::after {
    clip-path: inset(0 0% 0 0);
}

.sv-list.is-visible li:nth-child(1)::after { transition-delay: 0.45s; }
.sv-list.is-visible li:nth-child(2)::after { transition-delay: 0.55s; }
.sv-list.is-visible li:nth-child(3)::after { transition-delay: 0.65s; }
.sv-list.is-visible li:nth-child(4)::after { transition-delay: 0.75s; }
.sv-list.is-visible li:nth-child(5)::after { transition-delay: 0.85s; }
.sv-list.is-visible li:nth-child(6)::after { transition-delay: 0.95s; }
.sv-list.is-visible li:nth-child(7)::after { transition-delay: 1.05s; }



/* ===========================
   Referenzobjekte
   =========================== */
.page-references-intro {
    background: var(--color-warm);
    padding-bottom: 100px;
}

.references-intro-text {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 900px;
}

.references-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.reference-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.references-img {
    max-height: 200px;
}

.reference-center button {
    margin-top: 50px;
    background-color: transparent;
    border-radius: 5px;
    padding: 5px;
}

.ref-item {
    font-size: var(--text-sm);
    line-height: 1.6;
    display: flex;
    margin-bottom: 20px;
}

.ref-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
    margin-right: 15px;
    display: inline-block;
}

/* ===========================
   Referenzobjekte — new layout (rz-)
   =========================== */
.rz-header {
    margin-bottom: 40px;
}

.rz-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-align: left;
    margin-bottom: 20px;
}

.rz-divider {
    border: none;
    border-top: 1px solid var(--color-ink);
    margin: 0;
}

.rz-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 10px;
    text-align: justify;
}

.rz-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.rz-center {
    height: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.rz-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.2s ease;
}

.rz-center-bottom {
    position: relative;
    z-index: 1;
}

.rz-center-top {
    position: absolute;
    inset: 0;
    z-index: 2;
    will-change: transform;
}

.rz-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-stone);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rz-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rz-col--left .rz-item:first-child,
.rz-col--right .rz-item:first-child {
    border-top: 1px solid var(--color-stone);
}

.rz-dot {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: url('assets/Circle.png') center / contain no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rz-item:hover .rz-dot {
    transform: scale(1.4);
}

.rz-num {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
    line-height: 1;
    min-width: 2ch;
    flex-shrink: 0;
}

.rz-info {
    font-size: var(--text-base);
    line-height: 1.5;
}

.rz-info strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--text-lg);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rz-item--r {
    justify-content: flex-end;
}

.rz-item--r .rz-info {
    flex: 1;
    text-align: right;
}

/* ===========================
   Partner
   =========================== */
.page-partner {
    background-color: var(--color-paper);
}

/* ===========================
   Partner — new layout (pt-)
   =========================== */
.pt-header {
    margin-bottom: 40px;
}

.pt-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-align: left;
    margin-bottom: 20px;
}

.pt-divider {
    border: none;
    border-top: 1px solid var(--color-ink);
    margin: 0;
}

.pt-intro {
    font-size: var(--text-base);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 60px;
}

.pt-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 40px;
    align-items: center;
}

.pt-logo-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.pt-logo-cell img {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.pt-logo-cell:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===========================
   Portfolio Download Banner
   =========================== */
.banner-download {
    background: var(--color-ink);
    padding: 60px var(--page-padding);
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
}

.banner-slideshow {
    position: relative;
    width: 240px;
    flex-shrink: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.banner-slide.is-active {
    opacity: 1;
}

.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-paper);
    line-height: 0.95;
    margin-bottom: 16px;
}

@keyframes banner-dot-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.banner-title-dot {
    display: inline-block;
    animation: banner-dot-pulse 1s ease-in-out infinite;
}

.banner-subtitle {
    font-size: var(--text-base);
    color: var(--color-stone);
    margin-bottom: 36px;
}

.banner-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-paper);
    border: 1px solid var(--color-paper);
    padding: 14px 36px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.banner-btn:hover {
    background: var(--color-paper);
    color: var(--color-ink);
}

.ct-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-ink);
    border: 1px solid var(--color-ink);
    padding: 14px 36px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.ct-btn:hover {
    background: var(--color-ink);
    color: var(--color-paper);
}

.ct-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 520px;
}

.ct-contact-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-ink);
    border: 1px solid var(--color-ink);
    padding: 20px 36px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.ct-contact-btn:hover {
    background: var(--color-ink);
    color: var(--color-paper);
}

.ct-btn-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-btn-svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ct-contact-btn:hover .ct-btn-svg {
    filter: invert(1);
}

.ct-btn-label {
    color: var(--color-stone);
    font-size: var(--text-sm);
    white-space: nowrap;
}

.ct-btn-text {
    flex: 1;
    text-align: center;
}

/* ===========================
   Kontakt
   =========================== */
.page-contact {
    background: var(--color-paper);
}

.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    display: flex;
}

.contact-info img {
    max-height: 100px;
}

.contact-block {
    margin-bottom: 30px;
}

.contact-label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--color-stone);
}

.contact-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 900;
}

.contact-detail {
    font-size: var(--text-base);
    line-height: 1.8;
}

.building-image {
    width: 100%;
    height: auto;
}

.ct-visual img {
    max-height: 500px;
    padding-left: 50px;
}

/* ===========================
   Standort
   =========================== */
.page-location {
    background: var(--color-paper);
}

.location-flex {
    display: flex;
    flex-direction: row;
}

.location-info {
    margin: 60px 0 40px;
}

.location-info img {
    max-height: 500px;
}

.location-address {
    font-size: var(--text-base);
    margin-bottom: 30px;
}

.location-map {
    margin-top: 60px;
}

.location-map img {
    width: 100%;
    max-width: 800px;
    height: 80%;
    padding-left: 50px;
}

/* ===========================
   Contact + Location (ct-)
   =========================== */
.ct-header {
    margin-bottom: 60px;
}

.ct-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    text-align: left;
    color: var(--color-ink);
    margin: 0 0 16px;
}

.ct-divider {
    border: none;
    border-top: 1px solid var(--color-ink);
    margin: 0;
}

/* Divider grow animation (shared) */
.sv-divider,
.rz-divider,
.pt-divider,
.au-divider,
.ct-divider,
.banner-divider {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-divider.is-visible,
.rz-divider.is-visible,
.pt-divider.is-visible,
.au-divider.is-visible,
.ct-divider.is-visible,
.banner-divider.is-visible {
    clip-path: inset(0 0% 0 0);
}

/* Title appear animation (shared) */
.sv-title,
.rz-title,
.pt-title,
.au-title,
.ct-title,
.banner-title {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.sv-title.is-visible,
.rz-title.is-visible,
.pt-title.is-visible,
.au-title.is-visible,
.ct-title.is-visible,
.banner-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ct-contact {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.ct-name {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 36px);
    font-weight: 900;
    color: var(--color-ink);
    margin: 0 0 12px;
    letter-spacing: 0.03em;
    display: block;
}

.ct-name--link {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ct-name--link:hover {
    opacity: 0.6;
}

.ct-role {
    font-size: var(--text-sm);
    color: var(--color-stone);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

.ct-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.ct-details p {
    font-size: var(--text-base);
    color: var(--color-ink);
    margin: 8px 0;
    line-height: 1.6;
}

.ct-qr {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.ct-visual img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-location {
    background: var(--color-ink);
    
}

.ct-location {
    padding-top: 40px;
}

.ct-location-header {
    margin-bottom: 24px;
}

.ct-location-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ct-location-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    color: var(--color-paper);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0 0 12px;
    line-height: 1;
}

.ct-location-plates {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    margin-top: 4px;
}

.ct-location-divider {
    border: none;
    border-top: 1px solid var(--color-paper);
    margin: 0 0 12px;
}

.ct-location-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-location-address,
.ct-location-brand {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-stone);
}

.ct-address {
    font-size: var(--text-sm);
    color: var(--color-stone);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.ct-address--centered {
    text-align: center;
    margin-top: 12px;
}

.ct-location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr;
    gap: 12px;
    align-items: stretch;
}

.ct-building,
.ct-map {
    width: 100%;
    overflow: hidden;
    aspect-ratio: auto;
}

.ct-map {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

.ct-map img {
    flex: 1;
    min-height: 0;
    object-fit: cover;
}

.ct-building img,
.ct-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ct-map {
    position: relative;
}

.ct-map-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-display);
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 900;
    color: var(--color-ink);
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 1;
}

.ct-map-district {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 36px);
    font-weight: 900;
    color: var(--color-ink);
    letter-spacing: 0.04em;
    z-index: 1;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .services-layout {
        flex-direction: column;
        gap: 40px;
    }

    .au-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .au-photo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .au-photo img {
        width: 240px;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center top;
    }

    .rz-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rz-center {
        order: -1;
        padding: 0;
    }

    .rz-item--r {
        justify-content: flex-start;
    }

    .rz-item--r .rz-info {
        text-align: left;
        order: 1;
    }

    .rz-item--r .rz-num {
        order: 0;
    }

    .rz-item--r .rz-dot {
        order: -1;
    }

    .scroll-indicator {
        display: none;
    }

    .ct-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --page-padding: 30px;
    }

    /* Hero mobile */
    .page-hero .hero-background::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.20);
        z-index: 2;
        pointer-events: none;
    }

    .fixed-logo {
        top: 50%;
        left: 40%;
        width: 65vw !important;
        transform: translate(-50%, -50%);
    }

    .fixed-logo img {

    }

    .hero-menu {
        display: none;
    }

    .fixed-logo-r {
        top: 20px;
        right: 20px;
    }

    .claim2-title {
        font-size: clamp(32px, 12vw, 60px);
    }

    .sv-text p,
    .rz-intro,
    .sv-list-icon {
        display: none;
    }

    .sv-body {
        padding-left: 0;
    }

    .sv-list {
        padding-left: 0;
    }

    .page-services {
        min-height: unset;
        overflow-x: hidden;
    }

    .sv-body {
        overflow: hidden;
        padding-top: 0;
    }

    .sv-header {
        margin-bottom: 30px;
    }

    .rz-header {
        margin-bottom: 16px;
    }

    .rz-center {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        margin: 0 auto 8px;
        order: -1;
        overflow: hidden;
    }

    .rz-center img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .rz-grid {
        gap: 0;
        margin-top: 0;
    }

    .rz-col--right .rz-item:first-child {
        border-top: none;
    }

    .rz-dot {
        width: 12px;
        height: 12px;
    }

    .rz-num {
        font-size: var(--text-lg);
    }

    .rz-item {
        padding: 6px 0;
    }

    .rz-info {
        font-size: var(--text-sm);
    }

    .rz-info strong {
        font-size: var(--text-base);
    }

    .sv-list {
        overflow: hidden;
    }

    .pt-intro {
        display: none;
    }

    .pt-divider,
    .pt-title,
    .sv-divider,
    .sv-title,
    .rz-divider,
    .rz-title,
    .au-divider,
    .au-title,
    .ct-divider,
    .ct-title,
    .banner-divider {
        clip-path: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .pt-carousel-wrapper {
        overflow: hidden;
        position: relative;
    }

    .pt-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        gap: 0;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .pt-logo-cell {
        flex: 0 0 50%;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        box-sizing: border-box;
    }

    .pt-logo-cell img {
        width: auto;
        height: auto;
        max-height: 46px;
        max-width: 100%;
        object-fit: contain;
    }

    .pt-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .pt-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--color-stone);
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .pt-carousel-dot.is-active {
        background: var(--color-ink);
    }


    .pt-slide {
        flex: 0 0 100%;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-sizing: border-box;
    }

    .hero-slide-frame {
        width: 100%;
        height: 100%;
        top: 0;
        transform: none;
    }

    .hero-slide-frame .hero-slide {
        transform: scale(1.2);
        transform-origin: center bottom;
    }

    .services-list li {
        font-size: var(--text-sm);
    }

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

    .banner-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .banner-slideshow {
        width: 100%;
        max-width: 320px;
    }

    .banner-text {
        align-items: center;
        text-align: center;
    }

    /* Services list mobile */
    .sv-list-label {
        font-size: var(--text-base);
    }

    .sv-list-label {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .sv-list-label::before {
        content: '';
        flex-shrink: 0;
        width: 12px;
        height: 12px;
        background: url('assets/Circle.png') center / contain no-repeat;
        opacity: 0.5;
    }

    /* Prevent horizontal overflow */
    .hero-fabs {
        overflow: hidden;
        max-width: 100vw;
        gap: 10px;
    }

    .hero-fab {
        height: 46px;
        max-width: 80px;
        clip-path: polygon(23px 0%, 100% 0%, 100% 100%, 0% 100%);
        padding-left: 23px;
    }

    .hero-fab-svg {
        width: 18px;
        height: 18px;
    }

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

    .ct-title,
    .ct-location-title {
        font-size: clamp(20px, 7vw, 36px);
        white-space: nowrap;
    }

    .ct-location {
        padding-top: 0;
    }

    .ct-visual {
        display: none;
    }

    .ct-contact-btn {
        font-size: var(--text-sm);
        padding: 14px 20px;
        gap: 12px;
        white-space: nowrap;
        justify-content: center;
    }

    .ct-btn-group {
        width: 100%;
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    :root {
        --page-padding: 20px;
    }

    .page {
        padding: 40px 20px;
    }

    .au-text .intro-text {
        line-height: 1.5;
        text-align: left;
        max-width: 100%;
    }

    .intro-text,
    .references-intro-text,
    .services-intro {
        font-size: var(--text-sm);
    }
}

/* ===========================
   Footer (ft-)
   =========================== */
.ft-footer {
    background: var(--color-ink);
    padding: 40px var(--page-padding) 40px;
}

.ft-inner {
    max-width: var(--max-width, 1400px);
    margin: 0 auto;
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-logo {
    width: 140px;
    filter: invert(1);
    display: block;
}

.ft-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 5px;
}

.ft-company,
.ft-nav,
.ft-contact-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ft-company p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.7;
}

.ft-nav a,
.ft-contact-col a {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.ft-nav a:hover,
.ft-contact-col a:hover {
    color: var(--color-paper);
}

.ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-copy {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    letter-spacing: 0.04em;
}

.ft-legal-links {
    display: flex;
    gap: 32px;
}

.ft-legal-links a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.ft-legal-links a:hover {
    color: var(--color-paper);
}

@media (max-width: 1024px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }

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

    .ft-contact-col {
        grid-column: 1 / -1;
    }

    .ft-company p,
    .ft-nav a,
    .ft-contact-col a {
        font-size: var(--text-sm);
        line-height: 1.3;
    }

    .ft-company,
    .ft-nav,
    .ft-contact-col {
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }

    .ft-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===========================
   Legal Pages (impressum / datenschutz)
   =========================== */
.page-legal {
    min-height: 100vh;
    padding: 140px var(--page-padding) 100px;
    background: var(--color-paper);
}

.legal-header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-ink);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-back {
    font-size: var(--text-sm);
    color: var(--color-stone);
    text-decoration: none;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--color-ink);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    color: var(--color-ink);
    margin: 0;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 900;
    color: var(--color-ink);
    margin: 52px 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 900;
    color: var(--color-ink);
    margin: 32px 0 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-content p {
    font-size: var(--text-base);
    color: var(--color-ink);
    line-height: 1.8;
    margin: 0 0 16px;
}

.legal-content a {
    color: var(--color-ink);
    text-decoration: underline;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: var(--text-base);
    color: var(--color-ink);
    line-height: 1.8;
    margin: 4px 0;
}

/* ===========================
   Contact Form Page (anfrage.html)
   =========================== */

.page-form {
    min-height: 100vh;
    background: var(--color-paper);
    padding-top: 120px;
    padding-bottom: 100px;
}

.form-header {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 var(--page-padding);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--color-ink);
    margin: 0;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-align: left;
    margin: 0;
}

.form-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-stone);
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

.form-body {
    background: var(--color-warm);
    padding: 60px var(--page-padding);
}

.cf-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-field--full {
    grid-column: 1 / -1;
}

.cf-label {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-ink);
}

.cf-input {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-ink);
    background: var(--color-paper);
    border: none;
    border-bottom: 1px solid var(--color-stone);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.cf-input:focus {
    border-color: var(--color-ink);
    background: #fff;
}

.cf-textarea {
    resize: vertical;
    min-height: 160px;
    clip-path: none;
}

.cf-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-top: 8px;
}

.cf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    flex: 1;
}

.cf-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cf-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-ink);
    background: var(--color-paper);
    margin-top: 2px;
    transition: background 0.2s ease;
    position: relative;
}

.cf-checkbox:checked + .cf-checkbox-custom {
    background: var(--color-ink);
}

.cf-checkbox:checked + .cf-checkbox-custom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1,5 4.5,9 11,1' fill='none' stroke='%23e6e6e6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cf-checkbox-text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-ink);
    line-height: 1.6;
}

.cf-link {
    color: var(--color-ink);
    text-underline-offset: 3px;
}

.cf-pflicht {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    color: var(--color-stone);
    letter-spacing: 0.06em;
    white-space: nowrap;
    margin: 0;
}

.cf-submit-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.cf-submit {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-paper);
    background: var(--color-ink);
    border: 1px solid var(--color-ink);
    padding: 18px 48px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.cf-submit:hover {
    background: transparent;
    color: var(--color-ink);
}

.cf-submit--outline {
    background: transparent;
    color: var(--color-ink);
}

.cf-submit--outline:hover {
    background: var(--color-ink);
    color: var(--color-paper);
}

/* Success state */
.cf-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 80px 40px;
    text-align: center;
}

.cf-success-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--color-ink);
    margin: 0;
}

.cf-success-text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-stone);
    max-width: 420px;
    line-height: 1.7;
    margin: 0;
}

/* ===========================
   Legal pages — mobile
   =========================== */
@media (max-width: 768px) {
    .page-legal {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-header {
        margin-bottom: 32px;
    }

    .legal-title {
        font-size: clamp(28px, 8vw, 48px);
    }

    .legal-content h2 {
        font-size: var(--text-lg);
        margin: 32px 0 10px;
    }

    .legal-content p,
    .legal-content ul li {
        font-size: var(--text-sm);
        line-height: 1.5;
    }
}

/* ===========================
   Anfrage page — mobile
   =========================== */
@media (max-width: 768px) {
    .form-title {
        font-size: clamp(20px, 7vw, 36px);
        white-space: nowrap;
    }

    .cf-row {
        grid-template-columns: 1fr;
    }

    .cf-footer {
        flex-direction: column;
        gap: 12px;
    }

    .cf-pflicht {
        order: -1;
    }

    .form-body {
        padding: 32px var(--page-padding);
    }
}

/* ===========================
   Print
   =========================== */
@media print {
    .fixed-logo,
    .scroll-indicator {
        display: none;
    }

    .page {
        page-break-after: always;
    }
}
