/* ═══════════════════════════════════════════════════════════
   HELVESTA Immobilien AG – Design System v11.0
   Single source of truth · No !important · No duplicates
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
img,picture,video,canvas{display:block;max-width:100%}
input,button,textarea,select{font:inherit}
p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}

/* ── Design Tokens ── */
:root{
  /* Colors */
  --dark:#1D2222;
  --dark-mid:#2A3030;
  --mid:#3A3F3F;
  --muted:#6B7070;
  --subtle:#D8D8D9;
  --light:#EEEEEF;
  --white:#ffffff;
  --accent:#8B7355;
  --accent-dark:#7a6449;
  --accent-light:rgba(139,115,85,0.1);
  --border:rgba(29,34,34,0.1);
  --border-strong:rgba(29,34,34,0.2);
  --border-dark:rgba(238,238,239,0.12);

  /* Typography */
  --font-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body:'Source Sans 3',system-ui,-apple-system,sans-serif;

  /* Layout */
  --content:88rem;
  --gutter:clamp(1rem,2vw + .45rem,2.5rem);

  /* Header */
  --header-h:clamp(4.5rem,5.5vw,6.5rem);

  /* Easing */
  --ease-expo:cubic-bezier(.16,1,.3,1);
  --ease-quint:cubic-bezier(.22,1,.36,1);

  /* Durations */
  --dur-fast:150ms;
  --dur-base:280ms;
  --dur-slow:480ms;

  /* Z-index */
  --z-base:1;
  --z-sticky:10;
  --z-header:100;
  --z-menu:200;
}

/* ── Base ── */
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  font-family:var(--font-body);
  color:var(--dark);
  background:var(--white);
  min-height:100vh;
  display:flex;flex-direction:column;
  line-height:1.7;
  font-size:clamp(17px,.28vw + 16px,19px);
  overflow-x:hidden;
}
main{flex:1}
address{font-style:normal}
a{color:inherit}

/* ───────────────────────────────────────────
   TYPOGRAPHY
─────────────────────────────────────────── */
.display{
  font-family:var(--font-display);
  font-size:clamp(2.75rem,5.5vw,5rem);
  font-weight:400;letter-spacing:-0.02em;line-height:1.1;
}
.display em,.display i{font-style:italic}

.display-sm{
  font-family:var(--font-display);
  font-size:clamp(2rem,3.5vw,3.25rem);
  font-weight:400;letter-spacing:-0.015em;line-height:1.15;
}
.display-sm em,.display-sm i{font-style:italic}

.h1{
  font-family:var(--font-display);
  font-size:clamp(1.75rem,2.5vw,2.25rem);
  font-weight:400;letter-spacing:-0.015em;line-height:1.2;
}
.h2{
  font-family:var(--font-display);
  font-size:clamp(1.5rem,2.2vw,2rem);
  font-weight:400;letter-spacing:-0.01em;line-height:1.25;
}
.h3{
  font-family:var(--font-body);
  font-size:1.125rem;
  font-weight:600;letter-spacing:-0.005em;line-height:1.4;
}
.body-lg{font-size:clamp(1.125rem,.35vw + 1rem,1.3rem);font-weight:400;line-height:1.75}
.body{font-size:clamp(1rem,.18vw + .97rem,1.08rem);font-weight:400;line-height:1.72}
.body-sm{font-size:clamp(.92rem,.12vw + .88rem,1rem);font-weight:400;line-height:1.62}
.overline{
  font-family:var(--font-body);
  font-size:.72rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;
}
.caption{font-size:.8125rem;font-weight:400;line-height:1.5}
.italic{font-style:italic}
.text-balance{text-wrap:balance}

/* ───────────────────────────────────────────
   COLOR UTILITIES
─────────────────────────────────────────── */
.text-dark{color:var(--dark)}
.text-light{color:var(--light)}
.text-muted{color:var(--muted)}
.text-accent{color:var(--accent)}
.text-muted-50{color:rgba(107,112,112,.5)}
.text-muted-60{color:rgba(107,112,112,.6)}
.text-light-30{color:rgba(238,238,239,.3)}
.text-light-40{color:rgba(238,238,239,.4)}
.text-light-60{color:rgba(238,238,239,.6)}
.text-light-70{color:rgba(238,238,239,.7)}
.bg-dark{background:var(--dark)}
.bg-light{background:var(--light)}
.bg-white{background:var(--white)}

