/**
 * Default theme — brochure baseline for minimal / playground starters.
 *
 * Edit look via :root tokens below (or Admin → Site → Appearance, which
 * writes overrides into dropbits-user.css). Assistant: prefer patch_user_css
 * on :root tokens (page --color-bg/--color-text and panel
 * --color-content-bg/--color-content-fg); keep selectors stable
 * (.site-*, .hero-*, .db-*, .btn).
 */

/* —— Tokens (override in dropbits-user.css) —— */
:root {
  /* Colour */
  --color-bg: #f3f5f7;
  --color-surface: #ffffff;
  --color-content-bg: #ffffff;
  --color-content-fg: #1a2332;
  --color-content-heading: #142033;
  --color-text: #1a2332;
  --color-muted: #5a6574;
  --color-primary: #0e5c66;
  --color-accent: #1f6b8a;
  --color-border: #d2d8e0;
  --color-link: var(--color-accent);
  --color-link-hover: #0e4a62;
  --color-nav-fg: #142033;
  --color-gutter: var(--color-bg);

  /* Type */
  --font-body: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-ui: "Segoe UI", system-ui, -apple-system, sans-serif;
  --line-body: 1.55;

  /* Layout (page-layout.css reads --max-width) */
  --max-width: 42rem;
  --space: 1.25rem;
  --radius: 4px;
  --header-h: 3.5rem;
  --nav-mobile-max: 900px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: var(--line-body);
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--color-link-hover);
}

h1,
h2,
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-content-heading);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin: 0 0 0.65rem;
}

h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 1.75rem 0 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.35rem 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

/* —— Shell / header / nav —— */
.site-frame {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  padding: 0.65rem clamp(1rem, 4vw, 1.75rem);
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-primary) 6%, transparent);
  transition: box-shadow 0.2s ease;
}

.site-brand {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-nav-fg);
}

.site-brand:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  padding: 0.4rem 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-nav-fg);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.site-nav {
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

/* Top-level row only — nested .nav-links are dropdown panels (nav-dropdown.css). */
.site-nav > .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--color-nav-fg);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

/* —— Page body band —— */
.db-content-band,
.region-main > section.db-widget {
  color: var(--color-content-fg);
}

.db-content-band {
  background: var(--color-content-bg);
  padding-block: 0.25rem 1.5rem;
}

.db-page-body {
  flex: 1 1 auto;
  padding-block: 1.25rem 2.5rem;
}

.region-main {
  /* Content panel — override via --color-content-bg / --color-content-fg in dropbits-user.css */
  background: var(--color-content-bg);
  border-radius: var(--radius);
  padding: 1.25rem clamp(0.85rem, 3vw, 1.35rem) 2rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-border) 70%, transparent);
}

.region-main > section.db-widget + section.db-widget {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* —— Hero / jumbo —— */
.hero-jumbo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(48vh, 480px);
  overflow: hidden;
  background: color-mix(in srgb, var(--color-primary) 18%, var(--color-bg));
  animation: db-hero-in 0.55s ease-out both;
}

@keyframes db-hero-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-jumbo {
    animation: none;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-jumbo--rotating .hero-media-stack {
  position: absolute;
  inset: 0;
}

.hero-jumbo--rotating .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-jumbo--rotating .hero-slide .hero-media {
  position: absolute;
  inset: 0;
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 clamp(1rem, 4vw, 1.75rem) 1.75rem;
  max-width: calc(var(--max-width) + 8rem);
  margin: 0 auto;
  width: 100%;
}

.hero-title-box {
  max-width: min(34rem, 100%);
  padding: 0.85rem 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2.35rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / 35%);
}

