/* ==========================================================================
   Rechtsanwältin Peter Müller — Light Copper Corporate
   Soft copper accent · Outfit / Libre Baskerville
   ========================================================================== */

:root{
  --ink-950:#14110f;
  --ink-900:#1c1917;
  --ink-800:#44403c;
  --ink-600:#78716c;
  --ink-400:#a8a29e;
  --ink-200:#d6d3d1;
  --ink-100:#e7e5e4;
  --ink-50:#fafaf9;
  --white:#ffffff;

  --emerald-700:#1c1917;
  --emerald-600:#292524;
  --emerald-500:#44403c;
  --emerald-100:#e7e5e4;
  --emerald-50:#f5f5f4;

  --gold-500:#d4a574;
  --gold-300:#e4c09a;
  --gold-100:#f3e4d4;
  --gold-50:#faf1e7;

  --petrol-900:#0f3a45;
  --petrol-700:#1e5563;
  --petrol-500:#2f7a87;
  --petrol-100:#dcebec;
  --petrol-50:#eef6f6;

  --sage-600:#5f7f64;
  --sage-100:#e3ece2;

  --cream:#fbf7f2;

  --border:#e7e5e4;
  --shadow-sm:0 1px 2px rgba(28,25,23,.05);
  --shadow-md:0 12px 32px -16px rgba(28,25,23,.2);
  --shadow-lg:0 24px 48px -20px rgba(28,25,23,.28);
  --shadow-btn:0 8px 20px -8px rgba(212,165,116,.45);

  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:20px;
  --radius-pill:10px;

  --font-sans:'Outfit',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --font-display:'Libre Baskerville',ui-serif,Georgia,'Times New Roman',serif;

  --container:1160px;
  --header-h:74px;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:calc(36px + var(--header-h) + 8px);}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--ink-900);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.65;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4,p{margin:0;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;font-size:1rem;}
:focus-visible{outline:2px solid var(--gold-500);outline-offset:3px;}

.skip-link{
  position:absolute;left:16px;top:-48px;z-index:400;
  background:var(--emerald-600);color:#fff;padding:10px 16px;border-radius:var(--radius-sm);
  font-weight:600;font-size:.88rem;
}
.skip-link:focus{top:12px;}

.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

section{padding-block:96px;}
@media (max-width:768px){section{padding-block:64px;}}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold-500);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:18px;height:2px;
  background:var(--gold-500);
  border-radius:2px;
}

.section-head{max-width:640px;margin-bottom:52px;}
.section-head.center{margin-inline:auto;text-align:center;}
.section-head.center .eyebrow{justify-content:center;}
h2.section-title{
  font-family:var(--font-display);
  font-size:clamp(1.9rem,3.4vw,2.75rem);
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.15;
  color:var(--ink-950);
  margin-bottom:14px;
  font-variation-settings:"opsz" 72;
}
.section-title em{font-style:italic;color:var(--gold-500);}
.section-lead{color:var(--ink-600);font-size:1.05rem;line-height:1.7;}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.04em;
  text-transform:none;
  border:1.5px solid transparent;
  box-shadow:none;
  transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s var(--ease);
  white-space:nowrap;
  min-height:48px;
}
.btn,.nav-toggle,.main-nav a.nav-link,.faq-item summary{touch-action:manipulation;}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn-primary{
  background:var(--gold-500);
  color:var(--white);
  box-shadow:var(--shadow-btn);
}
.btn-primary:hover{
  background:#c48a5a;
  box-shadow:0 12px 28px -10px rgba(212,165,116,.5);
}
.btn-outline{
  border-color:var(--ink-200);
  color:var(--ink-900);
  background:var(--white);
}
.btn-outline:hover{
  border-color:var(--gold-500);
  color:var(--gold-500);
  background:rgba(212,165,116,.05);
}
.btn-light{
  background:var(--white);
  color:var(--emerald-600);
  border-color:transparent;
}
.btn-light:hover{
  background:var(--gold-100);
  color:var(--emerald-700);
  box-shadow:var(--shadow-sm);
}
.btn-ghost-light{
  border-color:rgba(255,255,255,.4);
  color:var(--white);
  background:rgba(255,255,255,.08);
}
.btn-ghost-light:hover{
  border-color:#fff;
  background:rgba(255,255,255,.12);
}
.btn-sm{padding:10px 18px;font-size:.78rem;min-height:42px;}
.btn-block{width:100%;}
.header-actions .btn-primary{
  background:var(--petrol-700);
  color:var(--white);
  box-shadow:none;
}
.header-actions .btn-primary:hover{
  background:var(--gold-500);
}
/* ---------------- Top bar + Header ---------------- */
.topbar{
  background:var(--ink-950);
  color:rgba(255,255,255,.7);
  font-size:.74rem;
  letter-spacing:.02em;
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:34px;padding-block:6px;
}
.topbar span,.topbar a{display:inline-flex;align-items:center;gap:7px;}
.topbar .icon{width:13px;height:13px;}
.topbar a:hover{color:#fff;}
.topbar-meta{display:flex;align-items:center;gap:22px;flex:none;}
@media (max-width:820px){
  .topbar-inner > span:first-child{display:none;}
  .topbar-inner{justify-content:flex-end;}
}

.site-chrome{
  position:sticky;top:0;z-index:100;
  overflow:visible;
}
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  transition:box-shadow .25s ease;
  overflow:visible;
}
.site-chrome.is-scrolled .site-header{
  box-shadow:0 8px 28px -18px rgba(28,25,23,.28);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h);max-width:1400px;gap:16px;
  overflow:visible;
}
.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:1.02rem;color:var(--ink-950);white-space:nowrap;flex:none;}
.brand-mark{
  width:42px;height:42px;border-radius:10px;
  background:var(--ink-950);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-300);font-family:var(--font-display);font-weight:600;font-size:1.05rem;
  flex:none;
  letter-spacing:.02em;
}
.brand small{display:block;font-weight:500;font-size:.62rem;color:var(--ink-400);letter-spacing:.12em;text-transform:uppercase;margin-top:2px;}

