:root {
  --ink: #102232;
  --muted: #607080;
  --brand: #be5108;
  --brand-dark: #8c3a04;
  --accent: #e98747;
  --paper: #f7f8fa;
  --line: #dce2e7;
  --white: #fff;
  --shadow: 0 22px 60px rgba(16,34,50,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0 !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  font: 16px/1.68 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
#container { overflow: hidden; }
.container { width: 100% !important; max-width: none !important; min-width: 0 !important; }
.base { width: min(1180px, calc(100% - 40px)) !important; max-width: none !important; margin: 0 auto !important; }

#fei_header {
  height: 50px !important;
  background: var(--ink) !important;
  border: 0 !important;
  overflow: visible !important;
}
#link-leiste {
  width: min(1180px, calc(100% - 40px)) !important;
  height: 50px !important;
  margin: 0 auto !important;
  float: none !important;
  overflow: visible !important;
}
.headerlinks { display: flex; justify-content: flex-start; align-items: center; gap: 8px; height: 50px; padding: 0 !important; }
.headerlinks .imgwrapper { float: none !important; width: 44px !important; height: 36px !important; margin: 0 !important; overflow: visible !important; }
.headerlinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  transition: .2s ease;
}
.headerlinks .imgwrapper:first-child a::after { content: "DE"; }
.headerlinks .imgwrapper:nth-child(2) a::after { content: "EN"; }
.headerlinks img { display: none !important; }
.headerlinks a:hover { color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

#headersite {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(16,34,50,.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(16,34,50,.05);
}
#header { min-height: 92px !important; display: flex !important; align-items: center; justify-content: space-between; float: none !important; margin: 0 !important; }
#logo { float: none !important; width: auto !important; margin: 0 !important; }
#logo img { width: 188px !important; padding: 0 !important; margin: 0 !important; display: block; }
#nav { position: static !important; float: none !important; width: auto !important; }
#nav ul { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 0 !important; }
#nav li { float: none !important; margin: 0 !important; padding: 0 !important; list-style: none; }
#nav a {
  display: block;
  padding: 11px 15px !important;
  color: var(--ink) !important;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 750 !important;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease;
}
#nav a:hover, #nav a.is-active { color: var(--white) !important; background: var(--brand) !important; }
#nav a.nav-contact,
#nav a.nav-contact:link,
#nav a.nav-contact:visited {
  color: var(--white) !important;
  background: var(--ink) !important;
  margin-left: 6px;
}
#nav a.nav-contact:hover,
#nav a.nav-contact:focus-visible,
#nav a.nav-contact.is-active {
  color: var(--white) !important;
  background: var(--brand) !important;
}
.menu-toggle { display: none; border: 0; background: var(--ink); color: white; border-radius: 10px; padding: 10px 13px; font: inherit; font-weight: 750; cursor: pointer; }

#showwrap { background: var(--ink) !important; padding: 0 !important; }
#showwrap .base { width: 100% !important; }
.flexslider { border: 0 !important; margin: 0 !important; background: var(--ink) !important; overflow: hidden; }
.flexslider .slides { margin: 0 !important; padding: 0 !important; }
.flexslider .slides > li { width: 100% !important; }
.flexslider .slides img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: saturate(.78) contrast(1.06) brightness(.78);
}
.flex-direction-nav, .flex-direction-nav *, .flex-control-nav { display: none !important; }

