:root {
  --brand: #576638;
  --brand-soft: #d1dabc;
  --bg: #f9f8f6;
  --alt: #f0ece3;
  --ink: #1d1d1d;
  --accent: #fff001;
  --serif: "Wittgenstein", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { max-width: 1040px; margin: 0 auto; padding-inline: 24px; }
section { padding: 88px 0; }
section.alt { background: var(--alt); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(44px, 9vw, 96px); }
h2 { margin-bottom: 16px; font-size: clamp(30px, 5vw, 48px); }
.lead { max-width: 640px; margin: 0 0 28px; font-size: clamp(18px, 2.4vw, 22px); }

.btn, .nav__cta, .offer-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
}

.btn, .nav__cta {
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.btn { padding: 14px 28px; }
.btn:hover, .nav__cta:hover { background: var(--ink); color: #fff; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero a:focus-visible, #kontakt a:focus-visible { outline-color: var(--accent); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgb(249 248 246 / 97%);
  border-bottom: 1px solid var(--brand-soft);
  backdrop-filter: blur(10px);
}

.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo img { height: 26px; width: auto; }
.nav__logo small { color: var(--brand); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav__cta { padding: 10px 18px; font-size: 14px; }
.admin-bar .nav { top: 32px; }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #333 url("images/studio-1.jpg") center 56% / cover;
}

.hero__bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgb(20 21 12 / 85%), rgb(20 21 12 / 8%));
}

.hero__inner { position: relative; }
.hero .eyebrow { color: rgb(255 255 255 / 80%); }
.hero__logo { width: auto; height: clamp(56px, 11vw, 120px); margin-bottom: 20px; }
.hero h1 span { display: block; margin-bottom: 32px; font-size: clamp(22px, 4vw, 38px); }
.hero__offer { margin: 0 0 24px; font-size: clamp(20px, 3vw, 28px); }
.hero__offer strong { display: block; color: var(--accent); }

#studio { background: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

#equipment { background: var(--ink); color: var(--bg); }
#equipment .eyebrow { color: var(--brand-soft); }
.equipment { columns: 2 280px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.equipment li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--brand); }
.equipment li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  content: "";
  vertical-align: middle;
  background: var(--brand-soft);
  border-radius: 50%;
}

#anfrage { scroll-margin-top: 76px; background: var(--alt); }
.offer-badge { padding: 9px 18px; margin: 0 0 28px; font-size: 14px; font-weight: 600; }
.signup-form {
  padding: clamp(22px, 5vw, 48px);
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--brand-soft);
  border-radius: 12px;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; font-weight: 600; }
.wish-field, .role-options { grid-column: 1 / -1; }
.role-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.role-options legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.role-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.form-grid .role-choices label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--brand);
  border-radius: 10px;
  cursor: pointer;
}

.role-choices input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.role-choices label:has(input:checked) { background: var(--brand); color: #fff; }
.signup-form input:not([type="checkbox"]), .signup-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--brand);
  border-radius: 8px;
  font: 400 16px/1.55 var(--sans);
}

.signup-form textarea { resize: vertical; }
.signup-form input::placeholder, .signup-form textarea::placeholder { color: var(--brand); }
.signup-form input:focus-visible, .signup-form textarea:focus-visible {
  background: var(--bg);
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.form-note, #form-status { color: var(--brand); font-size: 13px; }
.form-note { margin: 0 0 24px; }
.form-grid + .form-note { margin-top: 24px; }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.btn:disabled { opacity: .65; cursor: wait; }
#form-status:empty, .form-field-error:empty { display: none; }
#form-status.form-status--error, .form-field-error { color: #8b2115; }
.signup-form .form-grid [aria-invalid="true"] { border-color: #8b2115; }

#kontakt { background: var(--brand); color: #fff; }
#kontakt .eyebrow { color: #fff; }
#kontakt a { text-decoration-thickness: 2px; text-underline-offset: 5px; }

.studio-footer {
  padding: 56px 0 24px;
  background: var(--ink);
  color: var(--bg);
  font: 400 14px/1.7 var(--sans);
}

.studio-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.studio-footer__brand > a { display: inline-block; }
.studio-footer__brand img { width: 170px; height: auto; }
.studio-footer h2 { margin: 0 0 18px; color: #fff; font: 600 16px/1.4 var(--sans); }
.studio-footer ul { margin: 0; padding: 0; list-style: none; }
.studio-footer li { margin: 0 0 10px; }
.studio-footer a { text-decoration: none; }
.studio-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.studio-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.studio-footer .studio-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.studio-footer__social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.studio-footer__copyright { padding-top: 24px; margin: 32px 0 0; border-top: 1px solid var(--brand); font-size: 12px; }

@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

@media (max-width: 700px) {
  .studio-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .studio-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .nav__logo small { display: none; }
  .nav__cta { font-size: 12px; }
  .gallery, .form-grid { grid-template-columns: 1fr; }
  .form-grid { gap: 20px; }
  .signup-form .btn { width: 100%; }
}

@media (max-width: 380px) {
  .studio-footer__grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; padding-inline: 16px; }
  .nav__logo img { height: 22px; }
  .nav__cta { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav__cta { transition: none; }
}
