/* Digitalis-Lab GmbH – shared page frame. The same structure (header, hero,
   cards, footer) is meant for the brand sites too; only the accent changes:
   Digitalis #A8367E, Gradr #2f6bff/#5b3fd1. */
:root {
  --bg: #ffffff; --bg-soft: #f7f5f9; --card: #ffffff; --text: #1f1633; --muted: #5d5770; --line: #e7e2ee;
  --accent: #a8367e; --accent-soft: #f7eaf3; --green: #2e6b5e; --green-soft: #e8f2ef;
  --dark: #1f1633; --dark-2: #2a2044; --on-dark: #f3eff8; --on-dark-muted: #c2b9d3;
  --radius: 18px; --shadow: 0 10px 30px rgba(31, 22, 51, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14101f; --bg-soft: #1a1528; --card: #1f1930; --text: #efeaf6; --muted: #aca4bd; --line: #2e2643;
    --accent: #d566a8; --accent-soft: #2c1a2a; --green: #6fbfa9; --green-soft: #17271f; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15.5px; }
nav.main a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 16px; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
nav.main .btn { padding: 9px 18px; font-size: 15px; color: #fff; }

/* hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1000px 420px at 85% -10%, var(--accent-soft), transparent 70%), radial-gradient(700px 360px at 0% 110%, var(--green-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* hero without a photo: one centred column (the human, 15.10.2026) */
.hero-center { padding: 96px 0 88px; text-align: center; }
.hero-center .wrap { grid-template-columns: 1fr; }
.hero-center h1 { font-size: clamp(38px, 5.6vw, 68px); }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 40em; }
.hero-center .actions { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 600; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.07; letter-spacing: -1.2px; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo { position: relative; }
.photo .tag { position: absolute; left: 16px; bottom: 16px; background: var(--card); color: var(--text); padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.photo .tag img { width: 22px; height: auto; }

/* sections */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.6px; margin: 0 0 14px; }
.intro { color: var(--muted); font-size: 18px; max-width: 46em; margin: 0 0 40px; }
.center { text-align: center; } .center .intro { margin-left: auto; margin-right: auto; }

/* brand cards */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brand-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.brand-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 8; }
.brand-card .body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.brand-name { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; margin: 0; }
.brand-name img { width: 34px; height: 34px; }
.mono { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; }
.brand-claim { color: var(--accent); font-weight: 600; margin: 6px 0 14px; }
.brand-card ul { margin: 0 0 22px; padding: 0; list-style: none; }
.brand-card li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--muted); }
.brand-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); }
.brand-card .btn { margin-top: auto; align-self: flex-start; }
.note { margin-top: 30px; padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line); color: var(--muted); font-size: 15.5px; }

/* service grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 25px; height: 25px; }
.card h3 { margin: 0 0 4px; font-size: 20px; }
.card .sub { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::after { counter-increment: s; content: "0" counter(s); position: absolute; right: 24px; top: 16px; font-size: 44px; font-weight: 800; color: var(--line); }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* mission */
.mission { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.values { display: grid; gap: 16px; margin-top: 26px; }
.value { display: flex; gap: 14px; }
.value b { display: block; }
.value span { color: var(--muted); font-size: 16px; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); margin-top: 8px; }
.dot.g { background: var(--green); }

/* contact */
.cta { background: var(--dark); color: var(--on-dark); border-radius: 26px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(168, 54, 126, .45), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(46, 107, 94, .45), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); max-width: 36em; margin: 0 auto 28px; font-size: 18px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* footer */
footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: var(--text); margin: 0 0 10px; font-size: 15px; }
footer a { color: var(--muted); text-decoration: none; display: block; margin: 4px 0; }
footer a:hover { color: var(--accent); }
footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* legal pages */
.doc { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; }

@media (max-width: 900px) {
  .hero .wrap, .mission, .brands { grid-template-columns: 1fr; gap: 36px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  nav.main a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid, .steps, footer .cols { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 44px 0; }
  .cta { padding: 44px 22px; }
  .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 10px; }
}
