/* 01 swiss-minimal · style.css
 * Breakpoints: 360 (S) · 768 (M) · 1024 (L) · 1280 (XL)
 * Font: Switzer (single family, weights 400/500/600/700)
 * Palette: ink #0A0A0A · paper #FAFAFA · accent #E63946 · rule #E5E2DD
 * Vibe: precise, restrained, 12-col grid, no motion, single accent.
 */

:root {
  --paper: #FAFAFA;
  --ink: #0A0A0A;
  --ink-soft: #3A3A3A;
  --muted: #6E6E6E;
  --accent: #E63946;
  --rule: #E5E2DD;
  --rule-strong: #1A1A1A;

  --col-gap: 24px;
  --row-gap: 96px;
  --pad-x: clamp(20px, 4vw, 56px);
  --max: 1280px;

  --size-step: 8px;

  --leading-display: 0.95;
  --leading-body: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer", system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02", "cv01";
  font-size: 16px;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--paper); }

/* Layout shell ------------------------------------------------------------ */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* 12-col grid, gutter 24, used inside .shell */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}

/* Header ------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--rule-strong);
  background: var(--paper);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.brand {
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.brand .dot { color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav a:hover { border-bottom-color: var(--accent); }
.nav a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 1px;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  padding: clamp(72px, 12vw, 160px) 0 clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--rule);
}
.hero .grid { row-gap: 32px; }
.hero .kicker {
  grid-column: 1 / -1;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 14px;
}
.hero .kicker::before {
  content: ""; width: 36px; height: 1px; background: var(--ink);
}
.hero h1 {
  grid-column: 1 / span 11;
  margin: 0;
  font-size: clamp(40px, 7.4vw, 96px);
  font-weight: 600; letter-spacing: -0.035em;
  line-height: var(--leading-display);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero .sub {
  grid-column: 1 / span 7;
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); max-width: 56ch;
}
.hero .cta-row {
  grid-column: 1 / -1;
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  background: var(--ink); color: var(--paper);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Section header (used on every section) --------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; border-bottom: 1px solid var(--rule); }
.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap);
  align-items: baseline; margin-bottom: clamp(40px, 5vw, 72px);
}
.section-num {
  grid-column: 1 / span 1;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.section-title {
  grid-column: 2 / span 7;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 46px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05;
}
.section-lede {
  grid-column: 9 / span 4;
  margin: 0; color: var(--ink-soft); font-size: 15.5px;
}

/* Services teaser (Home) ------------------------------------------------- */
.services-teaser { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--ink); }
.svc-card {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  position: relative;
}
.svc-card + .svc-card { padding-left: 28px; border-left: 1px solid var(--rule); }
.svc-card .n { font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; }
.svc-card h3 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.svc-card .kicker { color: var(--muted); font-size: 14.5px; margin: -6px 0 6px; }
.svc-card .body { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* Services full (Leistungen) ------------------------------------------- */
.svc-block {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap);
  padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--rule);
  align-items: start;
}
.svc-block:first-of-type { border-top-color: var(--ink); }
.svc-block .n {
  grid-column: 1 / span 1;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent);
}
.svc-block h2 {
  grid-column: 2 / span 5;
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1;
}
.svc-block .lede {
  grid-column: 2 / span 5; color: var(--ink-soft); font-size: 17px;
  margin: 0;
}
.svc-block .bullets {
  grid-column: 8 / span 5;
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.svc-block .bullets li {
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  font-size: 16px; display: flex; gap: 16px; align-items: baseline;
}
.svc-block .bullets li::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
  flex: 0 0 8px; transform: translateY(2px);
}
.svc-block .bullets li:first-child { border-top: 1px solid var(--rule); }

