@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blogger Sans';
    src: url('../fonts/BloggerSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #1e4a84;
    --color-primary-hover: #163760;
    --color-primary-soft: #eef3fa;
    --color-bg: #f8fafd;
    --color-surface: #ffffff;
    --color-border: #d7e0ec;
    --color-text: #102236;
    --color-muted: #51657c;
    --color-success: #106b39;
    --color-error: #b42318;
    --shadow-lg: 0 20px 40px rgba(15, 38, 68, 0.12);
    --radius: 14px;
    --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}
body.modal-open { overflow: hidden; }
a { color: var(--color-primary); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 {
    font-family: 'Blogger Sans', 'Inter', sans-serif;
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 0;
}
p { margin-top: 0; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; }
#vorteile { background: #fff; }
.section-intro { color: var(--color-muted); max-width: 100%; width: 100%; margin-bottom: 4rem; }
.skip-link { position: absolute; left: 0; top: -60px; background: var(--color-primary); color: #fff; padding: 0.75rem 1rem; z-index: 1000; }
.skip-link:focus { top: 0; }

.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border); backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { width: 170px; }
.main-nav ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; color: var(--color-text); padding: 0.35rem 0.25rem; }
.main-nav a.active { color: var(--color-primary); text-decoration: underline; text-underline-offset: 0.35rem; }
.nav-toggle { display: none; border: 1px solid var(--color-border); background: #fff; border-radius: 10px; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--color-text); }

.btn {
    border: 0; border-radius: 999px; padding: 0.8rem 1.3rem; font-weight: 700; cursor: pointer; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:hover { text-decoration: none; filter: brightness(0.97); box-shadow: 0 10px 22px rgba(16, 34, 54, 0.14); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--color-primary-hover); }
.btn-secondary { background: #fff; color: var(--color-primary); border: 1px solid #fff; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #f1f6ff; border-color: #d5e4f7; color: #163760; }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
button:hover { cursor: pointer; }

button:not(.btn):not(.back-to-top):not(.nav-toggle):hover,
button:not(.btn):not(.back-to-top):not(.nav-toggle):focus-visible {
    background-color: #f1f6ff;
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(16, 34, 54, 0.12);
}

.hero {
    background: linear-gradient(130deg, #f8fbff 0%, #eef4fb 35%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    display: flex;
    align-items: center;
}
.hero::after {
    content: ''; position: absolute; width: 42rem; height: 42rem; border-radius: 50%; right: -12rem; top: -12rem;
    background: radial-gradient(circle, rgba(30, 74, 132, 0.17), rgba(30, 74, 132, 0)); animation: pulse 8s ease-in-out infinite;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); font-weight: 700; font-size: 0.8rem; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 0.55rem; }
.hero-text { color: var(--color-muted); max-width: 52ch; font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-actions .btn {
    flex: 1 1 220px;
    min-height: 48px;
}
.hero-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-lg); }
.hero-card ul { margin: 0; padding-left: 1.2rem; }

.target-grid, .spaces-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: minmax(128px, auto);
    grid-auto-flow: dense;
}
.card, .space-card {
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem;
    box-shadow: 0 8px 25px rgba(16, 34, 54, 0.05);
}
.benefit-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d7e3f2;
    background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 14px 32px rgba(16, 34, 54, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-position 0.28s ease;
    isolation: isolate;
    padding: 1.35rem 1.25rem 1.2rem;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 34, 54, 0.14);
    border-color: #bfd0e8;
}
.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(46, 98, 168, 0.22), transparent 46%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}
.benefit-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card { display: flex; flex-direction: column; }
.bento-xl { grid-column: span 3; grid-row: span 2; }
.bento-tall { grid-column: span 3; grid-row: span 2; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 2; grid-row: span 1; }
.bento-air { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.bento-access { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.bento-wifi { grid-column: 5 / span 2; grid-row: 1 / span 2; }
.bento-print { grid-column: 7 / span 2; grid-row: 1 / span 2; }
.bento-desk { grid-column: 1 / span 3; grid-row: 3 / span 1; }
.bento-coffee { grid-column: 4 / span 2; grid-row: 3 / span 1; }
.bento-office { grid-column: 6 / span 3; grid-row: 3 / span 1; }
.bento-visual {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    background: rgba(30, 74, 132, 0.11);
    margin-bottom: 0.8rem;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.benefit-meta {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.25rem 0.62rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.visual-air .air-wave {
    position: absolute;
    width: 56px;
    height: 8px;
    border-radius: 999px;
    background: rgba(30, 74, 132, 0.52);
    animation: driftWave 3.2s ease-in-out infinite;
}
.visual-air .air-wave-1 { top: 17px; }
.visual-air .air-wave-2 { top: 32px; animation-delay: 0.4s; }
.visual-air .air-wave-3 { top: 47px; animation-delay: 0.75s; }
.visual-wifi .wifi-ring {
    position: absolute;
    border: 2px solid rgba(30, 74, 132, 0.56);
    border-radius: 999px 999px 0 0;
    border-bottom: 0;
    animation: pulseRing 2.2s ease-in-out infinite;
    left: 50%;
    transform: translateX(-50%);
}
.visual-wifi .wifi-ring-1 { width: 54px; height: 28px; bottom: calc(50% - 12px); animation-delay: 0s; }
.visual-wifi .wifi-ring-2 { width: 40px; height: 20px; bottom: calc(50% - 12px); animation-delay: 0.25s; }
.visual-wifi .wifi-ring-3 { width: 24px; height: 12px; bottom: calc(50% - 12px); animation-delay: 0.5s; }
.visual-wifi .wifi-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-primary);
    bottom: calc(50% - 16px);
    left: 50%;
    transform: translateX(-50%);
}
.visual-print .printer-top,
.visual-print .printer-body,
.visual-print .printer-sheet { position: absolute; border-radius: 6px; }
.visual-print .printer-top {
    width: 34px;
    height: 10px;
    top: 16px;
    background: #2c5b96;
}
.visual-print .printer-body {
    width: 44px;
    height: 26px;
    bottom: 16px;
    background: #1e4a84;
}
.visual-print .printer-sheet {
    width: 24px;
    height: 20px;
    top: 22px;
    background: #fff;
    animation: printSheet 2.7s ease-in-out infinite;
}
.visual-coffee .coffee-cup {
    width: 34px;
    height: 26px;
    border: 2px solid #1e4a84;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    position: absolute;
    bottom: 16px;
}
.visual-coffee .coffee-cup::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 10px;
    border: 2px solid #1e4a84;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    right: -11px;
    top: 5px;
}
.visual-coffee .coffee-steam {
    position: absolute;
    width: 4px;
    height: 14px;
    border-radius: 999px;
    background: rgba(30, 74, 132, 0.5);
    animation: steamUp 1.9s ease-in-out infinite;
}
.visual-coffee .coffee-steam-1 { top: 14px; left: 29px; }
.visual-coffee .coffee-steam-2 { top: 12px; left: 41px; animation-delay: 0.4s; }
.visual-desk .desk-frame,
.visual-desk .desk-top,
.visual-desk .desk-arrow { position: absolute; }
.visual-desk .desk-frame {
    width: 44px;
    height: 22px;
    border: 2px solid #1e4a84;
    border-top: 0;
    bottom: 16px;
}
.visual-desk .desk-top {
    width: 54px;
    height: 6px;
    background: #1e4a84;
    bottom: 40px;
    border-radius: 4px;
}
.visual-desk .desk-arrow {
    width: 2px;
    height: 18px;
    background: #1e4a84;
    top: 18px;
    animation: liftDesk 2.3s ease-in-out infinite;
}
.visual-desk .desk-arrow::before,
.visual-desk .desk-arrow::after {
    content: '';
    position: absolute;
    left: -4px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.visual-desk .desk-arrow::before { top: -4px; border-bottom: 6px solid #1e4a84; }
.visual-desk .desk-arrow::after { bottom: -4px; border-top: 6px solid #1e4a84; }
.visual-office .office-building {
    width: 28px;
    height: 42px;
    border-radius: 6px;
    background: #1e4a84;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.visual-office .office-window {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: #c8dbf4;
    animation: blinkWindow 2.4s ease-in-out infinite;
}
.visual-office .office-window-1 { top: calc(50% - 11px); left: calc(50% - 6px); }
.visual-office .office-window-2 { top: calc(50% - 3px); left: calc(50% + 2px); animation-delay: 0.35s; }
.visual-office .office-window-3 { top: calc(50% + 5px); left: calc(50% - 6px); animation-delay: 0.65s; }
.visual-access .lift-rail,
.visual-access .lift-cabin,
.visual-access .lift-arrow { position: absolute; }
.visual-access .lift-rail {
    width: 30px;
    height: 46px;
    border: 2px solid #1e4a84;
    border-radius: 7px;
    bottom: 12px;
}
.visual-access .lift-cabin {
    width: 22px;
    height: 14px;
    border-radius: 4px;
    background: #1e4a84;
    bottom: 18px;
    animation: cabinMove 2.6s ease-in-out infinite;
}
.visual-access .lift-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #1e4a84;
    top: 15px;
}
.benefit-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.18rem;
    line-height: 1.3;
    text-wrap: balance;
    width: 100%;
}
.benefit-card p {
    color: var(--color-muted);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 36ch;
}
.benefit-meta { align-self: flex-start; }
@keyframes driftWave {
    0%, 100% { transform: translateX(-8px); opacity: 0.45; }
    50% { transform: translateX(8px); opacity: 1; }
}
@keyframes pulseRing {
    0%, 100% { opacity: 0.42; }
    50% { opacity: 1; }
}
@keyframes printSheet {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@keyframes steamUp {
    0%, 100% { transform: translateY(2px); opacity: 0.3; }
    50% { transform: translateY(-4px); opacity: 1; }
}
@keyframes liftDesk {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(5px); }
}
@keyframes blinkWindow {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}
@keyframes cabinMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

.cta-band {
    background: linear-gradient(120deg, #1e4a84 0%, #255b9f 55%, #1a3f70 100%);
    color: #fff;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.cta-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cta-row p {
    margin: 0;
    font-family: 'Blogger Sans', 'Inter', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.3;
    max-width: 100%;
    width: 100%;
}
.cta-btn {
    margin-top: 0.55rem;
    padding: 1rem 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

#standort {
    background: #fff;
}
.location-shell {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
}
.location-main {
    padding-right: 0.5rem;
}
.location-main > p,
.location-list li {
    color: var(--color-muted);
}
.location-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.location-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}
.location-list li::before {
    content: '✓';
    display: inline-block;
    flex: 0 0 auto;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}
.location-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}
.location-address {
    font-style: normal;
    line-height: 1.65;
}
.location-subtitle {
    margin: 0.2rem 0 0;
    font-size: 1.25rem;
}
/* Standortbild-Klassen:
   .location-image-card = responsiver Bild-Container mit Rahmen, Schatten und Hover-Motion
   .location-image = Bilddarstellung mit sauberem Zuschnitt, Radius und sanftem Zoom bei Hover */
.location-image-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f1f6ff 100%);
    box-shadow: 0 14px 34px rgba(16, 34, 54, 0.1);
}
.location-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 10%, rgba(30, 74, 132, 0.14), transparent 48%);
    pointer-events: none;
}
.location-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 13px;
}

