/* ============================================================
   WORKERY · Website V2 · Design System
   Brand: Premium Flex-Office, Köln Altstadt-Süd
   ============================================================ */

/* Poppins wird selbst gehostet, nicht von Google geladen.
   Grund: Ein Aufruf von fonts.googleapis.com überträgt die IP-Adresse des Besuchers
   ohne Einwilligung an Google (LG München I, 20.01.2022, Az. 3 O 17493/20).
   Dateien liegen in fonts/, Lizenz SIL Open Font License 1.1. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.woff2') format('woff2'); }

:root {
  /* Brand colors */
  --navy: #0A0A32;
  --navy-90: #1c1c44;
  --navy-70: #4a4a6b;
  --coral: #F06446;
  --coral-soft: #fde7e0;
  --magenta: #DC1E6E;
  --yellow: #FABE28;
  --turquoise: #00B4B4;
  --skyblue: #00AADC;
  --skyblue: #00AADC;

  /* Neutrals */
  --warm-white: #FBFAF6;
  --light-grey: #E5E5E5;
  --mid-grey: #8C8C96;
  --hairline: #E8E6DF;
  --paper: #F3F1EA;

  /* Product colors (per Bürotyp) */
  --p-bueroraum: #00AADC;
  --p-team: #F06446;
  --p-grossraum: #DC1E6E;
  --p-geteilt: #00B4B4;
  --p-virtual: #FABE28;
  --p-konferenz: #0A0A32;
  --p-living: #f3a8c4;
  --p-flexdesk: #3DBE7A;

  /* Type */
  --ff: 'Poppins', system-ui, -apple-system, sans-serif;
  --ff-mono: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter: clamp(24px, 6vw, 96px);
  --section-gap: 100px;
  --section-gap-tight: 64px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff);
  font-weight: 400;
  color: var(--navy);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== TYPE SCALE ===== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-grey);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(38px, 4.6vw, 62px); }
h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
p  { font-size: 16px; line-height: 1.6; color: var(--navy-90); margin: 0; text-wrap: pretty; }
.sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--navy-70); font-weight: 400; }
.cap { font-size: 12px; color: var(--mid-grey); }
.mono { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mid-grey); font-weight: 500; text-transform: uppercase; }

/* ===== LAYOUT ===== */
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-gap) 0; }
.section.tight { padding: var(--section-gap-tight) 0; }
.grid { display: grid; gap: 24px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.96);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 14px rgba(10, 10, 50, 0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: 1440px; margin: 0 auto;
}
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 56px; width: auto; }
.site-header { padding: 0; }
.site-header .header-inner { padding-top: 10px; padding-bottom: 10px; }
.brand-logo .brand-tag {
  font-size: 10px;
  color: var(--mid-grey);
  border-left: 1px solid var(--hairline);
  padding-left: 12px;
  letter-spacing: 0.04em;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--navy);
  position: relative; padding: 8px 0;
}
.nav a.active, .nav a:hover { color: var(--coral); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--coral);
}

/* ===== Overlay-Header: transparent über dunklem Hero, solide beim Scrollen (wie v4) ===== */
/* Logo-Toggle , Standard (solide Seiten): dunkles Logo sichtbar */
.brand-logo .logo-light { display: none; }
.brand-logo .logo-dark { display: block; }

body.has-overlay-header .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
/* Transparent-Zustand (über Hero): weiße Nav + helles Logo */
body.has-overlay-header .site-header:not(.scrolled) .nav a { color: #fff; }
body.has-overlay-header .site-header:not(.scrolled) .nav a.active,
body.has-overlay-header .site-header:not(.scrolled) .nav a:hover { color: var(--coral); }
body.has-overlay-header .site-header:not(.scrolled) .brand-logo .logo-light { display: block; }
body.has-overlay-header .site-header:not(.scrolled) .brand-logo .logo-dark { display: none; }
/* Gescrollter Zustand , wie der jetzige solide Header */
body.has-overlay-header .site-header.scrolled {
  background: rgba(251, 250, 246, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 14px rgba(10, 10, 50, 0.05);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-pill);
  font-family: var(--ff); font-size: 14px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--coral); color: #ffffff !important; }
.btn-primary:hover { background: #d8553a; color: #ffffff !important; }
.btn-primary, .btn-primary *, .btn-primary .arr { color: #ffffff !important; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: #1a1a4a; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-ghost {
  padding: 10px 0; border-radius: 0;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); }
.btn-sm { padding: 12px 22px; font-size: 13px; }
.nav .btn-primary.btn-sm { padding: 12px 24px; }

/* ===== BADGE / TAG / CHIP ===== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
  background: white; color: var(--navy);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.breeam { background: #e9efe0; color: #4a6a2f; border-color: #d0dec0; }
.badge.dark { background: var(--navy); color: white; border-color: var(--navy); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--navy);
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; }

/* ===== CARDS ===== */
.card {
  background: white; border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  overflow: hidden; position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--navy); }