/* Portfolio --------------------------------------------------------------- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--ink); }
.work {
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 28px 24px 24px; display: grid; gap: 12px;
  position: relative;
}
.work:nth-child(3n) { border-right: 0; }
.work .thumb {
  aspect-ratio: 4 / 3; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.work .thumb img { width: 56%; opacity: 0.9; filter: invert(0); }
.work:nth-child(2) .thumb { background: var(--accent); }
.work:nth-child(3) .thumb { background: #1A1A1A; }
.work:nth-child(5) .thumb { background: var(--accent); }
.work:nth-child(6) .thumb { background: #1A1A1A; }
.work .meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.work h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* About / team ----------------------------------------------------------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.about .copy {
  grid-column: 1 / span 5;
  display: grid; gap: 16px;
}
.about .copy h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.about .copy p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.team {
  grid-column: 7 / span 6;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.team .member { display: grid; gap: 10px; }
.team .portrait {
  aspect-ratio: 4 / 5; background: #F0EDE8;
  display: grid; place-items: center;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.team .portrait img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.team .role { color: var(--muted); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.1em; }
.team .bio { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 0; }

/* CTA strip -------------------------------------------------------------- */
.cta-strip {
  background: var(--ink); color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
}
.cta-strip .grid { align-items: end; row-gap: 24px; }
.cta-strip h2 {
  grid-column: 1 / span 8;
  margin: 0;
  font-size: clamp(32px, 5vw, 72px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
}
.cta-strip h2 em { font-style: normal; color: var(--accent); }
.cta-strip .cta-side {
  grid-column: 9 / span 4;
  display: grid; gap: 16px;
}
.cta-strip .btn {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
  justify-self: start;
}
.cta-strip .btn:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.cta-strip .note { color: rgba(250,250,250,0.65); font-size: 14px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule-strong);
  padding: 56px 0 36px;
  background: var(--paper);
}
.site-footer .grid { row-gap: 32px; align-items: end; }
.site-footer .f-brand {
  grid-column: 1 / span 4;
  display: grid; gap: 10px;
}
.site-footer .f-brand .brand { font-size: 22px; }
.site-footer .f-brand p { margin: 0; color: var(--muted); font-size: 14px; }
.site-footer .f-links {
  grid-column: 6 / span 3;
  display: grid; gap: 8px;
}
.site-footer .f-links a { font-size: 14px; color: var(--ink-soft); }
.site-footer .f-links a:hover { color: var(--ink); }
.site-footer .f-contact {
  grid-column: 9 / span 4;
  display: grid; gap: 8px; font-size: 14px;
}
.site-footer .f-contact a { color: var(--ink); border-bottom: 1px solid var(--ink); display: inline-block; }
.site-footer .f-legal {
  grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
}

/* Page intro (used on Leistungen, Kontakt) ------------------------------- */
.page-intro {
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
}
.page-intro .grid { row-gap: 24px; align-items: baseline; }
.page-intro .kicker {
  grid-column: 1 / span 1; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.page-intro h1 {
  grid-column: 2 / span 9;
  margin: 0;
  font-size: clamp(40px, 6.5vw, 88px); font-weight: 600;
  letter-spacing: -0.035em; line-height: 0.95;
  text-wrap: balance;
}
.page-intro .lede {
  grid-column: 2 / span 7;
  margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 60ch;
}

/* Contact form ----------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap);
  padding: clamp(64px, 9vw, 112px) 0;
}
.contact-form { grid-column: 1 / span 7; display: grid; gap: 20px; }
.contact-aside {
  grid-column: 9 / span 4;
  border-left: 1px solid var(--rule); padding-left: 24px;
  display: grid; gap: 22px; align-content: start; font-size: 14px;
}
.contact-aside dt {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 4px;
}
.contact-aside dd { margin: 0; font-size: 15px; }
.contact-aside dd a { border-bottom: 1px solid var(--ink); }

.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 14px 14px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
  width: 100%; outline: none;
  transition: border-color 120ms ease, background 120ms ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent); background: rgba(230,57,70,0.04);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9C9C9C; }

.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot {
  border: 1px dashed var(--rule);
  padding: 12px 14px; font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
}
.form-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.form-footer .privacy { font-size: 12px; color: var(--muted); max-width: 56ch; }
.form-notice {
  border: 1px solid var(--accent); background: rgba(230,57,70,0.06);
  color: var(--ink); padding: 14px 16px; font-size: 14px;
}

/* Sub-pages section dividers ---------------------------------------------- */
.leistungen-list { padding: clamp(40px, 6vw, 80px) 0; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about .copy { grid-column: 1 / span 12; }
  .about .team { grid-column: 1 / span 12; }
  .cta-strip h2 { grid-column: 1 / span 12; }
  .cta-strip .cta-side { grid-column: 1 / span 12; }
  .contact-form { grid-column: 1 / span 12; }
  .contact-aside { grid-column: 1 / span 12; border-left: 0; padding-left: 0;
    border-top: 1px solid var(--rule); padding-top: 28px; }
  .section-lede { grid-column: 2 / span 10; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .site-header .shell { flex-direction: row; gap: 16px; }
  .nav { gap: 18px; }
  .hero h1 { grid-column: 1 / -1; }
  .hero .sub { grid-column: 1 / -1; }
  .services-teaser { grid-template-columns: 1fr; }
  .svc-card + .svc-card { padding-left: 0; border-left: 0; }
  .svc-block .n { grid-column: 1 / -1; }
  .svc-block h2, .svc-block .lede { grid-column: 1 / -1; }
  .svc-block .bullets { grid-column: 1 / -1; }
  .portfolio { grid-template-columns: 1fr 1fr; }
  .work:nth-child(3n) { border-right: 1px solid var(--rule); }
  .work:nth-child(2n) { border-right: 0; }
  .team { grid-template-columns: 1fr; gap: 32px; }
  .section-num { grid-column: 1 / -1; }
  .section-title { grid-column: 1 / -1; }
  .page-intro h1 { grid-column: 1 / -1; }
  .page-intro .kicker { grid-column: 1 / -1; }
  .page-intro .lede { grid-column: 1 / -1; }
  .site-footer .f-brand,
  .site-footer .f-links,
  .site-footer .f-contact { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .portfolio { grid-template-columns: 1fr; }
  .work { border-right: 0; }
}