.target-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}
.target-list li {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 0.9rem 1rem;
    align-items: center;
    background: linear-gradient(90deg, #f5f9ff 0%, #ffffff 100%);
    border: 1px solid #d9e4f2;
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    padding: 0.95rem 1rem;
}
.target-list strong {
    display: flex;
    align-items: center;
    min-height: 100%;
    color: var(--color-primary);
    font-family: 'Blogger Sans', 'Inter', sans-serif;
    font-size: 1.12rem;
    line-height: 1;
    transform: translateY(0.08em);
}
.target-list span {
    color: var(--color-muted);
}

.space-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.price { color: var(--color-primary); font-weight: 700; }
.space-address { color: var(--color-muted); font-size: 0.95rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.tag-list li { background: var(--color-primary-soft); border: 1px solid var(--color-border); border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.85rem; }

.contact-cta { text-align: center; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; }
.small-muted { color: var(--color-muted); font-size: 0.9rem; }

.site-footer { background: #0f2745; color: #dde8f5; padding: 1.2rem 0; }
.site-footer a { color: #fff; }
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.copyright { margin: 0; color: #b9cde6; font-size: 0.9rem; }
.footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.footer-legal a {
    color: #b9cde6;
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #ffffff;
    text-decoration: none;
}
.legal-main {
    background: #fff;
    padding-bottom: 4rem;
}
.legal-hero {
    background: linear-gradient(130deg, #f8fbff 0%, #eef4fb 35%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.legal-hero::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    right: -8rem;
    top: -8rem;
    background: radial-gradient(circle, rgba(30, 74, 132, 0.14), rgba(30, 74, 132, 0));
}
.legal-hero-inner {
    padding: 4.8rem 0 3.6rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.legal-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4.8vw, 4rem);
    text-align: center;
}
.legal-page {
    max-width: 920px;
    padding: 2rem 0 0;
}
.legal-intro {
    color: var(--color-muted);
    margin-bottom: 1.25rem;
}
.legal-page h2 {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    margin: 2rem 0 0.6rem;
}
.legal-page h3 {
    font-size: clamp(1.08rem, 1.35vw, 1.2rem);
    margin: 1.5rem 0 0.5rem;
}

.back-to-top {
    position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 999px;
    border: 0; background: #0f2745; color: #fff; opacity: 0; transform: translateY(10px);
    pointer-events: none; transition: all 0.2s ease; z-index: 70; cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top.above-footer { bottom: 6rem; }
.back-to-top:hover {
    background: #17375f;
    box-shadow: 0 12px 24px rgba(15, 39, 69, 0.35);
    transform: translateY(-2px) scale(1.05);
}
.back-to-top:focus-visible {
    background: #17375f;
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: start center;
    padding: 1rem;
    overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 38, 0.58);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    pointer-events: none;
}
.modal-dialog {
    position: relative; z-index: 1; width: min(100%, 760px); margin: 2rem 0; max-height: none; overflow: visible;
    background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg);
}
#contact-modal-title { margin-top: 1.25rem; }
#contact-modal-description { margin-bottom: 2rem; }
.required-note { margin: 0 0 1.2rem; color: var(--color-muted); font-size: 0.92rem; }
.modal-close { position: absolute; top: 0.55rem; right: 0.75rem; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.required-mark { color: var(--color-primary); font-weight: 700; }
.field input, .field textarea {
    width: 100%; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.7rem; font: inherit;
}

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

.altcha-field .altcha, .checkbox-field , .altcha-field .altcha:focus-within{
  display: block;
  width: 100%;
  border: 1px solid var(--color-border);
  height: 50px !important;
  padding: 0 2px !important;
  border-radius: var(--radius) !important;
  display: flex;
  align-items: left;
  gap: 10px;
}

altcha-widget {
  display: block;
  width: 100%;
  margin-top: var(--space-2);
  --altcha-max-width: 100%;
  --altcha-border-radius: var(--radius);
  --altcha-border: 1px solid var(--color-border);
  --altcha-bg: #fff;
  --altcha-color: var(--color-primary);
  accent-color: var(--color-primary);
}

altcha-widget::part(main) {
  height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

altcha-widget::part(footer),
altcha-widget::part(logo) {
  display: none !important;
}

.is-invalid {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1) !important;
}

.altcha-field input[type="checkbox"], .checkbox-field input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    background: #fff;
    margin: 0;
    flex: 0 0 auto;
    display: grid;
    place-content: center;
    position: relative;
}
.altcha-field input[type="checkbox"]::before,
.checkbox-field input[type="checkbox"]::before {
    content: '';
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-1px) rotate(45deg) scale(0.7);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.altcha-field input[type="checkbox"]:checked, .checkbox-field input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.altcha-field input[type="checkbox"]:checked::before,
.checkbox-field input[type="checkbox"]:checked::before {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
}
.altcha-field .altcha-label, .checkbox-field label {
    margin: 0;
    display: flex;
    align-items: left;
}
.checkbox-field { display: flex; gap: 0.45rem; align-items: center !important; margin: 1rem 0; padding: 0.75rem !important; }
.checkbox-field input { width: auto; margin-top: 0; align-self: center; }
.checkbox-field label {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 100%;
}
.form-actions { margin-top: 1rem; }
#contact-submit { margin-bottom: 1rem; }
.form-status { min-height: 1.4rem; margin-top: 0.75rem; font-weight: 600; }
.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-error); }
.is-invalid { border-color: var(--color-error) !important; outline-color: var(--color-error); }
.altcha-field.is-invalid { outline: 2px solid var(--color-error); border-radius: 10px; padding: 0.4rem; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

:focus-visible { outline: 3px solid #2b67b7; outline-offset: 2px; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in nur fuer Desktop (keine Section-Animationen, nur Inhalte). */
@media (min-width: 981px) and (hover: hover) and (pointer: fine) {
    body.has-scroll-reveal .reveal-on-scroll {
        opacity: 0;
        transform: translateY(14px);
        will-change: opacity, transform;
    }

    body.has-scroll-reveal .reveal-on-scroll.is-visible {
        animation: fadeInUp 0.7s ease both;
    }

    body.has-scroll-reveal .hero h1.is-visible { animation-delay: 0.06s; }
    body.has-scroll-reveal .hero-text.is-visible { animation-delay: 0.12s; }
    body.has-scroll-reveal .hero-actions .btn:nth-child(1).is-visible { animation-delay: 0.18s; }
    body.has-scroll-reveal .hero-actions .btn:nth-child(2).is-visible { animation-delay: 0.24s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(1).is-visible { animation-delay: 0.08s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(2).is-visible { animation-delay: 0.12s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(3).is-visible { animation-delay: 0.16s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(4).is-visible { animation-delay: 0.2s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(5).is-visible { animation-delay: 0.24s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(6).is-visible { animation-delay: 0.28s; }
    body.has-scroll-reveal .benefit-grid .benefit-card:nth-child(7).is-visible { animation-delay: 0.32s; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
    .hero-grid, .location-shell { grid-template-columns: 1fr; }
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(140px, auto);
    }
    .bento-air,
    .bento-wifi,
    .bento-desk,
    .bento-coffee,
    .bento-print,
    .bento-office,
    .bento-access {
        grid-column: auto;
        grid-row: auto;
    }
    .bento-xl,
    .bento-tall,
    .bento-wide,
    .bento-small { grid-column: span 1; grid-row: span 1; }
    .bento-xl { grid-column: span 2; }
    .spaces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav ul {
        position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border);
        display: none; flex-direction: column; gap: 0; padding: 0.8rem 1rem;
    }
    .main-nav ul.is-open, .main-nav .is-open { display: flex; }
    .main-nav ul li { padding: 0.35rem 0; }
    .nav-toggle { display: inline-block; }
    .header-cta { display: none; }
    .cta-row { flex-direction: column; align-items: center; }
    .cta-row p { max-width: 100%; }
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .target-list li {
        grid-template-columns: 1fr;
    }
    .target-list li::before {
        display: none;
    }
}

@media (max-width: 680px) {
    .section { padding: 3.8rem 0; }
    .benefit-grid,
    .spaces-grid,
    .form-grid { grid-template-columns: 1fr; }
    .bento-xl { grid-column: span 1; }
    .hero-actions .btn {
        flex: 0 0 100%;
        width: 100%;
        height: 52px;
        min-height: 52px;
        white-space: nowrap;
    }
    .main-nav,
    .nav-toggle { display: none !important; }
    .header-inner {
        justify-content: center;
        text-align: center;
    }
    .brand { margin-inline: auto; }
    .footer-bar {
        align-items: center;
        text-align: center;
    }
    .footer-legal {
        width: 100%;
        justify-content: center;
    }
}