/* ───────────────────────────────────────────
   LAYOUT
─────────────────────────────────────────── */
.container{
  width:min(100%,var(--content));
  margin:0 auto;
  padding:0 var(--gutter);
}
.section-py{padding:clamp(4rem,6vw,6rem) 0}
.section-py-lg{padding:clamp(5rem,8vw,8rem) 0}

/* Text width containers */
.text-container{max-width:58rem}
.text-container--md{max-width:48rem}
.text-container--sm{max-width:44rem}
.text-container--xs{max-width:36rem}
.mx-auto{margin-left:auto;margin-right:auto}

/* Spacing helpers */
.mt-sm{margin-top:.75rem}
.mt-med{margin-top:1.5rem}
.mt-lg{margin-top:2.5rem}
.mb-sm{margin-bottom:.75rem}
.mb-med{margin-bottom:1.5rem}
.mb-lg{margin-bottom:2.5rem}

/* Grids */
.grid-12{display:grid;grid-template-columns:1fr;gap:clamp(2.5rem,4vw,4rem)}
@media(min-width:1024px){
  .grid-12{grid-template-columns:repeat(12,1fr)}
  .col-4{grid-column:span 4}
  .col-5{grid-column:span 5}
  .col-6{grid-column:span 6}
  .col-7{grid-column:span 7}
  .col-8{grid-column:span 8}
}
.grid-3{display:grid;grid-template-columns:1fr;gap:clamp(2rem,4vw,4rem)}
@media(min-width:768px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.grid-2{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.grid-2{grid-template-columns:repeat(2,1fr)}}
.grid-values{display:grid;grid-template-columns:1fr;gap:2.25rem}
@media(min-width:640px){.grid-values{grid-template-columns:repeat(2,1fr);gap:2.75rem}}
.gap-px-grid{display:grid;gap:1px;background:var(--border)}
.gap-px-grid>*{background:var(--white)}
@media(min-width:768px){
  .gap-px-grid.cols-2{grid-template-columns:repeat(2,1fr)}
  .gap-px-grid.cols-3{grid-template-columns:repeat(3,1fr)}
}

/* Dividers */
.divider{height:1px;background:var(--border)}
.divider-accent{height:2px;width:3.5rem;background:linear-gradient(90deg,var(--accent),rgba(139,115,85,0));margin:0}

/* ───────────────────────────────────────────
   ACCESSIBILITY
─────────────────────────────────────────── */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{
  left:1rem;top:1rem;width:auto;height:auto;
  background:var(--white);padding:.75rem 1rem;
  z-index:calc(var(--z-menu) + 100);
  border:1px solid var(--border);
}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ───────────────────────────────────────────
   HEADER & NAVIGATION
─────────────────────────────────────────── */
.header{
  position:fixed;top:0;left:0;right:0;
  z-index:var(--z-header);
  background:var(--dark);
  border-bottom:1px solid var(--border-dark);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  transition:border-color var(--dur-base) ease;
}
.header.scrolled{border-bottom-color:rgba(238,238,239,.18)}

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

/* Logo */
.logo{
  display:flex;align-items:center;
  text-decoration:none;cursor:pointer;
  position:relative;z-index:calc(var(--z-header) + 10);
  flex-shrink:0;
}
.logo img{display:block;height:auto}
.logo-wordmark{
  height:clamp(1rem,1vw + .82rem,1.4rem);
  width:auto;max-width:min(54vw,18rem);
  object-fit:contain;
}
.header .logo img{filter:brightness(0) invert(1)}

/* Desktop nav */
.nav-desktop{display:none;align-items:center;gap:clamp(1.75rem,2.5vw,3rem)}
@media(min-width:1024px){.nav-desktop{display:flex}}
.nav-desktop a{
  font-family:var(--font-body);
  font-size:1rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  color:rgba(238,238,239,.62);
  text-decoration:none;cursor:pointer;
  position:relative;
  transition:color var(--dur-base) ease;
}
.nav-desktop a::after{
  content:'';position:absolute;bottom:-5px;left:0;
  width:0;height:1px;background:var(--accent);
  transition:width var(--dur-slow) var(--ease-expo);
}
.nav-desktop a:hover{color:var(--light)}
.nav-desktop a.active{color:var(--light)}
.nav-desktop a:hover::after,.nav-desktop a.active::after{width:100%}

/* Burger */
.burger{
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:5px;width:2.75rem;height:2.75rem;
  padding:0;cursor:pointer;
  background:none;border:none;
  position:relative;z-index:calc(var(--z-header) + 10);
  -webkit-tap-highlight-color:transparent;
  flex-shrink:0;
}
@media(min-width:1024px){.burger{display:none}}
.burger span{
  display:block;width:22px;height:1.5px;
  background:var(--light);
  transition:all var(--dur-base) var(--ease-expo);
  transform-origin:center;
}
.burger.open span:nth-child(1){transform:rotate(45deg) translate(4px,4px)}
.burger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.burger.open span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px)}

