/* ============================================================
   LexMart — Design System
   Blau (Akzent) · Blauverläufe · Orange (Buttons/CTA) · Weiß
   Akzentfarbe ist BLAU. Die --orange*-Variablen tragen aus
   Kompatibilitätsgründen weiter ihren Namen, liefern jetzt aber
   BLAU-Werte (Akzent: Eyebrows, Links, Icons, Hover, Fokus …).
   Echtes Button-Orange steht in --cta / --cta-700.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* Icon-Fallback: alle per lexIcon()/ic() erzeugten SVG haben KEINE width/height.
   Ohne dimensionierenden Wrapper/Regel rendern sie sonst mit 300px Ersatzgröße (XXL).
   :where() = 0 Spezifität → jede echte Größenregel (z. B. .ico-circle svg) gewinnt;
   greift NUR, wenn nichts anderes das Icon dimensioniert. Fängt Alt- und Neufälle ab. */
svg:where(.lex-ic){width:1.15em;height:1.15em;flex:none;vertical-align:-.16em;}

:root{
  /* Akzent = BLAU #003a5a (frühere Orange-Slots, Werte umgestellt) */
  --orange:#003A5A;
  --orange-700:#002A42;
  /* neutrale, sehr helle Flächen statt Hellblau (Boxen, Icon-Kreise, Callouts) */
  --orange-50:#F4F5F6;
  --orange-100:#E2E5E8;

  /* Button-/CTA-Orange (welt.de-Stil: orangefarbene Buttons) */
  --cta:#F4791E;
  --cta-700:#D9620C;

  /* Blau-Skala & Verläufe */
  --blue:#003A5A;
  --blue-700:#002A42;
  --blue-900:#00253A;
  --grad-blue:linear-gradient(120deg,#00253A 0%,#003A5A 60%,#0A5380 100%);
  --grad-blue-soft:linear-gradient(120deg,#003A5A 0%,#0A5380 100%);

  --ink:#16130F;
  --ink-2:#3A352E;
  --ink-3:#6A645B;
  --ink-4:#9A938A;

  --white:#FFFFFF;
  --paper:#FBFAF8;
  --paper-2:#F4F1EC;
  --grey:#EFEBE5;
  --line:#E7E2DA;
  --line-2:#EDE9E2;

  --radius:14px;
  --radius-sm:10px;
  --radius-lg:22px;

  --shadow-sm:0 1px 2px rgba(22,19,15,.04), 0 2px 6px rgba(22,19,15,.04);
  --shadow:0 4px 14px rgba(22,19,15,.06), 0 1px 3px rgba(22,19,15,.05);
  --shadow-lg:0 18px 50px rgba(22,19,15,.10), 0 4px 14px rgba(22,19,15,.06);

  --maxw:1240px;
  --gap:clamp(16px,3vw,28px);

  --font:'Instrument Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--paper);
  font-size:15px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;}
::selection{background:var(--orange);color:#fff;}

h1,h2,h3,h4{margin:0;line-height:1.04;letter-spacing:-.02em;font-weight:700;color:var(--ink);text-wrap:balance;}
p{margin:0;text-wrap:pretty;}

/* ---------- layout ---------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,4vw,40px);}
.section{padding:clamp(56px,8vw,108px) 0;}
.section--tight{padding:clamp(40px,5vw,64px) 0;}
.section--paper2{background:var(--paper-2);}
/* light replacement for former dark sections */
/* Blau-Verlauf-Band (Akzentsektion) — weiße Schrift */
.section--ink{background:var(--grad-blue);color:#fff;}
.section--ink h1,.section--ink h2,.section--ink h3{color:#fff;}
.section--ink .eyebrow{color:#fff;}
.section--ink .eyebrow::before{background:rgba(255,255,255,.65);}
.section--ink .lead,.section--ink .muted{color:rgba(255,255,255,.82);}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--orange);margin-bottom:18px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--orange);border-radius:2px;}
/* Eyebrow MIT Icon: keinen Strich davor setzen + Icon harmonisch dimensionieren */
.eyebrow:has(svg)::before,
.eyebrow:has([data-ic])::before{display:none;}
.eyebrow > svg{width:1.35em;height:1.35em;flex:none;}

/* Strikte Typo-Hierarchie: H1 · H2 · H3 · regulär (kompakter, kleiner) */
.h-display{font-size:clamp(34px,4.8vw,58px);font-weight:700;letter-spacing:-.035em;}
.h-1{font-size:clamp(27px,3.6vw,42px);font-weight:700;letter-spacing:-.03em;}
.h-2{font-size:clamp(22px,2.4vw,30px);font-weight:700;letter-spacing:-.025em;}
.h-3{font-size:clamp(17px,1.5vw,20px);font-weight:600;letter-spacing:-.015em;}
.lead{font-size:clamp(15.5px,1.2vw,17.5px);color:var(--ink-2);line-height:1.55;}
.muted{color:var(--ink-3);}
.mono{font-family:var(--font);font-variant-numeric:tabular-nums;letter-spacing:.01em;}
em.accent{font-style:italic;color:var(--orange);}

.section-head{max-width:760px;}
.section-head .sub{margin-top:14px;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-weight:600;font-size:15px;letter-spacing:-.01em;
  padding:13px 22px;border-radius:11px;border:0;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex:none;}
/* primary CTA = orangefarbener Button, weiße Schrift */
.btn--orange{background:var(--cta);color:#fff;}
.btn--orange:hover{background:var(--cta-700);transform:translateY(-1px);box-shadow:var(--shadow);}
/* secondary = white bg, blue text/border; hover fills blue */
.btn--ink{background:var(--white);color:var(--blue);border:1.5px solid var(--blue);}
.btn--ink:hover{background:var(--blue);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow);}
.btn--ghost{background:var(--white);color:var(--blue);border:1.5px solid var(--blue-100,var(--orange-100));}
.btn--ghost:hover{border-color:var(--blue);background:var(--orange-50);}
.btn--lg{padding:16px 28px;font-size:16px;}
.btn--sm{padding:10px 16px;font-size:14px;}
.btn--block{width:100%;justify-content:center;}

.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--orange);}
.link-arrow svg{width:16px;height:16px;transition:transform .18s ease;}
.link-arrow:hover svg{transform:translateX(4px);}

/* ---------- header (Blau-Verlauf, weiße Schrift) ---------- */
.lex-header{position:sticky;top:0;z-index:80;background:var(--grad-blue);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 6px 24px rgba(0,37,58,.18);}
.lex-header .logo__word,.lex-header .logo__star{color:#fff;}

/* social top bar */
.lex-topbar{background:rgba(0,0,0,.24);color:#fff;border-bottom:1px solid rgba(255,255,255,.07);}
.lex-topbar__in{display:flex;align-items:center;justify-content:space-between;gap:18px;height:40px;}
.lex-topbar__tag{font-size:12.5px;font-weight:500;letter-spacing:.05em;color:rgba(255,255,255,.82);white-space:nowrap;}
.lex-topbar__soc{display:flex;align-items:center;gap:4px;}
.lex-topbar__follow{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:rgba(255,255,255,.92);margin-right:8px;white-space:nowrap;}
.lex-soc{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;transition:.15s;}
.lex-soc svg{width:16px;height:16px;}
.lex-soc:hover{background:#fff;color:var(--blue);}

/* Header + Topbar über die volle Breite (Desktop) */
@media(min-width:1001px){
  .lex-topbar__in.wrap,.lex-header__bar.wrap{max-width:none;padding-left:clamp(20px,3vw,44px);padding-right:clamp(20px,3vw,44px);}
}
.lex-header__bar{display:flex;align-items:center;gap:clamp(16px,2vw,28px);height:78px;}
.lex-nav{display:flex;align-items:center;gap:clamp(6px,1vw,18px);margin-left:auto;}
.lex-nav__item{position:relative;display:flex;align-items:center;}
.lex-nav a,.lex-nav__top{
  font-size:14.5px;font-weight:600;letter-spacing:-.01em;line-height:1;white-space:nowrap;
  color:rgba(255,255,255,.88);
  padding:9px 3px;position:relative;
  display:inline-flex;align-items:center;gap:5px;
  background:none;border:0;cursor:pointer;font-family:inherit;
  transition:color .18s ease;
}
.lex-nav__chev{opacity:.7;transition:transform .2s ease;}
.lex-nav__item--has:hover .lex-nav__chev,.lex-nav__item--has:focus-within .lex-nav__chev{transform:rotate(180deg);}
.lex-nav a::after,.lex-nav__top::after{
  content:"";position:absolute;left:50%;right:50%;bottom:1px;height:2.5px;
  background:var(--cta);border-radius:2px;
  transition:left .22s cubic-bezier(.4,0,.2,1),right .22s cubic-bezier(.4,0,.2,1);
}
.lex-nav a:hover,.lex-nav__top:hover{color:#fff;}
.lex-nav a:hover::after,.lex-nav__top:hover::after,
.lex-nav a:focus-visible::after,.lex-nav__top:focus-visible::after{left:4px;right:4px;}
.lex-nav a.active,.lex-nav__top.active{color:#fff;}
.lex-nav a.active::after,.lex-nav__top.active::after{left:4px;right:4px;}
/* dropdown */
.lex-drop{position:absolute;top:100%;left:-8px;padding-top:14px;min-width:238px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:80;}
.lex-nav__item--has:hover .lex-drop,.lex-nav__item--has:focus-within .lex-drop{opacity:1;visibility:visible;transform:translateY(0);}
.lex-drop__in{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:8px;display:flex;flex-direction:column;gap:2px;}
.lex-drop a{display:block;padding:11px 15px;border-radius:9px;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap;transition:background .14s ease,color .14s ease;}
.lex-drop a::after{display:none;}
.lex-drop a:hover{background:var(--paper-2);color:var(--cta);}
.lex-drop a.active{color:var(--cta);background:var(--paper-2);}
/* mega dropdown (grouped columns) — rechtsbündig, damit nichts überläuft */
.lex-drop--mega{left:auto;right:-8px;}
/* erstes Nav-Item (Rechtsgebiete) ist ganz links → Mega links ausrichten */
.lex-nav__item--has:first-child .lex-drop--mega{left:-8px;right:auto;}
.lex-drop__in--mega{flex-direction:row;align-items:flex-start;gap:6px;padding:12px;}
.lex-drop__col{display:flex;flex-direction:column;gap:2px;min-width:186px;}
.lex-drop__col+.lex-drop__col{border-left:1px solid var(--line);padding-left:8px;margin-left:2px;}
.lex-drop__h{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-4);padding:6px 15px 9px;}
.lex-actions{display:flex;align-items:center;gap:10px;}
.icon-btn{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;border:1px solid var(--line);background:var(--white);color:var(--ink-2);transition:.15s;}
.icon-btn:hover{border-color:var(--ink);color:var(--ink);}
.icon-btn svg{width:19px;height:19px;}
/* Header-Icon-Buttons: durchscheinendes Weiß auf Blau */
.lex-header .icon-btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff;}
.lex-header .icon-btn:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.55);color:#fff;}
.burger{display:none;}
@media(max-width:1000px){
  .lex-nav{display:none;}
  .lex-actions{margin-left:auto;}
  .burger{display:grid;}
}
@media(max-width:680px){
  .lex-topbar__tag{display:none;}
  .lex-topbar__in{justify-content:center;}
}

/* mobile menu — markenkonform (Blau-Verlauf, weiße Schrift) */
.lex-mobile{position:fixed;inset:0;z-index:90;background:var(--grad-blue);color:#fff;display:none;flex-direction:column;padding:18px clamp(20px,6vw,32px) 34px;overflow:auto;}
.lex-mobile.open{display:flex;animation:lexMobIn .24s ease;}
@keyframes lexMobIn{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:none;}}
.lex-mobile__top{display:flex;align-items:center;justify-content:space-between;height:60px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.14);}
.lex-mobile .logo__word{color:#fff;}
.lex-mobile .icon-btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff;}
.lex-mobile .icon-btn:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.55);color:#fff;}
.lex-mobile a:not(.btn):not(.lex-soc):not(.logo){
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  font-size:19px;font-weight:600;letter-spacing:-.01em;color:rgba(255,255,255,.92);
  padding:15px 2px;border-bottom:1px solid rgba(255,255,255,.10);
  transition:color .15s ease,padding .15s ease;
}
.lex-mobile a:not(.btn):not(.lex-soc):not(.logo)::after{
  content:"";width:8px;height:8px;flex:none;
  border-right:2px solid var(--cta);border-top:2px solid var(--cta);
  transform:rotate(45deg);opacity:.7;transition:transform .15s ease,opacity .15s ease;
}
.lex-mobile a:not(.btn):not(.lex-soc):not(.logo):hover{color:#fff;padding-left:8px;}
.lex-mobile a:not(.btn):not(.lex-soc):not(.logo):hover::after{opacity:1;transform:rotate(45deg) translate(2px,-2px);}
.lex-mobile .btn--block{margin-top:22px;font-size:16px;padding:16px 22px;}
.lex-mobile__soc{display:flex;gap:10px;margin-top:26px;}
.lex-mobile__grp{display:flex;flex-direction:column;}
.lex-mobile__grp-h{display:block;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--cta);padding:16px 0 4px;margin-top:6px;border-top:1px solid rgba(255,255,255,.14);}
.lex-mobile__subh{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5);padding:12px 0 2px;}
.lex-mobile__soc .lex-soc{width:48px;height:48px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;}
.lex-mobile__soc .lex-soc svg{width:22px;height:22px;}
.lex-mobile__soc .lex-soc:hover{background:#fff;border-color:#fff;color:var(--blue);}

/* ---------- logo ---------- */
.logo{display:inline-flex;align-items:center;gap:11px;}
.logo__star{width:34px;height:34px;flex:none;color:var(--orange);}
.logo__word{font-weight:700;font-size:25px;letter-spacing:-.01em;color:var(--orange);line-height:1;display:inline-flex;align-items:flex-start;}
.logo__word sup{font-size:.42em;font-weight:600;margin-left:2px;margin-top:.15em;}
.logo--light .logo__word{color:#fff;}

/* ---------- cards ---------- */
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);}
.card--pad{padding:clamp(20px,2.4vw,30px);}

