/* DJ Christian Ohrens – Stylesheet
   Farben aus dem Logo: Nachtblau #0a4166 und Lichtblau #33a8e0,
   dazu ein warmes Bühnenlicht-Gelb für Aktionen und Fokus.
   Schrift: Atkinson Hyperlegible Next (Braille Institute), lokal eingebunden. */

@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #0a4166;
  --navy-deep: #072f4b;
  --sky: #33a8e0;
  --sky-soft: #a9dcf5;
  --sky-wash: #e3f2fb;
  --paper: #f4f8fb;
  --white: #ffffff;
  --ink: #0c2233;
  --muted: #3d5566;
  --link: #0a5d91;
  --line: #c9d9e5;
  --field: #557086;
  --amber: #ffc24b;
  --error: #b3261e;
  --ok: #1d6b3a;

  --font: "Atkinson Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.94rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 2.9rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem);
  --space: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 6px;
  --focus: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}
.prose, .legal, .entry-text { hyphens: auto; -webkit-hyphens: auto; }
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.012em; color: var(--navy); }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: 0; }
p, ul, ol, dl, table, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 0.3em; }
strong { font-weight: 700; }

a { color: var(--link); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--amber); color: var(--navy-deep); font-weight: 700;
  padding: 0.7rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.prose { max-width: 42rem; }
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; }
.muted { color: var(--muted); }
.plain { list-style: none; padding: 0; }