/* Mobile menu */
.mobile-menu{
  position:fixed;
  inset:var(--header-h) 0 0 0;
  background:var(--dark);
  z-index:var(--z-menu);
  padding:clamp(1.5rem,5vw,3rem) 0 max(2rem,env(safe-area-inset-bottom));
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity var(--dur-base) ease,transform var(--dur-base) var(--ease-expo),visibility 0s linear var(--dur-base);
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  border-top:1px solid var(--border-dark);
}
.mobile-menu.open{
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity var(--dur-base) ease,transform var(--dur-base) var(--ease-expo),visibility 0s linear 0s;
}
@media(min-width:1024px){.mobile-menu{display:none}}
.mobile-menu-inner{
  width:min(100%,var(--content));
  margin:0 auto;
  padding:0 var(--gutter) max(1.25rem,env(safe-area-inset-bottom));
}
.mobile-menu a{
  display:block;width:100%;
  padding:clamp(1rem,1.8vw,1.4rem) 0;
  font-family:var(--font-display);
  font-size:clamp(2.85rem,9.75vw,4.1rem);
  font-weight:400;letter-spacing:-0.01em;
  border-bottom:1px solid rgba(238,238,239,.08);
  color:rgba(238,238,239,.68);
  text-decoration:none;
  transition:color var(--dur-base) ease,transform var(--dur-slow) var(--ease-expo),opacity var(--dur-slow) ease;
  opacity:0;transform:translateY(16px);
}
.mobile-menu.open a{opacity:1;transform:translateY(0)}
.mobile-menu.open a:nth-child(1){transition-delay:50ms}
.mobile-menu.open a:nth-child(2){transition-delay:100ms}
.mobile-menu.open a:nth-child(3){transition-delay:150ms}
.mobile-menu.open a:nth-child(4){transition-delay:200ms}
.mobile-menu.open a:nth-child(5){transition-delay:250ms}
.mobile-menu a:hover,.mobile-menu a.active{color:var(--light)}

