/* IT Security Solutions – zentrales Stylesheet für alle Seiten.
   Grundlage: Gestaltung der index.htm; Zusatzregeln nur für tatsächlich vorhandene Elemente.
   Gemeinsame Layout- und Farbregeln stehen vor den responsiven Anpassungen. */

/* Grundlayout, Navigation, Hero und Inhalt */
:root {
  --ink: #183346; --muted: #586875; --blue: #0c4e7c; --yellow: #f3c800; --line: #dce3e7;
  --paper: #fff; --ground: #edf0f1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth; scroll-padding-top: 24px;
}
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 16px/1.65 Arial,Helvetica,sans-serif; -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue); text-underline-offset: 5px;
}
img {
  max-width: 100%; height: auto;
}
a:focus-visible {
  outline: 3px solid #a67600; outline-offset: 5px;
}
.skip-link {
  position: absolute; top: -100px; left: 20px; background: white; padding: 12px; z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.site-shell {
  max-width: 1120px; margin: 32px auto; background: var(--paper);
}
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 26px 42px;
}
.main-nav {
  display: flex; gap: 27px; align-items: center;
}
.main-nav a {
  color: #425462; text-decoration: none; font-size: 14px; padding: 12px 0 9px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover {
  color: var(--blue); border-color: #a2b4bf;
}
.main-nav a[aria-current] {
  color: var(--blue); border-color: var(--yellow); font-weight: 700;
}
.hero {
  position: relative; min-height: 410px; overflow: hidden; background: #021426;
}
.hero-image {
  position: absolute; width: 820px; height: 410px; max-width: none; right: 0; top: 0;
  object-fit: contain;
}
.hero:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,#031627 0%,#031627 24%,rgba(3,22,39,.83) 32%,transparent 48%);
}
.hero-copy {
  position: relative; z-index: 1; padding: 48px 42px 37px; width: 460px; color: #fff;
}
.eyebrow {
  margin: 150px 0px 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #b8cbd7; font-weight: 700;
}
h1 {
  font-size: 48px; line-height: 1.08; letter-spacing: -1.9px; font-weight: 600; margin: 0 0 22px;
}
h1 span {
  color: var(--yellow);
}
.hero-description {
  font-size: 17px; line-height: 1.6; color: #d3e0e8; margin: 0 0 26px;
}
.content {
  padding: 0 60px;
}
.content > section {
  display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 30px; padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase;
  padding-top: 9px; color: var(--muted);
}
h2 {
  font-size: 29px; line-height: 1.25; letter-spacing: -.7px; margin: 0 0 20px; font-weight: 600;
}
.section-body p {
  margin: 0 0 17px; color: #435766;
}
.section-body .lead {
  font-size: 17px; color: var(--ink);
}
.use-cases {
  margin: 29px 0 22px; border-top: 1px solid var(--line);
}
.use-cases>div {
  display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 17px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55;
}
.use-cases dt {
  font-weight: 700;
}
.use-cases dd {
  margin: 0; color: #526571;
}
.text-link {
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.text-link span {
  margin-left: 16px;
}
.text-link:hover {
  text-decoration: underline;
}
.section-body .tool-line {
  font-size: 13px; font-family: Consolas,"Liberation Mono",monospace; color: var(--blue);
  margin: 23px 0 0;
}
.tool-line span {
  color: #9babB5; padding: 0 5px;
}
.section-body p:last-child {
  margin-bottom: 0;
}
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 60px;
  padding: 24px 0 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.site-footer>div {
  display: flex; flex-direction: column; gap: 3px;
}
.site-footer strong {
  color: var(--ink); font-weight: 600;
}
.site-footer nav {
  display: flex; gap: 24px;
}
.site-footer a {
  color: var(--muted); text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-header .brand {
  display: block; line-height: 0; position: relative; overflow: hidden; aspect-ratio: 1920 / 380;
  flex: 0 1 480px; width: 480px; max-width: 100%;
}
.site-header .brand img {
  position: absolute; display: block; width: 106.666667%; max-width: none; height: auto;
  left: -3.125%; top: -40%;
}
.subpage .hero-copy {
  min-height: 410px; display: flex; flex-direction: column; justify-content: center;
}
.subpage .hero-copy h1 {
  font-size: 44px; letter-spacing: -1.3px; overflow-wrap: anywhere;
}
.subpage .hero-copy .eyebrow {
  margin-bottom: 22px;
}
.site-footer a[aria-current="page"] {
  color: var(--blue); text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px; font-weight: 700;
}
.hero-picture {
  display: block; width: 100%; line-height: 0;
}

/* Leistungen */
.services-index {
  display: flex; flex-wrap: wrap; gap: 8px 25px; margin-top: 22px;
}
.services-index a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px;
  font-weight: 600; text-decoration: none;
}
.services-index a:hover {
  text-decoration: underline; text-decoration-color: #a67600;
}
.service-section {
  scroll-margin-top: 24px;
}
.services-intro .section-body>p,.service-body .service-lead {
  font-size: 17px;
}
.service-details {
  margin: 29px 0 0; border-top: 1px solid var(--line);
}
.service-details>div {
  display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 22px; padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.service-details h3 {
  font-size: 14px; line-height: 1.55; margin: 0; font-weight: 700; color: var(--ink);
}
.service-details ul {
  padding-left: 17px; margin: 0; color: #526571; font-size: 14px; line-height: 1.55;
}
.service-details li {
  padding-left: 2px; margin-bottom: 8px; overflow-wrap: break-word;
}
.service-details li:last-child {
  margin-bottom: 0;
}
.service-details li::marker {
  color: #718a9a; font-size: .75em;
}
.services-page .hero-image {
  width: 100%; height: 100%; object-fit: cover; object-position: center right; top: 0; right: 0;
}
.services-page .hero:after {
  background: linear-gradient(90deg,#031627 0%,rgba(3,22,39,.85) 20%,transparent 39%);
}

/* Profil */
.profile-meta {
  font-size: 12px; font-weight: 400; color: var(--muted);
}
.profile-project {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.profile-project h3 {
  font-size: 21px; line-height: 1.35; letter-spacing: -.3px; margin: 0 0 18px; color: var(--ink);
  font-weight: 600;
}
.section-body .profile-project-context {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 11px;
}
.profile-project .use-cases {
  margin: 0 0 15px; border-top: 0;
}
.profile-project .use-cases>div:first-child {
  padding-top: 0;
}
.section-body .profile-project .tool-line {
  margin: 15px 0 0; font-size: 12px;
}
.profile-page .hero-image {
  width: 100%; height: 100%; object-fit: cover; object-position: center right; top: 0; right: 0;
}

/* Responsive Anpassungen */
@media (max-width:1152px) {
  .site-shell {
    margin: 16px;
  }
  .site-header {
    padding: 23px 32px; gap: 28px;
  }
  .main-nav {
    gap: 22px;
  }
  .content {
    padding: 0 40px;
  }
  .site-footer {
    margin: 0 40px;
  }
  .content > section {
    grid-template-columns: 170px minmax(0,1fr); gap: 24px;
  }
  .use-cases>div {
    grid-template-columns: 165px 1fr; gap: 16px;
  }
  .service-details>div {
    grid-template-columns: 165px minmax(0,1fr); gap: 16px;
  }
}
@media (max-width:850px) {
  .site-header {
    flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 28px 14px;
  }
  .main-nav {
    width: 100%; justify-content: space-between; gap: 16px;
  }
  .hero {
    min-height: 370px;
  }
  .hero-image {
    width: 680px; height: 340px; top: 15px; right: -60px;
  }
  .hero-copy {
    padding: 40px 28px; width: 360px;
  }
  h1 {
    font-size: 41px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .hero:after {
    background: linear-gradient(90deg,#031627 0%,#031627 20%,rgba(3,22,39,.88) 32%,transparent 62%);
  }
  .content > section {
    grid-template-columns: minmax(0,1fr); gap: 12px; padding: 32px 0;
  }
  .section-label {
    padding: 0;
  }
  .content {
    padding: 0 28px;
  }
  .site-footer {
    margin: 0 28px;
  }
  .use-cases>div {
    grid-template-columns: 190px 1fr;
  }
  .site-header .brand {
    display: block; line-height: 0; flex: none; width: 440px;
  }
  .subpage .hero-copy {
    min-height: 0; padding: 32px 28px 16px;
  }
  .subpage .hero-copy h1 {
    font-size: 41px;
  }
  .service-details>div {
    grid-template-columns: 190px minmax(0,1fr);
  }
  .services-page .hero-image {
    position: static; width: 100%; height: auto; object-fit: contain;
  }
  .services-page .hero:after {
    display: none;
  }
  .profile-page .hero-image {
    position: static; width: 100%; height: auto; object-fit: contain;
  }
}
@media (min-width:581px) and (max-width:850px) {
  .hero {
    display: flex; flex-direction: column; min-height: 0;
  }
  .hero-copy {
    order: -1; width: auto; padding: 32px 28px 16px;
  }
  .hero-image {
    position: static; width: 100%; height: auto; max-width: 100%;
  }
  .hero:after {
    display: none;
  }
  .eyebrow {
    margin-bottom: 18px;
  }
}
@media (max-width:580px) {
  .site-shell {
    margin: 0;
  }
  .site-header {
    padding: 20px 22px 12px;
  }
  .main-nav a {
    font-size: 14px; min-height: 44px;
  }
  .hero {
    min-height: 0; display: flex; flex-direction: column;
  }
  .hero-copy {
    order: -1; padding: 29px 24px 14px; width: auto;
  }
  .hero:after {
    display: none;
  }
  .hero-image {
    position: static; width: 100%; height: auto; max-width: 100%; margin-top: 0;
  }
  .eyebrow {
    margin-bottom: 20px; font-size: 9px;
  }
  h1 {
    font-size: 42px; letter-spacing: -1.5px; margin-bottom: 16px;
  }
  .hero-description {
    font-size: 16px; line-height: 1.5; margin-bottom: 15px;
  }
  .content {
    padding: 0 24px;
  }
  h2 {
    font-size: 26px; overflow-wrap: anywhere;
  }
  .section-body .lead {
    font-size: 16px;
  }
  .section-body p {
    font-size: 15px;
  }
  .use-cases>div {
    grid-template-columns: 1fr; gap: 5px;
  }
  .section-body .tool-line {
    font-size: 12px; line-height: 1.9;
  }
  .site-footer {
    margin: 0 24px; align-items: flex-start; flex-direction: column; gap: 16px;
  }
  .site-footer a {
    display: inline-block; padding: 7px 0;
  }
  .site-header .brand {
    display: block; line-height: 0; width: 345px;
  }
  .subpage .hero-copy {
    padding: 29px 24px 14px;
  }
  .subpage .hero-copy h1 {
    font-size: 38px;
  }
  .services-intro .section-body>p,.service-body .service-lead {
    font-size: 16px;
  }
  .services-index {
    flex-direction: column; align-items: flex-start; gap: 0; margin-top: 15px;
  }
  .service-details>div {
    grid-template-columns: 1fr; gap: 8px;
  }
  .profile-project h3 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}