.main-nav{display:flex;align-items:center;gap:0;min-width:0;}
.main-nav > ul{display:flex;align-items:center;gap:2px;flex-wrap:nowrap;}
.main-nav a.nav-link{
  padding:10px 12px;border-radius:var(--radius-sm);font-size:.84rem;font-weight:500;color:var(--ink-800);
  display:flex;align-items:center;gap:4px;white-space:nowrap;
  position:relative;
  transition:color .2s ease,background .2s ease;
}
.main-nav a.nav-link:hover{color:var(--gold-500);background:rgba(212,165,116,.06);}
.main-nav li.active > a.nav-link{color:var(--ink-950);font-weight:600;}
.main-nav li.active > a.nav-link::after{
  content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;background:var(--gold-500);border-radius:2px;
}

.has-dropdown{position:relative;}
.dropdown{
  position:absolute;top:100%;left:0;z-index:220;
  min-width:248px;max-width:min(320px,calc(100vw - 32px));
  max-height:min(70vh,520px);overflow-x:hidden;overflow-y:auto;
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:0 18px 40px -14px rgba(28,25,23,.28);
  padding:8px;opacity:0;visibility:hidden;transform:translateY(4px);
  pointer-events:none;
  transition:opacity .18s var(--ease),transform .18s var(--ease),visibility .18s;
}
.dropdown::before{
  content:"";position:absolute;left:0;right:0;top:-14px;height:14px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown,
.has-dropdown.open > .dropdown{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0);
  pointer-events:auto;
}
.main-nav > ul > li.has-dropdown:nth-last-child(-n+3) > .dropdown{
  left:auto;right:0;
}
.dropdown a{display:flex;flex-direction:column;padding:10px 12px;border-radius:8px;font-size:.86rem;color:var(--ink-800);white-space:normal;transition:background .15s ease,color .15s ease;}
.dropdown a:hover,.dropdown a:focus-visible{background:var(--emerald-50);color:var(--gold-500);}
.dropdown a span.d-sub{font-size:.76rem;color:var(--ink-400);font-weight:400;}
.has-dropdown > a.nav-link .nav-caret{
  width:12px;height:12px;flex:none;transition:transform .2s ease;
  stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
.has-dropdown.is-open > a.nav-link .nav-caret,
.has-dropdown:hover > a.nav-link .nav-caret{transform:rotate(180deg);}
@media (hover:none){
  .has-dropdown:hover > .dropdown{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);}
  .has-dropdown.is-open > .dropdown{opacity:1 !important;visibility:visible !important;pointer-events:auto;transform:translateY(0);}
}

.header-actions{display:flex;align-items:center;gap:10px;flex:none;}
.header-phone{font-size:.84rem;font-weight:600;color:var(--ink-800);display:flex;align-items:center;gap:6px;white-space:nowrap;}
.nav-toggle{
  display:none;background:none;border:1px solid var(--border);border-radius:var(--radius-sm);
  width:44px;height:44px;align-items:center;justify-content:center;flex:none;cursor:pointer;
}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{
  content:"";display:block;width:18px;height:1.5px;background:var(--ink-900);position:relative;transition:.2s;
}
.nav-toggle span::before{position:absolute;top:-6px;}
.nav-toggle span::after{position:absolute;top:6px;}
.nav-toggle[aria-expanded="true"] span{background:transparent;}
.nav-toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg);}
.nav-toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg);}

@media (max-width:1100px){
  .header-phone{display:none;}
}