/* ───────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:clamp(.85rem,.25vw + .8rem,1rem) clamp(1.5rem,1.5vw + 1rem,2.25rem);
  font-family:var(--font-body);
  font-size:.8rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  text-decoration:none;cursor:pointer;
  border:1px solid transparent;border-radius:0;
  transition:background var(--dur-base) var(--ease-expo),color var(--dur-base) ease,border-color var(--dur-base) ease,transform var(--dur-base) var(--ease-expo);
}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.btn-primary{background:var(--dark);color:var(--light);border-color:var(--dark)}
.btn-primary:hover{background:var(--dark-mid);border-color:var(--dark-mid);transform:translateY(-1px)}

.btn-outline{background:transparent;color:var(--dark);border-color:rgba(29,34,34,.25)}
.btn-outline:hover{border-color:var(--dark);transform:translateY(-1px)}

.btn-primary-inv{background:var(--light);color:var(--dark);border-color:var(--light)}
.btn-primary-inv:hover{background:var(--white);border-color:var(--white);transform:translateY(-1px)}

.btn-outline-inv{background:transparent;color:var(--light);border-color:rgba(238,238,239,.45)}
.btn-outline-inv:hover{border-color:var(--light);color:var(--light);transform:translateY(-1px)}

.btn-accent{background:var(--accent);color:var(--white);border-color:var(--accent)}
.btn-accent:hover{background:var(--accent-dark);border-color:var(--accent-dark);transform:translateY(-1px)}

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer{background:var(--dark);color:rgba(238,238,239,.75)}
.footer-grid{
  display:grid;grid-template-columns:1fr;
  gap:3rem;padding:clamp(3.5rem,6vw,5.5rem) 0;
}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:3rem}}

.footer h3{
  font-size:.875rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;
  color:rgba(238,238,239,.3);
  margin-bottom:1.25rem;
}
.footer ul{list-style:none;display:flex;flex-direction:column;gap:.625rem}
.footer a{
  font-size:clamp(1.05rem,.15vw + 1rem,1.15rem);
  color:rgba(238,238,239,.72);
  text-decoration:none;
  transition:color var(--dur-base) ease;
}
.footer a:hover{color:var(--accent)}

.footer-address{display:flex;flex-direction:column;gap:.4rem}
.footer-address p,.footer-address a{
  font-size:clamp(1.05rem,.15vw + 1rem,1.15rem);
  color:rgba(238,238,239,.72);
  line-height:1.6;
  text-decoration:none;
  transition:color var(--dur-base) ease;
}
.footer-address a:hover{color:var(--accent)}
.footer-contact-sep{margin-top:.5rem}

.footer-bar{
  border-top:1px solid rgba(238,238,239,.1);
  padding:1.5rem 0;
  display:flex;flex-wrap:wrap;align-items:center;
  justify-content:space-between;gap:1rem;
}
.footer-bar span,.footer-bar a{
  font-size:clamp(.95rem,.1vw + .93rem,1.05rem);
  color:rgba(238,238,239,.38);
}
.footer-bar a{text-decoration:none;transition:color var(--dur-base) ease}
.footer-bar a:hover{color:rgba(238,238,239,.75)}
.footer-meta-row{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.footer-social{display:inline-flex;align-items:center;gap:.875rem}
.footer-social a{
  display:inline-flex;align-items:center;justify-content:center;
  width:1.75rem;height:1.75rem;
  color:rgba(238,238,239,.3);
  transition:color var(--dur-base) ease;
}
.footer-social a:hover{color:var(--accent)}
.footer-social svg{width:1rem;height:1rem;display:block}

.footer .logo img{filter:brightness(0) invert(1)}
.footer-logo{display:inline-flex;align-items:flex-start}
.footer-logo-icon{
  display:block;
  width:clamp(5.5rem,7vw,8rem);
  height:auto;max-width:100%;
}

/* ───────────────────────────────────────────
   PAGE HERO (sub-pages)
─────────────────────────────────────────── */
.page-hero{
  padding:clamp(7.5rem,11vw + 1rem,11rem) 0 clamp(4rem,6vw,5.5rem);
  background:var(--light);
}
.page-hero .overline{margin-bottom:1rem;display:block}
.page-hero-lead{max-width:46rem;margin-top:1.25rem}

/* Accent decorative line */
.hero-accent-line{
  width:3.5rem;height:3px;
  background:linear-gradient(90deg,var(--accent),rgba(139,115,85,0));
  margin-top:2rem;
  animation:lineExpand 1s var(--ease-expo) .4s both;
}
@keyframes lineExpand{from{width:0;opacity:0}to{width:3.5rem;opacity:1}}

/* ───────────────────────────────────────────
   HOME HERO
─────────────────────────────────────────── */
.home-hero-clean{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:clamp(30rem,80vh,52rem);
  padding:clamp(9rem,14vw,13rem) 0 clamp(4.5rem,7vw,6.5rem);
  display:flex;align-items:flex-end;
  background:var(--dark);
}
.home-hero-clean::after{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(115deg,rgba(14,18,18,.8) 0%,rgba(14,18,18,.55) 45%,rgba(14,18,18,.22) 75%,rgba(14,18,18,.5) 100%);
}
.home-hero-clean .container{position:relative;z-index:2}
.home-hero-media{
  position:absolute;inset:0;z-index:0;
  margin:0;width:100%;height:100%;
  overflow:hidden;background:var(--dark);
}
.home-hero-media picture{display:block;width:100%;height:100%}
.home-hero-media img{
  width:100%;height:100%;display:block;
  object-fit:cover;object-position:center 54%;
}
.home-headline-stardom{
  font-family:var(--font-display);
  font-size:clamp(2.9rem,7.6vw,7rem);
  line-height:.95;letter-spacing:-0.02em;font-weight:400;
  color:var(--light);max-width:18ch;
  text-shadow:0 8px 28px rgba(0,0,0,.22);
}
.home-hero-actions{
  margin-top:clamp(1.5rem,2.5vw,2.25rem);
  display:flex;flex-wrap:wrap;gap:.875rem;
}

