/* ══════════════════════════════════════════════
   ostrovsky-web.de — Design System & Styles
   Swiss-Clean v3
   ══════════════════════════════════════════════ */

/* ── Self-hosted Fonts ── */

/* Space Grotesk — Display/Headlines (400, 500, 700) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter — Body/UI (400, 500, 600) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Instrument Serif — Accent italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design Tokens ── */
:root {
  /* Colors */
  --color-bg:               #FAFAF8;
  --color-text:             #2B2B2B;
  --color-text-muted:       #6B6B66;
  --color-text-light:       #767670;  /* AA-compliant on bg (4.5:1) — was #A0A09A */
  --color-text-decorative:  #A0A09A;  /* aria-hidden numerals/decorative only */
  --color-accent:           #C4654A;  /* large UI / buttons (3:1 large-text threshold) */
  --color-accent-text:      #A85036;  /* AA-compliant body-text variant on light bg */
  --color-accent-on-dark:   #E08566;  /* AA-compliant on dark bg */
  --color-accent-hover:     #B55A41;
  --color-dark:             #3A3632;
  --color-dark-card:        #2B2B2B;
  --color-border:           #E0E0DE;
  --color-surface:          #F3F3F0;
  --color-text-on-dark:        rgba(250, 250, 248, 0.92);  /* primary */
  --color-text-on-dark-muted:  rgba(250, 250, 248, 0.78);  /* body, AA on dark */
  --color-text-on-dark-light:  rgba(250, 250, 248, 0.6);   /* decorative only */

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-serif:   'Instrument Serif', serif;

  /* Spacing */
  --space-section: 96px;
  --space-group:   64px;
  --space-element: 24px;
  --space-gutter:  80px;

  /* Layout */
  --max-width: 1440px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }

/* Skip link — keyboard users jump straight to content */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-text); color: var(--color-bg);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* Focus indicator — visible for keyboard users, hidden for mouse */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero-block *:focus-visible,
.cta-inner *:focus-visible,
.service-card.featured *:focus-visible {
  outline-color: var(--color-bg);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Site Header ── */
.site-header { position: relative; z-index: 5; }
.site-header-light {
  position: sticky; top: 0; z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header-light.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(30, 30, 28, 0.04);
}

/* Dark sticky header (homepage and dark-hero pages) — header sits above the hero
   so it overlays it visually; the hero-block extends up under the header via its
   negative top margin set below, keeping the existing dark-hero design. */
.has-overlay-nav .site-header {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 20; background: transparent;
  transition: background 0.25s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}
.hero-rotate-word { will-change: transform, opacity; }
.has-overlay-nav .site-header.is-scrolled {
  background: var(--color-dark);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
/* Pull the hero block up so it sits behind the transparent header at the top of
   the page (preserves the original overlay design). */
.has-overlay-nav .hero-block { margin-top: -107px; }
/* Hero content already had top padding for the absolute-positioned header — keep
   it so headlines sit at the same vertical position as before. */

/* Compressed nav padding when scrolled (both light + dark variants) */
.site-header-light.is-scrolled .nav,
.has-overlay-nav .site-header.is-scrolled .nav {
  padding-top: 10px; padding-bottom: 10px;
}
.site-header-light .nav,
.has-overlay-nav .site-header .nav {
  transition: padding 0.2s;
}
.site-header-light.is-scrolled .nav-logo img,
.has-overlay-nav .site-header.is-scrolled .nav-logo img {
  height: 36px;
  transition: height 0.2s;
}
.nav-logo img { transition: height 0.2s; }

/* ── Hero Block (Nav + Hero combined) ── */
.hero-block {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
}
.hero-block::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/hero-dark-bg.png') center/cover no-repeat;
  background: image-set(
    url('../images/hero-dark-bg.webp') type('image/webp'),
    url('../images/hero-dark-bg.png') type('image/png')
  ) center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.hero-block::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,54,50,0.6) 0%, rgba(58,54,50,0.9) 70%, rgba(58,54,50,1) 100%);
  pointer-events: none;
}

/* ── Nav ── */
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--space-gutter); width: 100%; max-width: var(--max-width); margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a.nav-mobile-home { display: none; }
.nav-links > a,
.nav-links > .nav-item > a {
  font-size: 15px; color: var(--color-text-on-dark-muted);
  padding: 12px 4px; transition: color 0.2s;
  display: inline-block;
}
.nav-links a {
  font-size: 15px; color: var(--color-text-on-dark-muted);
  padding: 12px 4px; transition: color 0.2s;
}