@media (max-width:960px){
  .main-nav{
    position:fixed;top:calc(34px + var(--header-h));left:0;right:0;bottom:0;height:calc(100dvh - 34px - var(--header-h));z-index:99;
    background:var(--white);flex-direction:column;align-items:stretch;padding:16px 20px 40px;
    overflow-y:auto;display:none;
    border-top:1px solid var(--border);
  }
  .main-nav.open{display:flex;}
  .main-nav > ul{flex-direction:column;align-items:stretch;gap:2px;flex-wrap:wrap;}
  .main-nav a.nav-link{padding:14px 10px;font-size:.95rem;min-height:44px;}
  .dropdown{
    position:static;box-shadow:none;border:none;opacity:1;visibility:visible;transform:none;
    display:none;padding:4px 0 8px 14px;background:transparent;pointer-events:auto;
    max-height:none;overflow:visible;min-width:0;max-width:none;
  }
  .dropdown::before{display:none;}
  .has-dropdown.open .dropdown,
  .has-dropdown.is-open .dropdown{display:flex;flex-direction:column;}
  .has-dropdown > a.nav-link .nav-caret{margin-left:auto;}
  .nav-toggle{display:flex;}
}

/* ---------------- Hero (modern corporate) ---------------- */
.hero{
  position:relative;
  padding:0;
  min-height:min(88vh,800px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  color:#fff;
  background:var(--ink-950);
}
.hero-plane{position:absolute;inset:0;z-index:0;}
.hero-plane img{
  width:100%;height:100%;object-fit:cover;object-position:center 28%;
}
.hero-plane::after{
  content:"";position:absolute;inset:0;
  background:rgba(20,17,15,.45);
}
.hero-wash{
  position:absolute;inset:0;z-index:0;
  background:linear-gradient(135deg,#1c1917,#1e293b);
}
.hero-scrim{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(105deg, rgba(15,58,69,.92) 0%, rgba(20,40,46,.72) 48%, rgba(28,25,23,.3) 100%),
    linear-gradient(180deg, rgba(28,25,23,.15) 0%, transparent 42%, rgba(28,25,23,.78) 100%);
  pointer-events:none;
}
.hero-scrim::after{
  content:"";
  position:absolute;left:0;bottom:0;width:100%;height:1px;
  background:linear-gradient(90deg,var(--gold-500),transparent 55%);
}
.hero-grid{
  position:relative;z-index:2;
  padding-block:clamp(96px,13vh,140px) 56px;
  max-width:var(--container);
}
.hero-content{max-width:640px;}
.hero-kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-300);margin-bottom:18px;
}
.hero-kicker::before{
  content:"";width:20px;height:2px;background:var(--gold-500);border-radius:2px;
}
.hero-brand{
  font-family:var(--font-display);
  font-size:clamp(2.8rem,6vw,4.2rem);
  font-weight:600;
  letter-spacing:-.03em;
  color:#fff;
  margin-bottom:10px;
  line-height:1.02;
  font-variation-settings:"opsz" 96;
}
.hero h1{
  font-family:var(--font-sans);
  font-size:.88rem;
  line-height:1.4;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:500;
  color:rgba(255,255,255,.62);
  margin-bottom:22px;
}
.hero h1 em{font-style:normal;color:var(--gold-300);}
.hero p.lead{
  font-size:1.05rem;line-height:1.72;
  color:rgba(255,255,255,.78);
  margin-bottom:30px;
  max-width:520px;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:30px;}
.hero-cta .btn-primary{
  background:var(--gold-500);
  color:#fff;
  box-shadow:0 10px 28px -10px rgba(212,165,116,.55);
}
.hero-cta .btn-primary:hover{background:#c48a5a;}
.hero-cta .btn-ghost-light{border-radius:var(--radius-sm);}
.hero-trust{
  display:flex;align-items:baseline;gap:14px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  max-width:380px;
}
.hero-trust b{
  font-family:var(--font-display);
  font-size:1.25rem;font-weight:600;color:var(--gold-300);
}
.hero-trust span{font-size:.8rem;color:rgba(255,255,255,.6);}
.hero-badges{
  position:relative;z-index:2;
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--border);
  padding-block:16px;
  color:var(--ink-900);
}
.hero-badges .badge-row{margin:0;justify-content:flex-start;gap:8px;}
.hero-badges .pill{
  background:var(--emerald-50);
  border:1px solid var(--border);
  color:var(--ink-800);
  border-radius:999px;
  padding:8px 14px;
}
.hero-badges .pill svg{color:var(--gold-500);}

.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--white);border:1px solid var(--border);
  padding:8px 12px;border-radius:999px;font-size:.74rem;font-weight:500;color:var(--ink-800);
}
.pill svg{width:14px;height:14px;color:var(--gold-500);}

@media (max-width:900px){
  .hero{min-height:min(82vh,720px);}
  .hero-grid{padding-block:72px 40px;}
  .hero-content{max-width:none;}
  .hero-scrim{
    background:linear-gradient(180deg, rgba(15,58,69,.45) 0%, rgba(15,58,69,.82) 45%, rgba(20,30,34,.95) 100%);
  }
}

