/* L&M IT GmbH - dark, single accent (logo orange #E07C2F)
   Radius system: buttons/tags = pill, surfaces/images = 20px */

@font-face { font-family: "Geist"; src: url("../fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0e0e0d;
  --bg-2: #151513;
  --surface: #1b1b19;
  --line: rgb(236 233 228 / 0.09);
  --text: #ecebe8;
  --muted: #a3a09a;
  --accent: #e07c2f;
  --accent-ink: #120a04;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* grain, fixed so it never repaints on scroll */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* icons: Phosphor Light SVGs as masks, colored by currentColor */
.i { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

.eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 52ch; }
.dot { color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ea8a3f; }
.btn--light { background: #ecebe8; color: #121211; }
.btn--light:hover { background: #fff8f0; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgb(14 14 13 / 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s; }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-inline: auto; }
.nav__links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: #d7d5d0; transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: #fff; background: rgb(236 233 228 / 0.07); }
.nav__cta { height: 44px; padding: 0 22px; font-size: 15px; }
.btn--ghost { color: var(--text); border: 1px solid rgb(236 233 228 / 0.28); background: rgb(14 14 13 / 0.25); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
.btn--ghost .i { font-size: 18px; color: var(--accent); }
.nav__tv { height: 44px; padding: 0 18px 0 16px; font-size: 15px; gap: 8px; margin-right: -20px; }
.nav__tv-short { display: none; }
.nav__tv-icon { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgb(236 233 228 / 0.05); color: var(--accent); font-size: 20px; align-items: center; justify-content: center; margin-left: auto; }
.nav__tv-icon + .nav__burger { margin-left: 8px; }
@media (max-width: 1320px) {
  .nav__tv-long { display: none; } .nav__tv-short { display: inline; }
  .nav__inner { gap: 20px; } .nav__links { gap: 0; } .nav__links a { padding: 8px 11px; }
  .nav__tv { margin-right: -8px; }
}
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgb(236 233 228 / 0.05); color: var(--text); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }

.mmenu { position: fixed; inset: 0; z-index: 45; background: rgb(14 14 13 / 0.97); padding: 110px var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0px at calc(100% - var(--gutter) - 22px) 38px); transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1); }
.mmenu.is-open { clip-path: circle(150vmax at calc(100% - var(--gutter) - 22px) 38px); }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu a { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(28px); transition: opacity 0.25s, transform 0.25s; }
.mmenu.is-open a { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(0.18s + var(--n, 0) * 0.045s); }
.mmenu a:last-child { color: var(--accent); border: 0; }
/* burger: three lines fold into an X */
.burger { position: relative; width: 18px; height: 12px; }
.burger span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.55s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5.25px; }
.burger span:nth-child(3) { top: 10.5px; }
.nav__burger[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav__burger[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.nav__burger { transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.nav__burger:active { transform: scale(0.92); }
.nav__burger[aria-expanded="true"] { background: rgb(236 233 228 / 0.1); border-color: rgb(236 233 228 / 0.2); }
.reduced .mmenu, .reduced .mmenu a { transition: none !important; }
.mmenu a.mmenu__tv { font-size: 1.25rem; font-weight: 500; color: var(--muted); }

@media (max-width: 1080px) {
  .nav__links, .nav__cta, .nav__tv { display: none; }
  .nav__burger, .nav__tv-icon { display: inline-flex; }
}

/* NAV dropdown: Leistungen */
.nav__dd { position: relative; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; color: #d7d5d0; cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.nav__dd-btn .i { font-size: 14px; transition: transform 0.3s var(--ease); }
.nav__dd-btn:hover, .nav__dd.is-open .nav__dd-btn { color: #fff; background: rgb(236 233 228 / 0.07); }
.nav__dd.is-open .nav__dd-btn .i { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 14px); left: -12px; width: 372px; padding: 8px; border-radius: var(--radius); background: rgb(27 27 25 / 0.97); border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(0 0 0 / 0.5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.4s var(--ease), visibility 0s 0.25s; }
.nav__panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.nav__dd.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.4s var(--ease), visibility 0s; }
@media (hover: hover) {
  .nav__dd:hover .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.4s var(--ease), visibility 0s; }
  .nav__dd:hover .nav__dd-btn .i { transform: rotate(180deg); }
}
.dd__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; transition: background-color 0.2s; }
.dd__item:hover, .dd__item:focus-visible { background: rgb(236 233 228 / 0.06); }
.dd__item > .i { font-size: 22px; color: var(--accent); margin-top: 2px; }
.dd__item strong { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.dd__item small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.mmenu a.mmenu__sub { font-size: 1.25rem; font-weight: 500; padding-left: 20px; color: #d7d5d0; }

/* HERO */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform-origin: 65% 50%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(14 14 13 / 0.92) 0%, rgb(14 14 13 / 0.55) 45%, rgb(14 14 13 / 0.05) 75%),
  linear-gradient(0deg, var(--bg) 0%, rgb(14 14 13 / 0) 35%); }
.hero__content { padding-top: 120px; padding-bottom: clamp(56px, 11vh, 120px); }
.hero__title { font-size: clamp(2.9rem, 7.6vw, 7rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 600; max-width: 11ch; margin-bottom: 28px; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #cfccc6; max-width: 46ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* PARTNERS - the single marquee */
.partners { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 7vw, 104px); padding-right: clamp(48px, 7vw, 104px); }
.marquee__group img { height: 38px; width: auto; opacity: 0.62; transition: opacity 0.3s; }
.marquee__group img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* STATEMENT */
.statement { padding-block: clamp(110px, 18vw, 220px); }
.statement__text { font-size: clamp(1.8rem, 4.2vw, 3.7rem); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; max-width: 24ch; text-wrap: pretty; }
.js:not(.reduced) .statement__text .word { opacity: 0.16; }

/* SERVICES - horizontal pan on desktop */
.services { padding-block: 40px 80px; }
.services__track { display: flex; gap: 28px; padding-inline: var(--gutter); }
.services__intro { flex: 0 0 min(440px, 34vw); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-right: 40px; }
.svc { flex: 0 0 clamp(320px, 31vw, 460px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.svc:hover .svc__img > img { transform: scale(1.04); }
.svc__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.svc__icon { font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.svc h3 { font-size: 1.5rem; letter-spacing: -0.03em; font-weight: 600; line-height: 1.2; }
.svc p { color: var(--muted); font-size: 16px; }
.svc--link { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.svc__more { flex: 1; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.svc--link .svc__icon { color: var(--accent-ink); font-size: 44px; margin-bottom: auto; }
.svc--link h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.svc--link p { color: rgb(18 10 4 / 0.78); }
.svc__arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.svc__arrow .i { transition: transform 0.4s var(--ease); }
.svc--link:hover .svc__arrow .i { transform: translateX(6px); }

@media (min-width: 900px) {
  .services.is-pinned { padding-block: 0; }
  .services.is-pinned .services__track { height: 100dvh; align-items: center; width: max-content; padding-right: 12vw; }
  .services.is-pinned .svc { height: min(74dvh, 640px); }
  .services.is-pinned .svc__img { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
  .services.is-pinned .svc__body { flex: none; }
}
@media (max-width: 899px) {
  .services__track { flex-direction: column; }
  .services__intro { flex: none; padding: 0 0 12px; }
  .svc { flex: none; }
  .svc--link { min-height: 340px; }
}

/* SECURITY - bento, 4 items = 4 cells */
.security { padding-block: clamp(100px, 14vw, 180px); }
.bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1.25fr 1fr; grid-template-areas: "net backup" "net malware" "quote quote"; }
.cell { position: relative; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.cell h3 { font-size: 1.55rem; letter-spacing: -0.03em; font-weight: 600; }
.cell p { color: var(--muted); max-width: 48ch; }
.cell__icon { font-size: 32px; color: var(--accent); }
.cell--net { grid-area: net; justify-content: flex-end; min-height: 440px;
  background: linear-gradient(180deg, rgb(14 14 13 / 0.15), rgb(14 14 13 / 0.96) 72%), url("../img/hero-rack-sm.webp") center 20% / cover; }
.cell--net .cell__icon { margin-bottom: auto; }
.cell--backup { grid-area: backup; }
.cell--malware { grid-area: malware; background: var(--bg-2); }
.cell--quote { grid-area: quote; flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  background: radial-gradient(120% 140% at 0% 100%, rgb(224 124 47 / 0.38), rgb(224 124 47 / 0.06) 55%, transparent 80%), var(--surface); }
.cell__big { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--text) !important; max-width: 20ch !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(236 233 228 / 0.18); color: #d7d5d0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); border-bottom: 1px solid rgb(224 124 47 / 0.4); padding-bottom: 4px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "net" "backup" "malware" "quote"; }
  .cell--net { min-height: 380px; }
}

/* ABOUT - sticky column + scroll-drawn timeline */
.about { padding-block: clamp(80px, 10vw, 140px); background: var(--bg-2); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__sticky { position: sticky; top: 120px; }
.about__photo { position: relative; margin-top: 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.about__photo img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(0.85) brightness(0.62) contrast(1.15); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgb(224 124 47 / 0.28), rgb(14 14 13 / 0.1) 45%, rgb(14 14 13 / 0.55)); mix-blend-mode: multiply; pointer-events: none; }
.timeline { position: relative; padding-left: 44px; padding-block: 20px; }
.timeline__line { position: absolute; left: 7px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; }
.js:not(.reduced) .timeline__line span { transform: scaleY(0); }
.tl { position: relative; padding-block: 36px 52px; }
.tl::before { content: ""; position: absolute; left: -44px; top: 46px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); border: 2px solid rgb(236 233 228 / 0.25); transition: border-color 0.4s, background-color 0.4s; }
.tl.is-active::before, html:not(.js) .tl::before, .reduced .tl::before { border-color: var(--accent); background: var(--accent); }
.tl__year { font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; color: var(--accent); }
.tl h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; font-weight: 600; margin: 6px 0 12px; }
.tl p { color: var(--muted); max-width: 46ch; }
.tl--next h3 { color: var(--muted); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__sticky { position: static; }
}

/* TEAM */
.team { padding-block: clamp(100px, 14vw, 180px); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 64px; }
.person { display: flex; flex-direction: column; }
.person__photo { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.85) contrast(1.05); }
.person__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(14 14 13 / 0.92) 100%); pointer-events: none; }
.person__body { position: relative; margin-top: clamp(-5.2rem, -6vw, -3rem); padding-inline: clamp(4px, 1.5vw, 24px); }
.person__num { font-size: clamp(5rem, 13vw, 11rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.85; color: var(--text); font-variant-numeric: tabular-nums; }
.person__unit { color: var(--accent); font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; margin: 14px 0 32px; }
.person h3 { font-size: 1.7rem; letter-spacing: -0.03em; font-weight: 600; }
.person__role { color: #d7d5d0; margin-bottom: 14px; }
.person p:last-child { color: var(--muted); max-width: 48ch; }
.values { margin-top: clamp(80px, 12vw, 160px); display: flex; flex-wrap: wrap; column-gap: 0.35em; font-size: clamp(2.2rem, 6.4vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.values span { display: inline-block; color: var(--text); }
.js:not(.reduced) .values span { color: rgb(236 233 228 / 0.14); }
.person--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.person--wide .person__body { margin-top: 0; padding-bottom: clamp(8px, 2vw, 32px); }
@media (max-width: 760px) {
  .team__grid { grid-template-columns: 1fr; }
  .person--wide { display: flex; gap: 0; }
  .person--wide .person__body { margin-top: clamp(-5.2rem, -6vw, -3rem); padding-bottom: 0; }
}

/* SUPPORT */
.support { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); border-block: 1px solid var(--line); }
.support__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.support__phone { display: inline-block; margin: 28px 0 24px; font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease); padding-bottom: 6px; }
.support__phone:hover { background-size: 100% 2px; }
.support__actions { display: flex; flex-direction: column; gap: 12px; }
.support__actions a { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.5s var(--ease); }
.support__actions a:hover { border-color: rgb(224 124 47 / 0.55); transform: translateX(6px); }
.support__actions a > .i:first-child { font-size: 28px; color: var(--accent); }
.sa__text { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.sa__text strong { font-weight: 600; font-size: 1.1rem; }
.sa__text span { color: var(--muted); font-size: 15px; }
.sa__arrow { font-size: 20px; color: var(--muted); transition: color 0.3s, transform 0.4s var(--ease); }
.support__actions a:hover .sa__arrow { color: var(--accent); transform: translate(3px, -3px); }
@media (max-width: 900px) { .support__grid { grid-template-columns: 1fr; } }

/* CAREER - asymmetric: 1 big + 2 stacked */
.career { padding-block: clamp(100px, 14vw, 180px); }
.career__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 56px; }
.job { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.job--main { grid-row: span 2; background: linear-gradient(160deg, rgb(224 124 47 / 0.16), transparent 50%), var(--surface); }
.job__icon { font-size: 34px; color: var(--accent); margin-bottom: 8px; }
.job h3 { font-size: 1.6rem; letter-spacing: -0.03em; font-weight: 600; }
.job--main h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.job p { color: var(--muted); max-width: 52ch; }
.job__list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 18px; }
.job__list li { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; padding-left: 26px; position: relative; }
.job__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 2px; background: var(--accent); }
.job--main p { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; counter-reset: s; }
.steps li { border-top: 2px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 36px; background: var(--accent); }
.steps strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .career__grid { grid-template-columns: 1fr; }
  .job--main { grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CONTACT */
.contact { padding-block: clamp(110px, 16vw, 220px) clamp(80px, 10vw, 140px); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; bottom: -55%; width: 1300px; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(224 124 47 / 0.22), transparent); pointer-events: none; }
.contact__title { position: relative; font-size: clamp(2.8rem, 9vw, 8.4rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 600; max-width: 12ch; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-radius: var(--radius); background: rgb(27 27 25 / 0.8); border: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; transition: border-color 0.3s, transform 0.5s var(--ease); }
.contact__item:hover { border-color: rgb(224 124 47 / 0.55); transform: translateY(-4px); }
.contact__item .i { font-size: 26px; color: var(--accent); margin-top: 2px; }
.contact__item small { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding-block: 36px; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: 14px; }

/* KI-Kennzeichnung (Art. 50 KI-VO): sichtbar auf jedem generierten Bild */
.ai-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 2px 12px rgb(0 0 0 / 0.5); pointer-events: auto; }
.ai-tag img { width: 100%; height: 100%; }
.cell--net .ai-tag { left: auto; right: 18px; top: 18px; bottom: auto; }
.ai-tag--hero { left: auto; right: var(--gutter); bottom: 24px; width: 34px; height: 34px; }

/* LEGAL PAGES */
.nav--static { position: sticky; background: rgb(14 14 13 / 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav__back { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #d7d5d0; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav__back:hover { color: #fff; background: rgb(236 233 228 / 0.07); }
.nav__back .i { transform: scaleX(-1); }
.legal { padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 140px); }
.legal__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.legal__head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.05em; font-weight: 600; }
.legal__head p { color: var(--muted); margin-top: 16px; }
.legal__body { max-width: 780px; }
.legal__body section { padding-block: 28px; border-top: 1px solid var(--line); }
.legal__body h2 { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 600; margin-bottom: 12px; }
.legal__body h3 { font-size: 1.05rem; font-weight: 600; margin: 18px 0 6px; }
.legal__body p, .legal__body li { color: #cfccc6; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: none; margin: 10px 0; display: grid; gap: 6px; }
.legal__body ul li { position: relative; padding-left: 22px; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--accent); }
.legal__body a { color: var(--accent); text-decoration: underline; text-decoration-color: rgb(224 124 47 / 0.4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__body address { font-style: normal; color: var(--text); }
.legal__dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin-top: 8px; }
.legal__dl dt { color: var(--muted); }
.legal__dl dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .legal__dl { grid-template-columns: 1fr; gap: 2px; } .legal__dl dd { margin-bottom: 10px; } }
.todo { background: rgb(224 124 47 / 0.16); color: #ffd2ad; border: 1px dashed var(--accent); border-radius: 6px; padding: 1px 6px; font-weight: 500; }

/* SUBPAGES - LM IT Solar, Kreative Holzmanufaktur */
.nav--sub .nav__back { margin-left: auto; white-space: nowrap; }
.nav--sub .nav__cta { display: inline-flex; gap: 0; }
.nav--sub .nav__logo { flex: none; }
.nav__sib { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: #d7d5d0; transition: color 0.2s, background-color 0.2s; }
.nav__sib:hover { color: #fff; background: rgb(236 233 228 / 0.07); }
@media (max-width: 1080px) {
  .nav--sub .nav__inner { gap: 16px; }
  .nav--sub .nav__sib { display: none; }
  .nav--sub .nav__back { flex: none; padding: 0; width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); font-size: 20px; }
  .nav--sub .nav__back-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 560px) {
  .nav--sub .nav__inner { gap: 10px; }
  .nav--sub .nav__logo img { height: 30px; }
  .nav--sub .nav__back { flex: none; width: 40px; height: 40px; font-size: 18px; }
  .nav--sub .nav__cta { flex: none; height: 40px; padding: 0 16px; font-size: 14px; }
}

@media (max-width: 400px) { .nav--sub .nav__cta-more { display: none; } }
.nav__crumb { display: inline-flex; align-items: center; gap: 14px; margin-left: -12px; font-size: 15px; color: #d7d5d0; white-space: nowrap; }
.nav__crumb::before { content: ""; width: 1px; height: 22px; background: rgb(236 233 228 / 0.25); }
@media (max-width: 560px) { .nav__crumb { display: none; } }
.sub-hero .hero__title { max-width: 12ch; }
.sub-hero--solar .hero__media img { object-position: 60% 40%; }

/* holz hero: text left, moving product right */
.sub-hero--holz { align-items: center; background: radial-gradient(90% 80% at 85% 55%, rgb(224 124 47 / 0.16), transparent 65%), var(--bg); }
.holz-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 140px 80px; }
.holz-hero .hero__content { padding: 0; }
.holz-hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 480 / 620; max-height: 74dvh; justify-self: end; width: 100%; max-width: 480px; background: var(--surface); }
.holz-hero__media video, .holz-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.media-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; color: #ecebe8; display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 999px; background: rgb(14 14 13 / 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.media-cap span:last-child { color: var(--accent); }
@media (max-width: 860px) {
  .holz-hero { grid-template-columns: 1fr; padding-block: 120px 56px; }
  .holz-hero__media { justify-self: start; max-width: 420px; max-height: none; }
}

/* split: image + copy */
.split { padding-block: clamp(90px, 12vw, 160px); }
.split__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.split__media > img { width: 100%; height: 118%; object-fit: cover; }
.split__copy .h2 { margin-bottom: 24px; }
.split__copy .lead + .lead { margin-top: 16px; }
.points { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.points .i { font-size: 28px; color: var(--accent); grid-row: span 2; margin-top: 2px; }
.points strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.points span:not(.i) { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .split__grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* solar: reference system with big numbers */
.spec { padding-block: clamp(90px, 12vw, 160px); background: var(--bg-2); border-block: 1px solid var(--line); }
.spec__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.spec__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.spec__item { padding: 32px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.spec__item + .spec__item { padding-left: 24px; border-left: 1px solid var(--line); }
.spec__num { font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.spec__num small { font-size: max(0.38em, 14px); letter-spacing: -0.02em; color: var(--accent); margin-left: 6px; }
.spec__label { color: var(--muted); font-size: 15px; max-width: 22ch; }
.spec__photo { margin-top: clamp(56px, 7vw, 96px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.spec__photo img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 40%; }
.spec__photo figcaption { position: absolute; left: 16px; bottom: 16px; }
@media (max-width: 860px) {
  .spec__head { grid-template-columns: 1fr; }
  .spec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__item { padding-right: 12px; }
  .spec__item + .spec__item { padding-left: 16px; }
  .spec__num { font-size: clamp(2.6rem, 12vw, 4rem); }
  .spec__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec__photo { aspect-ratio: 4 / 3; }
}

/* solar: gallery with staggered drift */
.gallery { padding-block: clamp(100px, 14vw, 180px) clamp(60px, 8vw, 100px); }
.gallery__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 56px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery__item > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item .ai-tag { left: auto; right: 16px; top: 16px; bottom: auto; }
.gallery__item:hover > img { transform: scale(1.04); }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
.gallery__item:not(.gallery__item--tall) { aspect-ratio: 16 / 10; }
.gallery__item figcaption { position: absolute; left: 16px; bottom: 16px; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--tall { grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

.note { padding-block: clamp(40px, 6vw, 80px) clamp(90px, 12vw, 160px); }
.note__card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 100%, rgb(224 124 47 / 0.34), rgb(224 124 47 / 0.05) 55%, transparent 80%), var(--surface); }
.note__card .cell__big { max-width: 16ch !important; }
.note__card p:not(.cell__big) { color: #cfccc6; max-width: 48ch; }
.note__card p + p { margin-top: 14px; }
@media (max-width: 860px) { .note__card { grid-template-columns: 1fr; } }

/* holz: big editorial product list */
.products { padding-block: clamp(100px, 14vw, 180px); }
.products__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.plist { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 32px; align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.6s var(--ease); }
.plist li:hover { padding-left: 16px; }
.plist__no { font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; color: var(--accent); }
.plist h3 { font-size: clamp(1.9rem, 4.2vw, 3.8rem); overflow-wrap: anywhere; hyphens: auto; font-weight: 600; letter-spacing: -0.05em; line-height: 1; transition: color 0.3s; }
.plist li:hover h3 { color: var(--accent); }
.plist p { color: var(--muted); max-width: 44ch; }
@media (max-width: 860px) {
  .products__head { grid-template-columns: 1fr; }
  .plist li { grid-template-columns: 48px 1fr; }
  .plist p { grid-column: 2; }
}

.split__media .media-cap { right: auto; }
.split__media .ai-tag { left: auto; right: 16px; top: 16px; bottom: auto; }

/* real photos share one dark, warm grade so they sit with the rest of the site */
.graded { isolation: isolate; }
.graded > img { filter: saturate(0.6) brightness(0.78) contrast(1.08); }
.graded::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(200deg, rgb(224 124 47 / 0.22), rgb(14 14 13 / 0.06) 45%, rgb(14 14 13 / 0.45)); }
.graded .media-cap { z-index: 2; }
.sub-hero--solar .hero__media img { filter: saturate(0.45) brightness(0.55) contrast(1.15); }
.sub-hero--solar .hero__media::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(200deg, rgb(224 124 47 / 0.35), rgb(14 14 13 / 0.1) 50%); }

/* reveal base state only when JS + motion are active */
.js:not(.reduced) .reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 32px; padding: 0 var(--gutter); }
  .marquee { -webkit-mask: none; mask: none; }
  * { transition-duration: 0.01ms !important; }
}

/* COOKIE-HINWEIS */
.consent__more, .footer__links button { font: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.consent .btn { font: inherit; font-weight: 500; border: 0; cursor: pointer; }
.consent { position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 80; width: min(440px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 2 * var(--gutter)); overflow-y: auto;
  padding: 24px; border-radius: var(--radius); background: rgb(27 27 25 / 0.96); border: 1px solid var(--line); box-shadow: 0 30px 80px rgb(0 0 0 / 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.35s, transform 0.6s var(--ease); }
.consent.is-in { opacity: 1; transform: none; }
.reduced .consent { transition: none; }
.consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.consent__head .i { font-size: 26px; color: var(--accent); }
.consent h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.consent p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__prefs { display: grid; gap: 8px; margin-top: 18px; }
.consent__prefs[hidden] { display: none; }
.consent__cat { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: rgb(236 233 228 / 0.04); border: 1px solid var(--line); cursor: pointer; }
.consent__cat strong { display: block; font-size: 15px; font-weight: 600; }
.consent__cat small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.consent__switch { appearance: none; -webkit-appearance: none; flex: none; margin-left: auto; width: 46px; height: 26px; border-radius: 999px; background: rgb(236 233 228 / 0.18); position: relative; cursor: pointer; transition: background-color 0.25s; }
.consent__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #ecebe8; transition: transform 0.35s var(--ease); }
.consent__switch:checked { background: var(--accent); }
.consent__switch:checked::after { transform: translateX(20px); }
.consent__switch:disabled { opacity: 0.55; cursor: not-allowed; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.consent__actions .btn { height: 46px; padding: 0 20px; font-size: 15px; flex: 1 1 auto; }
.consent__more { width: 100%; padding: 8px 0 0; font-size: 14.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.consent__more:hover { color: var(--text); }
.consent__more[data-c="save"] { height: 46px; padding: 0; border-radius: 999px; border: 1px solid rgb(236 233 228 / 0.28); color: var(--text); text-decoration: none; }
.consent__more[data-c="save"]:hover { border-color: var(--accent); }
.footer__links button:hover { color: var(--text); }
@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
}
.legal__btn { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