/* Submenu (Leistungen dropdown) */
.nav-item {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
}
.nav-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--color-text-on-dark-muted); line-height: 1;
}
.nav-light .nav-sub-toggle { color: var(--color-text-muted); }
.nav-item-has-sub:hover .nav-sub-toggle,
.nav-item-has-sub:focus-within .nav-sub-toggle,
.nav-item-has-sub.is-active .nav-sub-toggle { color: var(--color-bg); }
.nav-light .nav-item-has-sub:hover .nav-sub-toggle,
.nav-light .nav-item-has-sub:focus-within .nav-sub-toggle,
.nav-light .nav-item-has-sub.is-active .nav-sub-toggle { color: var(--color-text); }
.nav-sub-toggle svg { transition: transform 0.2s; }
.nav-item-has-sub.open .nav-sub-toggle svg,
.nav-item-has-sub:hover .nav-sub-toggle svg,
.nav-item-has-sub:focus-within .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-submenu {
  list-style: none; padding: 10px; margin: 0;
  position: absolute; top: calc(100% + 4px); left: -12px;
  min-width: 280px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(30, 30, 28, 0.08);
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 12;
}
.nav-item-has-sub:hover > .nav-submenu,
.nav-item-has-sub:focus-within > .nav-submenu,
.nav-item-has-sub.open > .nav-submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-submenu li { margin: 0; }
.nav-submenu li a {
  display: block; padding: 10px 14px;
  font-size: 14px; font-family: var(--font-body);
  color: var(--color-text-muted);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-submenu li a:hover {
  background: var(--color-surface); color: var(--color-text);
}
.nav-submenu li a[aria-current="page"] {
  background: var(--color-surface); color: var(--color-accent); font-weight: 500;
}
.nav-links a:hover { color: var(--color-bg); }
.nav-links a[aria-current="page"] { color: var(--color-bg); }
.btn-nav {
  display: inline-flex; align-items: center;
  background: rgba(250,250,248,0.12); border: 1px solid rgba(250,250,248,0.2);
  color: var(--color-bg); border-radius: 6px;
  padding: 10px 28px; font-size: 15px; font-family: var(--font-body);
  backdrop-filter: blur(8px); transition: background 0.2s;
}
.btn-nav:hover { background: rgba(250,250,248,0.2); }

/* ── Hero ── */
.hero {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 100px var(--space-gutter) 120px;
  max-width: var(--max-width); margin: 0 auto;
  gap: 48px;
}
.hero-headline { display: flex; flex-direction: column; gap: 0; width: 100%; }
.hero-title {
  font-family: var(--font-display); font-size: 80px;
  font-weight: 700; color: var(--color-bg); letter-spacing: 0; line-height: 84px;
}
.hero-title-accent {
  font-family: var(--font-serif); font-size: 80px;
  font-weight: 400; color: var(--color-accent); letter-spacing: 0;
  line-height: 88px; font-style: italic;
}
.hero-rotate {
  display: block; position: relative; overflow: hidden;
  height: 88px;
}
.hero-rotate-word {
  position: absolute; left: 0; top: 0; width: 100%;
  display: block; opacity: 0; white-space: nowrap;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.hero-rotate-word.active {
  opacity: 1; transform: translateY(0);
}
.hero-rotate-word.exit {
  opacity: 0; transform: translateY(-100%);
}
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; }
.hero-desc {
  font-size: 17px; color: var(--color-text-on-dark-muted); line-height: 28px; max-width: 440px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--color-accent); color: var(--color-bg); border-radius: 6px;
  padding: 18px 40px; font-size: 16px; font-weight: 500;
  transition: background 0.2s; flex-shrink: 0;
}
.btn-primary:hover { background: var(--color-accent-hover); }

/* ── Trust Bar ── */
.trust-bar {
  display: flex; max-width: var(--max-width); margin: 0 auto; width: 100%;
  padding: 44px var(--space-gutter);
  border-bottom: 1px solid var(--color-border);
}
.trust-item { flex: 1; }
.trust-value {
  font-family: var(--font-display); font-size: 32px;
  font-weight: 700; letter-spacing: 0;
  color: var(--color-text); font-style: italic;
}
.trust-label { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }

