/* Software & Digitalisierung — CB-IT service landing page */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { overflow-x: hidden; }
main { position: relative; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10001; padding: 10px 14px; border-radius: var(--radius-md); background: var(--text-primary); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.nav-home { color: var(--brand-blue) !important; }
.section { padding: 104px 0; }
.section.alt { background: var(--section-background); }
.section-head { max-width: 800px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-copy { max-width: 760px; }
.section-copy p + p { margin-top: 16px; }
.section-note {
  margin-top: 28px; padding: 20px 22px; max-width: 900px;
  border: 1px solid rgba(37,99,235,.2); border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-md); background: var(--surface-elevated);
  color: var(--text-secondary); line-height: 1.65;
}
.detail-text-link { display:inline-flex; margin-top:24px; color:var(--brand-blue); font-weight:700; line-height:1.5; }
.detail-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.detail-text-link:focus-visible { outline:2px solid var(--brand-cyan); outline-offset:4px; }
.footer-grid h4:not(:first-child) { margin-top:25px; }
.detail-breadcrumb { padding:132px 0 0; color:var(--text-secondary); font-size:14px; }
.detail-breadcrumb a:hover { color:var(--brand-blue); text-decoration:underline; }
.detail-hero { padding:46px 0 88px; }
.detail-hero h1 { max-width:920px; margin-top:22px; font-size:clamp(40px,5.6vw,68px); line-height:1.08; letter-spacing:-.035em; }
.detail-hero .lead { max-width:76ch; margin-top:24px; }
.detail-hero .btn { margin-top:29px; }
.detail-section { padding:84px 0; border-top:1px solid var(--border-base); }
.detail-section .lead { max-width:76ch; margin-top:20px; }
.detail-faq { max-width:850px; margin-top:28px; }
.detail-faq details { border-bottom:1px solid var(--border-base); padding:18px 0; }
.detail-faq summary { cursor:pointer; font-weight:650; }
.detail-faq p { margin-top:11px; color:var(--text-secondary); line-height:1.65; }
.detail-related { display:flex; flex-wrap:wrap; gap:10px 24px; margin-top:25px; }
@media(max-width:700px){.detail-breadcrumb{padding-top:105px}.detail-hero{padding-bottom:55px}.detail-section{padding:58px 0}}

.hero {
  position: relative; overflow: hidden; padding: 176px 0 112px;
  background: var(--page-background);
}
.hero::before {
  content: ""; position: absolute; width: 650px; height: 650px; right: -180px; top: -230px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34,211,238,.22), rgba(99,102,241,.1) 48%, transparent 72%);
  filter: blur(18px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-top: 24px; max-width: 780px; font-size: clamp(46px, 6vw, 76px); line-height: 1.01; letter-spacing: -.035em; font-weight: 600; }
.hero .lead { margin-top: 26px; max-width: 700px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.hero .supporting { margin-top: 16px; max-width: 680px; color: var(--text-secondary); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-tags span { padding: 7px 11px; border: 1px solid var(--border-base); border-radius: var(--radius-pill); background: rgba(255,255,255,.72); color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.hero-panel { padding: 30px; border: 1px solid var(--border-base); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: var(--shadow-elevated); backdrop-filter: blur(16px); }
.hero-panel h2 { font-size: 20px; }
.hero-flow { display: grid; gap: 10px; margin-top: 22px; }
.hero-flow span { display: flex; align-items: center; min-height: 52px; padding: 13px 16px; border: 1px solid var(--border-base); border-radius: var(--radius-md); background: var(--surface-base); color: var(--text-primary); font-weight: 600; }
.hero-flow span:not(:last-child)::after { content: "↓"; margin-left: auto; color: var(--brand-blue); }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  min-width: 0; padding: 28px; border: 1px solid var(--border-base); border-radius: var(--radius-lg);
  background: var(--surface-base); box-shadow: var(--shadow-subtle); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); border-color: rgba(37,99,235,.28); box-shadow: var(--shadow-elevated); }
.card h3 { margin-bottom: 11px; font-size: 21px; line-height: 1.3; }
.card p { color: var(--text-secondary); line-height: 1.65; }
.problem-card { min-height: 142px; display: flex; align-items: center; }
.problem-card h3 { margin: 0; font-size: 20px; }
.icon-mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 19px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(37,99,235,.12)); color: var(--brand-blue); font-size: 19px; font-weight: 700; }

.feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.feature-list span { padding: 10px 14px; border: 1px solid var(--border-base); border-radius: var(--radius-md); background: var(--surface-base); color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.feature-list.compact { margin-top: 20px; }

.flow-line { display: flex; align-items: stretch; gap: 10px; margin-top: 34px; }
.flow-node { flex: 1; display: grid; place-items: center; min-height: 78px; padding: 14px; border: 1px solid var(--border-base); border-radius: var(--radius-md); background: var(--surface-base); text-align: center; font-weight: 650; }
.flow-arrow { display: grid; place-items: center; flex: 0 0 24px; color: var(--brand-blue); font-size: 22px; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.comparison-card { padding: 28px; border-radius: var(--radius-lg); }
.comparison-card.today { border: 1px solid var(--border-base); background: var(--surface-base); }
.comparison-card.target { border: 1px solid rgba(37,99,235,.25); background: linear-gradient(145deg, rgba(34,211,238,.1), rgba(37,99,235,.07)); }
.comparison-card h3 { margin-bottom: 20px; }
.vertical-flow { display: grid; gap: 8px; }
.vertical-flow span { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.vertical-flow span:not(:last-child)::after { content: "↓"; margin-left: auto; color: var(--brand-blue); }

.spotlight { position: relative; border: 1px solid rgba(37,99,235,.22); background: linear-gradient(145deg, #eef8fc, #f6f8ff); }
.spotlight::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: linear-gradient(var(--brand-cyan), var(--brand-blue)); }

.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.example-card { padding: 28px; border: 1px solid var(--border-base); border-radius: var(--radius-lg); background: var(--surface-base); box-shadow: var(--shadow-subtle); }
.example-card > span { display: block; margin-bottom: 16px; color: var(--brand-blue); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.example-card h3 { font-size: 22px; }
.example-flow { display: grid; gap: 7px; margin-top: 22px; }
.example-flow li { list-style: none; position: relative; padding: 10px 12px; border-radius: var(--radius-md); background: var(--section-background); color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.example-flow li:not(:last-child)::after { content: "↓"; position: absolute; right: 12px; color: var(--brand-blue); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: steps; }
.step { counter-increment: steps; padding: 28px; border-top: 3px solid var(--brand-cyan); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--surface-base); box-shadow: var(--shadow-subtle); }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 18px; color: var(--brand-blue); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.step h3 { margin-bottom: 10px; font-size: 20px; }
.step p { color: var(--text-secondary); line-height: 1.6; }

.faq-list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--border-base); }
.faq-item { border-bottom: 1px solid var(--border-base); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; background: none; color: var(--text-primary); text-align: left; font: inherit; cursor: pointer; }
.faq-question strong { font-size: 18px; }
.faq-question span { color: var(--brand-blue); font-size: 24px; transition: transform .2s; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 44px 24px 0; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.contact-meta { display: grid; gap: 12px; margin-top: 28px; }
.contact-meta a { color: var(--text-secondary); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; border: 1px solid var(--border-base); border-radius: var(--radius-lg); background: var(--surface-base); box-shadow: var(--shadow-elevated); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid rgba(10,22,40,.18); border-radius: var(--radius-md); background: var(--surface-base); color: var(--text-primary); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.form-status { grid-column: 1 / -1; min-height: 24px; color: var(--text-secondary); font-size: 14px; }
.form-status.success { color: #08795d; }
.form-status.error { color: #a62929; }
.honeypot { position: absolute !important; left: -9999px !important; }

.footer-brand-name img { display: block; height: 72px; width: auto; max-width: 100%; }

@media (max-width: 1080px) {
  .nav-home { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-panel { max-width: 720px; }
  .examples, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .flow-line { flex-direction: column; }
  .flow-arrow { min-height: 24px; transform: rotate(90deg); }
}
@media (max-width: 760px) {
  .section { padding: 78px 0; }
  .hero { padding: 132px 0 82px; }
  .grid.two, .grid.three, .comparison, .examples, .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .field.full { grid-column: auto; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 39px; }
  .hero-panel, .card, .example-card, .step { padding: 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-head { margin-bottom: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 34px; }
  .hero-tags span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .faq-answer, .faq-question span { transition: none; }
}