.hero-subtitle {
  margin: 0.4rem 0 0;
  font-family: var(--font-ui);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: color-mix(in srgb, #fff 88%, var(--color-accent));
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

.hero-jumbo--bottom-left .hero-inner {
  align-items: flex-end;
  justify-content: flex-start;
}
.hero-jumbo--bottom-center .hero-inner {
  align-items: flex-end;
  justify-content: center;
}
.hero-jumbo--bottom-right .hero-inner {
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-jumbo--center-left .hero-inner {
  align-items: center;
  justify-content: flex-start;
}
.hero-jumbo--center .hero-inner {
  align-items: center;
  justify-content: center;
}
.hero-jumbo--center-right .hero-inner {
  align-items: center;
  justify-content: flex-end;
}
.hero-jumbo--top-left .hero-inner {
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 1.5rem;
}
.hero-jumbo--top-center .hero-inner {
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.5rem;
}
.hero-jumbo--top-right .hero-inner {
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 1.5rem;
}

@media (max-width: 480px) {
  .hero-jumbo .hero-subtitle {
    display: none;
  }
  .hero-jumbo {
    max-height: min(42vh, 360px);
  }
}

/* —— Listings —— */
.db-listing,
.db-listing--cards,
.db-listing--default {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.db-listing--cards .db-list-item,
.db-listing--default .db-list-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.db-listing--cards .db-list-item:first-child,
.db-listing--default .db-list-item:first-child {
  padding-top: 0;
}

.db-listing a.db-list-title,
.db-list-item .db-field-title a,
.db-list-item a[data-field="title"] {
  font-family: var(--font-ui);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--color-content-heading);
  text-decoration: none;
}

.db-listing a.db-list-title:hover,
.db-list-item .db-field-title a:hover {
  color: var(--color-primary);
}

.db-listing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.db-listing-table th,
.db-listing-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.db-listing-table th {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  background: color-mix(in srgb, var(--color-bg) 70%, var(--color-content-bg));
}

.db-listing-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.35rem 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

.db-listing-sort__link {
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

.db-listing-sort__link.is-asc,
.db-listing-sort__link.is-desc {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom-style: solid;
}

.db-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.db-pager a {
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-nav-fg);
}

.db-pager a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* —— Forms / guest widgets —— */
.db-guest-form,
form.db-guest-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 28rem;
  font-family: var(--font-ui);
}

.db-guest-form label,
form.db-guest-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-content-heading);
}

.db-guest-form input,
.db-guest-form textarea,
.db-guest-form select,
form.db-guest-form input,
form.db-guest-form textarea,
form.db-guest-form select {
  font: inherit;
  font-weight: 400;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
}

.db-guest-form input:focus,
.db-guest-form textarea:focus,
.db-guest-form select:focus,
form.db-guest-form input:focus,
form.db-guest-form textarea:focus,
form.db-guest-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.db-guest-form button[type="submit"],
form.db-guest-form button[type="submit"] {
  align-self: flex-start;
  font: inherit;
  font-weight: 650;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.db-guest-form button[type="submit"]:hover,
form.db-guest-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-primary) 82%, #000);
  border-color: color-mix(in srgb, var(--color-primary) 82%, #000);
}

.db-guest-form__hint {
  color: #9b1c1c;
  font-size: 0.85rem;
  font-weight: 400;
}

.db-guest-form__status.is-success {
  color: #1b5e3a;
}

.db-guest-form__status.is-error {
  color: #9b1c1c;
}

/* —— Footer / chrome —— */
.site-footer,
[data-site-chrome="footer"],
.db-page > .site-footer-auth,
.site-footer-auth {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--color-muted);
  text-align: center;
  padding: 1.5rem clamp(1rem, 4vw, 1.75rem) 2.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  background: color-mix(in srgb, var(--color-surface) 80%, var(--color-bg));
}

.site-footer a,
.site-footer-auth a {
  color: var(--color-link);
}

.site-footer-user {
  color: var(--color-text);
}

/* —— Richtext Class picker fixtures (keep in sync with theme-classes.json) —— */
.headline {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.65em;
  letter-spacing: -0.01em;
  color: var(--color-content-heading);
}

.lede {
  font-size: 1.22em;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--color-content-heading);
}