/* ── Home About ── */
.home-about-clean{position:relative}
.home-about-accent{
  width:3.5rem;height:3px;
  background:linear-gradient(90deg,var(--accent),rgba(139,115,85,0));
  margin-bottom:2rem;
}
.home-about-title{
  font-family:var(--font-display);
  font-size:clamp(2rem,4.5vw,4rem);
  font-weight:400;letter-spacing:-0.02em;line-height:1.1;
  margin-bottom:2rem;
}
@media(max-width:640px){
  .home-about-title{font-size:clamp(1.9rem,9vw,2.9rem);text-wrap:balance}
  .home-hero-clean{min-height:clamp(26rem,92vh,36rem)}
  .home-hero-media img{object-position:center 50%}
}

/* ── Home News ── */
.home-news-clean{background:var(--light)}
.news-tab-bar{
  display:flex;align-items:center;
  border-bottom:1px solid rgba(29,34,34,.14);
  margin-bottom:1.5rem;
}
.news-tab{
  background:transparent;border:none;
  border-bottom:2px solid transparent;
  padding:.875rem .25rem;margin-right:1.25rem;
  font-family:var(--font-body);
  font-size:.72rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);cursor:pointer;
  transition:color var(--dur-base) ease,border-color var(--dur-base) ease;
}
.news-tab.is-active{color:var(--dark);border-bottom-color:var(--accent)}
.news-feed-list{display:grid;grid-template-columns:1fr;gap:1rem}
.news-feed-item{
  background:var(--white);
  border:1px solid var(--border);
  transition:border-color var(--dur-base) ease,box-shadow var(--dur-base) ease;
}
.news-feed-item:hover{border-color:rgba(29,34,34,.2);box-shadow:0 4px 16px rgba(0,0,0,.05)}
.news-feed-item--padded{padding:1.75rem}
@media(min-width:768px){.news-feed-item--padded{padding:2.25rem}}
.news-feed-date{
  font-size:.72rem;color:var(--accent);
  letter-spacing:.12em;text-transform:uppercase;
  font-weight:700;margin-bottom:.75rem;display:block;
}
.news-feed-item h2{
  font-family:var(--font-display);
  font-size:clamp(1.25rem,1.8vw,1.8rem);
  font-weight:400;line-height:1.25;
  margin-bottom:.75rem;color:var(--dark);
  letter-spacing:-0.01em;
}
.news-feed-item p{color:var(--muted);line-height:1.68;margin-bottom:.6rem}
.news-feed-item p:last-child{margin-bottom:0}
.news-feed-item-with-media{display:grid;gap:0;overflow:hidden}
.news-feed-media{margin:0;aspect-ratio:16/9;background:var(--subtle)}
.news-feed-media picture,.news-feed-media img{display:block;width:100%;height:100%;object-fit:cover}
.news-feed-content{padding:1.75rem}
@media(min-width:768px){.news-feed-content{padding:2.25rem}}
@media(min-width:992px){
  .news-feed-item-with-media{grid-template-columns:minmax(18rem,32%) 1fr}
  .news-feed-media{aspect-ratio:auto;height:100%}
}

/* ───────────────────────────────────────────
   CTA SECTION
─────────────────────────────────────────── */
.section-cta{text-align:center}
.cta-overline{display:block;margin-bottom:1rem}
.cta-title{max-width:58rem;margin-left:auto;margin-right:auto}
.cta-lead{max-width:46rem;margin:1.35rem auto 0}
.cta-actions{
  display:flex;flex-wrap:wrap;gap:1rem;
  justify-content:center;margin-top:2.25rem;
}
.cta-actions .btn{min-width:11rem}

/* ───────────────────────────────────────────
   CONTACT PAGE
─────────────────────────────────────────── */
.contact-detail{margin-bottom:1.75rem}
.contact-detail-label{
  display:block;
  font-size:.72rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  color:rgba(107,112,112,.6);
  margin-bottom:.3rem;
}
.contact-detail-value{
  font-size:1rem;text-decoration:none;color:var(--dark);
  transition:color var(--dur-base) ease;
}
a.contact-detail-value:hover{color:var(--accent)}
.cf-feedback{display:none;margin-top:1.5rem;padding:1.25rem;background:var(--light)}

/* ───────────────────────────────────────────
   CONTACT FORM
─────────────────────────────────────────── */
.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}
.form-group label{
  font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);
}
.form-group input,.form-group select,.form-group textarea{
  font-family:var(--font-body);font-size:1rem;
  padding:.875rem 1rem;
  border:1px solid rgba(29,34,34,.12);
  background:var(--white);color:var(--dark);
  transition:border-color var(--dur-base) ease,box-shadow var(--dur-base) ease;
  outline:none;border-radius:0;
  -webkit-appearance:none;appearance:none;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(139,115,85,.1);
}
.form-group textarea{resize:vertical;min-height:8rem}
.form-group select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7070' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;
  padding-right:2.5rem;
}