/* ── Services ── */
.services {
  display: flex; flex-direction: column; gap: var(--space-group);
  padding: var(--space-section) var(--space-gutter); max-width: var(--max-width); margin: 0 auto;
}
.services-header { display: flex; gap: 120px; align-items: flex-start; }
.services-header-left { width: 320px; flex-shrink: 0; }
.section-label {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-accent-text);
  margin-bottom: 16px;
}
.hero-block .section-label,
.hero-interior .section-label {
  color: var(--color-accent-on-dark);
}
.section-title {
  font-family: var(--font-display); font-size: 36px;
  font-weight: 700; letter-spacing: 0; line-height: 44px;
}
.services-header-desc { font-size: 16px; color: var(--color-text-muted); line-height: 28px; flex: 1; padding-top: 36px; }
.service-grid { display: flex; flex-wrap: wrap; gap: var(--space-element); }
.service-card {
  flex: 1 1 calc(33.333% - 16px); min-width: 300px;
  border: 1px solid var(--color-border); border-radius: 8px;
  padding: 36px; display: flex; flex-direction: column; gap: 20px;
  background: transparent; transition: all 0.2s; cursor: pointer;
}
.service-card:hover { background: var(--color-surface); border-color: #D0D0CC; }
.service-card.featured {
  background: var(--color-dark-card); border-color: var(--color-dark-card); color: var(--color-bg);
}
.service-card.featured:hover { background: #363636; }
.service-card-top { display: flex; justify-content: space-between; align-items: center; }
.service-num { font-family: var(--font-body); font-size: 13px; color: var(--color-text-decorative); }
.service-arrow { color: var(--color-text-decorative); transition: color 0.2s, transform 0.2s; }
.service-card:hover .service-arrow { color: var(--color-accent); transform: translate(2px, -2px); }
.service-card.featured .service-num { color: #aaa; }
.service-card.featured .service-arrow { color: rgba(250,250,248,0.6); }
.service-card.featured:hover .service-arrow { color: var(--color-bg); }
.service-card-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.service-card-desc { font-size: 14px; color: var(--color-text-muted); line-height: 22px; }
.service-card.featured .service-card-desc { color: rgba(250,250,248,0.78); }

/* ── AI-Websites Experimental Card (blueprint/dotted-grid look) ── */
.service-card.experimental {
  background:
    radial-gradient(circle, rgba(43,43,43,0.18) 1px, transparent 1.2px) 0 0 / 14px 14px,
    #F3EDE44A;
  border: 1px dashed rgba(196, 101, 74, 0.45);
}
.service-card.experimental:hover {
  background:
    radial-gradient(circle, rgba(43,43,43,0.22) 1px, transparent 1.2px) 0 0 / 14px 14px,
    #EFE7DA;
  border-color: var(--color-accent);
}
.service-card.experimental .service-num { color: var(--color-accent-text); font-weight: 600; }
.service-card.experimental .service-arrow { color: var(--color-accent-text); }
.service-card.experimental:hover .service-arrow { color: var(--color-accent); }

/* ── Keyword highlight (used in body copy) ── */
.kw { color: var(--color-text); font-weight: 600; }
.hero-interior-desc .kw { color: var(--color-bg); font-weight: 600; }
.service-card.featured .service-card-desc .kw { color: var(--color-bg); font-weight: 600; }

/* ── Workspace Image Strip ── */
.workspace-strip { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-gutter); }
.workspace-strip picture { display: block; }
.workspace-strip img {
  width: 100%; height: 320px; object-fit: cover; border-radius: 12px; display: block;
}

/* ── About ── */
.about {
  display: flex; gap: 0; align-items: stretch;
  padding: var(--space-section) var(--space-gutter); max-width: var(--max-width); margin: 0 auto;
}
.about-left { display: flex; flex-direction: column; gap: var(--space-element); width: 480px; flex-shrink: 0; }
.about-name {
  font-family: var(--font-display); font-size: 36px;
  font-weight: 700; letter-spacing: 0;
}
.about-bio { font-size: 16px; color: var(--color-text-muted); line-height: 26px; }
.about-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-accent-text); font-size: 16px; font-weight: 500;
  padding: 8px 0; transition: color 0.2s;
}
.about-link:hover { color: var(--color-accent-hover); }
.about-right {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: 40px;
}
.about-skill-row {
  display: flex; align-items: baseline; padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.about-skill-row:first-child { border-top: 1px solid var(--color-border); }
.about-skill-label { font-size: 15px; font-weight: 500; color: var(--color-text); width: 140px; flex-shrink: 0; }
.about-skill-value { font-size: 15px; color: var(--color-text-muted); }

/* ── CTA ── */
.cta { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-gutter); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 16px; padding: 80px;
  background: var(--color-dark-card); position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.15; pointer-events: none;
}
.cta-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display); font-size: 40px;
  font-weight: 700; color: var(--color-bg); letter-spacing: 0;
}
.cta-desc { font-size: 16px; color: var(--color-text-on-dark-muted); margin-top: 12px; }
.btn-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--color-accent); color: var(--color-bg); border-radius: 8px;
  padding: 18px 40px; font-size: 16px; font-weight: 500;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--color-accent-hover); }

