.solid {
  position: fixed;
  background: rgba(9, 9, 26, 0.8);
  backdrop-filter: blur(18px);
  transition: background 0.3s;
}
.langs .active {
  color: #fff;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
}
.subpage {
  padding-top: 82px;
}
.page-hero,
.project-hero {
  min-height: 520px;
  padding: 120px 8vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(116, 74, 255, 0.3),
      transparent 32%
    ),
    #09091a;
  position: relative;
  overflow: hidden;
}
.page-hero:after,
.project-hero:after {
  content: "✦";
  position: absolute;
  right: 10%;
  font-size: 260px;
  color: rgba(151, 112, 255, 0.08);
  animation: pulseGlow 5s ease-in-out infinite;
}
.page-hero h1,
.project-hero h1 {
  font-size: clamp(55px, 7vw, 105px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 1000px;
  margin: 20px 0;
}
.page-hero > p:last-child,
.project-hero > p {
  max-width: 680px;
  color: #aaa7ba;
  line-height: 1.8;
}
.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}
.section-headline > p {
  max-width: 490px;
  color: #aaa7ba;
  line-height: 1.7;
}
.dark-link {
  color: #151326;
  border-bottom: 1px solid #151326;
  padding-bottom: 5px;
}
.partner-preview {
  background: #100e24;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 45px;
}
.partner-grid a {
  min-height: 175px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.025);
  transition: 0.35s;
}
.partner-page .partner-grid a {
  background: #fff;
  color: #171526;
  border-color: #e3dfeb;
}
.partner-grid a:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 55px rgba(109, 61, 230, 0.2);
  border-color: #8059ed;
}
.partner-grid img {
  max-width: 130px;
  max-height: 65px;
  object-fit: contain;
}
.partner-grid i {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #744aff, #e63d9d);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}
.partner-grid small {
  color: #8c889d;
}
.process {
  background: #100e24;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 40px;
}
.process-grid article {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px;
}
.process-grid small {
  color: #8c67f5;
}
.contact-teaser {
  text-align: center;
  background: radial-gradient(circle, #23184e, #09091a);
}
.contact-teaser h2 {
  font-size: clamp(45px, 6vw, 85px);
}
.service-detail {
  display: grid;
  gap: 25px;
}
.service-detail article {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
  background: linear-gradient(135deg, rgba(116, 74, 255, 0.1), transparent);
}
.service-detail article h2 {
  margin: 15px 0;
}
.service-detail li {
  color: #aaa7ba;
  padding: 8px;
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin: 0 0 35px;
  flex-wrap: wrap;
}
.filter-bar button {
  border: 1px solid #ccc5db;
  background: transparent;
  padding: 10px 15px;
  border-radius: 99px;
  cursor: pointer;
}
.filter-bar button.active {
  background: #171329;
  color: #fff;
}
.gallery article {
  transition: 0.35s;
}
.gallery article[hidden] {
  display: none;
}
.gallery .visual {
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}
.gallery .visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(230, 61, 157, 0.3));
  opacity: 0;
  transition: 0.4s;
}
.gallery .visual span {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  background: rgba(9, 9, 26, 0.7);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-70px);
  transition: 0.35s;
}
.gallery article:hover .visual {
  transform: scale(0.985);
  box-shadow: 0 25px 60px rgba(42, 27, 76, 0.25);
}
.gallery article:hover .visual:after {
  opacity: 1;
}
.gallery article:hover .visual span {
  transform: translateY(0);
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project-gallery > img,
.project-gallery figure {
  width: 100%;
  margin: 0;
}
.project-gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
  transition: 0.4s;
}
.project-gallery img:hover {
  transform: scale(1.015);
  box-shadow: 0 25px 50px rgba(25, 17, 48, 0.25);
}
.project-gallery figcaption {
  padding: 10px;
  color: #777;
}
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 35px;
}
.facts span {
  display: flex;
  flex-direction: column;
  color: #aaa7ba;
}
.facts b {
  font-size: 26px;
  color: #a98dff;
}
.full-contact {
  padding-top: 110px;
  min-height: calc(100vh - 80px);
}
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 35px;
  color: #bcb7ca;
}
.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.75s ease var(--delay),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay);
}
.js .reveal.revealed {
  opacity: 1;
  transform: none;
}
.button,
.pill {
  transform: translate(var(--mx, 0), var(--my, 0));
  transition:
    transform 0.15s,
    box-shadow 0.25s;
}
.button:hover,
.pill:hover {
  box-shadow: 0 16px 42px rgba(128, 71, 246, 0.35);
}
.brand i {
  animation: logoBreath 4s ease-in-out infinite;
}
.art:before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  background: #d6349a;
  filter: blur(110px);
  opacity: 0.25;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes logoBreath {
  50% {
    box-shadow: 0 0 28px rgba(191, 64, 214, 0.42);
  }
}
@keyframes pulseGlow {
  50% {
    opacity: 0.55;
    transform: scale(1.12);
  }
}
@media (max-width: 950px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail article {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .nav .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #0c0b1d;
    padding: 20px;
  }
  .nav nav.open {
    display: grid;
  }
  .nav .langs {
    margin-left: 15px;
  }
}
@media (max-width: 620px) {
  .page-hero,
  .project-hero {
    min-height: 470px;
    padding: 100px 22px 65px;
  }
  .page-hero h1,
  .project-hero h1 {
    font-size: 50px;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section-headline {
    display: block;
  }
  .service-detail article {
    padding: 28px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .full-contact {
    padding-top: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
.js .reveal,
.reveal {
  opacity: 1;
  transform: none;
}
.button,
.pill {
  transform: none;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.button:hover,
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(128, 71, 246, 0.25);
}
.brand i,
.art:before,
.page-hero:after,
.project-hero:after {
  animation: none;
}
.admin-new {
  background: linear-gradient(100deg, #744aff, #e63d9d);
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}
.module-editor {
  margin-bottom: 22px;
}
.editor-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.editor-title a {
  color: #6e49d8;
  font-size: 12px;
}
.editor select {
  background: #faf9fc;
  color: #171522;
  border: 1px solid #dcd9e4;
  padding: 12px;
}
.editor input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

/* Responsive-System v6.5 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}
.copy,
.art,
.section > *,
.about > *,
.contact > *,
.service-detail article > *,
.admin > main,
.panel {
  min-width: 0;
}
.nav {
  padding-left: max(24px, 5vw);
  padding-right: max(24px, 5vw);
}
.nav nav a,
.langs a,
.pill,
.menu-toggle {
  min-height: 42px;
  display: flex;
  align-items: center;
}
.menu-toggle {
  justify-content: center;
  width: 44px;
  border-radius: 8px;
}
.section h1,
.section h2,
.page-hero h1,
.project-hero h1,
.contact h1 {
  overflow-wrap: anywhere;
}
.partner-grid img {
  width: auto;
  height: auto;
}
.table-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.table-actions form {
  display: inline-flex;
  margin: 0;
}
.table-actions a,
.table-actions button {
  font-size: 11px;
  padding: 8px 9px;
  border-radius: 5px;
}
.danger {
  background: #b42343 !important;
  color: #fff !important;
}
.editor select {
  width: 100%;
  min-height: 44px;
}
.editor input,
.editor textarea,
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  border-radius: 4px;
}
.document-line {
  border-top: 1px solid #e3e0e9;
  padding-top: 18px;
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .nav {
    height: 76px;
  }
  .subpage {
    padding-top: 76px;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow: auto;
    background: rgba(9, 9, 26, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px max(24px, 5vw) 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  }
  .nav nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
  }
  .nav nav a {
    padding: 10px 4px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav .menu-toggle {
    display: flex;
    margin-left: auto;
    order: 2;
  }
  .nav .langs {
    order: 3;
    margin-left: 14px;
  }
  .nav > .pill {
    order: 4;
    margin-left: 15px;
  }
  .nav nav {
    order: 5;
  }
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    min-height: 720px;
    height: auto;
    padding-top: 130px;
  }
  .hero h1 {
    font-size: clamp(56px, 8vw, 86px);
  }
  .art {
    height: 430px;
  }
  .r1 {
    width: min(38vw, 360px);
    height: min(38vw, 360px);
  }
  .r2 {
    width: min(27vw, 255px);
    height: min(27vw, 255px);
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects article:last-child:nth-child(odd) {
    grid-column: 1/-1;
    max-width: calc(50% - 12px);
  }
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about,
  .about-story,
  .contact {
    gap: 6vw;
  }
  .page-hero,
  .project-hero {
    min-height: 460px;
    padding: 105px 6vw 70px;
  }
  .page-hero h1,
  .project-hero h1 {
    font-size: clamp(52px, 8vw, 82px);
  }
  .service-detail article {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .service-detail article .button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .admin-page > header {
    gap: 16px;
    flex-wrap: wrap;
  }
  .admin-page > header h1 {
    order: 3;
    width: 100%;
    margin: 8px 0 0;
  }
  .tr {
    min-width: 620px;
  }
}

@media (max-width: 760px) {
  .nav {
    height: 70px;
    padding: 0 18px;
  }
  .subpage {
    padding-top: 70px;
  }
  .nav .brand span {
    display: none;
  }
  .nav .brand i {
    width: 38px;
    height: 38px;
  }
  .nav nav {
    top: 70px;
    max-height: calc(100vh - 70px);
  }
  .nav nav.open {
    grid-template-columns: 1fr;
  }
  .nav > .pill {
    display: none;
  }
  .nav .langs {
    margin-left: 8px;
    gap: 2px;
  }
  .langs a {
    padding: 0 6px;
    font-size: 10px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    padding: 125px 22px 55px;
  }
  .hero .copy {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(46px, 13vw, 68px);
    line-height: 0.96;
    margin: 22px 0;
  }
  .hero .copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .art {
    height: 290px;
    width: 100%;
    margin-top: 20px;
  }
  .r1 {
    width: 260px;
    height: 260px;
  }
  .r2 {
    width: 185px;
    height: 185px;
  }
  .core {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    font-size: 34px;
  }
  .statement,
  .section {
    padding: 70px 22px;
  }
  .statement h2,
  .section h2 {
    font-size: clamp(36px, 10vw, 54px);
    line-height: 1.03;
  }
  .section-headline {
    display: block;
  }
  .section-headline > p {
    margin-top: 18px;
  }
  .cards,
  .projects,
  .partner-grid,
  .process-grid,
  .about,
  .about-story,
  .contact,
  .service-detail article {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 12px;
    margin-top: 34px;
  }
  .cards article {
    min-height: 280px;
  }
  .cards article > b {
    margin: 32px 0 15px;
  }
  .projects {
    gap: 28px;
  }
  .projects article:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .visual {
    height: auto;
    aspect-ratio: 4/3;
  }
  .partner-grid {
    gap: 12px;
  }
  .partner-grid a {
    min-height: 150px;
    padding: 20px;
  }
  .process-grid {
    gap: 10px;
  }
  .process-grid article {
    padding: 22px 0;
  }
  .about .big,
  .about-story .big {
    font-size: 34vw;
    text-align: center;
  }
  .page-hero,
  .project-hero {
    min-height: 390px;
    padding: 92px 22px 55px;
  }
  .page-hero:after,
  .project-hero:after {
    right: -10%;
    font-size: 170px;
  }
  .page-hero h1,
  .project-hero h1 {
    font-size: clamp(43px, 12vw, 62px);
    line-height: 0.98;
  }
  .service-detail {
    gap: 16px;
  }
  .service-detail article {
    min-height: 0;
    padding: 28px 22px;
    gap: 18px;
  }
  .service-detail article ul {
    padding-left: 20px;
    margin: 0;
  }
  .service-detail article .button {
    grid-column: auto;
    width: 100%;
    text-align: center;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .full-contact {
    padding-top: 75px;
    min-height: 0;
  }
  .contact h1 {
    font-size: clamp(39px, 11vw, 55px);
  }
  .contact form,
  .editor {
    padding: 22px;
  }
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    margin-right: -22px;
  }
  .filter-bar button {
    flex: 0 0 auto;
    min-height: 42px;
  }
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px 22px;
    gap: 18px;
  }
  footer .brand,
  footer span:nth-child(2) {
    grid-column: 1/-1;
    margin: 0;
  }
  footer > a:not(.brand) {
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .admin-page > header {
    padding: 17px 18px;
  }
  .admin-page > header h1 {
    font-size: 25px;
  }
  .admin-page > main {
    padding: 20px 14px;
  }
  .admin-new {
    padding: 10px 12px;
  }
  .editor-title {
    align-items: flex-start;
    gap: 14px;
  }
  .table {
    padding: 10px;
    overflow: visible;
  }
  .table .th {
    display: none;
  }
  .table .tr:not(.th) {
    min-width: 0;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    padding: 16px 8px;
  }
  .table .tr span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .table .tr .table-actions {
    grid-column: 1/-1;
    padding-top: 10px;
    border-top: 1px solid #eceaf0;
  }
  .welcome {
    align-items: flex-start;
    gap: 18px;
  }
  .welcome a {
    white-space: nowrap;
  }
  .row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }
  .row progress,
  .row strong {
    display: none;
  }
  .metrics {
    gap: 10px;
  }
  .metrics article {
    padding: 15px;
  }
  .admin-grid {
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .nav {
    padding: 0 12px;
  }
  .nav .menu-toggle {
    width: 40px;
  }
  .nav .langs {
    margin-left: 3px;
  }
  .langs a {
    padding: 0 4px;
  }
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }
  .eyebrow {
    letter-spacing: 0.14em;
    line-height: 1.5;
  }
  .statement,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .statement h2,
  .section h2 {
    font-size: clamp(34px, 10vw, 45px);
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid a {
    min-height: 135px;
  }
  .page-hero,
  .project-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .page-hero h1,
  .project-hero h1 {
    font-size: clamp(39px, 11vw, 50px);
  }
  .button {
    width: 100%;
    text-align: center;
    padding: 15px;
  }
  .contact form,
  .editor {
    padding: 18px;
  }
  .admin-page > header h1 {
    font-size: 22px;
  }
  .admin-page > header > a:first-child {
    font-size: 12px;
  }
  .table .tr:not(.th) {
    grid-template-columns: 1fr;
  }
  .table .tr .table-actions {
    grid-column: auto;
  }
  .table-actions a,
  .table-actions button {
    min-height: 38px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .welcome {
    display: block;
  }
  .welcome a {
    display: inline-block;
    margin-top: 10px;
  }
  .admin > main header h1 {
    font-size: 24px;
  }
  .panel {
    padding: 15px;
  }
  footer {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 761px) {
  .nav .menu-toggle {
    display: none !important;
  }
  .nav nav {
    display: flex !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
    gap: clamp(12px, 1.8vw, 28px) !important;
  }
  .nav nav a {
    padding: 0 !important;
    min-height: 42px;
    font-size: 11px !important;
    border: 0 !important;
  }
  .nav .langs {
    margin-left: 10px !important;
  }
  .nav > .pill {
    display: flex;
  }
  .setup-secondary {
    margin-top: 14px;
  }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .nav > .pill {
    display: none;
  }
  .nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav .brand span {
    display: none;
  }
  .nav nav {
    margin-left: auto;
  }
}
.setup-secondary {
  margin-top: 14px;
}
.setup-secondary button {
  background: #272244;
}
.setup-card input[name="code"] {
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.22em;
  font-weight: 800;
}

/* Kalender v6.7 */
.live-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.live-time b {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
.live-time small {
  color: #9c97aa;
  margin-top: 3px;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.75fr);
  gap: 20px;
  align-items: start;
}
.calendar-card,
.day-agenda {
  background: #fff;
  border: 1px solid #e2dfe9;
  border-radius: 12px;
  padding: 22px;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.calendar-toolbar small {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #817c90;
}
.calendar-toolbar h2 {
  font-size: 25px;
  margin: 5px 0 0;
}
.calendar-actions {
  display: flex;
  gap: 6px;
}
.calendar-actions a {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd9e7;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #faf9fc;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays span {
  text-align: center;
  padding: 9px;
  font-size: 9px;
  font-weight: 800;
  color: #8a8596;
  text-transform: uppercase;
}
.calendar-grid {
  border-left: 1px solid #ebe8f0;
  border-top: 1px solid #ebe8f0;
}
.calendar-empty,
.calendar-day {
  min-height: 118px;
  border-right: 1px solid #ebe8f0;
  border-bottom: 1px solid #ebe8f0;
  padding: 9px;
  background: #fff;
  min-width: 0;
}
.calendar-empty {
  background: #faf9fc;
}
.calendar-day {
  transition: 0.18s;
}
.calendar-day:hover {
  background: #f5f1ff;
}
.calendar-day > b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}
.calendar-day.today > b {
  background: #16132c;
  color: #fff;
}
.calendar-day.selected {
  box-shadow: inset 0 0 0 2px #744aff;
  background: #f7f4ff;
}
.day-events {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}
.day-events span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #eee9ff;
  color: #6140c7;
  border-radius: 4px;
  padding: 4px 5px;
  font-size: 9px;
}
.day-events small {
  font-size: 9px;
  color: #817b91;
}
.calendar-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 18px;
}
.appointment-form {
  padding: 24px;
}
.appointment-form h2 {
  font-size: 19px;
}
.day-agenda h3 {
  margin-top: 0;
}
.day-agenda article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #ece9f1;
}
.day-agenda time {
  color: #744aff;
  font-weight: 800;
  font-size: 12px;
}
.day-agenda article > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.day-agenda article small {
  color: #8d8798;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.day-agenda button {
  width: 30px;
  height: 30px;
  padding: 0;
}
.notice {
  background: #e9fff3;
  color: #17643b;
  border: 1px solid #bcebd0;
  padding: 12px 15px;
  border-radius: 7px;
}
@media (max-width: 1100px) {
  .calendar-layout {
    grid-template-columns: 1fr;
  }
  .calendar-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .calendar-empty,
  .calendar-day {
    min-height: 105px;
  }
}
@media (max-width: 760px) {
  .calendar-page > header h1 {
    order: initial;
    width: auto;
    flex: 1;
  }
  .calendar-page .live-time {
    order: 3;
    width: 100%;
    align-items: flex-start;
  }
  .calendar-card {
    padding: 14px;
    overflow: hidden;
  }
  .calendar-toolbar {
    align-items: flex-start;
  }
  .calendar-toolbar h2 {
    font-size: 21px;
  }
  .calendar-weekdays span {
    padding: 7px 2px;
  }
  .calendar-empty,
  .calendar-day {
    min-height: 82px;
    padding: 5px;
  }
  .calendar-day > b {
    width: 24px;
    height: 24px;
  }
  .day-events span {
    font-size: 0;
    padding: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #744aff;
  }
  .day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }
  .day-events small {
    display: none;
  }
  .calendar-side {
    grid-template-columns: 1fr;
  }
  .appointment-form {
    padding: 20px;
  }
}
@media (max-width: 430px) {
  .calendar-page > main {
    padding-left: 8px;
    padding-right: 8px;
  }
  .calendar-card {
    padding: 10px;
  }
  .calendar-toolbar {
    display: block;
  }
  .calendar-actions {
    margin-top: 12px;
  }
  .calendar-actions a {
    flex: 1;
  }
  .calendar-empty,
  .calendar-day {
    min-height: 67px;
  }
  .calendar-day {
    padding: 3px;
  }
  .calendar-day > b {
    font-size: 10px;
  }
  .appointment-form {
    padding: 17px;
  }
}
.welcome-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .welcome-actions {
    justify-content: flex-start;
  }
}

