@font-face {
  font-family: Geist;
  src: url('/assets/fonts/Geist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #faf8f4;
  --ink: #282625;
  --muted: #665e59;
  --line: #dcd6cf;
  --accent: #cf2932;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: #baafa5 var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 Geist, Arial, sans-serif; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
summary { cursor: pointer; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap, .frame { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip-link:focus { top: 12px; }

/* Selected Signatur header and opening. */
.brand { display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; font-size: 23px; letter-spacing: -.045em; line-height: 1; min-height: 44px; }
.brand-name { font-weight: 800; }
.brand-projects { font-weight: 280; margin-left: .24em; }
.flag { position: relative; width: .72em; height: .72em; flex: none; margin-right: .22em; background: #ed101b; }
.flag::before, .flag::after { content: ''; position: absolute; inset: 19% 40%; background: #fff; }
.flag::after { inset: 40% 19%; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 88px; }
.site-header nav { display: flex; align-items: center; gap: 33px; font-size: 13px; }
.site-header nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .header-contact { gap: 10px; color: var(--accent); }
.site-header .header-contact svg { width: 19px; height: 19px; }
.signature-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 630px; padding-block: 31px 53px; align-items: end; }
.hero-copy { position: relative; z-index: 1; align-self: start; }
.hero-copy h1 { font-size: clamp(70px, 6.75vw, 96px); font-weight: 550; letter-spacing: -.04em; line-height: .97; margin: 0 0 28px; max-width: 620px; }
.hero-copy h1 > span:not(.red-period) { font-weight: 330; }
.red-period { color: var(--accent); }
.hero-copy > p { font-size: 16px; line-height: 1.65; max-width: 31ch; margin: 0 0 25px; color: var(--muted); }
.signature-button { display: inline-flex; align-items: center; gap: 30px; justify-content: space-between; min-height: 54px; padding: 14px 20px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 3px; font-size: 14px; transition: background-color .2s ease; }
.signature-button:hover { background: #ad1e27; }
.signature-button svg { width: 21px; height: 21px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.signature-button:hover svg { transform: translate(3px,-3px); }
.hero-art { position: relative; width: calc(100% + 70px); margin: 0 0 0 -45px; align-self: end; padding-bottom: 15px; }
.hero-art img { width: 100%; height: auto; object-fit: contain; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: var(--muted); line-height: 1.4; margin: 10px 22px 0 18px; }
.hero-art figcaption span { color: var(--accent); }

/* Selected Mitmachen lower sections, using the same colour and gutter tokens. */
.services { border-top: 1px solid var(--line); padding-block: 85px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.services-heading h2, .own-project h2 { font-size: clamp(30px,3.3vw,49px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; margin: 0; }
.services-heading img { width: 155px; margin: 32px 0 0 70px; }
.section-intro { font-size: 21px; max-width: 38ch; line-height: 1.45; margin: 0 0 34px; letter-spacing: -.02em; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 42px; }
.service-grid h3 { font-size: 17px; font-weight: 560; margin: 0 0 10px; color: var(--accent); }
.service-grid p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.own-project { display: grid; grid-template-columns: .7fr 1.5fr .65fr; gap: 50px; align-items: center; padding-block: 75px; border-block: 1px solid var(--line); }
.project-label { align-self: start; padding-top: 8px; }
.project-label img { width: 130px; }
.project-label p { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 23px; }
.project-copy > p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 40ch; margin: 22px 0; }
.delivery { width: 170px; justify-self: end; }
.project-copy details { border-top: 1px solid var(--line); max-width: 410px; margin-top: 30px; }
.project-copy summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; list-style: none; padding: 15px 0; font-size: 14px; min-height: 54px; }
.project-copy summary::-webkit-details-marker { display: none; }
.project-copy summary span { font-size: 23px; }
.project-copy details[open] summary span { transform: rotate(45deg); }
.project-copy details p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact { padding-block: 75px; display: flex; justify-content: space-between; gap: 35px; align-items: baseline; }
.contact h2 { font-size: clamp(38px,4.4vw,64px); line-height: 1; letter-spacing: -.05em; font-weight: 500; margin: 0; }
.contact a { font-size: 28px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.contact a:hover { text-decoration: underline; }
.contact a span { margin-left: 25px; }
.page-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 25px; font-size: 12px; color: var(--muted); gap: 20px; }
.page-footer nav { display: flex; gap: 24px; }
.page-footer a { text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: atelier-arrives .9s cubic-bezier(.16,1,.3,1) both; }
  @keyframes atelier-arrives { from { transform: translateY(18px); } to { transform: translateY(0); } }
}

@media (max-width: 1100px) {
  .wrap, .frame { width: calc(100% - 72px); }
  .site-header nav { gap: 23px; }
  .signature-hero { min-height: 588px; padding-top: 37px; }
  .hero-copy h1 { font-size: 74px; }
  .hero-copy > p { font-size: 15px; max-width: 29ch; }
  .hero-art { width: calc(100% + 36px); margin-left: -22px; padding-bottom: 20px; }
  .hero-art figcaption { display: block; text-align: right; font-size: 9px; margin: 10px 5px 0; }
  .hero-art figcaption span { display: block; margin-top: 4px; }
  .services { gap: 40px; }
  .own-project { gap: 32px; grid-template-columns: .6fr 1.5fr .6fr; }
  .contact a { font-size: 23px; }
  .contact h2 { font-size: 44px; }
}

@media (max-width: 850px) and (min-width: 761px) {
  .hero-copy h1 { font-size: 65px; }
  .signature-hero { min-height: 560px; }
  .hero-art { margin-left: -6px; width: calc(100% + 23px); }
  .hero-copy > p { max-width: 27ch; }
  .signature-button { font-size: 12px; gap: 20px; padding-inline: 17px; }
}

@media (max-width: 760px) {
  .wrap, .frame { width: calc(100% - 40px); }
  .site-header { height: 77px; gap: 12px; }
  .site-header .brand { font-size: 21px; }
  .site-header nav { gap: 0; }
  .site-header nav > a:not(.header-contact) { display: none; }
  .site-header .header-contact { font-size: 0; gap: 0; width: 36px; justify-content: center; }
  .site-header .header-contact svg { width: 25px; height: 25px; }
  .signature-hero { display: flex; flex-direction: column; min-height: 0; padding-block: 27px 37px; align-items: stretch; }
  .hero-copy h1 { font-size: clamp(57px,12.9vw,79px); line-height: .99; margin-bottom: 23px; }
  .hero-copy > p { font-size: 15px; line-height: 1.65; max-width: 40ch; margin-bottom: 23px; }
  .signature-button { min-height: 53px; font-size: 13px; gap: 24px; }
  .hero-art { width: calc(100% + 24px); margin: 21px -12px 0; padding: 0; align-self: center; max-width: 620px; }
  .hero-art figcaption { display: flex; justify-content: space-between; text-align: left; gap: 12px; margin: 10px 13px 0; font-size: 9px; }
  .hero-art figcaption span { margin: 0; text-align: right; max-width: 18ch; }
  .services { padding-block: 48px; grid-template-columns: 1fr; gap: 30px; }
  .services-heading { position: relative; min-height: 155px; padding-right: 100px; display: flex; align-items: center; }
  .services-heading h2 { font-size: 35px; }
  .services-heading img { position: absolute; right: 0; bottom: 0; margin: 0; width: 93px; }
  .section-intro { font-size: 19px; margin-bottom: 28px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-grid article { display: grid; grid-template-columns: 115px 1fr; gap: 20px; }
  .service-grid h3 { font-size: 16px; margin: 0; }
  .service-grid p { font-size: 14px; }
  .own-project { grid-template-columns: minmax(0,1fr) 95px; gap: 20px 12px; align-items: start; padding-block: 48px; }
  .project-label { display: flex; align-items: center; justify-content: space-between; padding: 0; gap: 30px; grid-column: 1/-1; grid-row: 1; }
  .project-label img { width: 115px; }
  .project-label p { margin: 0; font-size: 11px; }
  .own-project .project-copy { display: contents; }
  .own-project h2 { font-size: 35px; grid-column: 1/-1; grid-row: 2; }
  .own-project .project-copy > p { grid-column: 1; grid-row: 3; padding: 0; margin: 0; font-size: 14px; }
  .own-project .delivery { grid-column: 2; grid-row: 3; width: 90px; }
  .own-project .project-copy details { grid-column: 1/-1; grid-row: 4; margin-top: 0; }
  .contact { display: block; padding-block: 50px; }
  .contact h2 { font-size: 40px; }
  .contact a { display: inline-block; font-size: 26px; margin-top: 24px; }
  .contact a span { margin-left: 18px; }
  .page-footer { flex-wrap: wrap; gap: 16px; padding-block: 24px; }
  .page-footer nav { gap: 20px; }
}

@media (max-width: 370px) {
  .wrap, .frame { width: calc(100% - 32px); }
  .site-header .brand { font-size: 19px; }
  .hero-copy h1 { font-size: 53px; }
  .hero-copy > p { font-size: 14px; }
  .signature-button { font-size: 12px; gap: 20px; }
  .service-grid article { grid-template-columns: 1fr; gap: 6px; }
  .services-heading h2, .own-project h2 { font-size: 30px; }
  .contact h2 { font-size: 35px; }
  .contact a { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .signature-button:hover svg { transform: none; }
}
