:root {
  color-scheme: dark;
  --black: #080808;
  --panel: #111;
  --white: #faf8f4;
  --muted: #bbb7b1;
  --orange: #ef7d09;
  --line: #37332e;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 100%;
  background: var(--black);
  color: var(--white);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.frame { width: min(100% - clamp(2rem, 9vw, 9rem), 88rem); margin-inline: auto; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 1; top: 1rem; left: 1rem; width: auto; height: auto; clip-path: none; background: var(--black); padding: .65rem; }

.top {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: block; width: clamp(9rem, 18vw, 13rem); margin-inline-start: -.45rem; }
.brand img { width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1rem, 3vw, 2.5rem); }
nav a { display: inline-block; padding-block: .75rem; color: var(--white); text-decoration: none; font-size: .94rem; }
nav a:hover, figcaption a:hover, .text-link:hover { color: var(--orange); }
.menue-schalter { display: none; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.25rem, 4vw, 4rem) clamp(2.5rem, 5vw, 5rem);
}
.intro-copy { padding-bottom: 1.8rem; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; }
h1 {
  margin: 0;
  font-size: clamp(3rem, 5.65vw, 6.7rem);
  font-weight: 750;
  line-height: 1.04;
}
h1 em { display: block; color: var(--orange); font-style: normal; }
.intro-copy p {
  max-width: 28ch;
  margin: clamp(1rem, 2vw, 1.65rem) 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.5;
}
.button {
  display: inline-block;
  padding: .95rem 1.25rem;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #ff912b; }
.feature { min-width: 0; margin: 0; }
.feature-stage {
  position: relative;
  overflow: hidden;
  height: clamp(24rem, 44vw, 42rem);
  background: var(--panel);
  border: 1px solid var(--line);
}
.feature-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature-stage img { object-fit: contain; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-top: .85rem; }
figcaption a { font-size: .95rem; font-weight: 700; text-decoration: none; }
figcaption span { font-size: .875rem; color: var(--muted); }

.projektinfo {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  gap: clamp(1rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
}
.projektinfo-text { max-width: 64ch; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.6; }
.projektinfo-text p { margin: 0; }
.projektinfo-text p + p { margin-top: .85rem; }

.selection { border-top: 1px solid var(--line); padding-block: 2rem clamp(3rem, 8vw, 7rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
h2 { margin: 0; color: var(--orange); font-size: clamp(1.8rem, 4vw, 3.15rem); line-height: 1.05; }
.text-link { font-size: .95rem; text-underline-offset: .24em; }
.cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem, 2vw, 1.6rem); }
.card { display: flex; height: 100%; flex-direction: column; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.card:hover { border-color: var(--orange); }
.card img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: contain; background: #080808; }
.card-copy { padding: .9rem 1rem 1rem; }
.card h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.card p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.seitenfuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1.1rem 1.65rem;
  border-top: 1px solid var(--line);
}
.seitenfuss-marke { display: block; width: 8rem; margin-inline-start: -.3rem; }
.seitenfuss-marke img { width: 100%; height: auto; }
.seitenfuss-links { gap: .25rem clamp(1rem, 3vw, 2rem); }
.seitenfuss-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: .2rem; }

.kontakt, .impressum { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }
.kontakt > h1, .impressum > h1 { color: var(--orange); margin-bottom: clamp(1.5rem, 4vw, 3.25rem); }
.kontakt-inhalt, .impressum-inhalt {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.kontakt-einstieg { max-width: 32ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; margin: 0 0 1.5rem; }
.kontakt address, .impressum address { font-style: normal; line-height: 1.6; color: var(--muted); }
.kontakt address strong, .impressum address strong { color: var(--white); }
.kontakt-wege { margin: 1rem 0 0; line-height: 1.8; }
.kontakt-wege a:hover { color: var(--orange); }
.kontakt-inhalt h2, .impressum-inhalt h2 { font-size: clamp(1.45rem, 2.7vw, 2.25rem); margin-bottom: 1.2rem; }
.impressum-inhalt h2 { margin-top: 0; }
.impressum-angaben { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 46ch; }
.impressum-angaben p { margin: 0; line-height: 1.6; color: var(--muted); }
.impressum-angaben p + p { margin-top: .75rem; }
.datenschutz-inhalt { max-width: 64ch; }
.datenschutz-inhalt address + p { margin-top: .75rem; }
.kontakt-formular, .kontakt-felder { display: grid; gap: .95rem; }
.kontakt-felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kontakt-formular label { display: grid; gap: .4rem; min-width: 0; font-size: .95rem; }
.kontakt-formular small, .kontakt-hinweis { color: var(--muted); }
.kontakt-formular input, .kontakt-formular textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #6c655e;
  padding: .65rem .75rem;
  color: var(--white);
  background: var(--panel);
  font: inherit;
  font-size: 1rem;
}
.kontakt-formular textarea { resize: vertical; }
.kontakt-hinweis { margin: 0; font-size: .9rem; line-height: 1.5; }
.kontakt-formular .button { border: 0; justify-self: start; font-family: inherit; font-size: 1rem; cursor: pointer; }
.kontakt-status { border-inline-start: 2px solid var(--orange); padding-inline-start: .75rem; line-height: 1.5; }

@media (max-width: 48rem) {
  .intro, .projektinfo, .kontakt-inhalt, .impressum-inhalt { grid-template-columns: minmax(0, 1fr); }
  .intro-copy { padding-bottom: 0; }
  h1 { font-size: clamp(3.25rem, 11vw, 6rem); }
  .feature-stage { height: clamp(19rem, 84vw, 34rem); }
  .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
}
@media (max-width: 32rem) {
  .kontakt-felder { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 42rem) {
  .startkopf { min-height: 4.25rem; column-gap: .75rem; }
  .menue-schalter:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menue-schalter[aria-expanded="true"] { background: var(--panel); }
  .menue-symbol {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: var(--orange);
    box-shadow: 0 -.33rem var(--orange), 0 .33rem var(--orange);
  }
  #startseitenmenue { flex: 0 0 100%; flex-direction: column; gap: 0; padding-bottom: .5rem; }
  #startseitenmenue a { min-height: 2.75rem; padding: .65rem .25rem; border-top: 1px solid var(--line); }
  .menue-schalter:not([hidden])[aria-expanded="false"] + #startseitenmenue { display: none; }
}
@media (max-width: 23rem) {
  .top { gap: 0; }
  nav a { padding-block: .35rem 1rem; }
  .intro { padding-top: 2rem; }
}
