/* ==========================================================================
   LHG – Land & Giebels · Design System
   AXA Regionalvertretung · lhg-versichert.de
   ========================================================================== */

/* ----------  Design Tokens  ---------- */
:root {
  /* Brand */
  --navy:        #00008f;   /* LHG website blue          */
  --navy-deep:   #000066;   /* deeper ink blue           */
  --navy-700:    #2a2ab0;   /* lighter blue accent       */
  --red:         #e52c2e;   /* LHG red (logo .st0)       */
  --red-600:     #c81f29;
  --graphite:    #333d3c;   /* LHG grey (logo .st2)      */
  --green:       #0a6472;   /* LHG green (badge)         */

  /* Neutrals */
  --ink:         #15182a;   /* primary text              */
  --ink-soft:    #454a63;   /* secondary text            */
  --muted:       #6c7188;   /* tertiary text             */
  --line:        #e7e8ef;   /* hairline borders          */
  --line-soft:   #eef0f5;
  --paper:       #ffffff;
  --bone:        #fafaf7;   /* warm off-white bg         */
  --sand:        #efe9dc;   /* warm beige accent (ref)   */
  --mist:        #eef1f8;   /* cool light blue           */
  --cloud:       #f5f6fa;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(21,24,42,.04);
  --shadow-md:  0 10px 30px -20px rgba(21,24,42,.20);
  --shadow-lg:  0 30px 60px -36px rgba(21,24,42,.28);
  --ring:       0 0 0 3px rgba(0,0,143,.16);

  /* Type */
  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1520px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 0;
  --radius-sm: 0;
  --radius-lg: 0;
  --cut: 0px;          /* diagonal clip size (disabled for cleaner look) */

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------  Reset  ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior-y: none; background: var(--navy-deep); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input,textarea,select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 0; }

/* ----------  Typography  ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.025em; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.24rem); color: var(--ink-soft); line-height: 1.62; max-width: 62ch; }
strong, b { font-weight: 650; color: var(--ink); }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "/"; background: none; border-radius: 0;
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 1.65em; line-height: 0; color: currentColor; margin-top: .08em;
  -webkit-text-stroke: 1.2px currentColor;
}
.eyebrow.is-light { color: rgba(255,255,255,.72); }
.eyebrow.center::before { display:none; }
/* heavy AXA "/" accent, inherits adjacent text color */
.axa-slash { display:inline-block; margin-left:.14em;
  font-weight:900; font-style:italic; color:currentColor;
  -webkit-text-stroke:1.4px currentColor; }

/* ----------  Layout helpers  ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1640px; }
.wrap-narrow { max-width: 920px; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-sm { padding-block: clamp(48px, 6vw, 86px); }
.section-tight { padding-block: clamp(46px, 5.5vw, 80px); }
.center-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section.bone { background: var(--bone); }
.section.mist { background: var(--mist); }
.section.cloud { background: var(--cloud); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 760px){ .cols-2{ grid-template-columns: repeat(2,1fr);} .cols-3{ grid-template-columns: repeat(3,1fr);} .cols-4{ grid-template-columns: repeat(2,1fr);} }
@media (min-width: 1040px){ .cols-4{ grid-template-columns: repeat(4,1fr);} .cols-3-2{ grid-template-columns: 1.15fr .85fr;} }

/* Section heading block */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.08rem; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--font-body); font-weight: 500; font-size: .96rem;
  letter-spacing: .01em;
  padding: .95em 1.5em; border-radius: 0;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  will-change: transform; line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(229,44,46,.6); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-on-dark { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 1.1em 1.8em; font-size: 1rem; }

