/* buch-schwarze-schafe.de – Neubau 2026
   Nachbau des RapidWeaver/Foundry-Aussehens ohne Theme und ohne CMS. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font: 14px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #fb0207; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 40px; }
strong, b { font-weight: 700; }

/* Breite wie im Original: ab 1200 px fest 1140 px, darunter volle Breite */
.container { width: 100%; margin: 0 auto; padding: 0 13.125px; }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ---------- Navigation ---------- */

.nav-platz { position: relative; height: 80px; }

.nav {
  position: relative;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  font-size: 16px;
  line-height: 80px;
  text-align: center;
}
.nav .container::after { content: ""; display: table; clear: both; }
.nav ul { display: inline-flex; list-style: none; margin: 0; padding: 0; vertical-align: top; }
.nav li { margin-left: 15px; }
.nav li:first-child { margin-left: 0; }
.nav a { color: #999; font-weight: 300; white-space: nowrap; text-decoration: none; }
.nav a:hover, .nav a:focus { color: #000; text-decoration: none; }
.nav a[aria-current="page"] {
  color: #000;
  font-weight: 700;
  border-bottom: 4px solid #fb0207;
  padding-bottom: 5px;
}

.nav-knopf {
  display: none;
  float: right;
  height: 55px;
  padding: 0 15px;
  border: 0;
  background: none;
  color: #4b4b4b;
  cursor: pointer;
}
.nav-knopf svg { display: block; width: 21px; height: 21px; }

@media (max-width: 991px) {
  .nav-platz { height: 65px; }
  .nav { line-height: 65px; }
}

@media (max-width: 767px) {
  .nav-platz { height: 55px; }
  .nav { line-height: 55px; text-align: left; }
  .nav .container { padding: 0; }
  .nav-knopf { display: block; }
  .nav ul { display: none; clear: both; width: 100%; padding-bottom: 20px; background: #f7f7f9; }
  .nav.offen ul { display: block; }
  .nav li { display: block; margin: 0; }
  .nav a { display: block; padding: 0 15px; line-height: 34px; color: rgba(0, 0, 0, .3); }
  .nav a:hover, .nav a:focus, .nav a[aria-current="page"] {
    color: rgba(0, 0, 0, .6);
    background: rgba(0, 0, 0, .1);
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* ---------- Kopfbild ---------- */

.kopfbild { text-align: center; }
.kopfbild img { display: inline-block; max-width: 100%; height: auto; margin-bottom: 21px; vertical-align: middle; }

/* ---------- Zwei Spalten (1/3 + 2/3) ---------- */

.spalten { margin: 0 -2.5px; }
.spalten::after { content: ""; display: table; clear: both; }
.spalte { float: left; width: 100%; min-height: 1px; padding: 0 5px; margin-bottom: 20px; }

@media (min-width: 768px) {
  .spalte { margin-bottom: 40px; }
  .spalte-schmal { width: 33.333333%; }
  .spalte-breit { width: 66.666667%; }
}

/* linke Spalte der Leseproben */
.rubrik { margin: 0 0 16.8px; font-size: 19px; font-weight: 700; }
.seitentitel { margin: 0 0 16.8px; font-size: 14px; font-weight: 700; }
.zurueck { margin: 0; font-weight: 700; }

/* ---------- Überschriften (Größen wie im Original) ---------- */

.text h1, .text h2, .themen { margin: 0 0 7px; font-weight: 600; line-height: 1.2; }
.text h1, .themen { font-size: 30px; }
.text h2 { font-size: 18px; }

@media (max-width: 767px) {
  .text h1, .themen { font-size: 20px; }
  .text h2 { font-size: 32px; }
}

/* ---------- Inhaltsverzeichnis der Startseite ---------- */

.rot { color: #f00; font-weight: 700; }
.leer { visibility: hidden; font-weight: 700; }   /* unsichtbarer Einzug, wie das weisse „O“ im Original */

/* nur fuer Vorleseprogramme */
.unsichtbar {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Bestellformular ---------- */

.bestellung { padding: 7px; }
.formulartitel { margin: 0 0 7px; font-size: 16px; font-weight: 600; line-height: 1.2; }

.feld { padding: 7px 0; }
.feld label {
  display: block;
  margin: 0 0 7px;
  padding-bottom: 5.25px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}
.stern { color: #ef4444; }

.feld input, .feld textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px 10.5px;
  border: 1px solid #d1d5db;
  border-radius: 5.25px;
  background: #fff;
  color: #1f2937;
  font: 500 14px/21px "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}
.feld input { height: 42px; }
.feld textarea { min-height: 100px; padding-top: 14px; line-height: 1.2; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #9ca3af; opacity: 1; }
.feld input:focus, .feld textarea:focus {
  border-color: #9ca3af;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #60a5fa;
}

.feld-falsch input, .feld-falsch textarea { border-color: #ef4444; }
.meldung { margin: 5px 0 0; color: #ef4444; font-size: 13px; }
.hinweis { margin: 7px 0 14px; padding: 10px 12px; border-left: 4px solid #fb0207; background: #fdecec; }
.danke { margin: 14px 0 0; padding: 14px 16px; border-left: 4px solid #3b82f6; background: #eff6ff; }
.danke p:last-child { margin-bottom: 0; }

.pflicht { margin: 3px 0 13px; color: #f00; }
.bestelltext { margin-top: -2px; }
.rechenhinweis { margin: 33px 0 13px; }

.knoepfe { display: flex; gap: 14px; margin-top: 22px; }
.knopf {
  flex: 1 1 0;
  height: 44px;
  padding: 0 42px;
  border: 1px solid #d1d5db;
  border-radius: 5.25px;
  background: #fff;
  color: #4b5563;
  font: 500 14px/21px "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  transition: background-color .3s;
}
.knopf:hover { background: #f3f4f6; }
.knopf-haupt { border-color: #60a5fa; background: #3b82f6; color: #fff; }
.knopf-haupt:hover { background: #2563eb; }
.knopf:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #60a5fa; }

/* Koederfeld gegen Automaten: fuer Menschen unsichtbar */
.nicht-ausfuellen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 767px) {
  .formulartitel { font-size: 28px; }          /* wie im Original am Handy groesser */
  .knopf { min-width: 0; padding: 0 8px; }
}

/* Datenschutz-Abschnitt unter dem Impressum */
.datenschutz { margin-top: 42px; }