/* ───────────────────────────────────────────
   ANKAUF PAGE
─────────────────────────────────────────── */
.pdf-top-card{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;
  border:1px solid rgba(29,34,34,.12);
  padding:1.35rem 1.45rem;background:var(--white);
}
.ankauf-quick-list{display:grid;grid-template-columns:1fr;gap:1px;background:var(--border)}
@media(min-width:768px){.ankauf-quick-list{grid-template-columns:repeat(3,1fr)}}
.ankauf-quick-item{background:var(--white);padding:1.5rem 1.75rem}
.ankauf-quick-item h3{margin-bottom:.6rem}

/* ───────────────────────────────────────────
   ÜBER UNS – VALUES
─────────────────────────────────────────── */
.values-item h3{margin-bottom:.65rem}
.section-address address{max-width:28rem}
.section-address h3{margin-bottom:.75rem}
.section-address a{text-decoration:none;transition:color var(--dur-base) ease}
.section-address a:hover{color:var(--accent)}

/* ───────────────────────────────────────────
   PROJECT ACCORDION
─────────────────────────────────────────── */
.project-accordion{display:flex;flex-direction:column;border-top:1px solid var(--border)}
.project-accordion-item{border-bottom:1px solid var(--border);overflow:hidden}
.project-accordion-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:2rem 0;cursor:pointer;
  background:none;border:none;width:100%;text-align:left;
  font-family:inherit;
  transition:padding var(--dur-slow) var(--ease-expo);
  -webkit-tap-highlight-color:transparent;
}
@media(min-width:768px){.project-accordion-header{padding:2.5rem 0}}
.project-accordion-header:hover{padding-left:.5rem}
.project-header-left{display:flex;align-items:center;gap:1.25rem;flex:1;min-width:0}
@media(min-width:768px){.project-header-left{gap:2rem}}
.project-number{
  font-family:var(--font-display);
  font-size:clamp(1.25rem,2vw,1.75rem);
  color:rgba(29,34,34,.1);font-weight:400;
  flex-shrink:0;width:2.5rem;
  transition:color var(--dur-slow) ease;
}
.project-accordion-item.is-open .project-number{color:var(--accent)}
.project-header-info{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.project-header-info h2{
  font-family:var(--font-display);
  font-size:clamp(1.125rem,2vw,1.75rem);
  font-weight:400;color:var(--dark);letter-spacing:-0.01em;
}
.project-header-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.project-accordion-toggle{
  width:2.5rem;height:2.5rem;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.project-accordion-toggle span{
  display:block;position:absolute;background:var(--dark);
  transition:transform var(--dur-slow) var(--ease-expo),opacity var(--dur-base) ease;
}
.project-accordion-toggle span:first-child{width:14px;height:1.5px}
.project-accordion-toggle span:last-child{width:1.5px;height:14px}
.project-accordion-item.is-open .project-accordion-toggle span:last-child{transform:rotate(90deg);opacity:0}
.project-accordion-body{
  max-height:0;overflow:hidden;opacity:0;
  transition:max-height var(--dur-slow) var(--ease-expo),opacity var(--dur-base) ease;
}
.project-accordion-item.is-open .project-accordion-body{max-height:800px;opacity:1}
.project-accordion-content{padding:0 0 2.5rem}
@media(min-width:768px){.project-accordion-content{padding:0 0 3rem 3.75rem}}
@media(min-width:1024px){.project-accordion-content{padding:0 0 3rem 5rem}}
.project-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}
@media(min-width:1024px){.project-detail-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem}}
.project-detail-item{padding:1.25rem;background:var(--light);transition:background var(--dur-base) ease}
.project-detail-item:hover{background:rgba(29,34,34,.06)}
.project-detail-item .overline{margin-bottom:.5rem;display:block}
.project-status{
  display:inline-block;padding:.2rem .65rem;
  font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
}
.status-completed{background:var(--light);color:var(--dark)}
.status-active{background:var(--accent);color:var(--white)}
.status-planned{background:rgba(29,34,34,.05);color:var(--muted)}