.grid{display:grid;gap:var(--gap);}
.cols-2{grid-template-columns:repeat(2,1fr);}
.cols-3{grid-template-columns:repeat(3,1fr);}
.cols-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:900px){.cols-3,.cols-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.cols-2,.cols-3,.cols-4{grid-template-columns:1fr;}}

/* fine-line icon chip */
.ico{display:grid;place-items:center;color:var(--orange);}
.ico svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ico--lg{width:38px;height:38px;}
.ico--md{width:28px;height:28px;}
.ico-circle{width:54px;height:54px;border-radius:50%;border:1.5px solid var(--orange-100);background:var(--orange-50);display:grid;place-items:center;color:var(--orange);}
.ico-circle svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ico-circle--sq{border-radius:14px;}

/* practice-area tile */
.area-tile{display:flex;flex-direction:column;gap:14px;padding:22px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);transition:.18s;min-height:124px;}
.area-tile:hover{border-color:var(--orange);box-shadow:var(--shadow);transform:translateY(-2px);}
.area-tile .ico{width:30px;height:30px;}
.area-tile .name{font-weight:600;font-size:16.5px;letter-spacing:-.01em;}
.area-tile .desc{font-size:13.5px;line-height:1.55;color:var(--ink-3);text-wrap:pretty;margin-top:-4px;}
.area-tile .cnt{font-size:13px;color:var(--ink-4);font-weight:500;margin-top:auto;padding-top:4px;}

