/* =====================================================================
   Kastner GmbH — Zentrales Stylesheet
   ===================================================================== */

/* ── FF Zwo Pro (Kastner Hausschrift) ─────────────────────────────── */
@font-face {
  font-family: 'FF Zwo Pro';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/FFZwoPro-ExtraLight.woff2') format('woff2');
}
@font-face {
  font-family: 'FF Zwo Pro';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/FFZwoPro-SemiLight.woff2') format('woff2');
}
@font-face {
  font-family: 'FF Zwo Pro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/FFZwoPro-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'FF Zwo Pro';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/FFZwoPro-Semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'FF Zwo Pro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/FFZwoPro-Bold.woff2') format('woff2');
}

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'FF Zwo Pro', Arial, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
nav a:hover,
footer a:hover,
[class*="btn"]:hover,
.sidebar-cta:hover,
.breadcrumb a:hover,
.subnav-inner a:hover,
.hero-klara-mobile-cta a:hover { text-decoration: none; }
ul { list-style: none; }

/* ── Brand Variables ───────────────────────────────────────────────── */
:root {
  --blue:       #006EF2;
  --dark-blue:  #003A80;
  --mid-blue:   #0057BF;
  --light-blue: #4997F4;
  --black:      #000000;
  --white:      #FFFFFF;
  --off-white:  #F7F7F7;
  --gray:       #666666;
  --light-gray: #CCCCCC;
  --nav-h:      72px;
}

/* ── Layout ────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; }
.page-header-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.section-eyebrow { font-size: 13px; font-weight: 700; color: #000; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }


/* ── Navigation ────────────────────────────────────────────────────── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid #e8e8e8;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 600;
  color: #000; letter-spacing: .3px; transition: color .2s, background .2s;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: #000; font-weight: 700; }
.nav-links .has-drop.open .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-links .has-drop { position: relative; }
.nav-links .has-drop > a::after {
  content: ''; position: absolute; left: 0; bottom: -8px; width: 100%; height: 8px;
}
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding-top: 8px;
  background: transparent; border: none;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
.dropdown-inner {
  background: #fff; border: 1px solid #e8e8e8;
  box-shadow: 0 8px 32px rgba(0,0,0,.12); padding: 8px 0;
}
.dropdown a { display: block; padding: 10px 20px; font-size: 14px; color: #333; transition: background .15s; }
.dropdown a:hover { background: var(--off-white); color: #000; font-weight: 600; }
.dropdown .divider { height: 1px; background: #e8e8e8; margin: 4px 0; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-lang a {
  font-size: 13px; font-weight: 600; padding: 5px 10px;
  border: 1.5px solid var(--light-gray); color: var(--gray); transition: border-color .2s, color .2s;
}
.nav-lang a:hover, .nav-lang a.active { border-color: #000; color: #000; }
.btn-nav {
  background: var(--blue); color: #fff !important; padding: 9px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: .3px; transition: background .2s;
}
.btn-nav:hover { background: var(--dark-blue); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #000; transition: all .3s; }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; overflow-y: auto; padding: 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 18px; font-weight: 600;
  border-bottom: 1px solid #f0f0f0; color: #000;
}
.mobile-nav a:hover { color: #000; font-weight: 700; }
.mobile-nav .mobile-sub { padding: 10px 0 10px 20px; font-size: 15px; font-weight: 400; color: var(--gray); border-bottom: 1px solid #f0f0f0; }
.mobile-nav .mobile-cta {
  margin-top: 24px; background: var(--blue); color: #fff;
  text-align: center; padding: 16px; font-size: 18px;
}
.mobile-nav .mobile-lang { margin-top: 16px; display: flex; gap: 12px; }
.mobile-nav .mobile-lang a {
  border: 1.5px solid var(--light-gray); padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--gray); text-align: center;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 14px 32px; font-size: 16px; font-weight: 700;
  letter-spacing: .3px; transition: background .2s, transform .15s;
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--dark-blue); border-color: var(--dark-blue); }
.btn-outline {
  display: inline-block; border: 2px solid #000; color: #000;
  padding: 12px 30px; font-size: 16px; font-weight: 700;
  letter-spacing: .3px; transition: all .2s;
}
.btn-outline:hover { background: #000; color: #fff; }
.btn-white {
  display: inline-block; background: #fff; color: #000;
  padding: 14px 32px; font-size: 16px; font-weight: 700;
  letter-spacing: .3px; transition: all .2s; border: 2px solid #fff;
}
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline-white {
  display: inline-block; border: 2px solid rgba(255,255,255,.7); color: #fff;
  padding: 12px 30px; font-size: 16px; font-weight: 700; transition: all .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── Page Content ──────────────────────────────────────────────────── */
.page-content { padding: 80px 40px; }
.section-body { font-size: 17px; color: var(--gray); max-width: 700px; line-height: 1.8; margin-bottom: 48px; }