.callout {
  display: block;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 10%, var(--color-content-bg));
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 650;
  padding: 0.45em 0.95em;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: color-mix(in srgb, var(--color-primary) 82%, #000);
  border-color: color-mix(in srgb, var(--color-primary) 82%, #000);
  color: #fff;
  text-decoration: none;
}

html.db-nav-compact .site-header .nav-toggle {
  display: flex;
}

html.db-nav-compact .site-header .main-nav.site-nav {
  display: none;
  width: 100%;
  order: 3;
  flex-basis: 100%;
}

html.db-nav-compact .site-header .main-nav.site-nav.open {
  display: block;
}

html.db-nav-compact .site-header .main-nav.site-nav.open > .nav-links {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  padding: 0.35rem 0 0.5rem;
}

html.db-nav-compact .site-header .main-nav.site-nav.open > .nav-links a {
  display: block;
  padding: 0.55rem 0.15rem;
  border-bottom: none;
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .region-main {
    border-radius: 0;
    box-shadow: none;
    padding-inline: 0.85rem;
  }
}

/* —— Neon-Akropolis overlay ——
 * Adapted from the Tränen-im-Regen theme study (sites/traenenimregen/README.md).
 * Pure CSS, no JS: a fixed neon "window" behind the page plus staggered
 * raindrops; every content widget becomes a frosted-glass panel. Decorative
 * layers are aria-hidden in shell.html. Paint order: body bg (deepest) →
 * .db-fenster (z-index -2) → .db-regen (-1) → page content. */

@font-face {
  font-family: 'Comfortaa';
  src: url("fonts/comfortaa-light-webfont.woff2") format("woff2"),
    url("fonts/comfortaa-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url("fonts/comfortaa-regular-webfont.woff2") format("woff2"),
    url("fonts/comfortaa-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Neon window — the site's own Acropolis graphic (themes/default/images/),
 * diffused like the original's blurred photo: image at the bottom, neon
 * pools and a dark scrim above it so text stays readable. The blur spills
 * past the viewport (inset -0.75rem) to avoid edge halos. */
.db-fenster {
  position: fixed;
  inset: -0.75rem;
  z-index: -2;
  overflow: hidden;
  filter: blur(6px) saturate(1.15);
  background:
    radial-gradient(120vw 90vh at 85% -10%, rgba(125, 255, 179, 0.14), transparent 60%),
    radial-gradient(100vw 80vh at -10% 30%, rgba(64, 156, 255, 0.12), transparent 55%),
    radial-gradient(90vw 70vh at 70% 110%, rgba(255, 94, 190, 0.10), transparent 55%),
    radial-gradient(70vw 60vh at 30% 85%, rgba(255, 176, 66, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(10, 20, 29, 0.28) 0%, rgba(15, 26, 34, 0.12) 55%, rgba(11, 20, 28, 0.42) 100%),
    url("images/akropolis.svg") center / cover no-repeat,
    #0b141c;
}

/* Rain — 40 droplets in shell.html, each pops in after its own delay.
 * Paints IN FRONT of the content (like the original): z-index above the page
 * flow, below the sticky header (100); drops are pointer-events: none. */
.db-regen {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.db-tropfen {
  position: absolute;
  border-radius: 50%;
  transform: rotate(7deg);
  /* Lens: the drop shows the window behind it, richer. The original site
   * slices a photo per drop; here the live backdrop is filtered instead,
   * so each drop picks up the neon pool colour where it sits. */
  -webkit-backdrop-filter: saturate(1.8) brightness(1.2);
  backdrop-filter: saturate(1.8) brightness(1.2);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.04) 45%, transparent 62%);
  box-shadow:
    inset 0 0 0.3rem rgba(255, 255, 255, 0.20),
    inset -0.1rem -0.16rem 0.28rem rgba(0, 0, 0, 0.30),
    0 0.08rem 0.45rem rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: db-regenfall 10ms cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes db-regenfall {
  from {
    opacity: 0;
    transform: rotate(7deg) scale(2.4, 2.0);
  }
  to {
    opacity: 0.9;
    transform: rotate(7deg) scale(1, 1);
  }
}

/* Drops 1–15 are on the pane at load (~0–0.5 s); 16–40 pop in over minutes. */
.db-tropfen:nth-child(1) { left: 63.27vw; top: 62.06vh; width: 1.01rem; height: 1.2rem; animation-delay: 0.06s; }
.db-tropfen:nth-child(2) { left: 48.42vw; top: 78.23vh; width: 0.76rem; height: 0.87rem; animation-delay: 0.33s; }
.db-tropfen:nth-child(3) { left: 70.1vw; top: 55.91vh; width: 0.52rem; height: 0.54rem; animation-delay: 0.15s; }
.db-tropfen:nth-child(4) { left: 61.02vw; top: 72.22vh; width: 0.8rem; height: 0.89rem; animation-delay: 0.22s; }
.db-tropfen:nth-child(5) { left: 13.02vw; top: 44.64vh; width: 0.91rem; height: 0.95rem; animation-delay: 0.26s; }
.db-tropfen:nth-child(6) { left: 57.09vw; top: 61.85vh; width: 0.98rem; height: 1.08rem; animation-delay: 0.02s; }
.db-tropfen:nth-child(7) { left: 8.11vw; top: 6.27vh; width: 0.37rem; height: 0.4rem; animation-delay: 0.52s; }
.db-tropfen:nth-child(8) { left: 25.39vw; top: 81.48vh; width: 1.05rem; height: 1.15rem; animation-delay: 0.32s; }
.db-tropfen:nth-child(9) { left: 67.01vw; top: 55.93vh; width: 0.39rem; height: 0.44rem; animation-delay: 0.12s; }
.db-tropfen:nth-child(10) { left: 55.62vw; top: 80.86vh; width: 0.36rem; height: 0.37rem; animation-delay: 0.19s; }
.db-tropfen:nth-child(11) { left: 21.88vw; top: 12.35vh; width: 0.47rem; height: 0.54rem; animation-delay: 0.47s; }
.db-tropfen:nth-child(12) { left: 80.49vw; top: 89.6vh; width: 0.39rem; height: 0.42rem; animation-delay: 0.21s; }
.db-tropfen:nth-child(13) { left: 52.15vw; top: 67.78vh; width: 0.66rem; height: 0.69rem; animation-delay: 0.21s; }
.db-tropfen:nth-child(14) { left: 62.41vw; top: 57.4vh; width: 0.67rem; height: 0.74rem; animation-delay: 0.1s; }
.db-tropfen:nth-child(15) { left: 92.09vw; top: 63.95vh; width: 0.79rem; height: 0.81rem; animation-delay: 0.27s; }
.db-tropfen:nth-child(16) { left: 83.05vw; top: 25.31vh; width: 0.95rem; height: 1.02rem; animation-delay: 67.86s; }
.db-tropfen:nth-child(17) { left: 89.57vw; top: 65.57vh; width: 0.47rem; height: 0.48rem; animation-delay: 71.19s; }
.db-tropfen:nth-child(18) { left: 55.06vw; top: 13.88vh; width: 0.67rem; height: 0.75rem; animation-delay: 22.82s; }
.db-tropfen:nth-child(19) { left: 80.92vw; top: 36.91vh; width: 0.92rem; height: 1.01rem; animation-delay: 28.8s; }
.db-tropfen:nth-child(20) { left: 68.12vw; top: 67.17vh; width: 0.96rem; height: 1.11rem; animation-delay: 68.03s; }
.db-tropfen:nth-child(21) { left: 5.52vw; top: 65.96vh; width: 0.6rem; height: 0.66rem; animation-delay: 18.11s; }
.db-tropfen:nth-child(22) { left: 23.35vw; top: 70.47vh; width: 0.36rem; height: 0.41rem; animation-delay: 17.19s; }
.db-tropfen:nth-child(23) { left: 10.07vw; top: 11.23vh; width: 0.71rem; height: 0.77rem; animation-delay: 48.37s; }
.db-tropfen:nth-child(24) { left: 4.03vw; top: 70.79vh; width: 0.88rem; height: 1.0rem; animation-delay: 56.31s; }
.db-tropfen:nth-child(25) { left: 84.8vw; top: 2.81vh; width: 0.42rem; height: 0.48rem; animation-delay: 33.67s; }
.db-tropfen:nth-child(26) { left: 38.72vw; top: 72.13vh; width: 0.98rem; height: 1.18rem; animation-delay: 35.13s; }
.db-tropfen:nth-child(27) { left: 23.65vw; top: 40.39vh; width: 0.79rem; height: 0.91rem; animation-delay: 68.96s; }
.db-tropfen:nth-child(28) { left: 3.04vw; top: 43.22vh; width: 0.94rem; height: 1.03rem; animation-delay: 10.48s; }
.db-tropfen:nth-child(29) { left: 34.98vw; top: 82.22vh; width: 0.64rem; height: 0.66rem; animation-delay: 49.2s; }
.db-tropfen:nth-child(30) { left: 39.07vw; top: 9.79vh; width: 0.87rem; height: 0.93rem; animation-delay: 27.7s; }
.db-tropfen:nth-child(31) { left: 59.25vw; top: 50.65vh; width: 0.81rem; height: 0.82rem; animation-delay: 52.31s; }
.db-tropfen:nth-child(32) { left: 19.24vw; top: 54.47vh; width: 0.43rem; height: 0.44rem; animation-delay: 47.02s; }
.db-tropfen:nth-child(33) { left: 89.93vw; top: 42.29vh; width: 0.58rem; height: 0.64rem; animation-delay: 11.97s; }
.db-tropfen:nth-child(34) { left: 40.59vw; top: 34.77vh; width: 0.74rem; height: 0.79rem; animation-delay: 43.66s; }
.db-tropfen:nth-child(35) { left: 14.25vw; top: 63.39vh; width: 0.53rem; height: 0.59rem; animation-delay: 15.56s; }
.db-tropfen:nth-child(36) { left: 91.69vw; top: 34.8vh; width: 0.86rem; height: 1.04rem; animation-delay: 7.46s; }
.db-tropfen:nth-child(37) { left: 70.75vw; top: 9.14vh; width: 0.35rem; height: 0.39rem; animation-delay: 16.23s; }
.db-tropfen:nth-child(38) { left: 71.88vw; top: 89.38vh; width: 0.58rem; height: 0.64rem; animation-delay: 63.26s; }
.db-tropfen:nth-child(39) { left: 92.24vw; top: 11.26vh; width: 0.42rem; height: 0.47rem; animation-delay: 59.44s; }
.db-tropfen:nth-child(40) { left: 58.09vw; top: 75.59vh; width: 0.73rem; height: 0.74rem; animation-delay: 18.13s; }

@media (max-width: 640px) {
  .db-tropfen:nth-child(2n) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .db-tropfen {
    animation: none;
    opacity: 0.5;
  }
}

@media print {
  .db-fenster,
  .db-regen {
    display: none;
  }
}

/* Frosted chrome — content panels float over the window. */
body {
  background: #0b141c;
}

.region-main {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding-inline: 0;
}

.region-main > section.db-widget + section.db-widget {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: none;
}

.db-content-band {
  background: color-mix(in srgb, var(--color-content-bg) 55%, transparent);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid color-mix(in srgb, var(--color-accent) 16%, transparent);
  border-radius: 1.2rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 1.5rem;
}

.region-sidebar-left:not([data-region-empty]),
.region-sidebar-right:not([data-region-empty]) {
  background: color-mix(in srgb, var(--color-content-bg) 55%, transparent);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  backdrop-filter: blur(8px) saturate(1.15);
  border: 1px solid color-mix(in srgb, var(--color-accent) 16%, transparent);
  border-radius: 1.2rem;
  padding: 1.25rem;
}

.site-header {
  background: color-mix(in srgb, #0b141c 68%, transparent);
  border-bottom-color: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.site-brand {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 6px color-mix(in srgb, var(--color-accent) 50%, transparent),
    0 0 20px color-mix(in srgb, var(--color-accent) 25%, transparent);
}

.site-brand:hover {
  color: var(--color-accent);
}

.hero-title {
  font-family: var(--font-ui);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 8px color-mix(in srgb, var(--color-accent) 45%, transparent),
    0 0 28px color-mix(in srgb, var(--color-accent) 22%, transparent),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

.site-footer,
[data-site-chrome="footer"],
.db-page > .site-footer-auth,
.site-footer-auth {
  background: color-mix(in srgb, #0b141c 55%, transparent);
  border-top-color: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

/* Listing cards (templates present; glass bubbles with an accent "tear" dot). */
.db-listing-card {
  background: color-mix(in srgb, var(--color-content-bg) 74%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--color-accent) 16%, transparent);
  border-radius: 1.2rem;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.db-listing-card__category::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.4em;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 5px color-mix(in srgb, var(--color-accent) 60%, transparent);
}

/* Home bubbles — hanging glass capsules over the rain window.
 * Specificity must beat page-layout.css
 * `.db-page-body .region-main > section.db-widget.db-content-band`
 * (max-width: none; margin-inline: 0; width: 100%), or the pills fill
 * the 38rem column and sit off-centre. Scoped to home widget ids so
 * long-form document pages keep rectangular glass. */
.db-page-body:has(section[data-widget-id="home_intro"]) {
  padding-block: 3.25rem 3.75rem;
  min-height: calc(100vh - var(--header-h) - 5rem);
}

.db-page-body .region-main > section.db-widget.db-content-band[data-widget-id="home_intro"],
.db-page-body .region-main > section.db-widget.db-content-band[data-widget-id="home_login"] {
  max-width: 24rem;
  width: 100%;
  margin-inline: auto;
  border-radius: 2.6rem;
  padding: 1.85rem 2rem 2.05rem;
  text-align: center;
  overflow: visible;
  box-sizing: border-box;
}

.region-main:has(> [data-widget-id="home_intro"]) > section.db-widget + section.db-widget {
  margin-top: 1.85rem;
}

section[data-widget-id="home_intro"] p,
section[data-widget-id="home_login"] p {
  text-align: left;
}

section[data-widget-id="home_intro"] p.lede {
  text-align: center;
  margin-bottom: 0.85rem;
  color: var(--color-content-heading);
}

section[data-widget-id="home_intro"] h2,
section[data-widget-id="home_intro"] h3,
section[data-widget-id="home_login"] h2,
section[data-widget-id="home_login"] h3 {
  text-align: center;
}

/* Login fields live in the capsule: stack labels, fill the inner width,
 * dark glass inputs (guest pages do not load cms.css form chrome). */
section[data-widget-id="home_login"] .db-login-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  font-family: var(--font-ui);
}

section[data-widget-id="home_login"] .db-login-form__field {
  margin: 0;
}

section[data-widget-id="home_login"] .db-login-form__field .db-field-label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-content-heading);
}

section[data-widget-id="home_login"] .db-login-form__field input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-weight: 400;
  padding: 0.55rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, #0b141c 72%, transparent);
  color: var(--color-content-fg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

section[data-widget-id="home_login"] .db-login-form__field input:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 55%, transparent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

section[data-widget-id="home_login"] .db-login-form__submit {
  align-self: center;
  min-width: 8.5rem;
  margin: 0.15rem 0 0;
  padding: 0.55rem 1.35rem;
  font: inherit;
  font-weight: 650;
  border: 1px solid color-mix(in srgb, var(--color-accent) 45%, var(--color-primary));
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 78%, #0b141c);
  color: #f2efe6;
  cursor: pointer;
  box-shadow: 0 0 18px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

section[data-widget-id="home_login"] .db-login-form__submit:hover {
  background: color-mix(in srgb, var(--color-primary) 62%, #000);
  border-color: var(--color-accent);
}

section[data-widget-id="home_login"] .db-login-form__forgot {
  text-align: center;
  margin: 0;
  font-size: 0.88rem;
}

/* Duplicate brand lives in the header. Empty hero jumbo would still be an
 * opaque drip over the window — hide the widget once it has no job. */
.region-hero:has([data-widget-id="home_hero"]),
section[data-widget-id="home_hero"] {
  display: none;
}

@media (max-width: 640px) {
  .db-page-body:has(section[data-widget-id="home_intro"]) {
    padding-block: 1.75rem 2.5rem;
    min-height: 0;
  }

  .db-page-body .region-main > section.db-widget.db-content-band[data-widget-id="home_intro"],
  .db-page-body .region-main > section.db-widget.db-content-band[data-widget-id="home_login"] {
    max-width: min(24rem, calc(100% - 1.25rem));
    border-radius: 2.15rem;
    padding: 1.5rem 1.4rem 1.7rem;
  }
}

/* Hero dissolves into the window: rounded, drip-like bottom edge, media and
 * scrim fade out towards the bottom so the rain shows through. The band
 * itself is a glass layer — the blurred window (same Acropolis motif)
 * glows through it instead of an opaque slab blocking the background. */
.hero-jumbo {
  max-height: min(44vh, 430px);
  border-radius: 0 0 48% 52% / 0 0 7% 8%;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-accent) 14%, transparent);
}

.hero-jumbo .hero-media img {
  opacity: 0.82;
}

.hero-jumbo .hero-media,
.hero-jumbo .hero-scrim {
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 96%);
}
