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

:root {
  --gold: #d9ba62;
  --gold-dark: #9a8445;
  --text: #555;
  --header-h: 134px;
}

html { height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #000;
}

/* Hintergrund-Slideshow (reines CSS, 4 Bilder x 7 s) */
.bg { position: fixed; inset: 0; z-index: -1; background: #000; }
.bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bgfade 28s infinite;
}
.bg img:nth-child(2) { animation-delay: 7s; }
.bg img:nth-child(3) { animation-delay: 14s; }
.bg img:nth-child(4) { animation-delay: 21s; }
@keyframes bgfade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bg img { animation: none; }
  .bg img:first-child { opacity: 1; }
}
@media print { .bg { display: none; } }

.inside { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

header { background: #fff; }
header .inside { padding-top: 28px; padding-bottom: 27px; min-height: var(--header-h); }
header img { display: block; height: auto; }

main { flex: 1; padding-top: 80px; padding-bottom: 60px; }

.box {
  width: 100%;
  max-width: 362px;
  padding: 18px;
  border: 1px solid #b5b5b5;
  border-bottom: 0;
  background: linear-gradient(to bottom, rgba(238,238,238,.82), rgba(255,255,255,.82) 50%);
}
.box p { margin: 0 5px 20px; }
.box h1 { margin: 0 5px 14px; font-size: 20px; color: #333; }
.box a { color: #7a6528; }

.form-row { margin: 0 0 12px; }
.form-row input,
.form-row textarea {
  display: block;
  width: 100%;
  padding: 6px;
  font: inherit;
  color: #333;
  border: 1px solid #dedede;
  border-radius: 2px;
  background: rgba(255,255,255,.85);
}
.form-row input { height: 30px; }
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
::placeholder { color: #777; opacity: 1; }

.note { margin: 0 5px 14px; font-size: 12px; }

button.submit,
.btn {
  display: inline-block;
  padding: 7px 22px;
  font: inherit;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  background: linear-gradient(to bottom, #baa054, var(--gold) 33%);
}
button.submit:hover,
.btn:hover { filter: brightness(1.06); }

.cf-turnstile { margin: 0 0 12px; }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

footer {
  border-top: 1px solid #b9a054;
  outline: 1px solid var(--gold-dark);
  outline-offset: -2px;
  background: linear-gradient(to bottom, #cbaf5c, #d8ba62);
}
footer .address { margin: 0; padding: 6px 0; line-height: 1.5; color: #fff; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Textseiten (Datenschutz) */
body.page { background: #fff; }
.page main { padding-top: 40px; }
.page .text { max-width: 760px; }
.page .text p { margin: 0 0 1em; }
.page .text a { color: #7a6528; }

@media (max-width: 600px) {
  main { padding-top: 24px; }
}

.page .text h1 { margin: 0 0 4px; font-size: 24px; color: #333; }
.page .text h2 { margin: 1.6em 0 .5em; font-size: 16px; color: #333; }
.page .text ul { margin: 0 0 1em; padding-left: 1.4em; }