/* Project gallery */
.project-image{width:100%;height:clamp(14rem,25vw,22rem);object-fit:cover;display:block;margin-bottom:1.5rem}
.project-gallery{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:1.5rem}
@media(min-width:768px){.project-gallery{grid-template-columns:repeat(2,1fr)}}
.project-gallery img{width:100%;height:clamp(10rem,18vw,16rem);object-fit:cover;display:block}

/* ───────────────────────────────────────────
   PERSON CARDS
─────────────────────────────────────────── */
#organe-cards{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:52rem}
@media(min-width:640px){#organe-cards{grid-template-columns:1fr 1fr}}
.person-card{
  background:var(--white);overflow:hidden;
  border:1px solid var(--border);
  transition:box-shadow var(--dur-slow) var(--ease-expo),border-color var(--dur-base) ease;
}
.person-card.is-open{border-color:rgba(29,34,34,.2);box-shadow:0 8px 32px rgba(29,34,34,.07)}
.person-card-header{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:1rem;padding:1.75rem 1.5rem;
  cursor:pointer;background:none;border:none;
  width:100%;text-align:left;
  font-family:var(--font-body);font-size:1rem;color:var(--dark);
  -webkit-tap-highlight-color:transparent;
  transition:background var(--dur-fast) ease;
}
@media(min-width:640px){.person-card-header{padding:2rem 2.25rem}}
.person-card-header:hover{background:rgba(29,34,34,.016)}
.person-toggle{
  width:2rem;height:2rem;flex-shrink:0;margin-top:.125rem;
  display:flex;align-items:center;justify-content:center;position:relative;
}
.person-toggle span{
  display:block;position:absolute;background:var(--muted);
  transition:transform .4s var(--ease-expo),opacity var(--dur-base) ease;
}
.person-toggle span:first-child{width:12px;height:1.5px}
.person-toggle span:last-child{width:1.5px;height:12px}
.person-card.is-open .person-toggle span:last-child{transform:rotate(90deg);opacity:0}
.person-card-body{max-height:0;overflow:hidden;opacity:0;transition:max-height var(--dur-slow) var(--ease-expo),opacity var(--dur-base) ease}
.person-card.is-open .person-card-body{opacity:1}
.person-card-content{padding:0 1.5rem 1.75rem}
@media(min-width:640px){.person-card-content{padding:0 2.25rem 2rem}}
.person-contact-row{
  display:flex;align-items:center;gap:.875rem;
  padding:.875rem 1rem;background:var(--light);
  color:var(--dark);text-decoration:none;font-size:.9375rem;
  transition:background var(--dur-fast) ease,transform var(--dur-base) var(--ease-expo);
}
.person-contact-row:hover{background:rgba(29,34,34,.06);transform:translateX(3px)}
.person-contact-row svg{width:1rem;height:1rem;flex-shrink:0;color:var(--muted)}
.person-avatar{width:3.5rem;height:3.5rem;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid var(--border)}
@media(min-width:640px){.person-avatar{width:4.5rem;height:4.5rem}}
.person-avatar-fallback{
  width:3.5rem;height:3.5rem;border-radius:50%;flex-shrink:0;
  background:var(--light);display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:1rem;
  color:var(--muted);letter-spacing:.02em;
}
@media(min-width:640px){.person-avatar-fallback{width:4.5rem;height:4.5rem;font-size:1.15rem}}

/* ───────────────────────────────────────────
   UTILITIES
─────────────────────────────────────────── */
.line-grow{width:3rem;height:1px;background:rgba(29,34,34,.15);margin-bottom:1.75rem;transition:width var(--dur-slow) var(--ease-expo)}
.group:hover .line-grow{width:5rem}
.divider-line{height:1px;background:var(--border)}

/* ───────────────────────────────────────────
   TEAM
─────────────────────────────────────────── */
.team-section-header{margin-bottom:clamp(2rem,4vw,3rem)}

.team-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
}
@media(min-width:580px){.team-grid{grid-template-columns:repeat(2,1fr)}}

.team-card{
  cursor:pointer;
  border:1px solid var(--border);
  background:var(--white);
  text-align:left;
  transition:border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
  outline:none;
}
.team-card:hover{
  border-color:var(--border-strong);
  box-shadow:0 6px 24px rgba(29,34,34,.07);
}
.team-card[aria-expanded="true"]{
  border-color:var(--accent);
  box-shadow:0 8px 32px rgba(139,115,85,.12);
}

