/* Loaded only for site-de. Shared portal layout and the site-net theme stay in murum.css. */
:root {
  color-scheme: light;
  background: #eef5f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site-de {
  --bg: #eef5f5;
  --bg-soft: #e2eff0;
  --panel: #fff;
  --panel-strong: #fff;
  --line: #c5dada;
  --line-strong: #91b8be;
  --text: #1e2c32;
  --muted: #415860;
  --soft: #50686f;
  --accent: #126c78;
  --accent-soft: #e2eff0;
  --radius: 7px;
  background: var(--bg);
  line-height: 1.65;
}

.site-de a { color: #0e5f6b; text-underline-offset: 5px; }
.site-de a:hover { color: #083f49; }
.site-de a:focus-visible,
.site-de button:focus-visible {
  outline: 3px solid #087f8b;
  outline-offset: 4px;
}
.site-de button { font: inherit; cursor: pointer; }

.site-de .site-header {
  position: sticky;
  width: 100%;
  min-height: 88px;
  padding: 16px max(32px, calc((100vw - 1180px) / 2));
  gap: 28px;
  background: rgba(246, 251, 250, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-de .brand {
  gap: 5px;
  flex-shrink: 0;
  color: var(--text);
  font-size: 2rem;
  letter-spacing: -.08em;
  text-decoration: none;
}
.site-de .brand-dot { color: var(--accent); }
.site-de .brand small { font-size: .8rem; letter-spacing: 0; font-weight: 500; }
.site-de .nav { gap: 22px; align-items: center; }
.site-de .nav > a { color: var(--muted); font-size: .9rem; padding-block: 10px; }
.site-de .nav > a:hover { color: var(--accent); }
.site-de .nav .button { min-height: 42px; padding: 8px 15px; }

.site-de .legal {
  width: min(1040px, calc(100% - 64px));
  padding: 48px 0 64px;
}
.site-de h1,
.site-de h2,
.site-de h3,
.site-de .legal h2,
.site-de .overview-heading h2,
.site-de .overview-item h3,
.site-de .event-card h2,
.site-de .entry-card h2,
.site-de .service-card h2,
.site-de .retrospective-title { color: var(--text); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.site-de .legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.site-de .lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; }
.site-de .eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .16em; font-weight: 700; margin-bottom: 18px; }
.site-de .eyebrow::before { display: none; }
.site-de .access-panel { padding: 26px; box-shadow: 0 3px 10px #1e2c3204; }
.site-de .login-panel { max-width: 760px; }
.site-de .access-panel.card-list-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.site-de .access-panel.quiet { background: var(--bg-soft); }
.site-de .event-card,
.site-de .entry-card,
.site-de .service-card,
.site-de .access-grid span { background: #f9fcfc; color: var(--text); }
.site-de .event-card.is-past { opacity: 1; }
.site-de .service-card-clickable:hover,
.site-de .service-card-clickable:focus-visible { background: var(--bg-soft); color: var(--text); }
.site-de .overview-heading a { white-space: normal; }
.site-de .account-details dd,
.site-de .message-meta dd,
.site-de .event-meta dd,
.site-de .detail-text,
.site-de .message-body { overflow-wrap: anywhere; }
.site-de .back-link a,
.site-de .overview-heading a { text-decoration: underline; }

.site-de .button {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 11px 20px;
  background: #fff;
  color: var(--accent);
  box-shadow: none;
  font-size: .92rem;
  font-weight: 600;
}
.site-de .button:hover { background: var(--bg-soft); border-color: var(--accent); color: #083f49; }
.site-de .button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-de .button.primary:hover { background: #0d5962; border-color: #0d5962; color: #fff; }
.site-de .button.danger { border-color: #cda9a2; color: #923c35; }
.site-de .button.danger:hover { background: #fff1ee; }

.site-de .login-shell input,
.site-de .login-shell select,
.site-de .login-shell textarea {
  background: #fff;
  color: var(--text);
  border-color: var(--line-strong);
  border-radius: 5px;
}
.site-de .login-shell input::placeholder,
.site-de .login-shell textarea::placeholder { color: var(--soft); opacity: 1; }
.site-de .login-shell input:focus,
.site-de .login-shell select:focus,
.site-de .login-shell textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #126c7826; outline: 2px solid var(--accent); outline-offset: 2px; }
.site-de .login-shell .checkbox-list label { background: #f9fcfc; color: var(--text); }
.site-de .login-shell .consent-field { display: flex; align-items: flex-start; gap: 10px; }
.site-de .login-shell .consent-field input { margin-top: 4px; }
.site-de .login-shell input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--accent);
}
.site-de .field-help,
.site-de .field-help a { color: var(--soft); }
.site-de .form-errors,
.site-de .field-error { color: #923c35; }
.site-de .form-errors { background: #fff1ee; border-color: #cda9a2; }
.site-de .flash-messages {
  position: static;
  width: min(1040px, calc(100% - 64px));
  margin: 24px auto 0;
  transform: none;
}
.site-de .flash-messages p { background: #e2eff0; border-color: #91b8be; color: #1e2c32; box-shadow: none; }
.site-de .flash-messages p + p { margin-top: 8px; }
.site-de .flash-messages .error { background: #fff1ee; border-color: #cda9a2; color: #923c35; }
.site-de .flash-messages .warning { background: #fff6ee; border-color: #d0b19a; color: #794831; }

.site-de .retrospective-tile { border: 1px solid var(--line); background: #fff; }
.site-de .retrospective-tile::after { display: none; }
.site-de .retrospective-tile:hover,
.site-de .retrospective-tile:focus-visible { color: var(--text); }
.site-de .retrospective-preview { background: var(--bg-soft); }
.site-de .retrospective-preview::after { background: linear-gradient(180deg, #fff0, #ffffffeb 50%, #fff 100%); }
.site-de .has-preview .retrospective-summary { color: var(--muted); }
.site-de .media-card img,
.site-de .media-card video { background: var(--bg-soft); }

.site-de .portal-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 26px max(32px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: .8rem;
}
.site-de .portal-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }

@media (min-width: 1600px) {
  .site-de .site-header,
  .site-de .portal-footer { padding-inline: max(60px, calc((100vw - 1320px) / 2)); }
}
@media (max-width: 1100px) {
  .site-de .site-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-de .nav { width: 100%; flex-wrap: wrap; gap: 8px 22px; overflow: visible; padding: 0; }
}
@media (max-width: 800px) {
  /* The complete navigation stays in normal flow, including without JavaScript. */
  .site-de .site-header { position: static; }
  .site-de .overview-grid,
  .site-de .access-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .site-de .site-header { padding: 16px 20px; margin: 0; gap: 10px; }
  .site-de .legal,
  .site-de .flash-messages { width: calc(100% - 40px); }
  .site-de .legal { padding: 32px 0 44px; }
  .site-de .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .site-de .nav > a { font-size: .9rem; padding-block: 10px; min-height: 44px; }
  .site-de .nav-form { margin-top: 2px; }
  .site-de .access-panel { padding: 20px; }
  .site-de .event-card,
  .site-de .entry-card,
  .site-de .service-card { padding: 16px; }
  .site-de .retrospective-grid { grid-template-columns: minmax(0, 1fr); }
  .site-de .media-grid,
  .site-de .account-details { grid-template-columns: minmax(0, 1fr); }
  .site-de .portal-footer { padding: 24px 20px; }
}