/* photo helpers — black & white per brand spec */
.bw{filter:grayscale(1) contrast(1.02);}
.photo{border-radius:var(--radius);overflow:hidden;background:var(--grey);}

/* placeholder image */
.ph{
  position:relative;border-radius:var(--radius);overflow:hidden;
  background:
    repeating-linear-gradient(135deg, #efece6 0 14px, #f6f3ee 14px 28px);
  display:grid;place-items:center;color:var(--ink-4);
}
.ph span{font-family:var(--font);font-weight:600;font-size:12px;letter-spacing:.04em;padding:6px 12px;background:rgba(255,255,255,.7);border-radius:6px;}

/* chips / pills */
.chip{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:var(--white);font-size:14px;font-weight:500;color:var(--ink-2);transition:.15s;}
.chip:hover{border-color:var(--orange);color:var(--orange);}
.chip--on{background:var(--orange);border-color:var(--orange);color:#fff;}

/* form controls */
.field{display:flex;flex-direction:column;gap:7px;}
.field label{font-size:14px;font-weight:600;color:var(--ink-2);}
.input,.select,textarea.input{
  width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:10px;
  background:var(--white);font-family:inherit;font-size:15.5px;color:var(--ink);transition:.15s;
}
.input:focus,.select:focus,textarea.input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(0,58,90,.15);}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236A645B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;}