/* ---------- Kopfbereich ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); }
.brand img { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.2rem; }
.brand-sub { font-size: var(--step--1); color: var(--muted); }

.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a {
  display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.nav-list a:hover { background: var(--sky-wash); }
.nav-list a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 0; }
.nav-list a.nav-cta { background: var(--navy); color: var(--white); }
.nav-list a.nav-cta:hover { background: var(--navy-deep); }
.nav-list a.nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); border-radius: var(--radius); }

.nav-toggle {
  font: inherit; font-weight: 700; color: var(--navy); background: var(--white);
  border: 2px solid var(--navy); border-radius: var(--radius); padding: 0.5rem 0.9rem;
  display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; min-height: 44px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[hidden] { display: none !important; }
@media (max-width: 62rem) {
  .js .nav-list { display: none; }
  .js .site-nav { display: flex; flex-direction: column; align-items: flex-end; }
  .js .site-nav.nav-open { flex-basis: 100%; }
  .js .site-nav.nav-open .nav-list { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding-top: 0.6rem; }
  .js .site-nav.nav-open .nav-list a { padding: 0.8rem 0.9rem; }
}
@media (min-width: 62.01rem) {
  .nav-toggle { display: none !important; }
}

/* ---------- Bühne (Startseite) ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  --focus: var(--amber);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end; gap: 2rem; padding-top: clamp(2.5rem, 6vw, 5rem);
}
.hero-text { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 .h1-name { display: block; font-size: var(--step-1); font-weight: 700; color: var(--sky-soft); letter-spacing: 0.01em; margin-bottom: 0.6rem; }
.hero h1 .h1-claim { display: block; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em; max-width: 12ch; }
.hero .lead { max-width: 34rem; color: var(--white); }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 18rem; }
.hero-visual .braille {
  position: absolute; left: 50%; top: 14%; width: 118%; transform: translateX(-50%);
}
.hero-visual picture { position: relative; width: min(100%, 26rem); }
.hero-visual img { width: 100%; }
.braille circle.off { fill: none; stroke: rgba(169, 220, 245, 0.22); stroke-width: 2; }
.braille circle.on { fill: var(--sky); }

@media (prefers-reduced-motion: no-preference) {
  .braille circle.on { animation: led 0.5s ease-out both; }
  .braille .d0 { animation-delay: 0.15s; } .braille .d1 { animation-delay: 0.25s; }
  .braille .d2 { animation-delay: 0.35s; } .braille .d3 { animation-delay: 0.45s; }
  .braille .d4 { animation-delay: 0.55s; } .braille .d5 { animation-delay: 0.65s; }
  .braille .d6 { animation-delay: 0.75s; } .braille .d7 { animation-delay: 0.85s; }
  .braille .d8 { animation-delay: 0.95s; } .braille .d9 { animation-delay: 1.05s; }
  .braille .d10 { animation-delay: 1.15s; } .braille .d11 { animation-delay: 1.25s; }
  @keyframes led { from { fill: rgba(51, 168, 224, 0.15); } 60% { fill: #d8f1ff; } to { fill: var(--sky); } }
}

@media (max-width: 48rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 1.5rem; }
  .hero-visual { min-height: 0; }
  .hero-visual picture { width: min(80%, 20rem); }
}

/* ---------- Schaltflächen ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.7rem 1.3rem; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--sky-wash); }
.on-dark .btn-primary, .hero .btn-primary { background: var(--amber); color: var(--navy-deep); }
.on-dark .btn-primary:hover, .hero .btn-primary:hover { background: #ffd57e; }
.on-dark .btn-secondary, .hero .btn-secondary { color: var(--white); border-color: var(--sky-soft); }
.on-dark .btn-secondary:hover, .hero .btn-secondary:hover { background: var(--navy-deep); }

/* ---------- Inhaltsblöcke ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; }
.split img, .photo img { border-radius: var(--radius); }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.6rem; }
@media (max-width: 48rem) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { margin: 0; }
.page-head p { margin: 0.8rem 0 0; max-width: 42rem; }

.genres { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.genres li { margin: 0; padding: 0.3rem 0.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }

.columns { columns: 2 18rem; column-gap: 3rem; }
.columns li { break-inside: avoid; }

.facts { list-style: none; padding: 0; }
.facts li { padding-left: 1.6rem; position: relative; }
.facts li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.6rem; height: 0.6rem;
  border-radius: 50%; background: var(--sky);
}

/* Preise */
.price-table { width: 100%; max-width: 42rem; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-table caption { text-align: left; font-weight: 700; padding-bottom: 0.6rem; color: var(--navy); }
.price-table th, .price-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th[scope="row"] { font-weight: 400; }
.price-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table thead th { font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.price-table thead th:last-child { text-align: right; }
.price-table tr:last-child > * { border-bottom: 0; }

/* Dunkles Band */
.band { background: var(--navy); color: var(--white); --focus: var(--amber); }
.band h2 { color: var(--white); }
.band a:not(.btn) { color: var(--white); }
.band-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.band .contact-lines { font-size: var(--step-1); line-height: 1.7; margin: 0; }
@media (max-width: 48rem) { .band-inner { grid-template-columns: 1fr; } }

/* Gästebuch */
.notice { background: var(--sky-wash); border-left: 5px solid var(--navy); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 42rem; }
.notice > :last-child { margin-bottom: 0; }
.entries { list-style: none; padding: 0; max-width: 42rem; }
.entry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.entries > li + li { margin-top: 1.2rem; }
.entry h3 { margin-bottom: 0.2rem; }
.entry-meta { font-size: var(--step--1); color: var(--muted); margin-bottom: 0.8rem; }
.badge { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--ok); border: 1px solid currentColor; border-radius: 999px; padding: 0.05rem 0.6rem; margin-left: 0.3rem; }
.entry-text { white-space: pre-line; }
.entry-reply { margin: 1rem 0 0; padding: 0.8rem 1rem; background: var(--paper); border-radius: var(--radius); }
.entry-reply p:last-child { margin: 0; }

/* Blog */
.post-list { list-style: none; padding: 0; display: grid; gap: 2.5rem; max-width: 52rem; }
.post-list > li { margin: 0; }
.post-teaser { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.post-teaser.no-image { grid-template-columns: 1fr; }
.post-teaser img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.post-teaser h2, .post-teaser h3 { margin-bottom: 0.3rem; }
.post-teaser h2 a, .post-teaser h3 a { color: var(--navy); text-decoration-color: var(--sky); }
@media (max-width: 40rem) { .post-teaser { grid-template-columns: 1fr; } }
.post-meta { color: var(--muted); font-size: var(--step--1); margin-bottom: 0.6rem; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body blockquote { border-left: 4px solid var(--sky); margin-left: 0; padding-left: 1.2rem; font-style: italic; }
.article-image { margin: 0 0 2rem; max-width: 52rem; }
.article-image img { border-radius: var(--radius); }

.pager { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ---------- Formulare ---------- */
.form { max-width: 42rem; }
.field { margin-bottom: 1.4rem; }
.field label, fieldset legend { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.hint { margin: 0 0 0.4rem; color: var(--muted); font-size: var(--step--1); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="date"], input[type="url"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--field); border-radius: var(--radius); padding: 0.65rem 0.8rem; min-height: 48px;
}
textarea { line-height: 1.5; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 700; margin: 0 0 0.4rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.5rem; }
.choice input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--navy); }
.choice label { font-weight: 400; margin: 0; }
.form-note { font-size: var(--step--1); color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error-summary { border: 3px solid var(--error); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 2rem; background: var(--white); max-width: 42rem; }
.error-summary h2 { font-size: var(--step-1); color: var(--error); margin-bottom: 0.5rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 700; }
.success { border: 3px solid var(--ok); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 2rem; background: var(--white); max-width: 42rem; }
.success h2 { color: var(--ok); font-size: var(--step-1); margin-bottom: 0.4rem; }
.success p:last-child { margin: 0; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.2rem; }
@media (max-width: 40rem) { .two-col { grid-template-columns: 1fr; } }

.contact-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-aside h2 { font-size: var(--step-1); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; }
@media (max-width: 62rem) { .layout-aside { grid-template-columns: 1fr; } }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--navy-deep); color: #e6f2fa; margin-top: 0; --focus: var(--amber); }
.site-footer a { color: var(--white); }
.site-footer h2 { color: var(--white); font-size: var(--step-1); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; padding-block: 3rem 2rem; }
.footer-base { border-top: 1px solid rgba(169, 220, 245, 0.25); padding-block: 1.2rem 2rem; font-size: var(--step--1); color: #cfe8f6; }
.footer-base p { margin: 0; }

/* Rechtstexte */
.legal h2 { font-size: var(--step-1); margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5em; }
.legal address { font-style: normal; margin-bottom: 1.1em; }

/* Hoher Kontrast unter Windows */
@media (forced-colors: active) {
  .btn, .nav-toggle, .genres li, .entry, .notice { border: 2px solid CanvasText; }
  .braille circle.on { fill: CanvasText; }
  .nav-list a[aria-current="page"] { text-decoration: underline; }
}

@media print {
  .site-header nav, .skip-link, .hero-visual, .band .actions, .site-footer section:nth-child(2) { display: none; }
  body { background: #fff; }
  .hero, .band, .site-footer { background: #fff; color: #000; }
  .hero h1, .band h2, .site-footer h2 { color: #000; }
}

.notice-title { font-size: var(--step-1); margin-bottom: 0.4rem; }
.portrait-cutout { background: var(--navy); border-radius: 999px 999px var(--radius) var(--radius); padding-top: 1.5rem; }
.split figure:has(.portrait-cutout) { max-width: 24rem; justify-self: center; }

@media (max-width: 30rem) {
  .header-inner { gap: 0.75rem; }
  .brand { gap: 0.6rem; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: 0.875rem; }
  .nav-toggle { padding: 0.45rem 0.7rem; }
}

@media (max-width: 23rem) {
  .brand-sub { display: none; }
}
.table-scroll { overflow-x: auto; margin-bottom: 2rem; }
.table-scroll:focus-visible { outline-offset: 2px; }
.table-scroll .admin-table { margin-bottom: 0; }

/* Hervorgehobener Kasten: Im Basispreis enthalten */
.included { background: var(--white); border: 2px solid var(--navy); border-left-width: 6px; border-radius: var(--radius); padding: 1.2rem 1.4rem 0.4rem; margin: 0 0 2rem; max-width: 42rem; }
.included h3 { margin-bottom: 0.7rem; }
.price-table { hyphens: manual; -webkit-hyphens: manual; }