/* Gezeichnetes MZ-Logo */
.logo-draw {
  position: relative;
  z-index: 2;
  width: min(330px, 72%);
  aspect-ratio: 620/498;
  filter: drop-shadow(0 0 24px rgba(125, 73, 255, 0.28));
}
.logo-ink,
.logo-light {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../images/mz-logo-mask.png") center/contain no-repeat;
  mask: url("../images/mz-logo-mask.png") center/contain no-repeat;
}
.logo-ink {
  background: linear-gradient(135deg, #8b6cff 3%, #d84bb6 58%, #ff70b7);
  clip-path: inset(0 100% 0 0);
  animation:
    logoPlot 1.8s cubic-bezier(0.65, 0, 0.25, 1) 0.25s forwards,
    logoGlow 4s ease-in-out 2.1s infinite;
}
.logo-light {
  background: linear-gradient(
    90deg,
    transparent 0,
    transparent 44%,
    #fff 50%,
    transparent 56%,
    transparent 100%
  );
  background-size: 220% 100%;
  opacity: 0;
  animation: logoLight 1.8s ease 0.25s forwards;
}
.logo-draw:after {
  content: "";
  position: absolute;
  top: 3%;
  bottom: 3%;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, #fff, transparent);
  box-shadow: 0 0 16px #b99cff;
  opacity: 0;
  animation: plotNeedle 1.8s cubic-bezier(0.65, 0, 0.25, 1) 0.25s forwards;
}
@keyframes logoPlot {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes plotNeedle {
  0% {
    left: 0;
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  92% {
    opacity: 0.9;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes logoLight {
  0% {
    opacity: 0;
    background-position: 100% 0;
  }
  15% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    background-position: -120% 0;
  }
}
@keyframes logoGlow {
  50% {
    filter: brightness(1.12);
  }
}
@media (max-width: 760px) {
  .logo-draw {
    width: min(235px, 72%);
  }
  .logo-ink {
    animation-duration: 1.2s;
  }
  .logo-light,
  .logo-draw:after {
    animation-duration: 1.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ink {
    clip-path: none;
    animation: none;
  }
  .logo-light,
  .logo-draw:after {
    display: none;
  }
}
