/* Böcker Advisory – Stylesheet. Keine externen Fonts/CDNs (DSGVO). */
:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --black: #000000;
  --dark-card: #161617;
  --link-dark: #2997ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50; height: 48px;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--ink-3); font-weight: 400; }
.nav ul { list-style: none; display: flex; gap: 32px; }
.nav ul a { color: var(--ink); font-size: 12px; opacity: .85; }
.nav ul a:hover { opacity: 1; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }

/* Buttons & Links */
.btn {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 17px; padding: 11px 22px; border-radius: 980px; border: 0;
  cursor: pointer; font-family: inherit; letter-spacing: -0.02em;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.more { font-size: 17px; }
.more::after { content: " ›"; }
.cta { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 26px; }

/* Hero */
.hero { text-align: center; padding: 86px 0 50px; background: var(--white); }
.hero .kicker { font-size: 21px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.hero h1 {
  font-size: clamp(44px, 8vw, 88px); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.035em; margin-top: 10px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #0071e3 0%, #6b4ce6 50%, #bf4fc4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: clamp(21px, 2.6vw, 28px); font-weight: 400; color: var(--ink); margin-top: 18px; line-height: 1.25; }
.hero .sub { font-size: 17px; color: var(--ink-2); margin-top: 14px; }

/* Section titles */
.section { padding: 90px 0; }
.section.gray { background: var(--gray); }
.section.dark { background: var(--black); color: #f5f5f7; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(36px, 5.5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; }
.section-title p { font-size: 21px; color: var(--ink-2); margin-top: 12px; }
.dark .section-title p { color: var(--ink-3); }

/* Tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 0 12px; }
.tile {
  border-radius: 28px; padding: 56px 40px 52px; text-align: center; min-height: 440px;
  display: flex; flex-direction: column; align-items: center;
}
.tile.light { background: var(--gray); }
.tile.white { background: var(--white); }
.tile.dark { background: var(--dark-card); color: #f5f5f7; }
.tile .glyph { width: 84px; height: 84px; margin-bottom: 26px; color: var(--ink); }
.tile.dark .glyph { color: #f5f5f7; }
.tile h3 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.tile .tag { font-size: 19px; margin-top: 8px; color: var(--ink); }
.tile.dark .tag { color: #f5f5f7; }
.tile ul { list-style: none; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.tile.dark ul { color: var(--ink-3); }
.tile li { padding: 3px 0; }
.tile { position: relative; transition: transform .3s ease; }
.tile:hover { transform: scale(1.01); }
.tile .more { margin-top: auto; padding-top: 26px; }
.tile .more::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile.dark .more { color: var(--link-dark); }

.tiles + .section { margin-top: 12px; }

/* Über */
.about { text-align: center; }
.about .big {
  font-size: clamp(64px, 12vw, 140px); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 30%, #6e6e73 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about h2 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 0; }
.about p { font-size: 19px; color: var(--ink-3); max-width: 640px; margin: 18px auto 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 70px auto 0; }
.fact { border-top: 1px solid #333336; padding-top: 18px; text-align: left; }
.fact strong { display: block; font-size: 24px; font-weight: 600; color: #f5f5f7; letter-spacing: -0.02em; }
.fact span { font-size: 14px; color: var(--ink-3); }

/* Kontakt */
.contact-box { max-width: 640px; margin: 0 auto; }
.contact-mail { text-align: center; margin-bottom: 36px; font-size: 19px; }
form { background: var(--white); border-radius: 22px; padding: 36px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
label.lbl { display: block; font-size: 12px; color: var(--ink-2); margin: 0 0 6px 4px; }
input, textarea, select {
  width: 100%; font-family: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; letter-spacing: -0.02em;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 8px 0 22px; }
.consent input { width: auto; margin-top: 2px; }
form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--gray); color: var(--ink-3); font-size: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer a { color: var(--ink-2); }
.footer nav a + a { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line); }

/* Buchung */
.nav ul a.nav-book { color: var(--link); opacity: 1; }
.contact-book { text-align: center; margin-bottom: 36px; }
.contact-book p { color: var(--ink-2); font-size: 15px; margin-top: 16px; }
section[id] { scroll-margin-top: 48px; }

/* Unterseiten */
.hero .summary { font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-2); max-width: 720px; margin: 22px auto 0; line-height: 1.35; }
.scope { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scope-item { background: var(--white); border-radius: 22px; padding: 30px 24px; }
.scope-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.scope-item p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--link); }
.chev { width: 22px; height: 22px; flex-shrink: 0; color: var(--ink-3); transition: transform .25s ease; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { padding: 0 44px 24px 4px; color: var(--ink-2); font-size: 17px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.cta-band p { color: var(--ink-3); font-size: 19px; margin-top: 14px; }
.others { margin-top: 50px; font-size: 15px; color: var(--ink-3); display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.others .more { font-size: 15px; color: var(--link-dark); }

/* Rechtsseiten */
.legal { max-width: 720px; margin: 0 auto; padding: 70px 22px 100px; }
.legal h1 { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 34px 0 8px; }
.legal p { color: var(--ink-2); margin-bottom: 10px; }
.note { background: #fff8e5; color: #8a6100; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 30px; }

/* Einfache Seiten (Danke/404) */
.simple { min-height: calc(100vh - 48px - 70px); display: grid; place-items: center; text-align: center; padding: 60px 22px; }

/* Responsive */
@media (max-width: 834px) {
  .scope { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .scope { grid-template-columns: 1fr; }
  .faq-item p { padding-right: 4px; }
  .nav-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fbfbfd; padding: 8px 22px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.06); border-bottom: 1px solid var(--line);
  }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; font-size: 24px; font-weight: 600; padding: 10px 0; opacity: 1; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 70px 0; }
  .tile { padding: 44px 24px 40px; border-radius: 22px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  form { padding: 24px; }
  .footer nav a + a { margin-left: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Dynamik */
.grad { will-change: filter; }
.rotator { color: var(--blue); font-weight: 600; display: inline-block; }
.js .rotator { transition: opacity .5s ease, transform .5s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .tiles .reveal:nth-child(2) { transition-delay: .08s; }
.js .tiles .reveal:nth-child(3) { transition-delay: .16s; }
.js .tiles .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .rotator { transition: none; }
}

/* Leistungsseiten: eigener Akzent & Hero-Charakter */
body.lp { --lpaccent: #0071e3; --lptint: rgba(0,113,227,.10); }
body.lp-pentesting { --lpaccent: #d7373f; --lptint: rgba(215,55,63,.10); }
body.lp-compliance { --lpaccent: #0071e3; --lptint: rgba(0,113,227,.10); }
body.lp-prozess    { --lpaccent: #1a7f37; --lptint: rgba(26,127,55,.12); }
body.lp-projekt    { --lpaccent: #c47a00; --lptint: rgba(230,138,0,.14); }
body.lp .hero { background: radial-gradient(1100px 520px at 50% -8%, var(--lptint), #ffffff 62%); }
body.lp .hero .kicker { color: var(--lpaccent); text-transform: uppercase; letter-spacing: .09em; font-size: 15px; }
body.lp a.more { color: var(--lpaccent); }
body.lp .btn-outline { color: var(--lpaccent); border-color: var(--lpaccent); }
body.lp .btn-outline:hover { background: var(--lpaccent); color: #fff; }
body.lp .faq-item summary:hover { color: var(--lpaccent); }
body.lp .scope-item h3 { color: var(--lpaccent); }

/* Button-Varianten & Checks-Band */
.btn-dark { display:inline-block; background:var(--ink); color:#fff; font-size:17px; padding:13px 26px; border-radius:980px; font-weight:600; letter-spacing:-0.02em; }
.btn-dark:hover { background:#000; color:#fff; text-decoration:none; }
.btn-accent { display:inline-block; background:var(--lpaccent, var(--blue)); color:#fff; font-size:17px; padding:13px 26px; border-radius:980px; font-weight:600; letter-spacing:-0.02em; }
.btn-accent:hover { filter:brightness(.94); color:#fff; text-decoration:none; }

.checks-band { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; background:linear-gradient(135deg,#f5f5f7,#e8edf4); border-radius:28px; padding:52px; max-width:1040px; margin:0 auto; }
.checks-eyebrow { font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--blue); margin-bottom:10px; }
.checks-text h2 { font-size:clamp(30px,4vw,42px); font-weight:700; letter-spacing:-0.03em; line-height:1.1; }
.checks-text p { color:var(--ink-2); font-size:18px; line-height:1.4; margin:12px 0 26px; }
.checks-list { display:flex; flex-direction:column; }
.checks-list a { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 2px; border-top:1px solid var(--line); color:var(--ink); font-size:17px; font-weight:500; text-decoration:none; transition:padding-left .2s ease, color .2s ease; }
.checks-list a:last-child { border-bottom:1px solid var(--line); }
.checks-list a span { color:var(--ink-3); font-size:20px; }
.checks-list a:hover { color:var(--blue); padding-left:8px; }
.checks-list a:hover span { color:var(--blue); }
@media (max-width:820px){ .checks-band { grid-template-columns:1fr; gap:30px; padding:36px 26px; } }

/* CLI-Tippeffekt Hero */
.type-hero { min-height: 2.15em; }
.js .type-hero { visibility: hidden; }
.type-cursor { display:inline-block; width:.58em; height:1em; margin-left:.05em; background:rgba(29,29,31,.42); vertical-align:-0.14em; animation: typeblink 1.05s steps(1) infinite; }
@keyframes typeblink { 50% { opacity:0; } }
@media (prefers-reduced-motion: reduce){ .js .type-hero { visibility: visible; } }

/* Leistungsseiten: editorialeres Layout */
body.lp .hero .wrap { text-align: left; }
body.lp .hero .summary { margin-left: 0; margin-right: 0; }
body.lp .hero .cta { justify-content: flex-start; }
body.lp .section .section-title { text-align: left; max-width: 820px; margin-left: 0; margin-right: 0; margin-bottom: 34px; }
body.lp .faq { margin-left: 0; max-width: 880px; }

/* Leistungsumfang als nummerierte Karten */
body.lp .scope { counter-reset: scopecount; }
body.lp .scope-item { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
body.lp .scope-item:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.07); border-color: transparent; }
body.lp .scope-item::before { counter-increment: scopecount; content: counter(scopecount, decimal-leading-zero); display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--lpaccent); margin-bottom: 14px; }
body.lp .scope-item h3 { color: var(--ink); font-size: 18px; }

/* Tool-Hinweis als Akzent-Banner statt zentriertem Knopf */
body.lp .lp-promo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--lptint); border-radius: 24px; padding: 38px 42px; max-width: 1000px; }
body.lp .lp-promo .section-title { margin: 0 !important; max-width: none; }
body.lp .lp-promo .section-title h2 { font-size: clamp(22px, 2.6vw, 30px); }
body.lp .lp-promo .section-title p { margin-top: 6px; }
body.lp .lp-promo .cta { margin: 0; justify-content: flex-start; flex-shrink: 0; }
@media (max-width: 680px){ body.lp .lp-promo .wrap { padding: 28px 24px; } }