/* ── Footer ── */
.footer {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 80px;
  padding: 64px var(--space-gutter); max-width: var(--max-width); margin: 64px auto 0;
  border-top: 1px solid var(--color-border);
}
.footer-brand { max-width: 360px; }
.footer-brand-name { display: flex; align-items: center; }
.footer-brand-name img { height: 50px; width: auto; }
.footer-brand-sub { font-size: 14px; color: var(--color-text-muted); margin-top: 12px; line-height: 22px; }
.footer-copyright { font-size: 13px; color: var(--color-text-muted); margin-top: 24px; }
.footer-columns { display: flex; gap: 80px; }
.footer-col-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0; color: var(--color-text-muted); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 15px; color: var(--color-text-muted);
  padding: 6px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-text); }

/* ── Page Header (light, for interior pages) ── */
.page-header {
  padding: 64px var(--space-gutter) 48px;
  max-width: var(--max-width); margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display); font-size: 48px;
  font-weight: 700; letter-spacing: 0; line-height: 56px;
  margin-top: 16px;
}
.page-header .page-header-desc {
  font-size: 17px; color: var(--color-text-muted); line-height: 28px;
  max-width: 680px; margin-top: 20px;
}
.page-header-desc strong {
  color: var(--color-text); font-weight: 500;
  background: linear-gradient(180deg, transparent 62%, rgba(196,101,74,0.18) 62%);
  padding: 0 2px;
}

.quick-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 32px;
}
.quick-fact {
  padding: 20px 24px;
  border-left: 1px solid var(--color-border);
}
.quick-fact:first-child {
  border-left: none;
  padding-left: 0;
}
.quick-fact-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-accent-text); margin-bottom: 8px;
}
.quick-fact-value {
  font-size: 15px; color: var(--color-text-muted); line-height: 23px;
}
.quick-fact-value strong { color: var(--color-text); font-weight: 600; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--color-text-muted); transition: color 0.2s; padding: 4px 0; }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb .breadcrumb-sep { color: var(--color-text-decorative); }
.breadcrumb [aria-current="page"] { color: var(--color-text); }

/* ── Content Section ── */
.content-section {
  padding: var(--space-section) var(--space-gutter);
  max-width: var(--max-width); margin: 0 auto;
}
.content-section + .content-section { padding-top: 0; }
.content-section h2 {
  font-family: var(--font-display); font-size: 28px;
  font-weight: 700; letter-spacing: 0; line-height: 36px;
  margin-bottom: 20px;
}
.content-section h3 {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 600; line-height: 28px; margin-bottom: 12px;
}
.content-section p {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
  margin-bottom: 16px;
}

/* ── Detail List (bullet points in service detail) ── */
.detail-list {
  list-style: none; padding: 0; margin: 0 0 24px 0;
}
.detail-list li {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  padding: 4px 0 4px 20px; position: relative;
}
.detail-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
}

/* ── Service Detail Block (sub-service with border separator) ── */
.service-detail {
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: none; }

/* ── Problem Section (pain points callout) ── */
.problem-section {
  position: relative;
  background: var(--color-surface); border-radius: 12px;
  padding: 40px; margin-bottom: 16px;
  border: 1px solid var(--color-border);
}
.problem-section::before {
  content: ''; position: absolute; top: 24px; left: 40px;
  width: 32px; height: 2px; background: var(--color-accent);
}
.problem-section h2 { margin-bottom: 16px; margin-top: 16px; }
.problem-section .problem-intro {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
  margin-bottom: 24px;
}
.problem-list {
  list-style: none; padding: 0; margin: 0;
}
.problem-list li {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  padding: 8px 0 8px 20px; position: relative;
}
.problem-list li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
}
.problem-list li strong { color: var(--color-text); font-weight: 600; }

/* ── Process Steps ── */
.process-steps {
  display: flex; flex-direction: column; gap: 0;
  position: relative; padding-left: 48px;
}
.process-steps::before {
  content: ''; position: absolute; left: 15px; top: 8px;
  bottom: 8px; width: 1px; background: var(--color-border);
}
.process-step {
  position: relative; padding: 20px 0;
}
.process-step-num {
  position: absolute; left: -48px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-bg); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px;
  font-weight: 700; color: var(--color-accent); z-index: 1;
}
.process-step-title {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 600; margin-bottom: 8px;
}
.process-step-desc {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
}

/* CTA-style first step inside .process-steps */
.process-step-cta {
  position: relative;
  margin-bottom: 8px;
  padding: 24px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
.process-step-cta::before {
  content: ''; position: absolute; top: 0; left: 28px;
  width: 32px; height: 2px; background: var(--color-accent);
}
.process-step-cta .process-step-num {
  position: absolute; left: -48px; top: 28px;
  background: var(--color-accent); border-color: var(--color-accent);
  color: var(--color-bg);
}
.process-step-cta-title {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 600; margin-bottom: 6px;
}
.process-step-cta-desc {
  font-size: 14px; color: var(--color-text-muted); line-height: 22px;
  margin-bottom: 16px;
}
.btn-step-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-accent); color: var(--color-bg);
  border-radius: 6px; padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.btn-step-cta:hover { background: var(--color-accent-hover); }