/* slanted right-cut outline button (matches hero glass slant) */
.btn-cut {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1;
  letter-spacing: .01em;
  padding: 1.1em 3.4em 1.1em 1.8em;
  color: var(--navy);
  --slant: 34px; --bw: 1.6px; --si: calc(var(--bw) * 1.2); --fill: #fff;
  /* solid contour layer — clean antialiased slanted edge */
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: color .35s var(--ease), transform .35s var(--ease);
}
/* opaque inner shape hollows out the contour, leaving an even outline on every edge */
.btn-cut::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--fill);
  clip-path: polygon(
    var(--bw) var(--bw),
    calc(100% - var(--si)) var(--bw),
    calc(100% - var(--slant) - var(--si)) calc(100% - var(--bw)),
    var(--bw) calc(100% - var(--bw))
  );
  transition: background .35s var(--ease);
}
.btn-cut svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease); }
.btn-cut:hover { color: #fff; transform: translateY(-2px); }
.btn-cut:hover::before { background: var(--navy); }
.btn-cut:hover svg { transform: translateX(5px); }
/* slanted button on dark backgrounds: white outline, navy face */
.btn-cut.on-dark { color: #fff; background: #fff; --fill: var(--navy);
  padding: 1.1em 2.8em 1.1em 1.8em; }
.btn-cut.on-dark:hover { color: var(--navy); }
.btn-cut.on-dark:hover::before { background: #fff; }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; color: var(--navy);
  position: relative; padding-bottom: 3px;
}
.tlink::after { content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0; background: var(--red); transition: width .4s var(--ease); }
.tlink:hover::after { width: 100%; }
.tlink svg { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: border-color .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
body.no-hero { padding-top: 88px; }
.nav {
  display: grid; align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px; height: 88px;
}
.brand { display: flex; align-items: center; justify-self: start; flex-shrink: 0; }
.brand img { height: 50px; width: auto; filter: brightness(0) invert(1); transition: filter .35s var(--ease), height .35s var(--ease); }
.site-header.scrolled .brand img, .site-header.solid .brand img { filter: none; height: 46px; }

.nav-menu { display: none; }
@media (min-width: 1000px){
  .nav-menu { display: flex; align-items: center; gap: 4px; justify-self: center; }
}
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item:not(:first-child)::before {
  content: "/"; align-self: center; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 1.2rem; color: rgba(255,255,255,.6); margin: 0 4px;
  -webkit-text-stroke: .8px currentColor;
}
.site-header.scrolled .nav-item:not(:first-child)::before,
.site-header.solid .nav-item:not(:first-child)::before { color: var(--navy); }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 15px; border-radius: 0;
  font-weight: 400; font-size: .95rem; color: rgba(255,255,255,.82);
  transition: color .25s, background .25s, opacity .25s;
}
.nav-link:hover, .nav-item:hover .nav-link { color: #fff; opacity: 1; }
/* current page: bold + underline accent */
.nav-link.active { color: #fff; opacity: 1; font-weight: 700; }
.nav-link.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; background: currentColor; border-radius: 0;
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); opacity: .6; }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }
.site-header.scrolled .nav-link, .site-header.solid .nav-link { color: var(--ink-soft); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-item:hover .nav-link,
.site-header.solid .nav-link:hover, .site-header.solid .nav-item:hover .nav-link { color: var(--navy); background: var(--mist); }
.site-header.scrolled .nav-link.active, .site-header.solid .nav-link.active { color: var(--navy); background: transparent; }

/* right side: sign-in style link + CTA */
.nav-right { display: none; }
@media (min-width: 1000px){ .nav-right { display: inline-flex; align-items: center; gap: 22px; flex-shrink: 0; justify-self: end; } }
.nav-sign {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .9rem; color: #fff;
  padding: 9px 16px; border-radius: 0;
  background: var(--navy); border: 1.5px solid var(--navy);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav-sign:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.site-header.scrolled .nav-sign, .site-header.solid .nav-sign {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.site-header.scrolled .nav-sign:hover, .site-header.solid .nav-sign:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.nav-cta { background: #fff; color: var(--navy); }
.nav-cta:hover { background: #fff; color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.site-header.scrolled .nav-cta, .site-header.solid .nav-cta { background: var(--navy); color: #fff; }
.site-header.scrolled .nav-cta:hover, .site-header.solid .nav-cta:hover { background: var(--navy-deep); color: #fff; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: #fff; border: 1px solid var(--line);
  border-radius: 0; box-shadow: 0 22px 48px -16px rgba(0,0,143,.30); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease);
}
/* caret connecting the panel to its trigger */
.dropdown::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 13px; height: 13px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
/* invisible hover bridge across the gap so the panel stays open */
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: 0;
  border-left: 2px solid transparent;
  transition: background .2s, border-color .2s;
}
.dropdown a:hover { background: var(--mist); border-left-color: var(--navy); }
.dropdown a b { font-weight: 600; font-size: .92rem; color: var(--navy); }
.dropdown a span { font-size: .78rem; color: var(--muted); }
.dropdown .sub { padding-left: 26px; }
.dropdown .sub b { font-weight: 550; font-size: .86rem; color: var(--ink-soft); }

/* burger */
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; grid-column: 3; justify-self: end; }
@media (min-width: 1000px){ .burger { display: none; } }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s, background .3s; }
.site-header.scrolled .burger span, .site-header.solid .burger span { background: var(--ink); }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s;
  padding: 100px var(--gutter) 40px; overflow-y: auto;
}
.drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
.drawer a { font-family: var(--font-display); }
.drawer .d-group { border-bottom: 1px solid var(--line); padding: 4px 0; }
.drawer .d-top { display:flex; align-items:center; justify-content:space-between; padding: 16px 2px; font-size: 1.5rem; font-weight: 700; }
.drawer .d-top .chev { width:20px;height:20px;transition: transform .3s; }
.drawer .d-group.open .d-top .chev { transform: rotate(180deg); }
.drawer .d-sub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.drawer .d-group.open .d-sub { max-height: 600px; }
.drawer .d-sub a { display:block; padding: 9px 2px; font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); }
.drawer .d-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   QUICK ACTION RAIL
   ========================================================================== */