/* Sharp Cut accent — corner triangle (visual hallmark of "soft geometry + sharp cuts") */
.sharp-cut {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-left: 28px solid transparent;
  border-top: 28px solid var(--coral);
  pointer-events: none;
}
.sharp-cut.bl { top: auto; bottom: 0; right: auto; left: 0;
  border-left: 0; border-right: 28px solid transparent;
  border-top: 0; border-bottom: 28px solid var(--navy); }

/* ===== IMAGE PLACEHOLDERS ===== */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,10,50,0.045) 0 1px,
      transparent 1px 12px),
    linear-gradient(180deg, #ece9df 0%, #d9d5c8 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  color: var(--navy);
}
.ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
  transition: transform .6s ease;
}
.ph:hover > img { transform: scale(1.03); }
.ph > .ph-label, .ph > .badge, .ph > .float-meta, .ph > .sharp-cut { z-index: 2; position: relative; }
.ph > .sharp-cut { position: absolute; }
.ph::after {
  /* subtle darken to keep text readable on photos */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,50,0) 50%, rgba(10,10,50,0.2) 100%);
  z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity .2s ease;
}
.ph:has(> img)::after { opacity: 1; }
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.06) 0 1px,
      transparent 1px 12px),
    linear-gradient(180deg, #1c1c44 0%, #0a0a32 100%);
  color: white;
}
.ph.coral {
  background:
    repeating-linear-gradient(135deg,
      rgba(10,10,50,0.06) 0 1px,
      transparent 1px 12px),
    linear-gradient(180deg, #fbd9cb 0%, #f0b29c 100%);
}
.ph-label {
  font-family: var(--ff); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 14px; padding: 6px 9px;
  background: rgba(255,255,255,0.92); color: var(--navy);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ph.dark .ph-label { background: rgba(0,0,0,0.4); color: white; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy); color: white;
  padding: 80px 0 32px;
  margin-top: var(--section-gap);
}
.site-footer h4 { color: white; margin-bottom: 18px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(255,255,255,0.75); font-size: 14px; }
.site-footer a:hover { color: var(--coral); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bar {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bar .links { display: flex; gap: 24px; }

/* ===== UTIL ===== */
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.muted { color: var(--navy-70); }
.hr { height: 1px; background: var(--hairline); border: 0; }

/* ===== M2 Sekundär-CTA-Reihe ===== */
.m2-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.m2-row a {
  padding: 28px 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-right: 1px solid var(--hairline);
  font-weight: 500; color: var(--navy);
  transition: background .2s ease;
}
.m2-row a:last-child { border-right: 0; }
.m2-row a:hover { background: var(--paper); }
.m2-row .m2-label { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.m2-row .m2-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--navy); display: grid; place-items: center;
  font-size: 13px;
}
.m2-row .m2-meta { font-size: 11px; color: var(--mid-grey); font-family: var(--ff-mono); }

/* ===== PORTRAIT AVATAR (use real photo via data-portrait) ===== */
.trust-avatar.has-photo, .avatar-photo {
  background: none !important;
  overflow: hidden;
  display: block;
  padding: 0;
}
.trust-avatar.has-photo > img, .avatar-photo > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ===== M1 Trust Block ===== */
.trust-block {
  background: white; border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: grid; grid-template-columns: 320px 1fr 1.2fr;
  position: relative;
}
.trust-contact {
  padding: 36px;
  background: var(--paper);
  border-right: 1px solid var(--hairline);
  position: relative;
}
.trust-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #c9c1ad, #948b75);
  border: 3px solid white;
  display: grid; place-items: center;
  color: white; font-weight: 600; font-size: 28px;
  font-family: var(--ff);
  letter-spacing: -0.02em;
}
.trust-contact .name { font-size: 20px; font-weight: 600; margin-top: 18px; }
.trust-contact .role { font-size: 13px; color: var(--mid-grey); margin-top: 2px; }
.trust-contact .lines { margin-top: 20px; display: grid; gap: 10px; font-size: 14px; }
.trust-contact .lines div { display: flex; gap: 10px; align-items: flex-start; }
.trust-contact .lines div > span:first-child { display: inline-block; line-height: 1.5; min-width: 14px; }
.trust-cred {
  padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--hairline);
}
.trust-cred h3 { font-size: 22px; font-weight: 600; }
.trust-cred .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.trust-logos {
  padding: 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.trust-logos .logo-cell {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  height: 64px; display: grid; place-items: center;
  font-family: var(--ff-mono); font-size: 10px; color: var(--mid-grey);
  padding: 14px 18px;
  opacity: 0.75;
  transition: opacity .2s ease;
}
.trust-logos .logo-cell:hover { opacity: 1; }
.trust-logos .logo-cell svg { max-width: 100%; max-height: 32px; width: auto; height: auto; display: block; }
.trust-logos .logo-cell:nth-child(3n) { border-right: 0; }
.trust-logos .logo-cell:nth-child(n+4) { border-bottom: 0; }

/* ===== M6 Office-Typ-Card ===== */
.office-card {
  background: white; border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  height: 100%;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.office-card:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(10,10,50,0.25); }
.office-card .ph {
  aspect-ratio: 4/3;
  /* Brandbook sharp-cut: bottom-right chamfer */
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0% 100%);
}
.office-card .ph-label { font-size: 10px; }
.office-card .oc-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.oc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.oc-title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.oc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--mid-grey); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.oc-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.oc-meta { display: flex; gap: 18px; font-size: 13px; color: var(--navy-70); }
.oc-meta span { display: flex; align-items: center; gap: 6px; }
.oc-desc { font-size: 14px; color: var(--navy-70); line-height: 1.55; }
.oc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.oc-price { display: flex; flex-direction: column; }
.oc-price .from { font-size: 11px; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.06em; }
.oc-price .num { font-size: 22px; font-weight: 600; color: var(--navy); }
.oc-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--coral); }