.btn-step-cta svg { flex-shrink: 0; }

/* ── Floating Page TOC (sub-service pages) ── */
.page-toc { display: none; }

@media (min-width: 1100px) {
  .page-toc {
    display: block;
    position: fixed;
    top: 140px;
    left: max(var(--space-gutter), calc(50vw - 720px + var(--space-gutter)));
    width: 200px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    z-index: 4;
    padding-left: 16px;
    border-left: 1px solid var(--color-border);
    transition: opacity 0.3s, transform 0.3s;
  }
  .page-toc.is-hidden {
    opacity: 0; pointer-events: none; transform: translateX(-8px);
  }
  .page-toc-label {
    font-family: var(--font-display); font-size: 11px;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-light); margin-bottom: 14px;
  }
  .page-toc-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
  }
  .page-toc-list a {
    display: block;
    font-size: 13px; line-height: 18px;
    color: var(--color-text-muted);
    padding: 7px 0 7px 16px;
    margin-left: -17px;
    border-left: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }
  .page-toc-list a:hover { color: var(--color-text); }
  .page-toc-list a.is-active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 500;
  }
  .has-toc .page-header,
  .has-toc .content-section,
  .has-toc .cta,
  .has-toc .about-content,
  .has-toc .logos-section {
    padding-left: calc(var(--space-gutter) + 240px);
  }
  .has-toc .about-content { max-width: 1040px; }
  .has-toc .page-header .page-header-desc { max-width: 640px; }
}

/* ── Tech Table ── */
.tech-table {
  width: 100%; border-collapse: collapse;
}
.tech-table thead th {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-text-muted); text-align: left;
  padding: 12px 0; border-bottom: 2px solid var(--color-border);
}
.tech-table tbody td {
  font-size: 15px; color: var(--color-text-muted); line-height: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--color-border);
}
.tech-table tbody td:first-child {
  font-weight: 600; color: var(--color-text); width: 280px;
}

/* ── FAQ Accordion ── */
.faq { margin: 0; padding: 0; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  padding: 24px 40px 24px 0; cursor: pointer; list-style: none;
  position: relative; line-height: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 24px;
  font-family: var(--font-display); font-size: 24px; font-weight: 400;
  color: var(--color-text-muted); transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item .faq-answer {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  padding: 0 40px 24px 0;
}

/* ── Interior Hero (dark, smaller — for overview pages) ── */
.hero-interior {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 80px var(--space-gutter) 80px;
  max-width: var(--max-width); margin: 0 auto;
  gap: 24px;
}
.hero-interior .section-label { color: var(--color-accent); }
.hero-interior h1 {
  font-family: var(--font-display); font-size: 56px;
  font-weight: 700; color: var(--color-bg); letter-spacing: 0;
  line-height: 64px;
}
.hero-interior .hero-interior-desc {
  font-size: 17px; color: var(--color-text-on-dark-muted); line-height: 28px;
  max-width: 600px;
}

/* ── Why Section (feature list with bold labels) ── */
.why-section {
  display: flex; gap: 120px; align-items: flex-start;
}
.why-section-left { width: 320px; flex-shrink: 0; }
.why-list {
  flex: 1; list-style: none; padding: 0; margin: 0;
}
.why-list li {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
  padding: 16px 0; border-bottom: 1px solid var(--color-border);
}
.why-list li:first-child { border-top: 1px solid var(--color-border); }
.why-list li strong { color: var(--color-text); font-weight: 600; }

/* ── About Hero (Editorial Portrait) ── */
.about-hero {
  background: var(--color-surface);
  padding: 80px var(--space-gutter);
}
.about-hero-inner {
  display: flex; gap: 80px; align-items: center;
  max-width: var(--max-width); margin: 0 auto;
}
.about-hero-photo {
  width: 45%; flex-shrink: 0;
}
.about-hero-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 12px; display: block; background: var(--color-border);
}
.about-hero-content {
  flex: 1; display: flex; flex-direction: column; gap: 20px;
}
.about-hero-content .section-label { margin-bottom: 0; }
.about-hero-content h1 {
  font-family: var(--font-display); font-size: 48px;
  font-weight: 700; letter-spacing: 0; line-height: 56px;
}
.about-hero-subtitle {
  font-family: var(--font-serif); font-size: 24px;
  font-style: italic; color: var(--color-text-muted);
}
.about-hero-citation {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
}
.about-hero-location {
  font-size: 15px; color: var(--color-text-muted); line-height: 24px;
}
.about-trust-row {
  display: flex; gap: 32px; margin-top: 8px;
}
.about-trust-item {}
.about-trust-value {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; letter-spacing: 0;
}
.about-trust-label {
  font-size: 12px; color: var(--color-text-muted); margin-top: 4px;
}