.qrail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 2px;
}
@media (max-width: 720px){ .qrail{ display:none; } }
.qrail a {
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--navy); color: #fff;
  transition: background .3s, width .3s var(--ease);
  position: relative;
}
.qrail a:first-child { border-top-left-radius: 14px; }
.qrail a:last-child { border-bottom-left-radius: 14px; }
.qrail a svg { width: 21px; height: 21px; }
.qrail a:hover { background: var(--red); }
.qrail a .qtip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color:#fff; font-size: .78rem; font-weight: 500; white-space: nowrap;
  padding: 6px 11px; border-radius: 0; opacity: 0; visibility: hidden; transition: all .25s var(--ease); pointer-events: none;
}
.qrail a:hover .qtip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* Mobile floating call bar */
.mobile-bar { display: none; }
@media (max-width: 720px){
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -8px 30px -10px rgba(21,24,42,.2);
  }
  .mobile-bar a { display:flex; align-items:center; justify-content:center; gap:8px; padding: 15px; font-weight:600; font-size:.95rem; }
  .mobile-bar a svg { width: 19px; height:19px; }
  .mobile-bar .mb-call { background: var(--navy); color:#fff; }
  .mobile-bar .mb-wa { background: var(--red); color:#fff; }
  body { padding-bottom: 54px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
/* clip: das Parallax-JS skaliert .hero-media auf scale(1.06) – ohne Clipping
   ragt sie 6% ueber den Viewport und macht die Seite horizontal scrollbar. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.10) 30%, rgba(0,0,0,.55) 68%, rgba(0,0,0,.90) 100%);
}
.hero-inner { position: relative; padding-block: clamp(120px, 20vh, 220px); }
.hero.hero-tall { min-height: 100vh; min-height: 100svh; display: flex; }
.hero.hero-tall .hero-inner {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; text-align: center;
  max-width: 1560px;
  padding-block: clamp(140px, 20vh, 200px) clamp(76px, 12vh, 132px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  padding: 8px 16px 8px 12px; border-radius: 0; margin-bottom: 26px;
}
.hero-badge img { height: 22px; }
.hero-badge span { color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .hero .display { color: #fff; max-width: 16ch; }

/* reference-style hero (Suretax layout) */
.hero-ref .hero-kicker {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: clamp(.78rem, .95vw, .9rem);
  font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
}
.hero-ref .hero-headline {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6.4vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.02em;
  max-width: 18ch;
  display: flex; flex-direction: column;
}
.hero-ref .hero-headline .hl-heavy { font-weight: 900; }
.hero-ref .hero-headline .hl-light { font-weight: 300; color: rgba(255,255,255,.95); }
.hero-ref .hero-text {
  color: rgba(255,255,255,.88);
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  font-weight: 300; line-height: 1.55;
  max-width: 46ch; margin-top: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* hero buttons: blue + glass-morph */
.btn-hero {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  letter-spacing: .01em;
  padding: 1.05em 1.7em; line-height: 1; border-radius: 0;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn-hero svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease); }
.btn-hero:hover svg { transform: translateX(4px); }
.btn-hero-blue {
  background: var(--navy); color: #fff;
  box-shadow: 0 18px 40px -18px rgba(0,0,143,.85);
}
.btn-hero-blue:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(0,0,143,.95); }
.btn-hero-glass {
  color: #fff;
  position: relative; isolation: isolate;
  padding-right: 3.4em;
  --slant: 34px;
  --bw: 2px;
  --si: calc(var(--bw) * 1.2); /* slant horizontal inset so the diagonal edge matches bw perpendicularly */
  background: transparent;
  transition: transform .35s var(--ease);
}
/* glass body — solid translucent fill, clean slanted edge */
.btn-hero-glass::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: background .35s var(--ease);
}
/* rim — hollow ring tracing the full slanted outline; not clipped by a parent, so edges stay crisp */
.btn-hero-glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,.45);
  clip-path: polygon(evenodd,
    0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%,
    var(--bw) var(--bw),
    calc(100% - var(--si)) var(--bw),
    calc(100% - var(--slant) - var(--si)) calc(100% - var(--bw)),
    var(--bw) calc(100% - var(--bw))
  );
  transition: background .35s var(--ease);
}
.btn-hero-glass:hover { transform: translateY(-2px); }
.btn-hero-glass:hover::before { background: rgba(255,255,255,.14); }
.btn-hero-glass:hover::after { background: rgba(255,255,255,.7); }

/* compact page hero (interior) — headline anchored bottom-left */
.hero.hero-page { min-height: 76vh; min-height: 76svh; display: flex; }
.hero.hero-page .hero-inner {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; width: 100%;
  padding-block: clamp(130px, 20vh, 200px) clamp(48px, 8vh, 88px);
}

/* interior hero cinematic entrance — pure CSS, render-blocking, no FOUC.
   Runs on every interior page (.hero-page); homepage uses its own JS-gated
   cinematic in home.css and never gets .hero-page. */
@media (prefers-reduced-motion: no-preference) {
  .hero-page .hero-media { animation: hpReveal 1.5s var(--ease) both; }
  .hero-page .hero-media img { animation: hpZoom 2.4s var(--ease) both; transform-origin: center; }
  .hero-page .hero-kicker { animation: hpRise .9s var(--ease) .28s both; }
  .hero-page .hero-headline .hl-heavy { display: block; animation: hpRise 1s var(--ease) .42s both; }
  .hero-page .hero-headline .hl-light { display: block; animation: hpRise 1s var(--ease) .56s both; }
  .hero-page .hero-text { animation: hpRise 1s var(--ease) .72s both; }
  .hero-page .hero-actions { animation: hpRise 1s var(--ease) .86s both; }
}
@keyframes hpReveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hpZoom { from { transform: scale(1.28); filter: blur(12px); } to { transform: scale(1.04); filter: blur(0); } }
@keyframes hpRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card .card-ico {
  width: 54px; height: 54px; border-radius: 0; display: grid; place-items: center;
  background: var(--mist); color: var(--navy); margin-bottom: 22px;
}
.card .card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .card-arrow {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy);
}
.card .card-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.card:hover .card-arrow svg { transform: translateX(5px); }
.card.is-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.is-dark h3 { color:#fff; }
.card.is-dark p { color: rgba(255,255,255,.78); }
.card.is-dark .card-ico { background: rgba(255,255,255,.12); color: #fff; }
.card.is-dark .card-arrow { color: #fff; }
.card.is-dark:hover { box-shadow: var(--shadow-lg); }
.card.is-sand { background: var(--sand); border-color: transparent; }
.card.is-sand .card-ico { background: rgba(0,0,143,.08); }

/* numbered feature card */
.card .card-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--red); margin-bottom: 18px; letter-spacing: .04em; }

/* ==========================================================================
   LEISTUNGEN — clean standalone alternating sections
   ========================================================================== */
/* full-bleed alternating media that slices in steeply from the screen edge */
/* clip: .lsec-media startet fuer das Reveal auf translateX(±6%) und steht bis
   zum Eintritt in den Viewport ueber dem Rand – erzeugt sonst Querscrollen. */
.lsec-grid { display: grid; overflow: hidden; --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.lsec-body { padding: clamp(40px, 6vw, 78px) var(--gutter); }
@media (min-width: 960px){
  .lsec-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .lsec.reverse .lsec-media { order: 2; }
  .lsec:not(.reverse) .lsec-body { padding: clamp(20px,4vw,60px) var(--edge) clamp(20px,4vw,60px) clamp(40px,4.4vw,72px); }
  .lsec.reverse .lsec-body { padding: clamp(20px,4vw,60px) clamp(40px,4.4vw,72px) clamp(20px,4vw,60px) var(--edge); }
  .lsec-body { display: flex; flex-direction: column; justify-content: center; }
}
.lsec-body .btn-cut { align-self: flex-start; }

.lsec-media { position: relative; --cut: clamp(70px, 13vw, 190px); }
.lsec-frame {
  position: relative; overflow: hidden; height: 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}
.lsec.reverse .lsec-frame {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 600px){ .lsec-media { --cut: 40px; } }
.lsec-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px;
  transition: transform 1.2s var(--ease);
}
.lsec-media:hover .lsec-frame img { transform: scale(1.04); }

/* body */
.lsec-kick {
  display: block; margin-bottom: 18px;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.lsec-body h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.1; letter-spacing: -.025em;
}
.lsec-body h2::after {
  content: "/"; display: inline-block; margin-left: .26em;
  font-weight: 900; font-style: italic; color: currentColor;
  -webkit-text-stroke: 1.4px currentColor;
}
.lsec-body .lead { margin-top: 18px; }

.lsec-points { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 560px){ .lsec-points { grid-template-columns: 1fr 1fr; gap: 12px 26px; } }
.lsec-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .96rem; color: var(--ink-soft); font-weight: 500; }
.lsec-points li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--navy); margin-top: 2px; }