/* product-color accent strip on left for variants */
.office-card .accent-line {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--p-team);
}

/* ===== M9 Test-Offer ===== */
.test-offer {
  background: var(--navy); color: white;
  border-radius: var(--r-md);
  padding: 56px var(--gutter); position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
}
.test-offer::after { display: none; }
.test-offer .grid-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.test-offer .grid-inner > div { display: flex; flex-direction: column; }
.test-offer .grid-inner > div:last-child { justify-content: space-between; }
.test-offer .offer-cta-row { margin-top: auto; }
.test-offer .btn-primary { white-space: nowrap; align-self: flex-start; }
.test-offer h2 { color: white; }
.test-offer .offer-meta { display: flex; gap: 32px; margin-top: 24px; }
.test-offer .offer-meta > div { display: flex; flex-direction: column; gap: 4px; }
.test-offer .offer-meta .k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); font-weight: 500; }
.test-offer .offer-meta .v { font-size: 26px; font-weight: 600; }
.test-offer .btn-primary { background: var(--coral); }

/* ===== HERO ===== */
.hero {
  position: relative; padding: clamp(48px, 6vw, 96px) 0 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: start;
}
.hero h1 { letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .sub { margin-top: 24px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .k { font-size: 11px; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.hero-meta .v { font-size: 16px; font-weight: 500; color: var(--navy); }

.hero-visual {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.hero-visual .float-meta {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-head {
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--hairline);
}
.page-head .crumb {
  font-size: 12px; color: var(--mid-grey); letter-spacing: 0.04em;
  font-family: var(--ff-mono); margin-bottom: 24px;
}
.page-head .crumb a:hover { color: var(--coral); }

/* ===== SECTION HEAD ===== */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  margin-bottom: 56px; align-items: end;
}
.section-head .head-r { color: var(--navy-70); font-size: 17px; line-height: 1.55; max-width: 460px; justify-self: end; }

/* Service tile */
.service-tile {
  background: white; border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease;
  min-height: 220px;
}
.service-tile:hover { border-color: var(--navy); }
.service-tile .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--paper); display: grid; place-items: center;
  color: var(--navy);
}
.service-tile h4 { font-size: 18px; font-weight: 600; }
.service-tile p { font-size: 14px; }
.service-tile.xl {
  grid-column: span 2;
  min-height: 320px;
  background: var(--navy); color: white;
  border: 0; padding: 40px; position: relative; overflow: visible;
  border-radius: var(--r-md);
}
.service-tile.xl h3 { color: white; font-size: 30px; }
.service-tile.xl p { color: rgba(255,255,255,0.78); }
.service-tile.xl .icon { background: rgba(255,255,255,0.08); color: white; }
.service-tile.xl::after { display: none; }
/* Sharp-cut bottom-right only on Workery-Living tile */
.service-tile.xl.with-cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}