/* ── About Content (centered single-column) ── */
.about-content {
  max-width: 800px; margin: 0 auto;
  padding: 88px var(--space-gutter);
}
.about-content h2 {
  font-family: var(--font-display); font-size: 28px;
  font-weight: 700; letter-spacing: 0; line-height: 36px;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
  margin-bottom: 16px;
}

/* Differentiator cards */
.diff-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-element); margin-top: 24px;
}
.diff-card {
  padding: 32px; border: 1px solid var(--color-border);
  border-radius: 8px;
}
.diff-card-title {
  font-family: var(--font-display); font-size: 17px;
  font-weight: 600; margin-bottom: 8px;
}
.diff-card-desc {
  font-size: 14px; color: var(--color-text-muted); line-height: 22px;
}

/* KI callout box */
.callout-box {
  background: var(--color-surface); border-radius: 8px;
  padding: 32px; margin-top: 16px;
}
.callout-box p { margin-bottom: 0; }
.callout-box strong { color: var(--color-text); }

/* Client type list */
.client-list {
  list-style: none; padding: 0; margin: 24px 0 0 0;
}
.client-list li {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  padding: 12px 0; border-bottom: 1px solid var(--color-border);
}
.client-list li:first-child { border-top: 1px solid var(--color-border); }
.client-list li strong { color: var(--color-text); font-weight: 600; }

/* ── Logo Slider ── */
.logos-section {
  padding: var(--space-section) var(--space-gutter);
  max-width: var(--max-width); margin: 0 auto;
  text-align: center;
}
.logos-section h2 {
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-text-muted); margin-bottom: 40px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.client-logo-tile {
  display: flex; align-items: center; justify-content: center;
  width: 200px; height: 72px;
  padding: 14px 24px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s, transform 0.2s;
}
.client-logo-tile:hover {
  border-color: #D0D0CC;
  transform: translateY(-2px);
}
.client-logo {
  max-height: 40px;
  max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.client-logo--invert {
  filter: invert(1) brightness(0.45);
}
.client-logo--lg {
  transform: scale(2);
  transform-origin: center;
}
.logos-more {
  font-size: 14px; color: var(--color-text-muted); margin-top: 24px;
}

/* ── Project Grid (Projekte overview) ── */
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* "More projects under NDA" callout */
.projects-more {
  margin-top: 56px;
  padding: 48px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; justify-content: center;
  position: relative; overflow: hidden;
}
.projects-more::before {
  content: ''; position: absolute; top: 0; left: 48px;
  width: 32px; height: 2px; background: var(--color-accent);
}
.projects-more-inner {
  max-width: 720px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.projects-more-eyebrow {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-accent); margin-top: 8px;
}
.projects-more-title {
  font-family: var(--font-display); font-size: 26px;
  font-weight: 700; line-height: 34px; letter-spacing: 0;
}
.projects-more-desc {
  font-size: 16px; color: var(--color-text-muted); line-height: 28px;
  max-width: 640px;
}
.projects-more-desc strong { color: var(--color-text); font-weight: 600; }
.projects-more .btn-primary { margin-top: 8px; padding: 14px 28px; }
.project-card {
  border: 1px solid var(--color-border); border-radius: 8px;
  overflow: hidden; transition: border-color 0.2s; display: block;
  background: transparent;
}
.project-card:hover { border-color: #D0D0CC; }
.project-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  background: var(--color-surface); display: block;
}
.project-card-body { padding: 28px; }
.project-card-text {
  background: rgba(255, 255, 255, 0.28);
}
.project-card-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-text-muted); background: rgba(43, 43, 43, 0.06);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.project-card-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 600; margin-bottom: 8px;
}
.project-card-desc {
  font-size: 14px; color: var(--color-text-muted); line-height: 22px;
  margin-bottom: 16px;
}
.project-card-section {
  border-top: 1px solid var(--color-border);
  padding-top: 16px; margin-top: 16px;
}
.project-card-section-title {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  color: var(--color-text-muted); margin-bottom: 6px;
}
.project-card-section p {
  font-size: 14px; color: var(--color-text-muted); line-height: 22px;
  margin-bottom: 0;
}
.project-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.project-card-tag {
  font-size: 12px; color: var(--color-text);
  background: #ECECE8; padding: 4px 10px;
  border-radius: 4px;
}

