/* Startseite: Banderole, zwei Karten im Hero (Mit Brief, Ohne Brief) und Kontakt als Postkarte. Aus Entwurf C „Zwei Schalter“.
   Alles aus Farben, Schriften und Streifen der Seite. */
.btn-ink { background: var(--ink); box-shadow: 0 3px 0 #000; }
.btn-ink:hover { background: #26324a; box-shadow: 0 2px 0 #000; }
.btn-ink:active { box-shadow: 0 0 0 #000; }
.hint { font-size: 0.86rem; color: var(--ink-2); margin-top: 8px; }
a.fine, .fine a { font-weight: 600; text-underline-offset: 3px; }

/* Hero: Raster mit freien Kindern, damit die Reihenfolge am Handy anders sein darf */
.hero-grid { grid-template-rows: auto auto auto auto 1fr; align-content: center; align-items: start; column-gap: clamp(32px, 5vw, 80px); row-gap: 0; }
.hero-text { display: contents; }
.hero-text > * { grid-column: 1; }
.hero-sheet { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.kicker { margin-bottom: 22px; }
.lead { margin-top: 26px; }
.ohne { margin-top: 30px; max-width: 640px; background: var(--paper-hi); border: 1.5px dashed var(--ink-2); border-radius: 4px; padding: 20px 20px 22px; }
.ohne-t { font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; }
.ohne-t strong { color: var(--red-dk); font-family: var(--serif); font-size: 1.1rem; margin-right: 4px; }
.ohne-row { display: flex; gap: 12px; align-items: flex-end; }
.ohne-f { flex: 1; min-width: 0; }
.ohne label { font-size: 0.85rem; margin-bottom: 6px; }
.ohne .btn { flex: none; }

/* Banderole ganz oben */
.band { background: var(--navy); color: var(--on-navy); position: relative; }
.band::after { content: ""; display: block; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 30px, var(--blue) 30px 52px, transparent 52px 60px); opacity: .9; }
.band-in { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter); }
.band-row { display: flex; align-items: center; justify-content: flex-end; gap: 12px 14px; }
.band label { margin: 0; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.band-l1 { font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-right: 6px; }
.band-l2 { font-weight: 600; }
.band input { width: 150px; min-height: 44px; letter-spacing: 0.14em; font-weight: 600; border-color: var(--on-navy-2); }
.band input::placeholder { letter-spacing: 0.14em; }
.band input:focus-visible, .band .btn:focus-visible { outline-color: #ffd9a8; }
.band .btn { min-height: 44px; flex: none; }
.band-err { color: #ffd9a8; font-weight: 600; font-size: 0.9rem; margin: 8px 0 2px; text-align: right; }
.band input[aria-invalid="true"] { border-color: #ffb3a6; background: #fff5f2; }

/* Kontakt als Postkarte */
.kontakt .card { transform: rotate(0.6deg); }
.card .field:last-of-type { margin-bottom: 22px; }
.adr { border: 1.5px dashed var(--ink-2); border-radius: 4px; padding: 6px 18px 4px; margin: 0 0 22px; min-width: 0; }
.adr legend { font-weight: 600; font-size: 0.98rem; padding: 0 8px; margin-left: -8px; background: var(--paper-hi); }
.adr .field { margin: 14px 0; }
.card .err { margin-top: 8px; }
input[aria-invalid="true"] { border-color: var(--red); background: #fff5f2; }

@media (max-width: 900px) {
  .hero { padding-top: 22px; padding-bottom: 56px; }
  .hero-grid { grid-template-rows: none; align-content: start; }
  .hero-sheet { grid-column: 1; grid-row: auto; margin-top: 36px; }
  .kontakt .card { transform: none; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.05rem, 9.6vw, 2.7rem); }
  .band-in { padding: 8px 14px; }
  .band-row { justify-content: stretch; gap: 8px; }
  .band label { font-size: 0.8rem; line-height: 1.15; white-space: normal; flex: none; max-width: 6.2em; }
  .band-l1 { display: none; }
  .band-l2 { display: block; }
  .band input { flex: 1; width: auto; min-width: 0; padding: 0 10px; font-size: 1rem; }
  .band .btn { padding: 0 14px; font-size: 0.9rem; }
  .band-err { text-align: left; font-size: 0.82rem; }
  .ohne { padding: 16px 14px 18px; margin-top: 24px; }
  .ohne-row { flex-direction: column; align-items: stretch; }
  .ohne .btn { width: 100%; }
  .adr { padding-inline: 14px; }
}