/* Page header (interior pages) */
.page-header{
  position:relative;
  background:linear-gradient(120deg, var(--petrol-900) 0%, var(--petrol-700) 60%, #2a4f57 100%);
  padding-block:64px 56px;
  color:#fff;
  overflow:hidden;
}
.page-header::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(212,165,116,.35), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.14));
  pointer-events:none;
}
.page-header .container{position:relative;z-index:1;}
.breadcrumb{font-size:.78rem;color:rgba(255,255,255,.55);margin-bottom:18px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.breadcrumb a{color:rgba(255,255,255,.55);}
.breadcrumb a:hover{color:#fff;}
.page-header h1{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(2rem,4vw,3rem);letter-spacing:-.02em;line-height:1.12;color:#fff;margin-bottom:14px;
}
.page-header p.lead{color:rgba(255,255,255,.75);font-size:1.04rem;max-width:640px;}
.page-header .hero-cta{margin-top:26px;}

/* ---------------- Stats strip ---------------- */
.stats-strip{
  background:linear-gradient(120deg,var(--petrol-900),var(--petrol-700));
  color:#fff;
  padding-block:48px;
  position:relative;
}
.stats-strip::before{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--gold-500) 20%,var(--gold-300) 50%,var(--gold-500) 80%,transparent);
}
.stats-strip .stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:left;}
@media (max-width:768px){.stats-strip .stats-grid{grid-template-columns:repeat(2,1fr);gap:28px 20px;}}
.stats-strip .stat{padding-left:20px;border-left:1px solid rgba(255,255,255,.12);}
.stats-strip .stat:first-child{border-left:none;padding-left:0;}
@media (max-width:768px){.stats-strip .stat:nth-child(2n+1){border-left:none;padding-left:0;}}
.stats-strip .stat b{
  display:block;font-family:var(--font-display);font-weight:600;
  font-size:clamp(1.7rem,3vw,2.35rem);color:var(--gold-300);margin-bottom:6px;letter-spacing:-.02em;
}
.stats-strip .stat span{font-size:.76rem;color:rgba(255,255,255,.62);letter-spacing:.1em;text-transform:uppercase;}

/* ---------------- Feature pills ---------------- */
.feature-row{
  display:flex;flex-wrap:nowrap;gap:8px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  padding-bottom:4px;margin-bottom:-4px;
}
.feature-row::-webkit-scrollbar{display:none;}
.feature-chip{
  flex:none;white-space:nowrap;
  display:flex;align-items:center;gap:6px;background:var(--white);
  border:1px solid var(--border);color:var(--emerald-600);
  padding:8px 16px;border-radius:var(--radius-sm);font-size:.78rem;font-weight:500;
}
.feature-chip svg{flex:none;color:var(--gold-500);}
@media (max-width:640px){
  .feature-row{
    mask-image:linear-gradient(90deg,#000 92%,transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,#000 92%,transparent 100%);
  }
}

/* ---------------- Grids & cards ---------------- */
.grid{display:grid;gap:20px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:960px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.card{
  position:relative;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:28px 26px 26px;
  overflow:hidden;
  transition:box-shadow .25s var(--ease),transform .25s var(--ease),border-color .2s ease;
}
.card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--gold-500),var(--petrol-500));
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .35s var(--ease);
  border-radius:var(--radius-md) 0 0 var(--radius-md);
}
.card:hover{
  box-shadow:var(--shadow-md);
  transform:translateY(-3px);
  border-color:rgba(212,165,116,.25);
}
.card:hover::before{transform:scaleY(1);}
.card-icon{
  width:48px;height:48px;border-radius:var(--radius-md);
  background:var(--gold-100);
  color:#b07542;
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.grid > :nth-child(3n+2) .card-icon:not(.logo-icon){background:var(--petrol-100);color:var(--petrol-700);}
.grid > :nth-child(3n+3) .card-icon:not(.logo-icon){background:var(--sage-100);color:var(--sage-600);}
.card h3{font-family:var(--font-display);font-size:1.2rem;font-weight:600;margin-bottom:10px;color:var(--ink-950);}
.card p{color:var(--ink-600);font-size:.93rem;}
.card a.card-link,.card .card-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:.82rem;font-weight:600;color:var(--petrol-700);letter-spacing:.04em;}
.card:hover .card-link{color:#b07542;}

.card.center{text-align:center;}
.card.center .card-icon{margin-inline:auto;}
.card.center::before{left:0;right:0;top:0;bottom:auto;width:100%;height:2px;transform:scaleX(0);transform-origin:left;}
.card.center:hover::before{transform:scaleX(1);}
.card-icon.logo-icon{background:#fff;border:1px solid var(--border);width:64px;height:64px;padding:8px;}
.card-icon.logo-icon img{max-width:100%;max-height:100%;object-fit:contain;}

.list-card{
  background:var(--white);border:1px solid var(--border);
  border-left:3px solid var(--petrol-500);
  border-radius:var(--radius-md);padding:28px;
}
.list-card h3{font-weight:600;margin-bottom:14px;color:var(--ink-950);display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:1.18rem;}
.list-card ul{display:flex;flex-direction:column;gap:9px;}
.list-card li{display:flex;gap:10px;font-size:.92rem;color:var(--ink-600);}
.list-card li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--emerald-600);margin-top:9px;flex:none;}

