/* Design "pergament": mittelalterlich, Pergament und Tinte (passend zum Mail-Preset "pergament").
   Eigenstaendig, wird auf den n8n-Seiten ueber default.css gelegt (wie herold.css).
   Aufruf: ?design=pergament. Bilder: it-herold/img/banner2.webp (Banner), banner_slim.webp (schmaler Streifen), kein Bild fuer den Footer (CSS-Siegel). */

/* Grundlage: Pergamentrand der Seite, Tinte als Textfarbe */
body { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; background: #cdb78a; color: #2b1a0e; margin: 0; padding: 32px 20px 44px; line-height: 1.6; }
a { color: #8c1d13; }
p { margin: 0 0 16px; }

/* Karte: Doppelrahmen mit runden Ecken; der aeussere Ring entsteht aus dem Schatten */
.box { max-width: 780px; margin: 12px auto; background: #f3e6c3; border: 3px double #5b3d1a; border-radius: 19px; overflow: hidden;
  box-shadow: inset 0 0 60px rgba(139, 105, 45, .35), 0 0 0 8px #f3e6c3, 0 0 0 9px #8a6d3b, 5px 6px 14px 9px rgba(60, 40, 10, .40); }
.banner { padding: 0; position: relative; z-index: 1; aspect-ratio: 3936 / 1088; background: #0e1b33 url(img/banner2.webp) center / cover no-repeat; border-bottom: 3px double #5b3d1a; box-shadow: 3px 4px 10px rgba(40, 25, 5, .45); }
.banner h1, .banner .brand { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* schmaler Streifen: eigenes Bild im festen Seitenverhaeltnis, nichts wird angeschnitten (Handy: mindestens 70 px, dann seitlich mittig beschnitten) */
.box.slim .banner { aspect-ratio: 1560 / 270; min-height: 70px; background-image: url(img/banner_slim.webp); background-position: center; }
.inner { padding: 26px 28px; }

/* Ueberschriften in roter Tinte (Rubrizierung) */
.inner h1 { font-size: 26px; margin: 0 0 16px; color: #8c1d13; letter-spacing: .02em; }
.inner h2 { font-size: 15px; margin: 26px 0 10px; color: #8c1d13; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid #5b3d1a; padding-bottom: 4px; }
ul.topics { margin: 0 0 16px; padding-left: 4px; list-style: none; }
ul.topics li { margin-bottom: 4px; }
ul.topics li::before { content: "\2767\00a0"; color: #8c1d13; }
.links { font-size: 13.5px; font-style: italic; color: #6a5030; margin: 20px 0 0; }
.note, .lead-hint { font-size: 13.5px; font-style: italic; color: #4a3820; background: #ecdcae; border: 1px solid #b59a68; border-radius: 12px; padding: 12px 14px; margin: 16px 0 0; font-weight: normal; }
.lead-hint { margin: 0 0 16px; font-style: normal; font-weight: bold; }

/* Formulare */
label { display: block; font-weight: bold; margin-bottom: 6px; }
input[type=email], .inner input[type=text], .inner textarea { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 16px; padding: 12px; border: 1px solid #8a6d3b; border-radius: 12px; background: #fbf3da; color: #2b1a0e; margin-bottom: 12px; }
.inner textarea { resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 14.5px; font-weight: normal; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #8c1d13; }
button { width: 100%; font-family: inherit; font-size: 17px; font-weight: bold; letter-spacing: .04em; padding: 13px; background: #8c1d13; color: #f3e6c3; border: 3px double #f3e6c3; outline: 2px solid #6e150d; border-radius: 10px; cursor: pointer; }
button:hover { background: #a3281b; }
.hp { position: absolute; left: -9999px; }

/* Themen-Seite: Karten mit Auswahlfeldern */
.card { background: #ecdcae; border: 1px solid #b59a68; border-radius: 16px; padding: 16px; margin: 0 0 16px; }
.card h2 { margin-top: 0; }
.opt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; border: 1px solid #b59a68; border-radius: 12px; padding: 12px; margin-bottom: 8px; background: #f8efd2; min-height: 44px; font-weight: normal; }
.opt input { width: 18px; height: 18px; flex: none; accent-color: #8c1d13; }
.opt-name { flex: 1 1 0%; min-width: 0; }
.opt .src { flex: 1 0 100%; font-size: 11.5px; font-style: italic; color: #6a5030; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.actions button { width: auto; padding: 12px 24px; }
.actions button[type=reset] { background: none; border: none; outline: none; color: #6a5030; text-decoration: underline; font-weight: normal; padding: 4px 0; font-size: 14px; }

/* Footer: Wachssiegel mit Lilie neben den Links */
.footer { max-width: 780px; margin: 26px auto 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px .5em; margin: 0; font-size: 14px; color: #5b3d1a; }
.foot::before { content: "\269C\FE0E"; flex: none; width: 44px; height: 44px; margin-right: 10px; border-radius: 50%; background: #8c1d13; border: 2px solid #6e150d; box-shadow: 2px 3px 5px rgba(40, 25, 5, .45);
  color: #f3e6c3; font: 26px/44px "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", "DejaVu Sans", serif; text-align: center; }

/* Textseiten */
.w { max-width: 640px; margin: 0 auto; }
.inner { overflow-wrap: anywhere; }