/* Map placeholder */
.map-ph {
  aspect-ratio: 16/9; border-radius: var(--r-md);
  background:
    linear-gradient(135deg, #e9efe0 0%, #d8e2cf 100%);
  position: relative; overflow: hidden;
  border: 1px solid var(--hairline);
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== V2-SPECIFIC ADDITIONS ===== */

/* Mini contact form replacing trust-logos */
.trust-form {
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.trust-form .form-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mid-grey);
  margin-bottom: 6px;
}
.trust-form input,
.trust-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--hairline); border-radius: 10px;
  font-family: var(--ff); font-size: 13px;
  background: white; color: var(--navy);
}
.trust-form input:focus, .trust-form textarea:focus { outline: none; border-color: var(--navy); }
.trust-form textarea { min-height: 72px; resize: vertical; }
.trust-form .dsgvo-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11px; color: var(--navy-70); line-height: 1.5;
}
.trust-form .dsgvo-row input { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }
.trust-form .dsgvo-row a { color: var(--coral); text-decoration: underline; }
.trust-form button {
  margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--r-pill);
  font-family: var(--ff); font-size: 13px; font-weight: 500;
  border: 0; background: var(--coral); color: #fff;
  cursor: pointer; transition: background .2s;
}
.trust-form button:hover { background: #d8553a; }

/* Card-6 (CTA card on startseite) benefits list */
.cta-card-benefits {
  list-style: none; padding: 0; margin: 20px 0 28px;
  display: grid; gap: 16px;
}
.cta-card-benefits li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 13px; line-height: 1.45;
  color: rgba(255,255,255,0.85);
}
.cta-card-benefits .ic {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--coral); font-size: 14px;
}

/* Anchor-nav offset for sticky behavior on Bürolösungen */
.anchor-nav { top: 76px; }
section[id] { scroll-margin-top: 170px; }

/* Trust spacing reduction */
.section.tight-trust { padding: 56px 0 32px; }

/* Startseite Lage-Teaser: map matches sidebar height */
.section.lage-teaser-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px;
  align-items: stretch;
}
.section.lage-teaser-grid .map-ph {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--hairline);
  background: linear-gradient(135deg, #e9efe0 0%, #d8e2cf 100%);
  position: relative; height: 100%; min-height: 360px;
}
.section.lage-teaser-grid .map-ph svg { width: 100%; height: 100%; display: block; }