.lsec-body .btn-cut { margin-top: 34px; }

/* ==========================================================================
   WARUM LHG — editorial heading + numbered reason list
   ========================================================================== */
.why-grid { display: grid; gap: clamp(40px, 5vw, 84px); align-items: start; }
@media (min-width: 960px){
  .why-grid { grid-template-columns: .9fr 1.1fr; }
  .why-head { position: sticky; top: 108px; }
}
.why-head h2 { margin-top: 18px; }
.why-head .lead { margin-top: 20px; }
.why-head .btn-cut { margin-top: 34px; }

.why-list { display: grid; }
.why-item {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.6vw, 36px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
}
.why-item:first-child { border-top: 0; padding-top: 0; }
.why-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; color: var(--navy); letter-spacing: .04em; padding-top: .18em;
}
.why-item h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.18rem, 1.7vw, 1.45rem); line-height: 1.2; letter-spacing: -.015em;
}
.why-item p { margin-top: 11px; color: var(--ink-soft); font-size: 1rem; line-height: 1.62; max-width: 52ch; }

/* small icon-benefit */
.benefit { display:flex; gap: 16px; align-items: flex-start; }
.benefit .b-ico { flex-shrink:0; width:48px;height:48px;border-radius:0;display:grid;place-items:center;background:var(--mist);color:var(--navy); }
.benefit .b-ico svg{ width:23px;height:23px; }
.benefit h4 { font-size: 1.08rem; margin-bottom: 4px; }
.benefit p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* ==========================================================================
   MEDIA / DIAGONAL CUT (LHG signature)
   ========================================================================== */
.cut-tr { clip-path: none; }
.cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.cut-tl { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* interior feature images: full-bleed diagonal cut that slices in from the screen edge (matches home lsec) */
.feature-media { --cut: clamp(70px, 13vw, 190px); --bleed: calc(max(0px, (100vw - var(--maxw)) / 2) + var(--gutter)); }
@media (max-width: 600px){ .feature-media { --cut: 40px; } }
.feature .media-frame.cut-tr { height: 100%; width: 100%; }
.feature:not(.reverse) .media-frame.cut-tr { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.feature.reverse .media-frame.cut-tr { clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }

/* split feature row */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 920px){
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.reverse .feature-media { order: -1; }
  .feature .feature-media { min-height: 460px; }
  /* media column bleeds out to the outer viewport edge */
  .feature:has(.media-frame.cut-tr) { align-items: stretch; }
  .feature:not(.reverse):has(.media-frame.cut-tr) .feature-media { margin-right: calc(-1 * var(--bleed)); }
  .feature.reverse:has(.media-frame.cut-tr) .feature-media { margin-left: calc(-1 * var(--bleed)); }
}
.feature-media { position: relative; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.feature .media-frame.cut-tr img { aspect-ratio: auto; min-height: 100%; }
.feature-tag {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
  padding: 13px 17px; border-radius: 0; box-shadow: var(--shadow-sm);
  display:flex; align-items:center; gap:12px; max-width: 78%;
}
.feature-tag .ft-num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--navy); line-height:1; }
.feature-tag .ft-txt { font-size: .82rem; color: var(--ink-soft); font-weight: 550; line-height: 1.3; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.statband { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px){ .statband { grid-template-columns: repeat(4, 1fr); } }
.statband .stat { padding: clamp(34px, 4.4vw, 58px) clamp(4px, 2.4vw, 38px); }
@media (min-width: 720px){ .statband .stat + .stat { border-left: 1px solid var(--line); } }
@media (max-width: 719px){ .statband .stat + .stat { border-top: 1px solid var(--line); } }
.statband .s-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.9rem, 4.8vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.statband .s-num .u { color: var(--muted); font-weight: 300; margin-left: .03em; }
.statband .s-label { color: var(--muted); font-size: .95rem; line-height: 1.45; margin-top: 16px; max-width: 22ch; }

/* premium navy stat showpiece */
.statbar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(0,0,80,.55);
}
.statbar-star { position: absolute; top: -72px; right: -54px; width: 320px; height: 320px; opacity: .05; pointer-events: none; }
.statbar-star svg { width: 100%; height: 100%; fill: #fff; }
.statbar-top { position: relative; z-index: 1; max-width: 640px; padding: clamp(40px,4.6vw,64px) clamp(28px,3.4vw,58px) 0; }
.statbar-top .eyebrow { color: rgba(255,255,255,.6); }
.statbar-top .eyebrow::before { background: rgba(255,255,255,.4); }
.statbar-title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.025em; margin-top: 16px; }
.statbar-lead { color: rgba(255,255,255,.74); margin-top: 16px; font-size: 1.05rem; line-height: 1.62; }
.statbar-grid { display: grid; position: relative; z-index: 1; margin-top: clamp(34px,3.8vw,54px); border-top: 1px solid rgba(255,255,255,.14); }
@media (min-width: 760px){ .statbar-grid { grid-template-columns: repeat(4, 1fr); } }
.statbar-cell { padding: clamp(30px,3vw,48px) clamp(24px,2.6vw,42px); }
@media (min-width: 760px){ .statbar-cell + .statbar-cell { border-left: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 759px){ .statbar-cell + .statbar-cell { border-top: 1px solid rgba(255,255,255,.14); } }
.statbar-ico { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; margin-bottom: 22px; }
.statbar-ico svg { width: 24px; height: 24px; }
.statbar-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.7rem, 4.4vw, 3.7rem); line-height: 1; letter-spacing: -.03em; }
.statbar-num .u { color: rgba(255,255,255,.5); font-weight: 300; margin-left: .02em; }
.statbar-label { color: rgba(255,255,255,.72); font-size: .96rem; line-height: 1.5; margin-top: 16px; max-width: 22ch; }

