/* Basis für alle Seiten von oliverkoeditz.com: Schriften, Farben, Kopf, Knöpfe, Felder, Fuß. Abgeleitet vom Entwurf B „Briefpapier“. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/public-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/public-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f3ecdc;
  --paper-hi: #fbf7ec;
  --paper-lo: #e9dfc8;
  --ink: #16202f;
  --ink-2: #4a5160;
  --line: #d6cbb1;
  --blue: #1d3f91;
  --navy: #14213d;
  --red: #c4311e;
  --red-dk: #a52615;
  --on-navy: #f3ecdc;
  --on-navy-2: #bcc3d4;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --gutter: clamp(18px, 5vw, 64px);
  --max: 1240px;
  --sec: clamp(72px, 10vw, 140px);
  --stripe: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--paper-hi) 14px 24px, var(--blue) 24px 38px, var(--paper-hi) 38px 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.dark :focus-visible { outline-color: #ffd9a8; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

.airmail { height: 10px; background: var(--stripe); }

/* Kopf */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.mark-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.mark-sub { font-size: 0.78rem; color: var(--ink-2); letter-spacing: 0.02em; }
.bar-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 0.95rem; font-weight: 500; }
.bar-nav a:not(.btn) { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat; transition: background-size .25s ease; }
.bar-nav a:not(.btn):hover { background-size: 100% 1.5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 6px; background: var(--red); color: #fff; font: 600 1.02rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 3px 0 var(--red-dk); transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { background: #b32a18; transform: translateY(1px); box-shadow: 0 2px 0 var(--red-dk); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--red-dk); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.92rem; box-shadow: 0 2px 0 var(--red-dk); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }


/* Felder */
.field { margin-bottom: 22px; }
label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 8px; }
.req, .opt { font-weight: 500; font-size: 0.8rem; color: var(--ink-2); margin-left: 6px; }
input, select { width: 100%; min-height: 54px; padding: 0 16px; font: 500 1.1rem/1 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink-2); border-radius: 6px; appearance: none; -webkit-appearance: none; }
input::placeholder { color: #7b7f88; font-weight: 400; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--red); background: #fff5f2; }
.err { color: var(--red-dk); font-weight: 600; font-size: 0.92rem; margin-top: 8px; }
.note { font-size: 0.86rem; color: var(--ink-2); margin-top: 16px; line-height: 1.5; }
[hidden] { display: none !important; }

/* Fuß */
.foot { background: var(--navy); color: var(--on-navy-2); border-top: 1px solid rgba(243, 236, 220, .14); padding: 28px 0 36px; font-size: 0.92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.foot a { color: var(--on-navy); text-underline-offset: 3px; }
.foot-links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .bar-nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .mark-sub { display: none; }
  .btn-small { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