.check-list{display:flex;flex-direction:column;gap:14px;}
.check-list li{display:flex;gap:12px;font-size:.96rem;color:var(--ink-800);align-items:flex-start;}
.check-icon{
  flex:none;width:24px;height:24px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
.check-icon.warn{background:var(--gold-100);color:var(--gold-500);}
.check-icon.ok{background:var(--sage-100);color:var(--sage-600);}

.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.split.split-top{align-items:start;}
@media (max-width:820px){.split{grid-template-columns:1fr;}}
.split .panel{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);padding:32px;}
.split .panel h3{font-family:var(--font-display);font-size:1.3rem;font-weight:600;margin-bottom:18px;color:var(--ink-950);}

.media-frame{
  margin:0;border-radius:var(--radius-md);overflow:hidden;
  box-shadow:var(--shadow-lg);
  position:relative;
}
.media-frame::after{
  content:"";position:absolute;inset:0;
  box-shadow:inset 0 0 0 1px rgba(18,23,20,.08);
  pointer-events:none;
}
.media-frame img{width:100%;height:100%;object-fit:cover;display:block;}

/* ---------------- Process / timeline ---------------- */
.process{position:relative;}
.process-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px;position:relative;}
@media (max-width:960px){.process-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.process-grid{grid-template-columns:1fr;}}
.process-grid::before{
  content:"";position:absolute;top:27px;left:6%;right:6%;height:1px;
  background:linear-gradient(90deg,var(--gold-300),var(--petrol-500),var(--sage-600));
}
@media (max-width:960px){.process-grid::before{display:none;}}
.process-step{position:relative;}
.step-num{
  width:54px;height:54px;border-radius:50%;
  background:var(--gold-500);
  border:4px solid var(--cream);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:600;font-size:1.2rem;
  margin-bottom:18px;position:relative;z-index:1;
  box-shadow:0 0 0 1px var(--gold-300);
}
.process-step:nth-child(3n+2) .step-num{background:var(--petrol-500);box-shadow:0 0 0 1px var(--petrol-500);}
.process-step:nth-child(3n+3) .step-num{background:var(--sage-600);box-shadow:0 0 0 1px var(--sage-600);}
.process-step h4{font-size:1.02rem;font-weight:600;margin-bottom:8px;color:var(--ink-950);font-family:var(--font-display);}
.process-step p{font-size:.9rem;color:var(--ink-600);}

/* ---------------- Values / milestones ---------------- */
.milestones{display:flex;flex-direction:column;}
.milestone{display:grid;grid-template-columns:110px 1fr;gap:22px;padding-block:20px;border-top:1px solid var(--border);}
.milestone:last-child{border-bottom:1px solid var(--border);}
.milestone b{font-family:var(--font-display);color:var(--petrol-700);font-size:1.3rem;}
.milestone h4{font-size:1rem;font-weight:600;margin-bottom:4px;}
.milestone p{font-size:.9rem;color:var(--ink-600);}

