:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e5e7ea;
  --accent: #1f4ed8;
  --accent-hi: #163ba6;
  --accent-ink: #ffffff;
  --bar: #16181c;
  --bar-ink: #f1f2f4;
  --field: #ffffff;
  --ph: #f2f3f5;

  --measure: min(60ch, 100% - 2.5rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hi); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-back {
  display: block;
  background: var(--bar);
  color: var(--bar-ink);
  font-size: 13px;
  line-height: 1.4;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
}

.gallery-back:hover { color: var(--bar-ink); text-decoration: underline; }

/* Kopf */

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.brand-slot {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.5rem;
  line-height: 1;
}

.brand-name { font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.35rem 0.8rem;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover { text-decoration: underline; }

/* Inhalt */

main { padding: 0 0 1rem; }

.block { padding: 2.75rem 0; }

h1, h2 {
  margin: 0 0 0.9rem;
  font-weight: 650;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  line-height: 1.3;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.lead { font-size: 1.15em; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Zweitrangig: weiss mit dünnem Rand */
.btn {
  display: inline-block;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Absenden: einzige gefärbte Fläche */
button.btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

button.btn:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  color: var(--accent-ink);
}

.list {
  margin: 0;
  padding-left: 1.4rem;
}

.list li { margin-bottom: 0.8rem; }
.list li:last-child { margin-bottom: 0; }
.list b { font-weight: 650; }

.shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  background: var(--ph);
  border: 1px solid var(--line);
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Kontakt */

.contact {
  margin: 0 0 2rem;
}

.contact dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact dd {
  margin: 0 0 0.9rem;
}

.contact dd:last-child { margin-bottom: 0; }

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
  padding: 0.6rem 0.7rem;
}

textarea { resize: vertical; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.field-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.45rem;
  flex: none;
}

.field-check label { margin: 0; }

.form-status {
  display: none;
  border-left: 3px solid var(--accent);
  padding-left: 0.8rem;
  margin-top: 1.2rem;
}

.form-status.is-visible { display: block; }

/* Fuss */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.75rem 0 2.5rem;
}

.site-footer p { margin: 0 0 0.4rem; }
.site-footer a { margin-right: 1.2rem; }

@media (max-width: 40rem) {
  .nav-toggle { display: block; }

  .nav {
    display: none;
    width: 100%;
  }

  .nav.is-open { display: block; }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li { border-top: 1px solid var(--line); }

  .nav a {
    display: block;
    padding: 0.65rem 0;
  }
}