#mainbgr { padding: clamp(55px, 8vw, 105px) 0 !important; background: var(--paper) !important; }
#main, #maincontent, #system, .items, .item, .content { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.item .content { padding: clamp(28px, 5vw, 70px) !important; }
.item .title { display: none; }
.content > h1, .content > .01 > h1, .content .csc-firstHeader {
  margin: 0 0 28px !important;
  color: var(--ink) !important;
  font-size: clamp(34px, 5.4vw, 68px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em;
  font-weight: 820 !important;
}
.content h1::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.content .csc-header-n2 h1,
.content .title h1 {
  margin: 42px 0 14px !important;
  color: var(--ink) !important;
  font-size: clamp(23px, 3vw, 32px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
}
.content .csc-header-n2 h1::before,
.content .title h1::before { display: none; }
.content p, .content > div { color: var(--muted); }
.content p { max-width: 900px; margin: 0 0 18px; }
.content, .content div, .content p, .content a { overflow-wrap: anywhere; }
.content table { display: block; width: 100% !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.content pre, .content code { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.content .section-label {
  color: var(--ink) !important;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  margin: 38px 0 10px !important;
}
.content img {
  display: block;
  margin: 40px 0 56px !important;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16,34,50,.14);
}
.content > .01[style*="text-align: center"] {
  max-width: 760px;
  margin: 28px auto !important;
  padding: 22px;
  color: var(--brand) !important;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 820;
  line-height: 1.2;
}
.content ul { display: grid; gap: 12px; padding-left: 22px; }
.content li::marker { color: var(--brand); }

.modern-intro {
  position: relative;
  margin: -112px auto 0;
  z-index: 8;
  width: min(980px, calc(100% - 40px));
  padding: clamp(28px, 5vw, 58px);
  color: white;
  background: linear-gradient(135deg, rgba(16,34,50,.97), rgba(54,41,56,.95));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.modern-intro .eyebrow { margin: 0 0 10px; color: #ffb397; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.modern-intro h1 { margin: 0; font-size: clamp(36px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.modern-intro p { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,.74); font-size: clamp(17px, 2vw, 21px); }
.modern-intro .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.modern-intro a { padding: 12px 19px; border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; }
.modern-intro .primary { color: white; background: var(--brand); }
.modern-intro .secondary { color: white; border: 1px solid rgba(255,255,255,.28); }
.home-modern #mainbgr { padding-top: 92px !important; }

#copyrightwrap { background: var(--ink) !important; color: white; padding: 34px 0 24px !important; }
#copyrightwrap > .base:first-child { position: relative; }
#copyrightwrap > .base:first-child > p { display: none !important; }
#copyrightwrap .twelvecol { position: relative; display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 46px; float: none !important; width: 100% !important; margin: 0 !important; }
#copyrightwrap .fourcol { float: none !important; width: auto !important; margin: 0 !important; }
#copyrightwrap p { margin: 6px 0 !important; }
#copyrightwrap a { color: rgba(255,255,255,.78) !important; text-decoration: none; }
#copyrightwrap a:hover { color: white !important; }
#copyrightwrap #top4 { display: none !important; }
#copyrightwrap .twelvecol { justify-content: center; }
#copyrightwrap #top5,
#copyrightwrap #top5 .moduletable,
#copyrightwrap #top5 .article_anywhere {
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-align: center;
}
#copyrightwrap #top5 .article_anywhere > .01:first-child { display: none !important; }
#copyrightwrap #top5 .article_anywhere > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#copyrightwrap #top5 .article_anywhere > .01:last-child { height: 46px !important; }
#copyrightwrap #top5 p { margin: 0 !important; }
#copyrightwrap #top5 a { font-size: 13px !important; font-weight: 650 !important; }
#copyrightwrap .twelvecol > #backtotop { position: absolute !important; top: 50%; right: 0; transform: translateY(-50%); margin: 0 !important; text-align: right; }
#backtotop img { filter: brightness(0) invert(1); opacity: .7; }
#copyrightwrap + .container { display: none !important; }

.contact-card { padding: 20px 0; }
.contact-card a { font-weight: 750; }
.content iframe {
  width: min(100%, 600px) !important;
  min-height: 360px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(16,34,50,.14);
}

@media (max-width: 1024px) {
  #header { min-height: 84px !important; }
  #logo img { width: 170px !important; }
  #nav a { padding: 10px 12px !important; font-size: 13px !important; }
  .item .content { padding: clamp(28px, 5vw, 52px) !important; }
  .content > h1, .content > .01 > h1, .content .csc-firstHeader { font-size: clamp(34px, 5.2vw, 56px) !important; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; min-width: 48px; min-height: 44px; }
  #nav { display: none; position: absolute !important; top: 76px; left: 13px; right: 13px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  #nav.is-open { display: block; }
  #nav ul { display: grid; gap: 4px; }
  #nav a { min-height: 44px; padding: 12px 14px !important; }
  #nav a.nav-contact { margin-left: 0; }
  .modern-intro { width: min(100% - 28px, 980px); margin-top: -72px; }
  .content iframe { min-height: 330px; }
}

@media (max-width: 760px) {
  .base, #link-leiste { width: min(100% - 26px, 1180px) !important; }
  #header { min-height: 76px !important; }
  #logo img { width: 154px !important; }
  .menu-toggle { display: block; }
  #nav { display: none; position: absolute !important; top: 76px; left: 13px; right: 13px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  #nav.is-open { display: block; }
  #nav ul { display: grid; gap: 4px; }
  #nav a { padding: 12px 14px !important; }
  .nav-contact { margin-left: 0; }
  .modern-intro { margin-top: -48px; }
  .home-modern #mainbgr { padding-top: 70px !important; }
  .item { border-radius: 18px; }
  .content [style*="float: right"] { float: none !important; margin: 24px 0 !important; }
  #copyrightwrap .twelvecol { display: grid; }
}

@media (max-width: 600px) {
  body { font-size: 15px !important; line-height: 1.62 !important; }
  #fei_header, #link-leiste, .headerlinks { height: 46px !important; }
  .headerlinks { padding: 0 !important; }
  .headerlinks .imgwrapper,
  .headerlinks a { height: 34px !important; }
  #logo img { width: 145px !important; }
  .modern-intro { margin-top: -30px; padding: 27px 22px; border-radius: 18px; }
  .modern-intro h1 { font-size: clamp(34px, 11vw, 49px); }
  .modern-intro p { font-size: 17px; line-height: 1.55; }
  .modern-intro .actions { display: grid; }
  .modern-intro a { width: 100%; min-height: 46px; text-align: center; }
  .home-modern #mainbgr { padding-top: 58px !important; }
  #mainbgr { padding: 38px 0 !important; }
  .item .content { padding: 28px 21px !important; }
  .content > h1, .content > .01 > h1, .content .csc-firstHeader { font-size: clamp(31px, 9vw, 43px) !important; }
  .content h1::before { margin-bottom: 16px; }
  .content img { margin: 28px 0 38px !important; border-radius: 13px; }
  .content iframe { min-height: 280px; border-radius: 13px; }
  .content > .01[style*="text-align: center"] { padding: 14px 4px; font-size: 25px; }
  #copyrightwrap { padding: 30px 0 22px !important; }
}

@media (max-width: 390px) {
  .base, #link-leiste { width: calc(100% - 20px) !important; }
  #logo img { width: 132px !important; }
  .menu-toggle { padding: 9px 11px; font-size: 14px; }
  .modern-intro { width: calc(100% - 20px); padding: 24px 18px; }
  .item .content { padding: 25px 17px !important; }
  .content iframe { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