/* ---------------- Team ---------------- */
.team-card{
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;
  transition:box-shadow .25s var(--ease),transform .25s var(--ease),border-color .2s ease;
  display:flex;flex-direction:column;
}
.team-body{flex:1;display:flex;flex-direction:column;}
.team-body .tag-row{margin-top:auto;}
.team-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:rgba(212,165,116,.25);}
.team-photo{aspect-ratio:4/5;overflow:hidden;background:linear-gradient(160deg,var(--emerald-700),var(--emerald-500));}
.team-photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%;transition:transform .6s var(--ease);}
.team-card:hover .team-photo img{transform:scale(1.04);}
.team-body{padding:22px;}
.team-body h3{font-family:var(--font-display);font-size:1.25rem;font-weight:700;margin-bottom:4px;color:var(--ink-900);}
.team-body p{color:var(--ink-600);font-size:.92rem;line-height:1.6;margin-bottom:14px;}
.team-role{color:var(--gold-500);font-size:.74rem;font-weight:600;margin-bottom:12px;display:block;letter-spacing:.1em;text-transform:uppercase;hyphens:auto;overflow-wrap:anywhere;}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;}
.tag{display:inline-block;padding:5px 10px;border-radius:6px;background:var(--gold-100);color:var(--ink-800);font-size:.72rem;font-weight:600;letter-spacing:.02em;}
.grid-1 .team-card{margin-inline:auto;max-width:380px;}
.photo-wide{margin:0 auto;max-width:1100px;border-radius:var(--radius-lg,18px);overflow:hidden;background:#fff;box-shadow:var(--shadow-md);border:1px solid rgba(212,165,116,.25);}
.photo-wide img{display:block;width:100%;height:auto;}
.photo-wide figcaption{padding:14px 20px;font-size:.9rem;color:var(--ink-600);text-align:center;border-top:3px solid var(--gold-300);}
.team-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;}
.team-grid > .team-card{flex:0 0 calc((100% - 60px) / 4);}
@media (max-width:960px){.team-grid > .team-card{flex-basis:calc((100% - 20px) / 2);}}
@media (max-width:640px){.team-grid > .team-card{flex-basis:100%;}}
/* ---------------- Legal / Impressum ---------------- */
section.legal-section{padding-block:0;}
.page-header + section.legal-section{padding-top:40px;}
.page-header ~ section.legal-section:last-of-type{padding-bottom:72px;}
.legal-wrap{max-width:760px;}
.legal-prose{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px 30px;
  margin-bottom:14px;
  box-shadow:var(--shadow-sm);
}
.legal-prose h2{
  font-family:var(--font-display);
  font-size:1.15rem;
  font-weight:700;
  color:var(--ink-950);
  margin:0 0 12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--border);
  letter-spacing:-.01em;
}
.legal-prose > *:first-child:not(h2){margin-top:0;}
.legal-prose p{
  margin:0 0 8px;
  color:var(--ink-700);
  font-size:.95rem;
  line-height:1.65;
}
.legal-prose p:last-child{margin-bottom:0;}
.legal-prose a{color:var(--gold-500);text-decoration:underline;text-underline-offset:2px;}
.legal-prose a:hover{color:var(--ink-900);}
@media (max-width:768px){
  .page-header + section.legal-section{padding-top:28px;}
  .page-header ~ section.legal-section:last-of-type{padding-bottom:48px;}
  .legal-prose{padding:20px 18px;}
}
.prose ul{margin:0 0 14px;display:flex;flex-direction:column;gap:8px;}
.prose li{color:var(--ink-600);font-size:.98rem;display:flex;gap:10px;}
.prose li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--emerald-600);margin-top:9px;flex:none;}
.prose strong{color:var(--ink-900);}
.meta-box{background:var(--emerald-50);border:1px solid var(--emerald-100);border-radius:var(--radius-md);padding:22px 26px;margin-bottom:32px;font-size:.92rem;color:var(--ink-700);}
.meta-box b{color:var(--ink-950);}

.job-card{
  border:1px solid var(--border);background:var(--white);border-radius:var(--radius-md);padding:26px 28px;
  display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.job-card:hover{border-color:rgba(212,165,116,.3);box-shadow:var(--shadow-sm);}
.job-card + .job-card{margin-top:14px;}
.job-card h3{font-size:1.12rem;font-weight:600;margin-bottom:6px;font-family:var(--font-display);}
.job-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:.82rem;color:var(--ink-400);}
.job-meta span{display:flex;align-items:center;gap:5px;}