.team-portrait{
  width:100%;
  aspect-ratio:4/5;
  background:var(--light);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:.75rem;
  pointer-events:none;
}
.team-portrait-icon{
  width:2.75rem;height:2.75rem;
  color:rgba(29,34,34,.18);
  display:block;
}
.team-portrait-label{
  font-size:.65rem;letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(29,34,34,.3);
}

.team-card-content{padding:1.25rem 1.375rem 1.375rem}

.team-card-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.team-card-info{flex:1}
.team-role{
  display:block;
  font-size:.68rem;font-weight:600;
  letter-spacing:.13em;text-transform:uppercase;
  color:var(--accent);
  margin-bottom:.3rem;
}
.team-name{
  font-family:var(--font-display);
  font-size:clamp(1.2rem,1.5vw,1.45rem);
  font-weight:400;
  color:var(--dark);
  line-height:1.2;
}

.team-toggle{
  display:flex;align-items:center;justify-content:center;
  width:1.625rem;height:1.625rem;
  border:1px solid var(--border);
  flex-shrink:0;
  margin-top:.2rem;
  transition:border-color var(--dur-base) ease,background var(--dur-base) ease;
}
.team-toggle svg{
  width:.75rem;height:.75rem;
  color:var(--muted);
  transition:color var(--dur-base) ease,transform var(--dur-slow) var(--ease-expo);
}
.team-card[aria-expanded="true"] .team-toggle{
  border-color:var(--accent);
  background:var(--accent);
}
.team-card[aria-expanded="true"] .team-toggle svg{
  color:var(--white);
  transform:rotate(45deg);
}

.team-card-details{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height var(--dur-slow) var(--ease-expo),opacity var(--dur-base) ease;
}
.team-card[aria-expanded="true"] .team-card-details{
  max-height:220px;
  opacity:1;
}
.team-detail-divider{
  height:1px;background:var(--border);
  margin:1rem 0 1.125rem;
}
.team-detail-links{
  display:flex;flex-direction:column;gap:.5rem;
}
.team-detail-links a{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.9rem;
  color:var(--muted);
  text-decoration:none;
  transition:color var(--dur-base) ease;
}
.team-detail-links a:hover{color:var(--accent)}
.team-detail-links svg{width:.85rem;height:.85rem;flex-shrink:0;opacity:.55}
.team-detail-note{
  font-size:.875rem;color:var(--subtle);
  font-style:italic;
  padding-top:.875rem;
}

/* ───────────────────────────────────────────
   LEGAL PAGES
─────────────────────────────────────────── */
.legal-sections{display:flex;flex-direction:column;gap:3rem}
.legal-block{display:flex;flex-direction:column}
.legal-address{display:flex;flex-direction:column;gap:0.25rem}
.legal-footer{padding-top:1.5rem;border-top:1px solid var(--border)}

/* ───────────────────────────────────────────
   PAGE HERO OVERLINE
─────────────────────────────────────────── */
.page-hero-overline{margin-bottom:0.75rem}

/* ───────────────────────────────────────────
   SCROLL REVEAL
─────────────────────────────────────────── */
.reveal{
  opacity:0;transform:translate3d(0,14px,0);
  transition:opacity .4s var(--ease-quint),transform .4s var(--ease-quint);
  will-change:opacity,transform;
}
.reveal.is-visible{opacity:1;transform:translate3d(0,0,0)}
.reveal-delay-1{transition-delay:60ms}
.reveal-delay-2{transition-delay:120ms}
.reveal-delay-3{transition-delay:180ms}
.reveal-delay-4{transition-delay:240ms}

/* ───────────────────────────────────────────
   PAGE TRANSITIONS
─────────────────────────────────────────── */
body.site-body{opacity:1;transition:opacity var(--dur-base) ease,background-color var(--dur-fast) ease}
body.site-body.is-entering{opacity:0}
body.site-body.is-leaving{opacity:0;pointer-events:none}
body.is-locked{overflow:hidden;touch-action:none}

/* ───────────────────────────────────────────
   REDUCED MOTION
─────────────────────────────────────────── */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  .mobile-menu a{opacity:1 !important;transform:none !important}
  .reveal{opacity:1 !important;transform:none !important}
}

/* ───────────────────────────────────────────
   PRINT
─────────────────────────────────────────── */
@media print{
  .header,.footer,.burger,.mobile-menu,.skip-link{display:none}
  body{font-size:12pt;color:#000}
  .container{max-width:100%;padding:0}
}