/* ── Breadcrumb ────────────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }

/* ── Section ───────────────────────────────────────────────────────── */
.section-title { font-size: clamp(24px,3vw,40px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray); margin-bottom: 24px; }
.back-link:hover { color: #000; }
.jobs-detail .back-link { color: rgba(255,255,255,.6); }
.jobs-detail .back-link:hover { color: #fff; }
.info-card { background: var(--off-white); border-left: 4px solid var(--blue); padding: 24px 28px; border-radius: 0 8px 8px 0; margin-bottom: 32px; }
.info-card p { margin-bottom: 6px; }
.info-card p:last-child { margin-bottom: 0; }
ul.dsgvo { padding-left: 20px; margin-bottom: 12px; }
ul.dsgvo li { font-size: 15px; color: #333; margin-bottom: 6px; line-height: 1.7; list-style: disc; }
.toc { background: var(--off-white); padding: 28px; border-radius: 8px; margin-bottom: 48px; }
.toc h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; margin-top: 0; }
.toc ol { padding-left: 20px; }
.toc ol li { font-size: 14px; color: #333; margin-bottom: 6px; line-height: 1.6; list-style: decimal; }
.toc ol li a { color: var(--blue); }
.info-box { background: var(--off-white); border-left: 4px solid var(--blue); padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.info-box p { margin-bottom: 4px; }
.warning-box { background: #fff8e1; border-left: 4px solid #f59e0b; padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.warning-box p { color: #333; }

/* ── Page Header ───────────────────────────────────────────────────── */
.page-header p { font-size: 17px; color: rgba(255,255,255,.75); margin-top: 16px; max-width: 640px; line-height: 1.7; }
.page-header .sub { font-size: 17px; color: rgba(255,255,255,.8); margin-top: 12px; max-width: 640px; line-height: 1.7; }

/* ── Value Banner / Tips ───────────────────────────────────────────── */
.value-banner { background: var(--off-white); border-left: 5px solid var(--blue); padding: 24px 32px; margin-bottom: 48px; max-width: 800px; }
.value-banner p { font-size: 18px; font-style: italic; color: #333; line-height: 1.7; }
.tip-block:last-child { border-bottom: none; margin-bottom: 0; }
.tip-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.tip-block p { font-size: 16px; color: var(--gray); line-height: 1.8; }
.tip-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tip-tag { background: var(--off-white); padding: 6px 14px; font-size: 13px; font-weight: 600; }

/* ── Forms ─────────────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #333; margin-bottom: 6px; letter-spacing: .3px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--light-gray); font-family: inherit; font-size: 15px; color: #000; background: #fff; transition: border-color .2s; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); }
.form-check label { font-size: 13px; color: var(--gray); line-height: 1.5; }
.form-check a { color: #333; text-decoration: underline; }
.form-submit { background: var(--blue); color: #fff; border: none; padding: 14px 40px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s; }
.form-submit:hover { background: var(--dark-blue); }
.kontakt-form { background: var(--off-white); padding: 40px; }
.kontakt-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.kontakt-form .form-submit { width: 100%; padding: 14px; }
.kontakt-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.kontakt-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.kontakt-detail-icon { font-size: 20px; flex-shrink: 0; width: 40px; height: 40px; background: var(--off-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.kontakt-detail-body { font-size: 15px; line-height: 1.6; }
.kontakt-detail-label { font-size: 12px; font-weight: 700; color: var(--gray); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; }

/* ── Legal Pages ───────────────────────────────────────────────────── */
main { max-width: 800px; margin: 0 auto; padding: 60px 40px 80px; }
.page-title { font-size: 40px; font-weight: 900; margin-bottom: 8px; letter-spacing: -.5px; }
.page-subtitle { font-size: 16px; color: var(--gray); margin-bottom: 48px; }

/* ── News Card ─────────────────────────────────────────────────────── */
.news-card { overflow: hidden; border: 1px solid #e8e8e8; transition: box-shadow .2s; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.news-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }

/* ── Service Tile Icons ─────────────────────────────────────────────── */
.service-tile-icon img { width: 48px; height: 48px; object-fit: contain; filter: grayscale(100%); }
.ki-icon, .pub-item-icon, .home-wert-icon { filter: grayscale(100%); }

/* ── Process Section ───────────────────────────────────────────────── */
.process-section { padding: 60px 40px; background: var(--off-white); }
.process-section .container { max-width: 1280px; margin: 0 auto; }
.process-section h2 { font-size: clamp(22px,2.5vw,32px); font-weight: 900; margin-bottom: 8px; }
.process-section p.lead { font-size: 16px; color: var(--gray); margin-bottom: 40px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-step { background: #fff; padding: 24px; border-top: 3px solid var(--blue); }
.process-num { font-size: 36px; font-weight: 900; color: var(--off-white); line-height: 1; margin-bottom: 8px; -webkit-text-stroke: 1px var(--blue); }
.process-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray); line-height: 1.6; }
@media(max-width:1024px) { .process-grid { grid-template-columns: repeat(2,1fr); } }

/* ── Tips Section ──────────────────────────────────────────────────── */
.tips-section { padding: 60px 40px; }
.tips-section .container { max-width: 1280px; margin: 0 auto; }
.tip-block { display: grid; grid-template-columns: 160px 1fr; gap: 48px; align-items: start; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid #e8e8e8; }
.tip-num { font-size: 80px; font-weight: 900; color: var(--off-white); line-height: 1; -webkit-text-stroke: 2px var(--blue); }
.tip-block h3 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }

/* ── Design Grid ────────────────────────────────────────────────────── */
.design-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 48px; }
.design-card { border: 1px solid #e8e8e8; padding: 32px; display: flex; flex-direction: column; transition: box-shadow .2s,border-color .2s; }
.design-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); border-color: var(--blue); }
.design-num { font-size: 32px; font-weight: 900; color: var(--off-white); -webkit-text-stroke: 1px var(--blue); margin-bottom: 12px; line-height: 1; }
.design-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.design-card p { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }

/* ── Service Cols ───────────────────────────────────────────────────── */
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
.service-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid #e8e8e8; }
.service-item-icon { width: 40px; height: 40px; background: var(--blue); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.service-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.service-item p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── Product Grid ───────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 64px; }
.product-card { background: #fff; border: 1px solid #e8e8e8; transition: box-shadow .2s,border-color .2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); border-color: var(--blue); }
.product-card-img { height: 160px; overflow: hidden; background: var(--off-white); }
.product-card-img img { width: 100%; height: 160px; object-fit: contain; padding: 12px; }
.product-card-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-card-body p { font-size: 14px; color: var(--gray); line-height: 1.6; flex: 1; }
.product-card-link { font-size: 13px; font-weight: 700; color: #000; text-decoration: underline; margin-top: 12px; display: inline-block; }
@media(max-width:1024px) { .product-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px) { .product-grid { grid-template-columns: 1fr; } }

/* ── USP Band (ticker) ──────────────────────────────────────────────── */
.usp-band { margin-top: var(--nav-h); background: var(--blue); overflow: hidden; padding: 0; height: 40px; display: flex; align-items: center; }
.usp-track { display: flex; gap: 0; animation: scrollLeft 35s linear infinite; white-space: nowrap; }
.usp-band .usp-item { padding: 0 32px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; text-transform: uppercase; }
.usp-band .usp-item::before { content: "●"; margin-right: 12px; opacity: .5; }

/* ── USP Grid ───────────────────────────────────────────────────────── */
.usp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin: 48px 0; }
.usp-grid .usp-item { padding: 32px; background: var(--off-white); border-left: 4px solid var(--blue); }
.usp-grid .usp-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.usp-grid .usp-item p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ── Subnav ─────────────────────────────────────────────────────────── */
.subnav-bar { background: var(--off-white); border-bottom: 1px solid #e8e8e8; padding: 0 40px; }
.subnav-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 4px; }
.subnav-inner a { display: block; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--gray); border-bottom: 2px solid transparent; }
.subnav-inner a:hover, .subnav-inner a.active { color: #000; border-color: var(--blue); }

/* ── Job Detail ─────────────────────────────────────────────────────── */
.job-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.job-content { padding: 80px 40px; }
.job-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.jobs-detail .job-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.job-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; letter-spacing: .5px; text-transform: uppercase; }
.job-badge.blue { background: var(--blue); color: #fff; }
.job-badge.light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.job-section { margin-bottom: 40px; }
.job-section h2 { font-size: 20px; font-weight: 900; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #000; }
.job-section p { font-size: 16px; color: #333; line-height: 1.8; margin-bottom: 12px; }
.job-section ul { padding-left: 0; }
.job-section ul li { font-size: 16px; color: #333; line-height: 1.7; padding: 4px 0 4px 20px; position: relative; }
.job-section ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.sidebar-box { background: var(--off-white); padding: 32px; margin-bottom: 24px; }
.sidebar-box h3 { font-size: 16px; font-weight: 900; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; }
.sidebar-detail-label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 2px; }
.sidebar-cta { background: var(--blue); color: #fff; padding: 14px 24px; font-size: 16px; font-weight: 700; display: block; text-align: center; transition: background .2s; }
.sidebar-cta:hover { background: var(--dark-blue); }
.apply-form { background: #fff; border: 2px solid #e8e8e8; padding: 40px; margin-top: 60px; }
.apply-form h2 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.apply-form .sub { font-size: 15px; color: var(--gray); margin-bottom: 32px; }

/* ── Jobs Listing ───────────────────────────────────────────────────── */
.jobs-section { padding: 80px 40px; }
.jobs-intro { max-width: 680px; margin-bottom: 56px; }
.jobs-intro h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.jobs-intro p { font-size: 17px; color: var(--gray); line-height: 1.8; }
.jobs-grid { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.job-card { background: #fff; border: 1px solid #e8e8e8; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: box-shadow .2s,border-color .2s; }
.job-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); border-color: var(--blue); }
.jobs-listing .job-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.job-title { font-size: 18px; font-weight: 700; color: #000; margin-bottom: 4px; }
.job-type { font-size: 13px; color: var(--gray); margin-top: 4px; }
.job-tag { flex-shrink: 0; padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.job-tag.new { background: var(--blue); color: #fff; }
.job-tag.open { background: var(--off-white); color: #555; border: 1px solid #ddd; }
.job-arrow { font-size: 18px; color: #ccc; flex-shrink: 0; transition: color .2s; margin-left: 12px; }
.job-card:hover .job-arrow { color: var(--blue); }
.job-meta-item { font-size: 13px; color: var(--gray); }

/* ── KI Section / Cards ────────────────────────────────────────────── */
.ki-section { background: var(--dark-blue); padding: 80px 40px; }
.ki-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.ki-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 28px; transition: background .2s,border-color .2s; display: flex; flex-direction: column; gap: 12px; }
.ki-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.ki-card.featured { background: var(--blue); border-color: var(--blue); }
.ki-card.span2 { grid-column: span 2; }
.ki-card.span3 { grid-column: span 3; }
.ki-card .ki-num { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: 1px; }
.ki-card .ki-badge { display: inline-block; background: #fff; color: #000; font-size: 11px; font-weight: 700; padding: 3px 10px; letter-spacing: .5px; width: fit-content; }
.ki-card .ki-icon { font-size: 28px; margin-bottom: 4px; }
.ki-card .ki-title { font-size: 18px; font-weight: 700; color: #fff; }
.ki-card .ki-desc { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; flex: 1; }
.ki-card .ki-price { font-size: 18px; font-weight: 700; color: #fff; margin-top: auto; padding-top: 16px; }
.ki-card .ki-price small { font-size: 13px; font-weight: 400; opacity: .7; }
.ki-packages { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ki-package-tag { background: rgba(255,255,255,.12); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; }
@media(max-width:1024px) { .ki-grid { grid-template-columns: repeat(2,1fr); } .ki-card.span3 { grid-column: span 2; } }
@media(max-width:768px) { .ki-section { padding: 48px 20px; } .ki-grid { grid-template-columns: 1fr; } .ki-card.span2, .ki-card.span3 { grid-column: span 1; } }

/* ── KI Force Cards ────────────────────────────────────────────────── */
.kiforce-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.kiforce-card { border: 2px solid #e8e8e8; padding: 28px; transition: border-color .2s,box-shadow .2s; display: flex; flex-direction: column; gap: 12px; }
.kiforce-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(0,110,242,.1); }
.kiforce-card.featured { border-color: var(--blue); background: var(--off-white); }
.kiforce-tag { font-size: 11px; font-weight: 700; color: #000; letter-spacing: .5px; text-transform: uppercase; }
.kiforce-title { font-size: 18px; font-weight: 700; color: #000; }
.kiforce-desc { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }
.kiforce-features { margin-top: 8px; }
.kiforce-features li { font-size: 13px; color: #333; padding: 5px 0; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 8px; }
.kiforce-features li::before { content: "✓"; color: #000; font-weight: 700; flex-shrink: 0; }
.kiforce-price { font-size: 20px; font-weight: 700; color: #000; margin-top: auto; padding-top: 16px; }
.kiforce-price small { font-size: 13px; font-weight: 400; color: var(--gray); }
@media(max-width:1024px) { .kiforce-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:768px) { .kiforce-grid { grid-template-columns: 1fr; } }

/* ── Page Header ───────────────────────────────────────────────────── */
.page-header { margin-top: var(--nav-h); background: var(--blue); padding: 60px 40px; }
.page-header h1 { font-size: clamp(28px,4vw,48px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.5px; }
.page-header h1 span { color: rgba(255,255,255,.5); }
.page-header-eyebrow { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }

/* ── CTA Strip ─────────────────────────────────────────────────────── */
.cta-strip { background: var(--off-white); padding: 60px 40px; text-align: center; border-top: 1px solid #e8e8e8; }
.cta-strip h2 { font-size: 32px; font-weight: 900; color: #000; margin-bottom: 12px; }
.cta-strip p { font-size: 17px; color: var(--gray); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Footer ────────────────────────────────────────────────────────── */
footer { background: #000; color: rgba(255,255,255,.7); padding: 60px 40px 30px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 16px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a,
.footer-col p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; }
.footer-col ul li a { transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-legal a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s; }
.footer-social a:hover { background: var(--blue); }
.footer-social img { filter: brightness(0) invert(1); opacity: .6; transition: opacity .2s; }
.footer-social a:hover img { opacity: 1; }

/* ── Cookie Banner ─────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #fff; border-top: 3px solid var(--blue);
  box-shadow: 0 -8px 40px rgba(0,0,0,.15); padding: 24px 40px;
}
.cookie-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: var(--gray); }
.cookie-text a { color: #333; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btn { padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; border: 2px solid transparent; font-family: inherit; }
.cookie-btn-accept { background: var(--blue); color: #fff; }
.cookie-btn-decline { background: transparent; border-color: var(--light-gray); color: var(--gray); }
.cookie-btn-settings { background: transparent; border-color: #000; color: #000; }
.cookie-btn-settings:hover { background: #000; color: #fff; }
/* Cookie Modal */
#cookie-modal {
  display: none; position: fixed; inset: 0; z-index: 9100;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
#cookie-modal.open { display: flex; }
.cookie-modal-box {
  background: #fff; max-width: 560px; width: 90%;
  padding: 40px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.cookie-modal-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cookie-modal-box > p { font-size: 14px; color: var(--gray); margin-bottom: 28px; line-height: 1.6; }
.cookie-category { border: 1px solid #e8e8e8; padding: 20px; margin-bottom: 16px; }
.cookie-category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cookie-category-title { font-size: 15px; font-weight: 700; }
.cookie-category-desc { font-size: 13px; color: var(--gray); line-height: 1.6; }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0; background: var(--light-gray);
  border-radius: 24px; transition: .2s;
}
.toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: .7; cursor: not-allowed; }
.cookie-always { font-size: 12px; color: var(--gray); font-weight: 600; }
.cookie-modal-actions { display: flex; gap: 12px; margin-top: 28px; }
.cookie-modal-actions button {
  flex: 1; padding: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; border: 2px solid transparent; transition: all .2s;
}
.modal-btn-save { background: var(--blue); color: #fff; border-color: var(--blue); }
.modal-btn-save:hover { background: var(--dark-blue); border-color: var(--dark-blue); }
.modal-btn-all { background: transparent; border-color: #000; color: #000; }
.modal-btn-all:hover { background: #000; color: #fff; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr; }
  .job-sidebar { position: static; }
}
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav#main-nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .page-header, .job-content { padding: 48px 20px; }
  .page-header, .page-content { padding: 48px 20px; }
  .apply-form { padding: 24px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .usp-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 48px 20px; }
  #cookie-banner { padding: 20px; }
  .process-section, .tips-section { padding: 40px 20px; }
  .tip-block { grid-template-columns: 1fr; }
  .tip-num { font-size: 48px; }
  .design-grid { grid-template-columns: 1fr; }
  .service-cols { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ── Homepage: keyframes ──────────────────────────────────────────── */
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes arrowPulse { 0%,100%{opacity:1;transform:translateX(0)} 50%{opacity:.7;transform:translateX(4px)} }
@keyframes kcm-bounce { 0%,60%,100%{transform:translateY(0);opacity:.4} 30%{transform:translateY(-5px);opacity:1} }

/* ── Homepage: base ───────────────────────────────────────────────── */
section { padding: 80px 40px; }
.text-center { text-align: center; }
.text-center .section-body { margin-left: auto; margin-right: auto; }

/* ── Homepage: hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 680px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  transform: scaleX(-1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,20,60,.88) 0%, rgba(0,58,128,.75) 45%, rgba(0,30,80,.60) 100%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1280px; margin: 0 auto;
  padding: 60px 40px; width: 100%;
  display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center;
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 16px; margin-bottom: 24px;
}
.hero-eyebrow span { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; text-transform: uppercase; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: #7FD9FF; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(30px, 3.5vw, 50px); font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: #7FD9FF; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-klara-wrap { display: flex; flex-direction: column; }
.hero-klara-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; align-self: flex-start;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
}
.hero-klara-badge span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .8px; text-transform: uppercase; }
.hero-klara-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 1.5s infinite; }
.hero-klara-frame {
  width: 100%; height: 640px; border: none;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  background: #fff;
}
.hero-arrow { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.hero-arrow-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, rgba(127,217,255,0) 0%, rgba(127,217,255,.6) 60%, rgba(127,217,255,1) 100%);
  position: relative;
}
.hero-arrow-line::after {
  content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: rgba(127,217,255,1);
  border-right: none;
}
.hero-arrow-text {
  font-size: 13px; font-weight: 700; color: rgba(127,217,255,.9);
  letter-spacing: .3px; white-space: nowrap; animation: arrowPulse 2s ease-in-out infinite;
}
.hero-klara-mobile-cta {
  display: none;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3);
  padding: 28px; text-align: center;
}
.hero-klara-mobile-cta .klara-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff; margin: 0 auto 16px;
}
.hero-klara-mobile-cta p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 20px; line-height: 1.6; }
.hero-klara-mobile-cta a {
  display: inline-block; background: #fff; color: #000;
  font-size: 16px; font-weight: 700; padding: 14px 32px;
  transition: transform .15s, box-shadow .15s;
}
.hero-klara-mobile-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero-facts {
  display: flex; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 32px;
}
.hero-fact-val { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.hero-fact-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }

/* ── Homepage: Klara chat mockup ─────────────────────────────────── */
.klara-chat-mock {
  width: 100%; height: 640px; background: #f4f6fb;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  font-family: 'FF Zwo Pro', Arial, sans-serif;
  position: relative;
}
.klara-chat-mock .kcm-header {
  background: var(--dark-blue); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.klara-chat-mock .kcm-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.klara-chat-mock .kcm-header-info { flex: 1; }
.klara-chat-mock .kcm-name { font-size: 14px; font-weight: 700; color: #fff; }
.klara-chat-mock .kcm-status {
  font-size: 11px; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 5px;
}
.klara-chat-mock .kcm-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: pulse 1.5s infinite;
}
.klara-chat-mock .kcm-kastner {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .6px;
}
.klara-chat-mock .kcm-msgs {
  flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 14px;
  background: #f0f2f8;
}
.kcm-row { display: flex; gap: 10px; align-items: flex-end; }
.kcm-row.user { flex-direction: row-reverse; }
.kcm-row .kcm-bubble-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.kcm-row.user .kcm-bubble-avatar { background: #888; }
.kcm-bubble {
  max-width: 76%; background: #fff; border-radius: 2px 14px 14px 14px;
  padding: 10px 14px; font-size: 13.5px; line-height: 1.55; color: #1a1a2e;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.kcm-row.user .kcm-bubble {
  background: var(--dark-blue); color: #fff;
  border-radius: 14px 14px 2px 14px;
}
.kcm-card {
  background: #fff; border: 1.5px solid #e0e6f3; border-radius: 10px;
  padding: 14px 16px; margin-top: 8px; font-size: 13px;
}
.kcm-card .kcm-card-title {
  font-size: 12px; font-weight: 700; color: var(--dark-blue); letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.kcm-card .kcm-card-title::before {
  content: ''; width: 3px; height: 14px; background: var(--blue); display: inline-block;
}
.kcm-card-row {
  display: flex; justify-content: space-between; padding: 4px 0;
  border-bottom: 1px solid #f0f2f8; font-size: 13px;
}
.kcm-card-row:last-child { border-bottom: none; }
.kcm-card-row span:first-child { color: #666; }
.kcm-card-row span:last-child { font-weight: 600; color: #1a1a2e; }
.kcm-card-badge {
  display: inline-block; background: #eef7ee; color: #2d7a2d;
  font-size: 11px; font-weight: 700; padding: 2px 8px; letter-spacing: .4px; margin-top: 10px;
}
.kcm-typing {
  display: flex; gap: 4px; align-items: center; padding: 10px 14px;
  background: #fff; border-radius: 2px 14px 14px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08); width: fit-content;
}
.kcm-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .4;
  animation: kcm-bounce .9s infinite;
}
.kcm-typing span:nth-child(2) { animation-delay: .15s; }
.kcm-typing span:nth-child(3) { animation-delay: .3s; }
.klara-chat-mock .kcm-input-bar {
  background: #fff; border-top: 1px solid #e0e6f3; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.kcm-input-field {
  flex: 1; background: #f4f6fb; border: 1.5px solid #e0e6f3; padding: 9px 14px;
  font-size: 13.5px; color: #888; border-radius: 6px; outline: none;
  font-family: inherit;
}
.kcm-send-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer;
}
.kcm-send-btn svg { fill: #fff; }
.kcm-open-real-btn {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
  padding: 9px 22px; letter-spacing: .3px; cursor: pointer; border: none;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(0,110,242,.35);
  transition: transform .15s, box-shadow .15s;
}
.kcm-open-real-btn:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 8px 24px rgba(0,110,242,.45); }

/* ── Homepage: Klara floating popup ─────────────────────────────── */
.klara-popup-widget {
  position: fixed; z-index: 9999; bottom: 24px; right: 24px;
  width: 420px; max-width: calc(100vw - 32px);
  display: flex; flex-direction: column;
  box-shadow: 0 24px 72px rgba(0,0,0,.4), 0 0 0 1px rgba(0,110,242,.15);
  border-radius: 0; overflow: hidden;
  user-select: none;
  transition: height .3s ease, opacity .3s ease;
}
.klara-popup-widget.collapsed { width: auto; height: auto; }
.klara-popup-header {
  background: var(--dark-blue); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  cursor: grab; flex-shrink: 0;
}
.klara-popup-header:active { cursor: grabbing; }
.klara-popup-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.klara-popup-info { flex: 1; }
.klara-popup-name { font-size: 13px; font-weight: 700; color: #fff; }
.klara-popup-sub {
  font-size: 11px; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 5px;
}
.klara-popup-sub-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse 1.5s infinite; }
.klara-popup-close,
.klara-popup-minimize {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; font-size: 18px; font-weight: 700; color: #fff;
  transition: background .2s, transform .2s; line-height: 1;
}
.klara-popup-close:hover { background: rgba(255,50,50,.6); transform: scale(1.1); }
.klara-popup-minimize { font-size: 22px; margin-right: 6px; }
.klara-popup-minimize:hover { background: rgba(255,255,255,.3); transform: scale(1.1); }
.klara-popup-frame-wrap {
  background: #f0f2f8; flex: 1;
  transition: max-height .3s ease, opacity .3s ease;
}
.klara-popup-frame-wrap iframe {
  width: 100%; height: min(680px, calc(100vh - 120px)); border: none; display: block;
}
.klara-popup-widget.collapsed .klara-popup-frame-wrap { display: none; }
.klara-popup-widget.minimized { border-radius: 32px; overflow: hidden; }
.klara-popup-widget.minimized .klara-popup-frame-wrap { display: none; }
.klara-popup-widget.minimized .klara-popup-header { cursor: pointer; border-radius: 32px; }
.klara-popup-minimize-hint {
  font-size: 10px; color: rgba(255,255,255,.45); margin-left: auto; margin-right: 8px;
  white-space: nowrap; pointer-events: none;
}
.klara-popup-widget.minimized .klara-popup-minimize-hint { display: none; }

/* ── Homepage: Klara FAB ─────────────────────────────────────────── */
.klara-fab {
  position: fixed; z-index: 9999; bottom: 24px; right: 24px;
  background: var(--dark-blue); display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.klara-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.klara-fab .klara-fab-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.klara-fab .klara-fab-label { font-size: 13px; font-weight: 700; color: #fff; }
.klara-fab .klara-fab-sub { font-size: 11px; color: rgba(255,255,255,.7); }
.klara-fab .klara-fab-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  position: absolute; top: 10px; right: 10px;
  animation: pulse 1.5s infinite;
}

/* ── Homepage: Werte snippet ─────────────────────────────────────── */
#werte { background: #fff; }
.home-werte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.home-wert-card { padding: 32px; background: var(--off-white); border-left: 4px solid var(--blue); }
.home-wert-icon { font-size: 32px; margin-bottom: 12px; }
.home-wert-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.home-wert-text { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ── Homepage: Geschichte snippet ───────────────────────────────── */
#geschichte { background: var(--off-white); }
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.home-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.home-timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--light-gray); }
.home-tl-item { display: flex; gap: 28px; padding-bottom: 36px; position: relative; }
.home-tl-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 24px; }
.home-tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); flex-shrink: 0; }
.home-tl-year { font-size: 13px; font-weight: 900; color: #000; letter-spacing: .5px; margin-bottom: 4px; }
.home-tl-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.home-tl-text { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── Homepage: About / Unternehmen section ───────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.about-item { display: flex; gap: 16px; align-items: flex-start; }
.about-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.about-text { font-size: 16px; color: #333; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-stat { padding: 28px; text-align: center; }
.about-stat.blue { background: var(--blue); }
.about-stat.dark { background: var(--dark-blue); }
.about-stat.light { background: #fff; border: 2px solid #e8e8e8; }
.about-stat-val { font-size: 40px; font-weight: 900; line-height: 1; }
.about-stat.blue .about-stat-val,
.about-stat.dark .about-stat-val { color: #fff; }
.about-stat.light .about-stat-val { color: #000; }
.about-stat-label { font-size: 13px; font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: .5px; }
.about-stat.blue .about-stat-label,
.about-stat.dark .about-stat-label { color: rgba(255,255,255,.7); }
.about-stat.light .about-stat-label { color: var(--gray); }
.about-photo { width: 100%; height: 280px; object-fit: cover; }

/* ── Homepage: services overview ────────────────────────────────── */
#leistungen { background: var(--off-white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 48px;
}
.service-tile {
  background: #fff; padding: 36px 32px; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); z-index: 1; }
.service-tile-icon { width: 48px; height: 48px; }
.service-tile-icon .icon-text { font-size: 32px; line-height: 1; }
.service-tile h3 { font-size: 19px; font-weight: 700; color: #000; margin: 0; }
.service-tile p { font-size: 15px; color: var(--gray); line-height: 1.7; flex: 1; }
.service-tile a.more {
  font-size: 14px; font-weight: 700; color: #000; display: inline-flex;
  align-items: center; gap: 6px; margin-top: 8px; text-decoration: underline;
}
.service-tile a.more:hover { gap: 10px; }
.service-tile.featured { background: var(--blue); }
.service-tile.featured h3,
.service-tile.featured p { color: #fff; }
.service-tile.featured p { opacity: .85; }
.service-tile.featured a.more { color: rgba(255,255,255,.8); }

/* ── Homepage: KI Produkte section ──────────────────────────────── */
#ki-produkte { background: var(--dark-blue); }
#ki-produkte .section-eyebrow { color: rgba(255,255,255,.6); }
#ki-produkte .section-title { color: #fff; }
#ki-produkte .section-body { color: rgba(255,255,255,.7); }

/* ── Homepage: Print section ────────────────────────────────────── */
#print { background: #fff; }
.print-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 48px;
}
.print-card {
  display: flex; gap: 24px; padding: 28px; background: var(--off-white);
  transition: box-shadow .2s; align-items: flex-start;
}
.print-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.print-card-img { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }
.print-card-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.print-card-body p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.print-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #000; margin-top: 12px; text-decoration: underline;
}
.print-fullwidth {
  margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; align-items: stretch;
}
.print-fullwidth-img { height: 100%; min-height: 280px; max-height: 320px; object-fit: cover; width: 100%; }
.print-fullwidth-text {
  background: var(--blue); padding: 36px; display: flex; flex-direction: column; justify-content: center;
}
.print-fullwidth-text h3 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.print-fullwidth-text p { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 20px; }

/* ── Homepage: Publishing section ───────────────────────────────── */
#publishing { background: var(--off-white); }
.pub-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 48px;
}
.pub-list { display: flex; flex-direction: column; gap: 24px; }
.pub-item { display: flex; gap: 20px; align-items: flex-start; }
.pub-item-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.pub-item-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pub-item-desc { font-size: 14px; color: var(--gray); line-height: 1.7; }
.pub-visual {
  background: var(--blue); padding: 48px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%;
}
.pub-visual-big { font-size: 80px; font-weight: 900; color: #fff; line-height: 1; }
.pub-visual-sub { font-size: 16px; color: rgba(255,255,255,.8); margin-top: 12px; line-height: 1.6; }
.pub-visual-img { width: 100%; height: 300px; object-fit: cover; object-position: center top; display: block; }

/* ── Homepage: KI Force / newsletter ────────────────────────────── */
#ki-force { background: #fff; }
.newsletter-strip { background: var(--off-white); padding: 60px 40px; border-top: 1px solid #e8e8e8; }
.newsletter-inner {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 26px; font-weight: 900; color: #000; margin-bottom: 8px; }
.newsletter-text p { font-size: 16px; color: var(--gray); }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.newsletter-form input {
  padding: 12px 20px; border: 2px solid var(--light-gray);
  background: #fff; color: #000; font-size: 15px; font-family: inherit;
  min-width: 280px; transition: border-color .2s;
}
.newsletter-form input::placeholder { color: #aaa; }
.newsletter-form input:focus { outline: none; border-color: var(--blue); }
.newsletter-form button {
  padding: 12px 28px; background: var(--blue); color: #fff;
  border: none; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.newsletter-form button:hover { background: var(--dark-blue); }

/* ── Homepage: Karriere section ─────────────────────────────────── */
#karriere { background: var(--dark-blue); }
#karriere .section-eyebrow { color: rgba(255,255,255,.6); }
#karriere .section-title { color: #fff; }
#karriere .section-body { color: rgba(255,255,255,.7); }

/* ── Karriere / Careers page ─────────────────────────────────────── */
.initiativ-box { margin-top: 48px; padding: 40px; background: var(--off-white); border-left: 4px solid var(--blue); max-width: 800px; }
.initiativ-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.initiativ-box p { font-size: 15px; color: var(--gray); line-height: 1.7; }
.initiativ-box a { display: inline-block; margin-top: 20px; background: var(--blue); color: #fff; padding: 12px 28px; font-size: 15px; font-weight: 700; }
.initiativ-box a:hover { background: var(--dark-blue); }
.benefits-section { background: var(--off-white); padding: 80px 40px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.benefit-item { background: #fff; padding: 32px; border-top: 4px solid var(--blue); }
.benefit-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.benefit-item p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ── Homepage: News/Aktuelles snippet ───────────────────────────── */
#aktuelles { background: #fff; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.home-news-card { display: flex; flex-direction: column; }
.home-news-card-header { height: 180px; overflow: hidden; }
.home-news-card-header img { width: 100%; height: 180px; object-fit: cover; display: block; }
.home-news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.home-news-tag { font-size: 11px; font-weight: 700; color: #000; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.home-news-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.home-news-date { font-size: 13px; color: var(--light-gray); margin-top: 16px; font-weight: 600; }

/* ── News page (Aktuelles / news) ────────────────────────────────── */
.filter-bar { background: var(--off-white); border-bottom: 1px solid #e8e8e8; padding: 0 40px; }
.filter-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 4px; align-items: center; }
.filter-inner a { display: block; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--gray); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.filter-inner a:hover, .filter-inner a.active { color: #000; border-color: var(--blue); }
.news-section { padding: 72px 40px; background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.news-card { display: flex; flex-direction: column; }
.news-card-header { height: 200px; overflow: hidden; }
.news-card-header img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; padding: 3px 10px; background: rgba(0,110,242,.08); }
.news-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.35; }
.news-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.news-date { font-size: 13px; color: var(--light-gray); font-weight: 600; }
.news-link { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .3px; transition: color .15s; }
.news-link:hover { color: var(--dark-blue); }

/* ── Homepage: Team snippet ──────────────────────────────────────── */
#team { background: var(--off-white); }
.home-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.home-team-card { background: #fff; overflow: hidden; text-align: center; padding: 32px 24px; }
.home-team-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
}
.home-team-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.home-team-role { font-size: 13px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.home-team-email { font-size: 14px; color: #000; font-weight: 600; word-break: break-all; text-decoration: underline; }
.home-team-email:hover { opacity: .7; text-decoration: underline; }

/* ── Team page ───────────────────────────────────────────────────── */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; max-width:1280px; margin:0 auto; padding:80px 40px; }
.team-card { display:flex; flex-direction:column; border:1px solid #e8e8e8; overflow:hidden; transition:box-shadow .2s,border-color .2s; }
.team-card:hover { box-shadow:0 8px 40px rgba(0,0,0,.1); border-color:var(--blue); }
.team-photo { height:320px; overflow:hidden; background:var(--off-white); }
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:top center; }
.team-photo-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:var(--dark-blue); }
.team-photo-placeholder span { font-size:64px; font-weight:900; color:rgba(255,255,255,.15); }
.team-body { padding:28px; flex:1; display:flex; flex-direction:column; gap:6px; }
.team-role { font-size:12px; font-weight:700; color:var(--blue); letter-spacing:1.5px; text-transform:uppercase; }
.team-name { font-size:22px; font-weight:900; line-height:1.2; }
.team-dept { font-size:14px; color:var(--gray); margin-top:4px; }
.team-contact { display:flex; flex-direction:column; gap:6px; margin-top:16px; padding-top:16px; border-top:1px solid #e8e8e8; }
.team-contact a { font-size:14px; color:var(--gray); display:flex; align-items:center; gap:8px; }
.team-contact a:hover { color:var(--blue); }
.team-contact-icon { width:18px; text-align:center; font-size:13px; flex-shrink:0; }
.team-vorstand { grid-column:1/-1; display:grid; grid-template-columns:360px 1fr; border:2px solid var(--dark-blue); overflow:hidden; }
.team-vorstand .team-photo { height:420px; }
.team-vorstand .team-body { padding:48px; justify-content:center; background:var(--dark-blue); }
.team-vorstand .team-role { color:rgba(255,255,255,.6); }
.team-vorstand .team-name { color:#fff; font-size:36px; }
.team-vorstand .team-dept { color:rgba(255,255,255,.7); }
.team-vorstand .team-contact { border-color:rgba(255,255,255,.15); margin-top:24px; padding-top:24px; }
.team-vorstand .team-contact a { color:rgba(255,255,255,.7); font-size:15px; }
.team-vorstand .team-contact a:hover { color:#fff; }
.contact-strip { background:var(--off-white); padding:60px 40px; border-top:1px solid #e8e8e8; }
.contact-strip-inner { max-width:1280px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.contact-strip h2 { font-size:32px; font-weight:900; margin-bottom:16px; }
.contact-strip p { font-size:16px; color:var(--gray); line-height:1.8; margin-bottom:24px; }
.contact-info { display:flex; flex-direction:column; gap:12px; }
.contact-info a { font-size:16px; color:#000; font-weight:600; }
.contact-info a:hover { color:var(--blue); }
.contact-info p { font-size:15px; color:var(--gray); margin:0; line-height:1.6; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-klara-frame { height: 480px; }
  .hero-arrow { display: none; }
  .home-news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .home-team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-vorstand { grid-column: span 2; }
}
@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .hero-inner { padding: 40px 20px; grid-template-columns: 1fr; }
  .hero-arrow { display: none; }
  .hero-klara-frame { display: none; }
  .hero-klara-mobile-cta { display: block; }
  .hero-facts { gap: 24px; }
  .home-werte-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .print-grid { grid-template-columns: 1fr; }
  .print-fullwidth { grid-template-columns: 1fr; }
  .print-fullwidth-img { height: 220px; }
  .pub-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form input { min-width: 100%; }
  .jobs-section { padding: 48px 20px; }
  .benefits-section { padding: 48px 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .home-news-grid { grid-template-columns: 1fr; }
  .news-section { padding: 48px 20px; }
  .filter-bar { padding: 0 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .home-team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; padding: 48px 20px; }
  .team-vorstand { grid-column: span 1; grid-template-columns: 1fr; }
  .team-vorstand .team-photo { height: 280px; }
  .team-vorstand .team-body { padding: 28px; }
  .team-vorstand .team-name { font-size: 26px; }
  .contact-strip { padding: 48px 20px; }
  .contact-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .subnav-bar { padding: 0 20px; }
}