/* disclaimer note */
.note{display:flex;gap:12px;padding:16px 18px;background:var(--orange-50);border:1px solid var(--orange-100);border-radius:var(--radius-sm);font-size:14px;color:var(--ink-2);line-height:1.5;}
.note .ico{color:var(--orange);width:20px;height:20px;flex:none;margin-top:1px;}

/* Inline-Newsletter-Streifen: Feld + Button in EINER Zeile (Button neben E-Mail, nicht darunter) */
.news-strip .finder__controls .input{flex:1 1 auto;min-width:0;width:auto;}
.news-strip .finder__controls .btn{flex:0 0 auto;white-space:nowrap;}

/* breadcrumb */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:var(--ink-3);padding:18px 0;}
.crumbs a:hover{color:var(--orange);}
.crumbs .sep{color:var(--ink-4);}
.crumbs__cur{color:var(--ink-3);max-width:min(46ch,60vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(max-width:560px){.crumbs__cur{max-width:100%;}}

/* faq */
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font-weight:600;font-size:16px;letter-spacing:-.01em;width:100%;text-align:left;background:none;border:0;color:var(--ink);}
.faq-q .pm{width:24px;height:24px;flex:none;color:var(--orange);transition:transform .2s;}
.faq-item.open .pm{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;color:var(--ink-2);}
.faq-item.open .faq-a{max-height:600px;}
.faq-a-inner{padding-bottom:22px;}

/* footer — light */
.lex-footer{background:var(--paper-2);color:var(--ink-3);padding:64px 0 0;border-top:1px solid var(--line);}
.lex-footer a{color:var(--ink-3);font-size:14.5px;line-height:2.1;transition:color .15s;}
.lex-footer a:hover{color:var(--orange);}
.foot-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:40px 28px;}
@media(max-width:900px){.foot-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.foot-grid{grid-template-columns:1fr;}}
.foot-col h4{color:var(--ink);font-size:14px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:14px;font-weight:600;}
.foot-bottom{background:var(--blue-900);color:rgba(255,255,255,.72);margin-top:48px;}
.foot-bottom__in{display:flex;flex-wrap:wrap;gap:14px 26px;justify-content:space-between;align-items:center;padding-top:20px;padding-bottom:20px;font-size:13px;}
.foot-bottom a{color:#fff;}
.foot-bottom__soc{display:flex;gap:4px;}
.foot-bottom__soc .lex-soc{color:#fff;}
.foot-bottom__soc .lex-soc:hover{background:rgba(255,255,255,.15);color:#fff;}

/* utilities */
.center{text-align:center;}
.mt-s{margin-top:14px;} .mt-m{margin-top:26px;} .mt-l{margin-top:44px;}
.flex{display:flex;} .between{justify-content:space-between;} .aic{align-items:center;}
.gap-s{gap:10px;} .gap-m{gap:18px;} .gap-l{gap:30px;}
.wrap-flex{flex-wrap:wrap;}
.hide-mob{display:initial;}
@media(max-width:680px){.hide-mob{display:none;}}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none;}}

/* ============================================================
   RESPONSIVE HARDENING — gilt für alle Seiten
   Verhindert horizontales Scrollen & sorgt für saubere,
   bündige Darstellung auf Smartphone und Tablet.
   ============================================================ */

/* 1) Kein horizontales Überlaufen des gesamten Dokuments
      (clip statt hidden: bricht position:sticky von Header/Sidebar nicht) */
html,body{max-width:100%;overflow-x:clip;}

/* 2) Lange, untrennbare Strings (URLs, §-Ketten, Aktenzeichen,
      E-Mail-Adressen) brechen sauber um statt die Seite zu sprengen */
p,li,dd,dt,blockquote,figcaption,
.lead,.muted,.crumbs,.note,
.lex-li__def,.lex-termcard__b span,
.foot-col p,.ms-preview{overflow-wrap:break-word;}
a{overflow-wrap:break-word;}

/* 3) Medien nie breiter als ihr Container */
img,svg,video,iframe,canvas{max-width:100%;}

/* 4) Tabellen: horizontal scrollbar statt Seitenüberlauf
      (greift für alle nicht eigens umschlossenen Tabellen) */
table{max-width:100%;}

/* 5) Touch-Ziele: zentrale interaktive Elemente bleiben gut greifbar */
@media(max-width:560px){
  .btn{padding:14px 22px;}
  .chip{padding:9px 15px;}
  .icon-btn{width:44px;height:44px;}
}

/* 6) Sehr schmale Telefone: Container-Padding leicht reduzieren,
      damit Inhalte mehr Breite bekommen und bündig wirken */
@media(max-width:380px){
  .wrap{padding-left:16px;padding-right:16px;}
  .card--pad{padding:18px;}
}

/* 7) Überschriften links bündig umbrechen (statt zentriert-balanciert),
      sodass mehrzeilige Titel sauber an der linken Kante stehen */
h1,h2,h3,h4{text-wrap:pretty;}
.center h1,.center h2,.center h3,.center h4{text-wrap:balance;}

/* 8) Grid-/Flex-Blowout vermeiden: zentrale Layout-Items dürfen unter ihre
      Inhalts-Mindestbreite schrumpfen. Verhindert, dass breite Tabellen,
      Code oder lange Komposita die Spalte über die Viewport-Breite sprengen
      (sonst still vom overflow-x:clip oben abgeschnitten). */
.grid>*,.art-layout>*,.r-layout>*,.tools-layout>*,.pa-form-grid>*,.cfg-grid>*,
.med-tiles>*,.med-grid>*,.lex-termgrid>*,.lex-fgrid>*,.blog-grid>*,.related-grid>*,
.pa-area-grid>*,.pa-benefits>*,.pa-steps>*,.pa-stats>*,.foot-grid>*{min-width:0;}

/* 9) Sehr lange deutsche Komposita (z. B. „Zwangsvollstreckungsrecht") in
      Titeln, Namen und Labels notfalls umbrechen. overflow-wrap:anywhere
      verkleinert die Mindestbreite, sodass Grid-/Flex-Spuren schrumpfen
      können — Wörter brechen nur, wenn sie sonst überlaufen würden. */
h1,h2,h3,h4,
.area-tile .name,.tool-group__title,.rspr-group__title,
.med-tile__t,.pa-area .nm,.lex-li__name,.lex-termcard__b b,
.post-card__body h3,.lex-fcard h3{overflow-wrap:anywhere;}

/* ============================================================
   KOPIERSCHUTZ — Inhalte gegen einfaches Kopieren absichern
   (Textauswahl, Rechtsklick, Bild-Drag gesperrt; Formular-
   felder & Editor-Bereiche bleiben voll nutzbar). Hinweis:
   clientseitig, kein technisch unüberwindbarer Schutz.
   ============================================================ */
body{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}
/* Eingabe-/Bearbeitungsbereiche bleiben markier- & editierbar */
input,textarea,select,option,[contenteditable="true"]{
  -webkit-user-select:text;
  -moz-user-select:text;
  -ms-user-select:text;
  user-select:text;
}
/* Bilder nicht per Drag herausziehbar */
img{-webkit-user-drag:none;user-drag:none;}

/* dezenter Hinweis-Toast */
.lex-toast{
  position:fixed;left:50%;bottom:26px;
  transform:translateX(-50%) translateY(20px);
  background:var(--blue-900);color:#fff;
  padding:13px 20px;border-radius:10px;
  font-size:14px;font-weight:500;line-height:1.4;
  box-shadow:var(--shadow-lg);
  opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;
  z-index:300;max-width:min(90vw,440px);text-align:center;
}
.lex-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

/* ============================================================
   KI-Kennzeichnung (Art. 50 KI-VO / VO (EU) 2024/1689)
   Wiederverwendbare Elemente: Inline-Badge, Medien-Label,
   Info-Box, Footer-Hinweis. Bewusst zurückhaltend ("nicht
   überlagern") — nur die gesetzlich gebotene Kenntlichmachung.
   ============================================================ */
/* Inline-Badge: <span class="ki-badge">…</span> oder window.lexKiBadge() */
.ki-badge{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;
  padding:3px 9px 3px 7px;border-radius:999px;
  background:var(--orange-50);border:1px solid var(--orange-100);
  color:var(--orange-700);font-family:var(--font);font-size:11.5px;font-weight:600;
  letter-spacing:.02em;line-height:1.2;white-space:nowrap;}
.ki-badge svg{width:13px;height:13px;flex:none;}
.ki-badge--solid{background:var(--blue-900);border-color:var(--blue-900);color:#fff;}
.ki-badge--sm{font-size:10.5px;padding:2px 7px 2px 6px;}
.ki-badge a{color:inherit;text-decoration:underline;text-underline-offset:2px;}

/* Medien-Label: auf KI-generierten Bildern/Videos.
   Wrapper .ki-media (position:relative) ODER data-ki auf <img>/<figure>. */
.ki-media{position:relative;display:block;}
.ki-media__tag{position:absolute;right:8px;bottom:8px;z-index:2;
  display:inline-flex;align-items:center;gap:5px;
  padding:3px 8px;border-radius:8px;
  background:rgba(0,37,58,.82);color:#fff;
  font-family:var(--font);font-size:10.5px;font-weight:600;letter-spacing:.02em;
  line-height:1.2;backdrop-filter:blur(2px);pointer-events:none;user-select:none;}
.ki-media__tag svg{width:12px;height:12px;flex:none;stroke:#fff;}
.ki-media__tag--tl{right:auto;left:8px;top:8px;bottom:auto;}

/* Info-Box (Transparenzhinweis in Fließtext/Artikeln) */
.ki-note{display:flex;gap:12px;align-items:flex-start;
  padding:13px 16px;margin:16px 0;
  background:var(--orange-50);border:1px solid var(--orange-100);
  border-left:3px solid var(--orange);border-radius:11px;}
.ki-note__ico{flex:none;width:20px;height:20px;color:var(--orange);margin-top:1px;}
.ki-note__ico svg{width:20px;height:20px;}
.ki-note p{margin:0;font-size:13px;line-height:1.55;color:var(--ink-3);}
.ki-note a{color:var(--orange-700);font-weight:600;text-decoration:underline;text-underline-offset:2px;}

/* Footer-Hinweiszeile */
.foot-ki{display:flex;gap:9px;align-items:center;justify-content:center;
  flex-wrap:wrap;text-align:center;
  padding:14px 20px;border-top:1px solid var(--line);
  font-size:12px;line-height:1.5;color:var(--ink-3);}
.foot-ki svg{width:15px;height:15px;flex:none;opacity:.7;color:var(--ink-3);}
.foot-ki a{color:var(--blue-700,var(--blue-900));font-weight:600;text-decoration:underline;text-underline-offset:2px;}
.foot-ki a:hover{color:var(--orange);}

/* ============================================================
   Seitenweite Suche — Overlay
   ============================================================ */
.lex-search{position:fixed;inset:0;z-index:2000;display:none;}
.lex-search.open{display:block;}
.lex-search__backdrop{position:absolute;inset:0;background:rgba(22,19,15,.42);backdrop-filter:blur(3px);animation:lexFade .16s ease;}
@keyframes lexFade{from{opacity:0}to{opacity:1}}
.lex-search__panel{position:relative;max-width:720px;margin:min(9vh,84px) auto 0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden;display:flex;flex-direction:column;max-height:80vh;animation:lexPop .18s cubic-bezier(.2,.8,.3,1);}
@keyframes lexPop{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.lex-search__bar{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);}
.lex-search__ic{display:grid;place-items:center;color:var(--ink-4);flex:none;}
.lex-search__ic svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lex-search__input{flex:1;border:0;outline:none;font-family:inherit;font-size:19px;font-weight:500;color:var(--ink);background:none;letter-spacing:-.01em;}
.lex-search__input::placeholder{color:var(--ink-4);font-weight:400;}
.lex-search__esc{flex:none;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ink-3);background:var(--paper-2);border:1px solid var(--line);border-radius:7px;padding:5px 9px;}
.lex-search__esc:hover{color:var(--ink);border-color:var(--ink-4);}
.lex-search__results{overflow-y:auto;padding:8px;flex:1;}
.lex-search__count{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-4);padding:8px 12px 4px;}
.lex-search__grp{margin-bottom:6px;}
.lex-search__grp-h{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--orange);padding:10px 12px 5px;}
.lex-search__row{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;padding:11px 13px;border-radius:10px;transition:background .12s ease;}
.lex-search__row-t{font-size:15.5px;font-weight:600;color:var(--ink);letter-spacing:-.01em;}
.lex-search__row-d{grid-column:1;font-size:13px;color:var(--ink-3);line-height:1.45;margin-top:2px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.lex-search__row-arrow{grid-row:1/3;grid-column:2;color:var(--ink-4);opacity:0;transition:.12s;}
.lex-search__row-arrow svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lex-search__row:hover,.lex-search__row.is-active{background:var(--paper-2);}
.lex-search__row:hover .lex-search__row-arrow,.lex-search__row.is-active .lex-search__row-arrow{opacity:1;transform:translateX(2px);color:var(--orange);}
.lex-search__row mark{background:rgba(0,58,90,.13);color:inherit;border-radius:3px;padding:0 1px;}
.lex-search__hint,.lex-search__empty{padding:30px 20px 40px;text-align:center;}
.lex-search__hint-h{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.01em;}
.lex-search__hint-p{font-size:14px;color:var(--ink-3);line-height:1.6;max-width:440px;margin:8px auto 0;text-wrap:pretty;}
.lex-search__hint-p a{color:var(--orange);font-weight:600;text-decoration:underline;}
.lex-search__chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px;}
.lex-search__chip{font-size:13.5px;font-weight:600;color:var(--ink-2);background:var(--white);border:1px solid var(--line);border-radius:999px;padding:8px 15px;transition:.13s;}
.lex-search__chip:hover{border-color:var(--orange);color:var(--orange);background:var(--orange-50);}
.lex-search__foot{display:flex;gap:18px;padding:11px 18px;border-top:1px solid var(--line);background:var(--paper);font-size:12px;color:var(--ink-4);}
.lex-search__foot b{color:var(--ink-2);font-weight:700;}
@media(max-width:560px){
  .lex-search__panel{margin:0;max-height:100vh;height:100vh;border-radius:0;border:0;}
  .lex-search__input{font-size:17px;}
  .lex-search__foot{display:none;}
}