/* === SERVICES PAGE V2 — Sticky scroll Säule 1 === */
.service-saeule-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  align-items: start;
}
.service-saeule-left {
  display: flex; flex-direction: column; gap: 24px;
}
.service-saeule-part {
  background: var(--navy); color: white;
  border-radius: var(--r-md); padding: 48px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.service-saeule-part::before { display: none; }
.service-saeule-part h2 { color: white; font-size: 34px; }
.service-saeule-part p { color: rgba(255,255,255,0.78); }
.service-saeule-part .grid-blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 24px;
}
.service-saeule-part .grid-blocks > div {
  background: rgba(255,255,255,0.06);
  padding: 16px; border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.service-saeule-part .grid-blocks .k {
  font-size: 10px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.service-saeule-part .grid-blocks .v { font-size: 14px; font-weight: 500; }
.service-saeule-part .grid-blocks .desc { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; margin-top: 4px; }

.service-saeule-right { position: sticky; top: 120px; align-self: start; }
.service-saeule-right .photo-card { padding: 0; overflow: hidden; }
.service-saeule-right .photo-card .ph { aspect-ratio: 4/5; border-radius: 0; }

/* === Mittagstisch wide tile + sub-cards === */
.living-wide {
  background: var(--coral); color: white;
  border-radius: var(--r-md); padding: 0;
  display: grid; grid-template-columns: 1fr 1.3fr;
  align-items: stretch;
  overflow: visible;
  margin-bottom: 24px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%);
}
.living-wide .ph {
  border-radius: 0; min-height: 320px;
}
.living-wide .ph::after { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%); }
.living-wide .ph .ph-label { background: rgba(0,0,0,0.45); color: white; }
.living-wide .content {
  padding: 40px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.living-wide .content .eyebrow { color: rgba(255,255,255,0.85); }
.living-wide .content .eyebrow::before { background: rgba(255,255,255,0.5); }
.living-wide h3 { color: white; font-size: 34px; line-height: 1.1; }
.living-wide p { color: rgba(255,255,255,0.92); font-size: 15px; }
.living-wide .meta-pills {
  display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap;
}
.living-wide .meta-pills span {
  background: rgba(255,255,255,0.18);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500;
}

.living-cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.living-cards-3 .liv-card {
  background: white; border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.living-cards-3 .liv-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.living-cards-3 .liv-card .ph { aspect-ratio: 4/3; }
.living-cards-3 .liv-card .content {
  padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.living-cards-3 .liv-card .when {
  font-size: 11px; color: var(--coral); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.living-cards-3 .liv-card h4 { font-size: 18px; }
.living-cards-3 .liv-card p { font-size: 13px; color: var(--navy-70); }

/* === Lage page V2 — Map height match === */
.lage-map-row {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px;
  align-items: stretch;
}
.lage-map-row .map-large {
  aspect-ratio: auto;
  height: 100%;
  min-height: 480px;
}
.lage-map-row .map-large svg {
  width: 100%; height: 100%;
  display: block;
}
.lage-objekt {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px;
  align-items: start;
}
.lage-objekt .obj-img {
  aspect-ratio: 4/3.5;
}

/* Compact spacing helpers */
.section.tighter { padding: 56px 0; }
.section.tighter-bottom { padding-bottom: 48px; }

/* Responsive */
@media (max-width: 980px) {
  .service-saeule-grid, .living-wide, .lage-map-row, .lage-objekt { grid-template-columns: 1fr; }
  .service-saeule-right { position: static; }
  .living-cards-3 { grid-template-columns: 1fr; }
  .trust-block.with-form { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .section-head, .trust-block, .test-offer .grid-inner, .footer-grid { grid-template-columns: 1fr; }
  .trust-block { display: block; }
  .trust-contact, .trust-cred { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .m2-row { grid-template-columns: 1fr; }
  .m2-row a { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .nav { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MOBILE-ANPASSUNGEN · 768 / 480 px (Janine, 26.05.2026)
   Desktop unverändert. Diese Regeln greifen nur auf Mobile.
   ============================================================ */

/* Mobile-only Line-Break: standardmäßig ausgeblendet, auf Mobile via .hero h1 .m-br aktiv */
.m-br { display: none; }

/* ===== Burger-Menu Komponente (immer am DOM, aber default versteckt) ===== */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: white;
  cursor: pointer;
  position: relative;
  padding: 0;
  flex-shrink: 0;
  z-index: 70; /* Burger über Drawer, damit Click zum Schließen klappt */
}
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
  padding: 96px 24px 32px; /* Top-Padding lässt Platz für Header */
  overflow-y: auto;
  visibility: hidden;
}
.mobile-drawer.is-open { transform: translateY(0); visibility: visible; }
.mobile-drawer a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 26px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--navy);
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-drawer a.m-link.active { color: var(--coral); }
.mobile-drawer a.m-link::after { content: "→"; font-weight: 400; font-size: 22px; opacity: .5; }
.mobile-drawer .m-cta {
  margin-top: 32px;
  background: var(--coral); color: white;
  padding: 18px 24px; border-radius: var(--r-pill);
  text-align: center; font-weight: 600; font-size: 16px;
}
.mobile-drawer .m-foot {
  margin-top: auto;
  padding-top: 32px;
  font-size: 13px; color: var(--mid-grey);
  display: grid; gap: 10px;
}
.mobile-drawer .m-foot a { color: var(--navy); font-weight: 500; }
body.no-scroll { overflow: hidden; }

/* ============================================================
   ≤ 768 px  ·  Tablet / große Phones
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-gap: 64px;
    --section-gap-tight: 40px;
  }

  /* Safety net: kein horizontales Scrollen, lange Wörter umbrechen.
     WICHTIG: overflow-x: clip statt hidden, damit position: sticky funktioniert. */
  html, body { overflow-x: clip; }
  h1, h2, h3, h4 { overflow-wrap: break-word; word-break: normal; hyphens: auto; }

  /* Typo */
  h1 { font-size: clamp(30px, 7.6vw, 40px); line-height: 1.08; }
  h2 { font-size: clamp(24px, 6vw, 32px); line-height: 1.12; }
  h3 { font-size: clamp(19px, 4.4vw, 23px); line-height: 1.22; }
  .sub { font-size: 16px; line-height: 1.55; }
  p { font-size: 15px; }

  /* Header / Nav , bleibt sticky, z-index ÜBER Drawer für Logo-Sichtbarkeit */
  .site-header { position: sticky; top: 0; z-index: 80; background: var(--warm-white); }
  .site-header .header-inner { padding: 8px 20px; }
  .brand-logo img { height: 44px; }
  .brand-logo .brand-tag { display: none; }
  .nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }

  /* Bei offenem Drawer: Header auf fixed, damit Logo + X garantiert oben bleiben */
  body.no-scroll .site-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 80;
  }

  /* Overlay-Header , Mobile: transparent über Hero, solide beim Scrollen / offenem Drawer */
  body.has-overlay-header .site-header { position: fixed; background: transparent; }
  body.has-overlay-header .site-header.scrolled,
  body.has-overlay-header.no-scroll .site-header { background: var(--warm-white); }
  /* Burger weiß über Hero */
  body.has-overlay-header .site-header:not(.scrolled) .burger {
    background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.45);
  }
  body.has-overlay-header .site-header:not(.scrolled) .burger span { background: #fff; }
  /* Offener Drawer: dunkles Logo + dunkler Burger über hellem Drawer */
  body.has-overlay-header.no-scroll .site-header .brand-logo .logo-light { display: none; }
  body.has-overlay-header.no-scroll .site-header .brand-logo .logo-dark { display: block; }
  body.has-overlay-header.no-scroll .burger { background: #fff; border-color: var(--hairline); }
  body.has-overlay-header.no-scroll .burger span { background: var(--navy); }

  /* Hero , Mobile: eyebrow → H1 → Visual → Sub → CTAs, Hero-Meta entfernt */
  .hero { padding-top: 32px; }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    text-align: center;
    align-items: stretch !important;
  }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid > div:first-child > .eyebrow {
    order: 1;
    display: inline-flex;
    justify-content: center;
    align-self: center;
  }
  .hero-grid > div:first-child > h1 {
    order: 2;
    margin-top: 18px;
    margin-bottom: 24px;
  }
  /* Hero-H1 Mobile: zusätzlicher Mobile-Umbruch nach „Ruhige Premium-Büros",
     bestehende Desktop-br bleiben aktiv. Ergebnis: 4 Zeilen. */
  .hero h1 .m-br { display: inline !important; }
  .hero h1 { hyphens: none; overflow-wrap: break-word; }

  /* Klarstellungs-Section , mehr Abstand zum Hero/M2 oben */
  section[data-comment-anchor="klarstellung"] { padding-top: 64px; }
  .hero-grid > .hero-visual {
    order: 3;
    aspect-ratio: 4/3;
    width: 100%;
    min-height: 240px;
    margin-bottom: 24px;
    align-self: stretch;
    flex: none;
  }
  .hero-grid > div:first-child > .sub {
    order: 4;
    margin-top: 0;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-grid > div:first-child > .hero-ctas {
    order: 5;
    margin-top: 0;
    justify-content: center;
    gap: 10px;
  }
  .hero-grid > div:first-child > .hero-meta { display: none !important; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; padding: 16px 22px; }
  .hero-visual .float-meta {
    left: 14px; right: 14px; bottom: 14px;
    padding: 14px 18px; border-radius: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .hero-visual .float-meta > div { text-align: center; }

  /* M2 Sekundär-CTA-Reihe */
  .m2-row { grid-template-columns: 1fr; }
  .m2-row a {
    padding: 20px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .m2-row a:last-child { border-bottom: 0; }
  .m2-row .m2-label { font-size: 15px; gap: 12px; }
  .m2-row .m2-icon { width: 32px; height: 32px; font-size: 12px; }
  .m2-row .m2-meta { font-size: 10px; }

  /* Trust-Block , Mobile: Avatar links, Name+Role rechts, Lines drunter */
  .trust-block { grid-template-columns: 1fr; display: block; border-radius: var(--r-md); }
  .trust-cred {
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .trust-contact {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "avatar name"
      "avatar role"
      "lines  lines";
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
  }
  .trust-contact .trust-avatar,
  .trust-contact .avatar-photo {
    grid-area: avatar;
    width: 64px;
    height: 64px;
    font-size: 22px;
    align-self: center;
  }
  .trust-contact .name {
    grid-area: name;
    margin-top: 0;
    align-self: end;
    font-size: 17px;
    line-height: 1.1;
  }
  .trust-contact .role {
    grid-area: role;
    align-self: start;
    margin-top: 2px;
    font-size: 12px;
  }
  .trust-contact .lines {
    grid-area: lines;
    margin-top: 16px;
  }
  .trust-cred h3 { font-size: 20px; }
  .trust-logos { padding: 24px; grid-template-columns: repeat(2, 1fr); }
  .trust-logos .logo-cell { height: 56px; padding: 12px 14px; }
  .trust-logos .logo-cell:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .trust-logos .logo-cell:nth-child(2n) { border-right: 0; }
  .trust-logos .logo-cell:nth-last-child(-n+2) { border-bottom: 0; }

  /* Trust-Form (V2 spezifisch) */
  .trust-form { padding: 24px; }

  /* Section-Head , linksbündig */
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; text-align: left; }
  .section-head > div { margin: 0; }
  .section-head .head-r { justify-self: start; font-size: 15px; max-width: 100%; }
  .section-head .eyebrow { justify-content: flex-start; }

  /* ===== Mobile: ALLE Inline-Grids in Section-Containern auf 1-Spalten zwingen ===== */
  /* (greift via attribute-selector über alle inline grid-template-columns) */
  section .grid[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  /* AUSNAHME: Calendar-Grids (7-Spalten Wochentage) bleiben Grid */
  section .grid[style*="repeat(7"] {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;
  }
  /* Calendar Day-Cells kompakter auf Mobile */
  #cal-days > div {
    aspect-ratio: 1;
    font-size: 11px !important;
  }
  /* Auch die Stat-Tile-Grids in der Workery-Living-XL und Konzept-Section */
  .service-tile.xl .grid[style*="grid-template-columns"]:not([style*="repeat(7"]) {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Office-Cards: 1 pro Reihe, full-width linksbündig */
  .office-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* Service-Tile XL volle Breite */
  .service-tile.xl {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .service-tile {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* CTAs in Sektionen (z.B. „Alle Services ansehen" + „Workery Living entdecken", Conversion-Buttons) , stacked, linksbündig, full-width */
  section .flex.center.gap-16,
  section .flex.center.gap-12,
  section[data-comment-anchor="conversion"] .flex.gap-16 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  section[data-comment-anchor="conversion"] .flex.gap-16 .btn {
    width: 100%;
    justify-content: center;
  }

  /* Conversion-Block Mobile-Reihenfolge: H2 → Sub → Calendar-Card → Buttons
     WICHTIG: nur outer grid (> .wrap > .grid), nicht das innere 7-Spalten-Calendar-Grid */
  section[data-comment-anchor="conversion"] > .wrap > .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  section[data-comment-anchor="conversion"] > .wrap > .grid > div:first-child {
    display: contents;
  }
  section[data-comment-anchor="conversion"] > .wrap > .grid > div:first-child > .eyebrow { order: 1; }
  section[data-comment-anchor="conversion"] > .wrap > .grid > div:first-child > h2 { order: 2; }
  section[data-comment-anchor="conversion"] > .wrap > .grid > div:first-child > .sub { order: 3; }
  section[data-comment-anchor="conversion"] > .wrap > .grid > .card { order: 4; }
  section[data-comment-anchor="conversion"] > .wrap > .grid > div:first-child > .flex.gap-16 { order: 5; }

  /* Grundrisse-Teaser Mobile-Reihenfolge: H2 → Sub → Floorplan-Card → Buttons */
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child {
    display: contents;
  }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > .eyebrow { order: 1; }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > h2 { order: 2; }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > .sub { order: 3; }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > .card { order: 4; }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > .flex.gap-16 {
    order: 5;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > .flex.gap-16 .btn,
  section[data-comment-anchor="grundriss-teaser"] > .wrap > .grid > div:first-child > .flex.gap-16 .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  section .flex.center.gap-16 .btn,
  section .flex.center.gap-12 .btn {
    width: 100%;
    justify-content: center;
  }
  section .flex.center.gap-16 .btn-ghost,
  section .flex.center.gap-12 .btn-ghost {
    text-align: center;
    padding: 12px 0;
  }

  /* Ausnahme: Maria Hernandez in service-tile.xl bleibt horizontal */
  .service-tile.xl .flex.center.gap-12 {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    max-width: none !important;
    margin: 24px 0 0 0 !important;
    justify-content: flex-start;
  }
  .service-tile.xl .avatar-photo {
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0;
  }

  /* Ausnahme: Avatar+Name Cards in services.html (Maria photo-card, Lisa) bleiben horizontal */
  .card.photo-card .flex.center.gap-12,
  .card .flex.center.gap-16:has(> .avatar-photo) {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    max-width: none !important;
    margin: 0 !important;
    justify-content: flex-start;
  }
  .card .avatar-photo {
    flex-shrink: 0 !important;
  }

  /* Office Cards (M6) */
  .office-card .oc-body { padding: 20px; gap: 12px; }
  .oc-title { font-size: 20px; }
  .oc-meta { gap: 14px; font-size: 12px; flex-wrap: wrap; }
  .oc-foot { padding-top: 14px; gap: 10px; }
  .oc-price .num { font-size: 20px; }
  .office-card .ph {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0% 100%);
  }

  /* Service-Tiles */
  .service-tile { padding: 22px; min-height: 0; }
  .service-tile.xl { padding: 28px; min-height: 0; grid-column: span 1; }
  .service-tile.xl h3 { font-size: 24px; }
  .service-tile.xl.with-cut {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  }

  /* Services-Säule */
  .service-saeule-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-saeule-right { position: static; }
  .service-saeule-part {
    padding: 32px 24px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  }
  .service-saeule-part h2 { font-size: 26px; }
  .service-saeule-part .grid-blocks { grid-template-columns: 1fr; gap: 8px; }

  /* Living-Wide (Coral-Block) */
  .living-wide {
    grid-template-columns: 1fr;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
  }
  .living-wide .ph { min-height: 240px; }
  .living-wide .content { padding: 28px 24px; }
  .living-wide h3 { font-size: 26px; }
  .living-wide p { font-size: 14px; }
  .living-wide .meta-pills span { padding: 6px 12px; font-size: 11px; }

  /* Living Cards 3er-Grid */
  .living-cards-3 { grid-template-columns: 1fr; gap: 14px; }
  .living-cards-3 .liv-card .content { padding: 20px; }
  .living-cards-3 .liv-card h4 { font-size: 17px; }

  /* Test-Offer , mehr Padding unten für Atem-Raum unter Button */
  .test-offer {
    padding: 36px 24px 80px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
  }
  .test-offer .grid-inner { grid-template-columns: 1fr; gap: 28px; }
  .test-offer .offer-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    margin-top: 20px;
  }
  .test-offer .offer-meta > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .test-offer .offer-meta .v { font-size: 22px; }
  .test-offer .offer-cta-row { margin-top: 40px !important; }
  .test-offer .btn-primary { width: 100%; justify-content: center; }

  /* Startseite Lage-Teaser , Map schmaler in Breite, höher in Höhe (Portrait) */
  .section.lage-teaser-grid {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section.lage-teaser-grid .map-ph {
    width: 100% !important;
    max-width: none !important;
    height: 460px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    align-self: stretch;
  }
  .section.lage-teaser-grid .map-ph svg {
    width: 100%;
    height: 100%;
  }

  /* Lage-Page Map + Objekt */
  .lage-map-row { grid-template-columns: 1fr; gap: 18px; }
  .lage-map-row .map-large { min-height: 280px; }
  .lage-objekt { grid-template-columns: 1fr; gap: 24px; }
  .lage-objekt .obj-img { aspect-ratio: 4/3.4; }

  /* Footer , alles zentriert auf Mobile */
  .site-footer { padding: 56px 0 24px; margin-top: 64px; text-align: center; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-grid > div:first-child > .flex.center.gap-12 {
    justify-content: center;
  }
  .footer-grid > div:first-child > p { max-width: 320px; }
  .footer-grid h4 { font-size: 12px; margin-bottom: 12px; }
  .footer-grid ul { gap: 8px; align-items: center; padding-left: 0; }
  .footer-grid ul li { text-align: center; }
  .site-footer a { font-size: 13px; }
  .footer-bar {
    margin-top: 40px;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  .footer-bar .links { justify-content: center; }

  /* Footer Spezial: Rechtliches horizontal nebeneinander, Angebot 1-spaltig */
  .footer-grid > div:nth-child(4) ul {
    display: flex !important;
    flex-direction: row;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Page-Head (inner pages) */
  .page-head { padding: 56px 0 32px; }
  .page-head .crumb { margin-bottom: 16px; }
  .page-head .grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .page-head .grid > div { margin-bottom: 20px; }
  .page-head .grid > p,
  .page-head .grid > div + p,
  .page-head .grid p.sub {
    max-width: 100%;
    width: 100%;
  }

  /* Anchor-nav (bueros) */
  .anchor-nav { top: 56px !important; }
  section[id] { scroll-margin-top: 130px; }

  /* CTA-Card Benefits */
  .cta-card-benefits { gap: 12px; }
}

/* ============================================================
   ≤ 480 px  ·  Phones
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
    --section-gap: 48px;
    --section-gap-tight: 32px;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .sub { font-size: 15px; }
  .eyebrow { font-size: 10px; gap: 8px; }
  .eyebrow::before { width: 16px; }

  /* Header */
  .brand-logo img { height: 38px; }
  .site-header .header-inner { padding: 6px 16px; }

  /* Hero */
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { aspect-ratio: 4/4.4; }

  /* Trust-Block */
  .trust-logos { grid-template-columns: 1fr 1fr; padding: 18px; }
  .trust-logos .logo-cell { height: 52px; }

  /* Office Cards */
  .office-card .oc-body { padding: 18px; }
  .oc-title { font-size: 19px; }
  .oc-foot { flex-direction: column; align-items: flex-start; }
  .oc-cta { align-self: flex-start; }

  /* Test-Offer */
  .test-offer { padding: 28px 20px; }
  .test-offer .offer-meta > div { flex: 1 1 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: auto; }

  /* Buttons */
  .btn { padding: 14px 20px; font-size: 13px; }
  .btn-sm { padding: 11px 18px; font-size: 12px; }

  /* Mobile drawer slightly tighter */
  .mobile-drawer { padding: 80px 20px 28px; }
  .mobile-drawer a.m-link { font-size: 22px; padding: 18px 0; }
}


/* ============================================================
   ANNY-Buchungsbuttons: auf Mobil volle Breite, wie die normalen
   Buttons daneben. Das Shrink-Wrap sitzt im Shadow DOM
   (.a-button-trigger) und wird von consent.js entsperrt. 19.08.
   ============================================================ */
@media (max-width: 768px) {
  a-resource-button { display: block; width: 100%; }
  a-resource-button > .btn { width: 100%; justify-content: center; box-sizing: border-box; }
}