/* ---------------- Footer ---------------- */
.site-footer{
  background:linear-gradient(180deg,var(--petrol-900) 0%,#0b2b33 100%);
  color:var(--ink-200);padding-top:72px;
  border-top:3px solid var(--gold-500);
}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:32px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08);}
@media (max-width:900px){.footer-top{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-top{grid-template-columns:1fr;}}
.footer-brand .brand{color:#fff;margin-bottom:14px;}
.footer-brand .brand-mark{background:var(--gold-500);color:var(--petrol-900);}
.footer-brand p{font-size:.88rem;color:var(--ink-200);max-width:280px;margin-bottom:18px;}
.footer-contact{display:flex;flex-direction:column;gap:8px;font-size:.86rem;}
.footer-contact a{color:var(--ink-200);}
.footer-contact a:hover{color:#fff;}
.footer-col h5{color:#fff;font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px;}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{font-size:.86rem;color:var(--ink-200);transition:color .15s ease;}
.footer-col a:hover{color:var(--gold-300);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding-block:24px;font-size:.8rem;color:var(--ink-400);}
.cert-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
.cert-badge{display:inline-flex;align-items:center;height:36px;padding:0 14px;background:#fff;border-radius:var(--radius-sm);}
.cert-badge img{height:18px;width:auto;display:block;}
.cert-badge.cert-tuv img{height:26px;}
.cert-badge.cert-bdiu img{height:14px;}
.footer-legal{display:flex;gap:18px;flex-wrap:wrap;}

/* ---------------- Testimonials ---------------- */
.testimonial{
  position:relative;
  background:var(--white);
  border:1px solid var(--border);
  border-top:3px solid var(--gold-500);
  border-radius:var(--radius-md);
  padding:28px 26px 24px;
  display:flex;flex-direction:column;gap:16px;
  box-shadow:var(--shadow-sm);
}
.grid > .testimonial:nth-child(3n+2){border-top-color:var(--petrol-500);}
.grid > .testimonial:nth-child(3n+3){border-top-color:var(--sage-600);}
.testimonial::after{
  content:"\201C";position:absolute;right:20px;top:6px;
  font-family:var(--font-display);font-size:4.5rem;line-height:1;color:var(--gold-100);
  pointer-events:none;
}
.stars{display:flex;gap:3px;color:var(--gold-500);}
.stars .icon{width:16px;height:16px;fill:currentColor;stroke:none;}
.testimonial p{color:var(--ink-800);font-size:.95rem;line-height:1.7;flex:1;}
.testimonial footer{display:flex;flex-direction:column;padding-top:14px;border-top:1px solid var(--border);}
.testimonial footer b{font-size:.92rem;color:var(--ink-950);}
.testimonial footer span{font-size:.8rem;color:var(--petrol-500);}

/* ---------------- FAQ ---------------- */
.faq-list{max-width:780px;display:flex;flex-direction:column;gap:10px;}
.faq-item{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.faq-item[open]{border-color:var(--petrol-100);box-shadow:var(--shadow-sm);}
.faq-item summary{
  list-style:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:18px 22px;
  font-weight:600;font-size:.98rem;color:var(--ink-950);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+";flex:none;
  width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--petrol-100);color:var(--petrol-700);
  font-size:1.1rem;font-weight:500;
  transition:transform .2s ease,background .2s ease;
}
.faq-item[open] summary::after{content:"\2013";background:var(--gold-500);color:#fff;}
.faq-item summary:hover{color:var(--petrol-700);}
.faq-body{padding:0 22px 20px;color:var(--ink-600);font-size:.94rem;line-height:1.7;}

/* ---------------- CTA banner ---------------- */
.cta-banner{
  position:relative;overflow:hidden;
  display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;
  padding:48px 52px;
  border-radius:var(--radius-lg);
  color:#fff;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(212,165,116,.45), transparent 60%),
    linear-gradient(120deg,var(--petrol-900),var(--petrol-700));
  box-shadow:var(--shadow-lg);
}
.cta-banner h2{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2rem);font-weight:700;margin-bottom:10px;color:#fff;}
.cta-banner p{color:rgba(255,255,255,.8);max-width:560px;font-size:.98rem;}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;}
.cta-banner .btn-light{background:var(--gold-500);color:#fff;}
.cta-banner .btn-light:hover{background:#fff;color:var(--petrol-900);}
@media (max-width:640px){.cta-banner{padding:34px 24px;}}

/* ---------------- Contact ---------------- */
.contact-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px;align-items:start;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.info-card{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);
  padding:22px;margin-bottom:14px;
}
.info-icon{
  flex:none;width:46px;height:46px;border-radius:var(--radius-md);
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-100);color:#b07542;
}
.info-card:nth-child(2) .info-icon{background:var(--petrol-100);color:var(--petrol-700);}
.info-card:nth-child(3) .info-icon{background:var(--sage-100);color:var(--sage-600);}
.info-card h4{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-600);margin-bottom:4px;font-weight:600;}
.info-card a{font-weight:600;color:var(--petrol-700);word-break:break-word;}
.info-card a:hover{color:#b07542;}
.info-card p{font-size:.88rem;color:var(--ink-600);margin-top:2px;}
.form-panel{
  background:var(--white);border:1px solid var(--border);border-top:3px solid var(--petrol-500);
  border-radius:var(--radius-md);padding:32px;box-shadow:var(--shadow-sm);
}
.contact-form{display:flex;flex-direction:column;gap:16px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:560px){.form-row{grid-template-columns:1fr;}.form-panel{padding:22px;}}
.field{display:flex;flex-direction:column;gap:6px;}
.field label{font-size:.8rem;font-weight:600;color:var(--ink-800);}
.field input,.field select,.field textarea{
  width:100%;padding:12px 14px;
  border:1px solid var(--ink-200);border-radius:var(--radius-sm);
  background:var(--cream);color:var(--ink-900);
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.field textarea{resize:vertical;min-height:130px;}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;background:#fff;border-color:var(--petrol-500);
  box-shadow:0 0 0 3px rgba(47,122,135,.15);
}
.field-check{display:flex;gap:10px;align-items:flex-start;font-size:.86rem;color:var(--ink-600);}
.field-check input{margin-top:3px;accent-color:var(--petrol-700);}
.field-check a{color:var(--petrol-700);font-weight:600;text-decoration:underline;text-underline-offset:2px;}
.form-error{background:#fdecea;color:#9b2c2c;border:1px solid #f5c2c0;border-radius:var(--radius-sm);padding:12px 14px;margin-bottom:16px;font-size:.9rem;}

/* ---------------- Color accents ---------------- */
.tag-row .tag:nth-child(3n+2){background:var(--petrol-100);color:var(--petrol-900);}
.tag-row .tag:nth-child(3n+3){background:var(--sage-100);color:#3f5a44;}
.hero-badges .pill:nth-child(3n+2) svg{color:var(--petrol-500);}
.hero-badges .pill:nth-child(3n+3) svg{color:var(--sage-600);}
.section-head.center .section-title::after{
  content:"";display:block;width:56px;height:3px;margin:16px auto 0;border-radius:3px;
  background:linear-gradient(90deg,var(--gold-500),var(--petrol-500));
}
.prose a{color:var(--petrol-700);text-decoration:underline;text-underline-offset:2px;}
.prose li::before{background:var(--gold-500);}
.list-card li::before{background:var(--petrol-500);}

/* ---------------- Misc ---------------- */
.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.bg-alt{background:var(--petrol-50);}
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.divider{height:1px;background:var(--border);margin-block:0;}

/* ---------------- Reveal motion ---------------- */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s var(--ease),transform .7s var(--ease);
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}
.hero .reveal{opacity:0;transform:translateY(22px);}
.hero .reveal.is-visible{opacity:1;transform:none;transition-delay:.12s;}
/* Fail-safe: content stays readable if JS is delayed/blocked */
@media (scripting: none){
  .reveal,.hero .reveal{opacity:1;transform:none;}
}

/* ---------------- Site modal (phone notice) ---------------- */
.site-modal{
  position:fixed;inset:0;z-index:300;
  display:flex;align-items:center;justify-content:center;
  padding:24px;
}
.site-modal[hidden]{display:none !important;}
.site-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(14,21,32,.7);
}
.site-modal-dialog{
  position:relative;z-index:1;
  width:min(100%,520px);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  padding:32px 30px 28px;
  animation:modal-in .35s var(--ease) both;
}
.site-modal-dialog::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--gold-500),var(--gold-300));
  border-radius:var(--radius-md) 0 0 var(--radius-md);
}
.site-modal-actions .btn-primary{
  background:var(--emerald-600);
  color:var(--white);
  box-shadow:var(--shadow-btn);
}
.site-modal-actions .btn-outline{border-radius:var(--radius-sm);}
.site-modal-close{
  position:absolute;top:12px;right:12px;
  width:40px;height:40px;border:none;background:transparent;
  color:var(--ink-400);font-size:1.6rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius-sm);cursor:pointer;
}
.site-modal-close:hover{color:var(--ink-900);background:var(--ink-50);}
.site-modal-eyebrow{
  font-size:.7rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--emerald-600);margin-bottom:10px;
}
.site-modal-dialog h2{
  font-family:var(--font-display);font-size:clamp(1.35rem,2.4vw,1.7rem);
  font-weight:600;line-height:1.25;color:var(--ink-950);margin-bottom:16px;
  padding-right:28px;
}
.site-modal-body p{color:var(--ink-600);font-size:.95rem;line-height:1.65;margin:0 0 12px;}
.site-modal-body p:last-child{margin-bottom:0;}
.site-modal-actions{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;
}
.site-modal-actions .btn{min-height:44px;}
body.modal-open{overflow:hidden;}
@keyframes modal-in{
  from{opacity:0;transform:translateY(14px) scale(.98);}
  to{opacity:1;transform:none;}
}
@media (max-width:560px){
  .site-modal{padding:16px;align-items:flex-end;}
  .site-modal-dialog{padding:26px 20px 20px;width:100%;}
  .site-modal-actions{flex-direction:column;}
  .site-modal-actions .btn{width:100%;}
}

