@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/atkinson-hyperlegible-400.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;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/atkinson-hyperlegible-700.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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/barlow-condensed-600.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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/barlow-condensed-800.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;
}

/* Entwurf 1 – Lochwand */
:root {
  --green: #3e5b52;
  --green-deep: #2c433c;
  --hole-green: #24372f;
  --steel: #e6e9e4;
  --hole-steel: #bcc3bb;
  --ink: #141414;
  --ink-soft: #3d4441;
  --white: #ffffff;
  --yellow: #f5c400;
  --yellow-deep: #d9ad00;
  --pitch: 24px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--steel); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.board--steel :focus-visible, .about :focus-visible, .panel--yellow :focus-visible { outline-color: var(--ink); }

.wrap { width: min(1152px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .6rem 1rem; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip:focus { top: 1rem; }

/* Pegboard: holes on a fixed pitch, panels snap to the same pitch */
.board { background-color: var(--steel); background-image: radial-gradient(circle at calc(var(--pitch) / 2) calc(var(--pitch) / 2), var(--hole-steel) 0 2.6px, transparent 3.2px); background-size: var(--pitch) var(--pitch); }
.board--green { background-color: var(--green); background-image: radial-gradient(circle at calc(var(--pitch) / 2) calc(var(--pitch) / 2), var(--hole-green) 0 2.6px, transparent 3.2px); color: var(--white); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--white); }
.top__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.6rem/1 var(--display); letter-spacing: .01em; }
.brand__car { width: 3.1rem; height: 1.2rem; color: var(--yellow); }
.nav { display: flex; gap: 1.5rem; margin: 0 0 0 auto; padding: 0; list-style: none; font: 600 1.15rem/1 var(--display); }
.nav a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--yellow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: 4px; font: 800 1.35rem/1 var(--display); letter-spacing: .02em; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn--call { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 var(--yellow-deep), 0 10px 20px -12px rgb(0 0 0 / .6); }
.btn--call:hover { background: #ffd21a; transform: translateY(-1px); }
.btn--small { min-height: 2.6rem; padding: .45rem 1rem; font-size: 1.15rem; }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line:hover { background: rgb(255 255 255 / .1); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2a2a2a; }

/* Label-maker tape headings */
.tape { display: inline-block; margin: 0 0 1.25rem; padding: .3rem .8rem .25rem; background: var(--ink); color: #f4f4f4; font: 800 clamp(1.5rem, 3vw, 2rem)/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 0 rgb(255 255 255 / .25), 0 -1px 0 rgb(0 0 0 / .8); border-radius: 3px; transform: rotate(-1deg); box-shadow: 0 3px 6px -2px rgb(0 0 0 / .45); }
.tape--light { font-size: 1rem; letter-spacing: .1em; padding: .25rem .6rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
.hero h1 { margin: 0; font: 800 clamp(2.75rem, 7vw, 5.5rem)/.95 var(--display); letter-spacing: -.01em; text-wrap: balance; max-width: 12ch; }
.lede { margin: 1.25rem 0 0; max-width: 40ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e4ece8; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hung { position: relative; margin: 0; padding: 10px; background: var(--white); border-radius: 4px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .65); }
.hung::before, .hung::after { content: ""; position: absolute; top: -18px; width: 10px; height: 26px; border: 3px solid #9aa39e; border-bottom: 0; border-radius: 6px 6px 0 0; }
.hung::before { left: 22%; }
.hung::after { right: 22%; }
.hung img { border-radius: 2px; }
.hero__photo figcaption { position: absolute; left: 1.25rem; bottom: -1rem; margin: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.intro { max-width: 52ch; margin: 0 0 2.5rem; font-size: 1.15rem; color: var(--ink-soft); }

/* Services hung on the board */
.pegs { display: grid; gap: var(--pitch); grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.peg { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--white); border-radius: 4px; box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 14px 24px -18px rgb(0 0 0 / .5); }
.peg::before, .peg::after { content: ""; position: absolute; top: -9px; width: 8px; height: 14px; border: 3px solid #8d968f; border-bottom: 0; border-radius: 5px 5px 0 0; }
.peg::before { left: calc(var(--pitch) * 2 - 4px); }
.peg::after { right: calc(var(--pitch) * 2 - 4px); }
.peg h3 { margin: .25rem 0 0; font: 800 1.85rem/1.05 var(--display); }
.peg p { margin: 0; color: var(--ink-soft); }
.peg q { color: var(--ink); font-weight: 700; quotes: "„" "“"; }
.peg__draw { width: 100%; height: 5.5rem; color: var(--green); margin-bottom: .25rem; }
.peg--wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.peg__body { display: flex; flex-direction: column; gap: .5rem; }
.peg--dark { background: var(--ink); color: var(--white); }
.peg--dark p { color: #d5d8d6; }
.peg--yellow { background: var(--yellow); }
.peg--yellow p { color: var(--ink); }
.peg--call { justify-content: center; background: var(--green); color: var(--white); }
.peg--call p { color: #e4ece8; }
.peg--call .btn { align-self: flex-start; margin-top: .5rem; }
.models { margin: .25rem 0 .5rem; padding: 0; list-style: none; font: 800 1.6rem/1.25 var(--display); }
.models li { border-bottom: 2px solid rgb(0 0 0 / .85); padding: .2rem 0; }
.ph { display: inline-block; align-self: flex-start; margin-top: auto; padding: .1rem .45rem; font-size: .8rem; font-weight: 700; color: #6b5300; background: #fff4c2; border: 1px dashed #b38f00; border-radius: 3px; }
.ph--block { margin-top: 1.25rem; }

/* About */
.about { background: var(--white); }
.about__grid { display: grid; gap: 2.5rem; }
.about__text p { max-width: 58ch; color: var(--ink-soft); }
.about__text .big { margin-top: 0; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--display); color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }

/* Hours and contact */
.split { display: grid; gap: calc(var(--pitch) * 1.5); }
.panel { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); color: var(--ink); border-radius: 4px; box-shadow: 0 18px 40px -22px rgb(0 0 0 / .7); }
.panel--yellow { background: var(--yellow); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.hours th, .hours td { padding: .8rem 0; border-bottom: 2px solid var(--steel); text-align: left; vertical-align: top; }
.hours th { font-weight: 400; padding-right: 1rem; }
.hours td { font: 600 1.35rem/1.3 var(--display); font-variant-numeric: tabular-nums; }
address { font-style: normal; font-family: var(--display); font-size: 1.35rem; font-weight: 600; font-size: 1.2rem; line-height: 1.45; }
.contact-lines { font: 800 1.6rem/1.35 var(--display); }
.contact-lines a { text-decoration-thickness: 2px; overflow-wrap: anywhere; }

/* Footer */
.foot { background: var(--ink); color: #cfd3d1; font-size: .9rem; font-variant-numeric: lining-nums; padding: 2.5rem 0 3rem; }
.foot__grid { display: grid; gap: 1.5rem; }
.foot p { margin: 0; line-height: 1.7; }
.foot__title { margin: 0 0 .4rem; color: var(--white); font: 800 1.3rem/1 var(--display); letter-spacing: .04em; }
.foot .ph { margin: 0 0 0 .25rem; padding: 0 .3rem; font-size: .72rem; }

@media (min-width: 720px) {
  .pegs { grid-template-columns: repeat(2, 1fr); }
  .peg--wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; }
  .gallery { gap: 1rem; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1fr 1.05fr; }
  .pegs { grid-template-columns: repeat(3, 1fr); }
  .peg--wide { grid-column: span 2; }
  .about__grid { grid-template-columns: 1fr 1.2fr; align-items: center; }
}
@media (max-width: 719px) {
  .top__in { flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: .6rem; }
  .top nav { order: 3; width: 100%; }
  .nav { margin: 0; gap: .35rem 1.1rem; flex-wrap: wrap; padding-bottom: .5rem; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.peg p.ph { color: #6b5300; }