/* ── Legal Pages (Impressum / Datenschutz / AGB) ── */
.legal-block { max-width: 760px; }
.legal-block h2 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  margin-top: 36px; margin-bottom: 12px;
}
.legal-block h2:first-child { margin-top: 0; }
.legal-block h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  margin-top: 28px; margin-bottom: 10px; color: var(--color-text);
}
.legal-block p {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  margin-bottom: 14px;
}
.legal-block ul, .legal-block ol { margin: 0 0 14px 20px; padding: 0; }
.legal-block li {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  margin-bottom: 4px;
}
.legal-block a { color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-block a:hover { color: var(--color-accent-hover); }

/* ── Kontakt Page ── */
.kontakt-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-gutter) var(--space-section);
}
.kontakt-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-element);
}
.kontakt-card {
  border: 1px solid var(--color-border); border-radius: 8px;
  padding: 40px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
}
.kontakt-card-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--color-surface); display: flex;
  align-items: center; justify-content: center;
}
.kontakt-card-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
}
.kontakt-card-desc {
  font-size: 14px; color: var(--color-text-muted); line-height: 22px;
}
.kontakt-card .btn-primary {
  padding: 14px 28px; font-size: 15px; margin-top: auto;
}
.kontakt-info {
  margin-top: var(--space-group); padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.kontakt-info p {
  font-size: 15px; color: var(--color-text-muted); line-height: 26px;
  margin-bottom: 8px;
}
.kontakt-info strong { color: var(--color-text); font-weight: 600; }

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

/* ── Mobile Nav ── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative; z-index: 10;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-bg); position: absolute; left: 5px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
.nav-toggle-light span { background: var(--color-text); }
.nav-toggle-light.active span { background: var(--color-bg); }

/* Nav light variant (subpages with light background) */
.nav-light { padding-top: 28px; padding-bottom: 28px; }
.nav-light .nav-links a { color: var(--color-text-muted); }
.nav-light .nav-links a:hover { color: var(--color-text); }
.nav-light .nav-links a[aria-current="page"],
.nav-light .nav-links a[aria-current="true"],
.nav-light .nav-links .nav-item-has-sub.is-active > a {
  color: var(--color-text); font-weight: 500;
}
.nav-light .btn-nav { color: var(--color-text); background: rgba(43,43,43,0.08); border-color: var(--color-border); }
.nav-light .nav-submenu li a[aria-current="page"] { color: var(--color-accent); }
.nav-links a[aria-current="page"],
.nav-links .nav-item-has-sub.is-active > a { color: var(--color-bg); font-weight: 500; }

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  :root {
    --space-gutter: 40px;
    --space-section: 80px;
    --space-group: 48px;
  }

  .hero { padding: 80px var(--space-gutter) 100px; }
  .has-overlay-nav .hero { padding-top: 180px; }
  .has-overlay-nav .hero-interior { padding-top: 160px; }
  .hero-title, .hero-title-accent { font-size: 64px; line-height: 68px; }
  .hero-rotate { height: 68px; }

  .services-header { flex-direction: column; gap: 24px; }
  .services-header-left { width: 100%; }
  .services-header-desc { padding-top: 0; }

  .about { flex-direction: column; gap: var(--space-group); }
  .about-left { width: 100%; }
  .about-right { padding-top: 0; }

  .why-section { flex-direction: column; gap: 24px; }
  .why-section-left { width: 100%; }

  .cta-inner { padding: 56px; }
  .cta-title { font-size: 32px; }

  .footer-columns { gap: 40px; }

  .about-hero-inner { gap: 48px; }
  .about-hero-photo { width: 40%; }
  .about-trust-row { gap: 24px; flex-wrap: wrap; }
  .diff-grid { gap: 16px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── Mobile landscape (max-width: 768px) ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-dark); z-index: 5;
    padding: 100px 40px 40px; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a,
  .nav-links > a,
  .nav-links > .nav-item > a {
    font-size: 24px; color: rgba(250,250,248,0.7);
    padding: 16px 0; border-bottom: 1px solid rgba(250,250,248,0.1);
  }
  .nav-light .nav-links.open a:not(.btn-nav) { color: var(--color-text-on-dark-muted); }
  .nav-light .nav-links.open a:not(.btn-nav):hover,
  .nav-light .nav-links.open a[aria-current="page"] { color: var(--color-bg); }

  /* Mobile submenu — inline (always visible inside open menu) */
  .nav-item { display: block; }
  .nav-item-has-sub { border-bottom: 1px solid rgba(250,250,248,0.1); }
  .nav-links .nav-item-has-sub > a { border-bottom: 0; padding-right: 0; }
  .nav-links > a.nav-mobile-home { display: block; }
  .nav-sub-toggle {
    position: absolute; right: 0; top: 8px;
    color: rgba(250,250,248,0.7);
    padding: 16px;
  }
  .nav-submenu {
    position: static; opacity: 1; pointer-events: auto;
    transform: none; background: transparent; border: 0;
    box-shadow: none; padding: 0 0 0 16px; min-width: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease, padding-bottom 0.25s ease;
  }
  .nav-item-has-sub.open .nav-submenu { max-height: 600px; padding-bottom: 12px; }
  .nav-submenu li a {
    font-size: 16px; color: rgba(250,250,248,0.55);
    padding: 10px 0; border-bottom: 0;
  }
  .nav-submenu li a[aria-current="page"] {
    background: transparent; color: var(--color-accent);
  }
  .nav-links a[style] { color: rgba(250,250,248,0.7) !important; }
  .nav-links .btn-nav,
  .nav-links .btn-nav[style] {
    margin-top: 24px; border: none !important;
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
    padding: 16px 28px; text-align: center; justify-content: center;
    font-size: 18px;
  }
  .nav { z-index: 10; }

  .hero { padding: 60px var(--space-gutter) 80px; gap: 36px; }
  .has-overlay-nav .hero { padding-top: 160px; }
  .has-overlay-nav .hero-interior { padding-top: 140px; }
  .hero-title, .hero-title-accent { font-size: 48px; line-height: 52px; }
  .hero-rotate { height: 52px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }

  .trust-bar { flex-wrap: wrap; gap: 0; }
  .trust-item { flex: 1 1 50%; padding: 12px 0; }
  .trust-value { font-size: 28px; }

  .service-card { min-width: 100%; }

  .workspace-strip img { height: 220px; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-fact:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .quick-fact:nth-child(n+3) { border-top: 1px solid var(--color-border); }

  .cta-inner { flex-direction: column; gap: 32px; padding: 40px; text-align: center; align-items: center; }

  .footer { flex-direction: column; gap: 40px; }
  .footer-columns { flex-wrap: wrap; gap: 32px; }

  .page-header h1 { font-size: 36px; line-height: 44px; }
  .hero-interior h1 { font-size: 40px; line-height: 48px; }

  .problem-section { padding: 32px; }
  .tech-table tbody td:first-child { width: auto; }

  .about-hero-inner { flex-direction: column; gap: 40px; }
  .about-hero-photo { width: 100%; max-width: 400px; }
  .about-hero-content h1 { font-size: 36px; line-height: 44px; }
  .about-hero-subtitle { font-size: 20px; }
  .diff-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .kontakt-cards { grid-template-columns: 1fr; }
  .logos-row { gap: 32px; }
}

/* ── Mobile portrait (max-width: 480px) ── */
@media (max-width: 480px) {
  :root {
    --space-gutter: 20px;
    --space-section: 64px;
    --space-group: 36px;
  }

  .hero-title, .hero-title-accent { font-size: 36px; line-height: 40px; }
  .hero-rotate { height: 40px; }
  .hero-desc { font-size: 15px; line-height: 24px; }

  .trust-bar { flex-direction: column; }
  .trust-item { flex: 1 1 100%; padding: 10px 0; }

  .section-title { font-size: 28px; line-height: 36px; }
  .about-name { font-size: 28px; }

  .service-card { padding: 28px; }

  .cta-inner { padding: 32px 24px; }
  .cta-title { font-size: 26px; }
  .btn-cta { padding: 16px 32px; font-size: 15px; }

  .workspace-strip img { height: 180px; }

  .page-header h1 { font-size: 30px; line-height: 38px; }
  .hero-interior h1 { font-size: 32px; line-height: 40px; }

  .footer-columns { flex-direction: column; gap: 28px; }

  .about-skill-label { width: 100px; }

  .process-steps { padding-left: 36px; }
  .process-step-num { left: -36px; width: 28px; height: 28px; font-size: 12px; }

  .quick-facts { grid-template-columns: 1fr; }
  .quick-fact,
  .quick-fact:nth-child(odd) {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 18px 0;
  }
  .quick-fact:first-child { border-top: none; }

  .about-hero { padding: var(--space-section) var(--space-gutter) var(--space-group); }
  .about-hero-content h1 { font-size: 30px; line-height: 38px; }
  .about-trust-row { gap: 16px; }
  .about-trust-value { font-size: 18px; }
  .diff-card { padding: 24px; }
  .kontakt-card { padding: 28px; }
  .logos-row { gap: 16px; }
  .client-logo-tile { width: 160px; height: 60px; padding: 10px 18px; }
  .client-logo { max-height: 32px; }
}