/* ---------------- Cookie banner ---------------- */
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:200;
  background:var(--ink-950);
  box-shadow:var(--shadow-lg);
  border:1px solid rgba(154,123,69,.35);
  border-radius:var(--radius-md);
  max-width:1180px;margin-inline:auto;
}
.cookie-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:18px 22px;}
.cookie-banner-inner p{font-size:.86rem;line-height:1.5;color:var(--ink-200);margin:0;flex:1 1 420px;}
.cookie-banner-inner a{color:var(--gold-300);text-decoration:underline;}
.cookie-banner-actions{display:flex;gap:10px;flex:none;}
.cookie-banner-actions .btn-primary{
  background:var(--emerald-600);
  color:var(--white);
  box-shadow:var(--shadow-btn);
}
.cookie-banner-actions .btn-primary:hover{background:var(--emerald-500);}
.cookie-banner-actions .btn-ghost-light,
.cookie-banner-actions .btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.35);
  background:transparent;
}
.cookie-banner-actions .btn-ghost-light:hover,
.cookie-banner-actions .btn-outline:hover{
  background:rgba(255,255,255,.1);
  border-color:#fff;
  color:#fff;
}
@media (max-width:640px){
  .cookie-banner{left:10px;right:10px;bottom:10px;}
  .cookie-banner-inner{flex-direction:column;align-items:stretch;gap:14px;}
  .cookie-banner-inner p{flex:none;}
  .cookie-banner-actions{justify-content:stretch;}
  .cookie-banner-actions .btn{flex:1;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;}
  .btn:hover,.card:hover,.team-card:hover{transform:none;}
  .reveal,.hero .reveal{opacity:1;transform:none;}
  .site-modal-dialog{animation:none;}
}