/* ==========================================================================
   TABS (Vorteile / Leistungen / FAQ)
   ========================================================================== */
.tabs-bar { position: sticky; top: 78px; z-index: 40; background: var(--bone); border-bottom: 1px solid var(--line); }
.tabs-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 20px 22px; font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--red); }
.tab-panel { display: none; animation: fadeUp .5s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

/* ==========================================================================
   TABLES (Tarif / Vergleich)
   ========================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.tariff { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.tariff th, table.tariff td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: .96rem; }
table.tariff thead th {
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em;
  font-size: 1rem; position: sticky; top: 0;
}
table.tariff thead th:first-child { border-top-left-radius: 0; }
table.tariff thead th .th-sub { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; font-size: .78rem; letter-spacing: 0; opacity: .82; line-height: 1.4; }
table.tariff tbody th { font-weight: 600; color: var(--ink); background: var(--cloud); width: 30%; }
table.tariff tbody tr + tr td, table.tariff tbody tr + tr th { border-top: 1px solid var(--line); }
table.tariff td { color: var(--ink-soft); }
table.tariff .row-sub td, table.tariff .row-sub th { color: var(--muted); font-size: .85rem; font-weight: 500; }
table.tariff .ok { color: #18794e; font-weight: 700; }
table.tariff .no { color: var(--muted); }
table.tariff .hl { color: var(--red); font-weight: 700; }
.table-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 650; font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink); transition: color .25s;
}
.faq-q:hover { color: var(--navy); }
.faq-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 0; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: all .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; }
.faq-item.open .faq-icon { background: var(--navy); border-color: var(--navy); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 50px 28px 4px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.faq-a-inner ul { margin-top: 10px; }
.faq-a-inner li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.faq-a-inner li::before { content:""; position:absolute; left:4px; top:11px; width:6px;height:6px;border-radius:0;background:var(--red); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.tcarousel { position: relative; overflow: hidden; }
.ttrack { display: flex; gap: 24px; transition: transform .6s var(--ease); }
.tcard {
  flex: 0 0 auto; width: min(430px, 86vw);
  background: #fff; border-radius: var(--radius);
  padding: clamp(32px, 3.4vw, 44px); display: flex; flex-direction: column;
  position: relative; isolation: isolate;
  box-shadow: 0 26px 54px -36px rgba(21,24,42,.22);
}
.tcard::before {
  content: "\201C"; position: absolute; z-index: -1; top: 14px; right: 26px;
  font-family: var(--font-display); font-weight: 800; font-size: 6rem; line-height: 1;
  color: rgba(0,0,143,.07);
}
.tcard .stars { display:flex; gap:4px; color: #f5a623; margin-bottom: 22px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 1.14rem; line-height: 1.62; color: var(--ink); font-weight: 450; flex: 1; }
.tcard .t-author { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.tcard .t-author b { display:block; font-family: var(--font-display); font-size: 1.04rem; }
.tcard .t-author span { font-size: .88rem; color: var(--muted); }
.tnav { display:flex; gap: 10px; margin-top: 30px; }
.tnav button { width: 50px; height: 50px; border-radius: 0; border: 1.5px solid var(--line); display:grid;place-items:center;color:var(--navy); transition: all .3s var(--ease); }
.tnav button:hover { background: var(--navy); color:#fff; border-color: var(--navy); }
.tnav button svg { width: 20px; height: 20px; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(2,1fr); }
@media (min-width: 680px){ .team-grid{ grid-template-columns: repeat(3,1fr);} }
@media (min-width: 1000px){ .team-grid{ grid-template-columns: repeat(4,1fr);} }
.team-card { position: relative; }
.team-photo { position: relative; aspect-ratio: 3/3.5; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); }
.team-photo img { width:100%;height:100%;object-fit:cover; transition: transform .7s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-mono { width:100%;height:100%;display:grid;place-items:center; background: linear-gradient(150deg,var(--navy),var(--navy-700)); color:#fff; font-family:var(--font-display); font-weight:800; font-size:2.6rem; letter-spacing:.02em; }
.team-photo .t-mail {
  position:absolute; right:12px; bottom:12px; width:40px;height:40px;border-radius:0;
  background: rgba(255,255,255,.92); color: var(--navy); display:grid;place-items:center;
  opacity:0; transform: translateY(8px); transition: all .35s var(--ease); box-shadow: var(--shadow-sm);
}
.team-photo .t-mail svg{ width:18px;height:18px; }
.team-card:hover .t-mail { opacity:1; transform: translateY(0); }
.team-info { padding: 16px 4px 4px; }
.team-info b { font-family: var(--font-display); font-size: 1.1rem; display:block; letter-spacing: -.01em; }
.team-info span { font-size: .86rem; color: var(--muted); line-height: 1.4; display:block; margin-top: 4px; }

/* ==========================================================================
   CTA BLOCK (Persönlich beraten)
   ========================================================================== */
.cta-block { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.cta-block::before {
  content:""; position:absolute; inset:0; z-index:-1; opacity:.6;
  background:
    radial-gradient(100% 130% at 0% 0%, rgba(64,82,180,.35), transparent 58%);
}
.cta-grid { display: grid; gap: clamp(34px,5vw,64px); align-items: center; padding-block: clamp(60px,8vw,110px); }
@media (min-width: 920px){ .cta-grid { grid-template-columns: 1.05fr .95fr; } }
.cta-block .display { color: #fff; }
.cta-block .eyebrow { color: rgba(255,255,255,.6); }
.cta-info { display:grid; gap: 22px; }
.cta-line { display:flex; gap: 16px; align-items:flex-start; }
.cta-line .c-ico { flex-shrink:0; width:46px;height:46px;border-radius:0; background: rgba(255,255,255,.1); display:grid;place-items:center; color:#fff; }
.cta-line .c-ico svg{ width:21px;height:21px; }
.cta-line b { display:block; font-family: var(--font-display); font-size:1.05rem; color:#fff; }
.cta-line span, .cta-line a { color: rgba(255,255,255,.78); font-size: .98rem; }
.cta-line a:hover { color:#fff; text-decoration: underline; }
.cta-locs { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 6px; }
.cta-loc { display:inline-flex; align-items:center; gap:8px; padding: 9px 15px; border-radius:0; border:1px solid rgba(255,255,255,.2); font-size:.9rem; color: rgba(255,255,255,.85); transition: all .3s; }
.cta-loc:hover { background: rgba(255,255,255,.1); color:#fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.66); padding-block: clamp(60px,7vw,92px) 28px; }
.footer-top { display: grid; gap: clamp(40px,5vw,72px); padding-bottom: clamp(44px,5vw,64px); }
@media (min-width: 880px){ .footer-top { grid-template-columns: 1.15fr 1.85fr; } }

.footer-brand img { height: 48px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity:.96; }
.footer-brand p { font-size: .96rem; line-height: 1.65; max-width: 36ch; }
.footer-contact-rows { margin-top: 28px; display: grid; gap: 2px; }
.footer-contact-rows a { display: inline-flex; align-items: center; gap: 13px; padding: 8px 0; color: rgba(255,255,255,.82); font-size: .98rem; font-weight: 500; transition: color .25s; }
.footer-contact-rows a:hover { color: #fff; }
.footer-contact-rows svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }

.footer-links { display: grid; gap: 36px 28px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 600px){ .footer-links { grid-template-columns: repeat(3,1fr); } }
.footer-col h4 { color:#fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer-col a { display:block; padding: 7px 0; font-size: .95rem; transition: color .25s, transform .25s; }
.footer-col a:hover { color:#fff; transform: translateX(3px); }
.footer-col .f-addr { font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.66); }
.footer-col .f-addr + .f-addr { margin-top: 14px; }
.footer-col .f-addr b { color: rgba(255,255,255,.9); font-weight: 600; display:block; margin-bottom: 2px; }

.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap: 14px; justify-content: space-between; align-items:center; font-size: .85rem; }
.footer-bottom .fb-links { display:flex; gap: 22px; flex-wrap:wrap; }
.footer-bottom a:hover { color:#fff; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,48px); box-shadow: var(--shadow-md); }
.form-row { display:grid; gap: 18px; }
@media (min-width: 620px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display:flex; flex-direction:column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 16px; border:1.5px solid var(--line); border-radius: 0;
  background: var(--bone); transition: border-color .25s, box-shadow .25s, background .25s; font-size: .98rem;
}
.field input::placeholder, .field textarea::placeholder { color: #aab; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); background:#fff; box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.chips { display:flex; flex-wrap:wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display:inline-flex; align-items:center; gap:7px; padding: 10px 16px; border:1.5px solid var(--line); border-radius: 0; font-size: .9rem; font-weight:550; color: var(--ink-soft); transition: all .25s; background:#fff; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color:#fff; }
.chip span svg { width: 15px; height: 15px; }
.checkbox { display:flex; gap: 12px; align-items:flex-start; font-size: .88rem; color: var(--ink-soft); line-height:1.55; }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; flex-shrink:0; accent-color: var(--navy); }
.form-note { font-size: .82rem; color: var(--muted); }
.lang-flags { display:flex; gap: 10px; }
.lang-flags .lf { display:inline-flex; align-items:center; gap:7px; padding:8px 13px; border:1px solid var(--line); border-radius:0; font-size:.82rem; font-weight:600; color:var(--ink-soft); }
.lang-flags .lf .dot { width:9px;height:9px;border-radius:0; }

/* form success */
.form-success { display:none; padding: 22px; border-radius: 0; background: #e8f6ef; border:1px solid #b6e2cd; color:#13643f; font-weight:550; align-items:center; gap:12px; }
.form-success.show { display:flex; }
.form-success svg { width: 24px; height:24px; flex-shrink:0; }

/* ==========================================================================
   STANDORT / CONTACT CARDS
   ========================================================================== */
.loc-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; height:100%; display:flex; flex-direction:column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.loc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.loc-card .loc-img { aspect-ratio: 16/8; overflow:hidden; }
.loc-card .loc-img img { width:100%;height:100%;object-fit:cover; transition: transform .7s var(--ease); }
.loc-card:hover .loc-img img { transform: scale(1.05); }
.loc-body { padding: clamp(24px,3vw,34px); display:flex;flex-direction:column;gap: 16px; flex:1; }
.loc-body h3 { font-size: 1.4rem; }
.loc-meta { display:grid; gap: 12px; }
.loc-meta .lm { display:flex; gap:12px; align-items:flex-start; font-size:.96rem; color: var(--ink-soft); }
.loc-meta .lm svg { width:19px;height:19px;color:var(--navy);flex-shrink:0;margin-top:2px; }
.loc-hours { background: var(--bone); border-radius: 0; padding: 16px 18px; font-size:.92rem; }
.loc-hours .lh-row { display:flex; justify-content:space-between; gap:16px; padding: 4px 0; color: var(--ink-soft); }
.loc-hours .lh-row b { color: var(--ink); font-weight:600; }
.loc-foot { margin-top:auto; padding-top: 6px; }

/* contact aside (light bg) */
.feature.feature-form { align-items: start; }
.contact-aside { display:flex; flex-direction:column; gap: 14px; }
.contact-aside .cta-line.as-link { padding: 16px 18px; border:1px solid var(--line); border-radius: 0; background:#fff; transition: border-color .3s, box-shadow .3s; }
.contact-aside .cta-line.as-link:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.contact-aside .cta-line .c-ico { background: var(--mist); color: var(--navy); }
.contact-aside .cta-line b { color: var(--ink); }
.contact-aside .cta-line span { color: var(--ink-soft); }

/* ==========================================================================
   PROSE (legal / article text)
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem,2.4vw,2rem); margin-top: 2.4em; margin-bottom: .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; margin-bottom: .4em; }
.prose p { color: var(--ink-soft); margin-bottom: 1.1em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-soft); }
.prose ul li::before { content:""; position:absolute; left:3px; top:11px; width:6px;height:6px;border-radius:0;background:var(--red); }
.prose .meta-block { background: var(--bone); border:1px solid var(--line); border-radius: 0; padding: 22px 26px; margin-bottom: 22px; }
.prose .meta-block p { margin-bottom: .4em; font-size: .98rem; }

/* pills list */
.pill-list { display:flex; flex-wrap:wrap; gap: 10px; }
.pill { display:inline-flex; align-items:center; gap:8px; padding: 9px 16px; border-radius: 0; background: var(--mist); color: var(--navy); font-size:.9rem; font-weight:600; }
.pill svg { width:15px;height:15px; color: var(--red); }

/* checklist */
.checklist { display:grid; gap: 14px; }
.checklist li { display:flex; gap: 13px; align-items:flex-start; color: var(--ink-soft); }
.checklist li .ck { flex-shrink:0; width:24px;height:24px;border-radius:0;background:#e8f6ef;color:#18794e;display:grid;place-items:center; margin-top:1px; }
.checklist li .ck svg{ width:14px;height:14px; }
.checklist li b { color: var(--ink); }

/* category tiles (weitere leistungen) */
.tile-grid { display:grid; gap: 16px; grid-template-columns: 1fr; }
@media(min-width:640px){ .tile-grid{ grid-template-columns: repeat(2,1fr);} }
@media(min-width:980px){ .tile-grid{ grid-template-columns: repeat(3,1fr);} }
.tile { display:flex; flex-direction:column; gap: 12px; padding: 28px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; transition: all .4s var(--ease); height:100%; }
.tile:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .tile-ico { width:46px;height:46px;border-radius:0;background:var(--mist);color:var(--navy);display:grid;place-items:center; }
.tile .tile-ico svg{ width:23px;height:23px; }
.tile h4 { font-size: 1.12rem; }
.tile p { font-size: .94rem; color: var(--ink-soft); flex:1; }
.tile .tlink { margin-top: 4px; font-size: .9rem; }

/* blog cards */
.post-grid { display:grid; gap: 28px; }
@media(min-width:720px){ .post-grid{ grid-template-columns: repeat(2,1fr);} }
@media(min-width:1040px){ .post-grid.three{ grid-template-columns: repeat(3,1fr);} }
.post { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: all .4s var(--ease); height:100%; }
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.post .post-img { aspect-ratio: 16/9; overflow:hidden; }
.post .post-img img { width:100%;height:100%;object-fit:cover; transition: transform .7s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 26px; display:flex; flex-direction:column; gap: 12px; flex:1; }
.post-meta { display:flex; align-items:center; gap: 10px; font-size: .8rem; color: var(--muted); font-weight:550; }
.post-cat { color: var(--red); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:.72rem; }
.post h3 { font-size: 1.18rem; line-height:1.25; }
.post p { font-size: .94rem; color: var(--ink-soft); flex:1; }
.post .tlink { font-size:.9rem; }
.post.featured { }
@media(min-width:880px){
  .post.featured { grid-column: span 2; flex-direction:row; }
  .post.featured .post-img { flex: 0 0 48%; aspect-ratio: auto; }
  .post.featured .post-body { justify-content:center; padding: clamp(28px,4vw,46px); }
  .post.featured h3 { font-size: 1.6rem; }
}

/* home blog — featured + headline list */
.bhome { display:grid; gap: clamp(30px,4vw,56px); align-items:start; }
@media(min-width:920px){ .bhome{ grid-template-columns: 1.12fr .88fr; } }
.bmeta { display:flex; align-items:center; gap:12px; font-size:.78rem; color:var(--muted); font-weight:550; }
.bcat { color:var(--red); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:.72rem; }

.bfeat { display:block; }
.bfeat .bf-img { aspect-ratio: 16/10; overflow:hidden; }
.bfeat .bf-img img { width:100%;height:100%;object-fit:cover; transition:transform .9s var(--ease); }
.bfeat:hover .bf-img img { transform: scale(1.04); }
.bfeat .bf-body { margin-top:24px; }
.bfeat h3 { font-family:var(--font-display); font-weight:800; font-size:clamp(1.5rem,2.3vw,2.05rem); line-height:1.14; letter-spacing:-.02em; margin-top:14px; }
.bfeat p { margin-top:14px; color:var(--ink-soft); line-height:1.6; max-width:56ch; }
.bfeat .tlink { margin-top:18px; }

.bside { display:grid; }
.brow { display:grid; grid-template-columns: 116px 1fr; gap:22px; align-items:center; padding: clamp(22px,2.6vw,30px) 0; border-top:1px solid var(--line); }
.bside .brow:first-child { border-top:0; padding-top:0; }
.bthumb { aspect-ratio: 4/3; overflow:hidden; }
.bthumb img { width:100%;height:100%;object-fit:cover; transition: transform .6s var(--ease); }
.brow:hover .bthumb img { transform: scale(1.06); }
.brow h3 { font-family:var(--font-display); font-weight:700; font-size:1.06rem; line-height:1.28; margin-top:8px; transition: color .25s var(--ease); }
.brow:hover h3 { color: var(--navy); }
@media(max-width:480px){ .brow{ grid-template-columns: 88px 1fr; gap:16px; } }

/* category filter */
.filter-bar { display:flex; flex-wrap:wrap; gap: 10px; }
.filter-btn { padding: 10px 20px; border-radius:0; border:1.5px solid var(--line); font-weight:600; font-size:.9rem; color:var(--ink-soft); transition: all .25s; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color:#fff; }

/* job card */
.job { border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; background:#fff; }
.job-head { padding: clamp(24px,3vw,34px); display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:flex-start; cursor:pointer; transition: background .3s; }
.job-head:hover { background: var(--bone); }
.job-head h3 { font-size: clamp(1.2rem,2vw,1.5rem); max-width: 30ch; }
.job-tags { display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.job-tag { font-size:.8rem; font-weight:600; color:var(--navy); background:var(--mist); padding:6px 13px; border-radius:0; }
.job-toggle { width:46px;height:46px;border-radius:0;border:1.5px solid var(--line);display:grid;place-items:center;flex-shrink:0;transition:all .3s var(--ease); }
.job-toggle svg{ width:20px;height:20px;color:var(--navy);transition: transform .3s var(--ease); }
.job.open .job-toggle { background:var(--navy);border-color:var(--navy); }
.job.open .job-toggle svg { color:#fff; transform: rotate(180deg); }
.job-body { max-height:0; overflow:hidden; transition: max-height .6s var(--ease); }
.job.open .job-body { max-height: 3000px; }
.job-body-inner { padding: 0 clamp(24px,3vw,34px) clamp(28px,3vw,38px); border-top:1px solid var(--line); }
.job-body-inner h4 { font-size: 1.05rem; margin: 26px 0 12px; color: var(--navy); }

/* divider */
.divider { height:1px; background: var(--line); border:0; margin-block: clamp(48px,6vw,80px); }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay:.08s; }
[data-reveal][data-delay="2"]{ transition-delay:.16s; }
[data-reveal][data-delay="3"]{ transition-delay:.24s; }
[data-reveal][data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity:1; transform:none; transition:none; } }

/* logo strip / trust */
.trust { display:flex; flex-wrap:wrap; align-items:center; gap: 14px 30px; }
.trust .t-item { display:inline-flex; align-items:center; gap:10px; color: var(--muted); font-weight:600; font-size:.92rem; }
.trust .t-item svg { width:20px;height:20px;color:var(--navy); }

/* misc spacing */
.mt-s{margin-top:1rem}.mt-m{margin-top:2rem}.mt-l{margin-top:3rem}
.pad-x{padding-inline:var(--gutter)}
.maxw-prose{max-width:62ch}

/* NPulS feedback embed placeholder */
.npuls-embed { border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--bone); padding: clamp(40px,6vw,80px) clamp(24px,4vw,48px); }
.npuls-inner { text-align:center; max-width: 640px; margin-inline:auto; }
.npuls-badge { width:72px;height:72px;border-radius:0;background:#fff;border:1px solid var(--line);display:grid;place-items:center;margin-inline:auto; box-shadow: var(--shadow-md); }
.npuls-badge svg { width:34px;height:34px;color:var(--red); }
.npuls-skeleton { display:grid; gap:14px; margin-top:34px; }
.npuls-skeleton span { display:block; height:64px; border-radius:0; background: linear-gradient(90deg, rgba(0,0,0,.04) 25%, rgba(0,0,0,.07) 37%, rgba(0,0,0,.04) 63%); background-size: 400% 100%; animation: npulsShimmer 1.6s ease infinite; }
.npuls-skeleton span:nth-child(2){ animation-delay:.2s; } .npuls-skeleton span:nth-child(3){ animation-delay:.4s; }
@keyframes npulsShimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
@media (prefers-reduced-motion: reduce){ .npuls-skeleton span{ animation:none; } }

/* anchor offset for sticky header */
[id]{ scroll-margin-top: 110px; }
