body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}.aspect--9\:16,.responsive.ratio-916{padding-bottom:177.7777%}.aspect--1\:1,.responsive.ratio-11{padding-bottom:100%}
/*
 * Zentrales Stylesheet der Kinderwebsite. Einmalig über das Seitenlayout einbinden.
 * Alle Regeln sind auf .za-section oder za-Klassen begrenzt und beeinflussen den Rest der Seite nicht.
 * Der Schriftpfad ist relativ zu dieser Datei, deshalb muss fonts/ neben css/ liegen.
 */

@font-face {
  font-family: 'Raleway';
  src: url('../../files/fonts/raleway-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Corporate-Farben: unveränderlich */
  --za-color-white: #ffffff;
  --za-color-blue-dark: #7687b3;
  --za-color-blue-light: #a2b3de;
  --za-color-pink: #e257a6;
  --za-color-yellow: #f2c37f; /* ausschließlich im Verlauf */
  --za-gradient-brand: linear-gradient(to bottom right, var(--za-color-yellow), var(--za-color-pink));

  /* Abgeleitete Funktionsfarben */
  --za-color-text: #4c5e8a;
  --za-color-text-deep: #3e4c70;
  --za-color-tint: rgb(118 135 179 / 0.09);
  --za-color-line: rgb(118 135 179 / 0.28);
  --za-shadow-soft: 0 1.5rem 3.5rem -1.5rem rgb(76 94 138 / 0.28);

  /* Blütenblatt: rund, mit genau einer Spitze */
  --za-tip: 0.5rem;
  --za-round-l: clamp(3rem, 9vw, 7.5rem);
  --za-round-m: clamp(1.75rem, 4vw, 3rem);

  /* Raster und Rhythmus */
  --za-page-width: 72.5rem;
  --za-gutter: clamp(1.25rem, 5vw, 2.5rem);
  --za-section-space: clamp(5rem, 12vw, 9.5rem);
  --za-header-height: 4.75rem; /* Höhe des festen Seitenkopfs: Abstand bei Sprüngen, Höhe des Hero */
  --za-header-overlay: 0px; /* Liegt der Seitenkopf über dem Inhalt: zusätzlicher Abstand oben im Hero */

  /* Schrift */
  --za-font: 'Raleway', sans-serif;
  --za-text-body: 1.125rem;
  --za-text-lead: clamp(1.25rem, 2vw, 1.5rem);
  --za-text-h3: clamp(1.5rem, 2.4vw, 1.75rem);
  --za-text-h2: clamp(2.25rem, 5.4vw, 4.25rem);
  --za-text-h1: clamp(2.625rem, 6.6vw, 5.5rem);

  --za-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Grundlage jedes Abschnitts ---------- */

.za-section {
  padding-block-start: var(--za-section-space);
  overflow-x: clip;
  scroll-margin-top: calc(var(--za-header-height) + 1.5rem);
  background: var(--za-color-white);
  color: var(--za-color-text);
  font-family: var(--za-font);
  font-size: var(--za-text-body);
  font-weight: 500;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

.za-section:focus {
  outline: none;
}

.za-section *,
.za-section *::before,
.za-section *::after {
  box-sizing: border-box;
  hyphens: manual;
}

.za-section img,
.za-section svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.za-section h1,
.za-section h2,
.za-section h3 {
  margin: 0;
  color: var(--za-color-blue-dark);
  font-family: var(--za-font);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: none;
  text-wrap: balance;
}

.za-section h1 {
  font-size: var(--za-text-h1);
}

.za-section h2 {
  font-size: var(--za-text-h2);
}

.za-section h3 {
  font-size: var(--za-text-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.za-section p {
  margin: 0;
  max-width: 62ch;
}

.za-section [hidden] {
  display: none;
}

.za-section :focus-visible {
  outline: 3px solid var(--za-color-text);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* ---------- Wiederverwendbare Bausteine ---------- */

.za-container {
  width: min(100% - 2 * var(--za-gutter), var(--za-page-width));
  margin-inline: auto;
}

.za-section .za-flow > * + * {
  margin-block-start: 1.25rem;
}

.za-section .za-lead {
  font-size: var(--za-text-lead);
  line-height: 1.45;
}

.za-section .za-kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-block: 0 1rem;
  color: var(--za-color-text);
  font-weight: 600;
}

.za-section .za-kicker::before {
  content: '';
  flex: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50% 50% 0.125rem 50%;
  background: var(--za-gradient-brand);
}

.za-link,
.za-link:visited {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--za-color-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--za-color-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: color 0.2s var(--za-ease);
}

.za-link:hover {
  color: var(--za-color-text-deep);
}

.za-btn,
.za-btn:visited,
.za-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.625rem 1.75rem;
  border: 2px solid var(--za-color-text);
  border-radius: 999px 999px var(--za-tip) 999px;
  background: var(--za-color-text);
  color: var(--za-color-white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s var(--za-ease),
    border-color 0.2s var(--za-ease),
    color 0.2s var(--za-ease);
}

.za-btn:hover {
  border-color: var(--za-color-text-deep);
  background: var(--za-color-text-deep);
}

.za-btn--quiet,
.za-btn--quiet:visited,
.za-btn--quiet:hover {
  border-color: var(--za-color-blue-dark);
  background: transparent;
  color: var(--za-color-text);
}

.za-btn--quiet:hover {
  border-color: var(--za-color-text);
  background: var(--za-color-tint);
}

/* Offener Text, sichtbar nummeriert */
.za-placeholder-text {
  padding: 0.05em 0.3em;
  border-radius: 0.25rem;
  background: var(--za-color-tint);
  outline: 1px dashed var(--za-color-blue-dark);
  outline-offset: -1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Bilder in Blütenblattform. Das Format bleibt erhalten, auch wenn die Ersatzdatei andere Maße hat. */
.za-section .za-media {
  width: 100%;
  object-fit: cover;
}

.za-media--r11 {
  aspect-ratio: 1;
}

.za-media--r45 {
  aspect-ratio: 4 / 5;
}

.za-media--r169 {
  aspect-ratio: 16 / 9;
}

.za-media--tip-tl {
  border-radius: 3% 50% 50% 50%;
}

.za-media--tip-tr {
  border-radius: 50% 3% 50% 50%;
}

.za-media--tip-br {
  border-radius: 50% 50% 3% 50%;
}

.za-media--tip-bl {
  border-radius: 50% 50% 50% 3%;
}

.za-media--circle {
  border-radius: 50%;
}

.za-media--wide {
  border-radius: var(--za-round-l) var(--za-round-l) var(--za-round-l) var(--za-tip);
}

/* ---------- 01-01 Hero ---------- */

.za-section.za-hero {
  padding-block-start: calc(clamp(1.5rem, 4vw, 3rem) + var(--za-header-overlay));
}

.za-hero__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 3rem);
}

.za-hero__text {
  position: relative;
  z-index: 2;
}

.za-section .za-hero__text .za-lead {
  margin-block-start: 1.5rem;
  max-width: 30ch;
}

.za-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 2rem;
}

.za-hero__art {
  position: relative;
  width: min(112vw, 40rem);
  margin-inline: calc(var(--za-gutter) * -0.5) -18vw;
  aspect-ratio: 1;
}

/* Originale Logo-Blüte: Ihr Mittelpunkt liegt bei 49,6 % / 50,98 % der Datei und sitzt so genau unter dem Foto. */
.za-section .za-hero__bloom {
  position: absolute;
  top: 2.68%;
  left: 4.86%;
  width: 91%;
}

.za-section .za-hero__photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47%;
  box-shadow: 0 0 0 0.5rem var(--za-color-white);
  transform: translate(-50%, -50%);
}

.za-section .za-hero__zahnanas {
  position: absolute;
  bottom: 1%;
  left: 2%;
  width: 46%;
}

@media (prefers-reduced-motion: no-preference) {
  .za-section .za-hero__bloom {
    animation: za-bloom-in 1.1s var(--za-ease) both;
  }

  .za-section .za-hero__zahnanas {
    animation: za-zahnanas-in 0.8s 0.45s var(--za-ease) both;
  }

  @keyframes za-bloom-in {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
  }

  @keyframes za-zahnanas-in {
    from {
      opacity: 0;
      transform: translateX(1.5rem);
    }
  }
}

@media (min-width: 62rem) {
  .za-section.za-hero {
    padding-block-start: var(--za-header-overlay);
  }

  .za-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    min-height: min(calc(100svh - var(--za-header-height)), 54rem);
  }

  .za-hero__art {
    width: min(56vw, calc(100svh - var(--za-header-height) - 2.5rem), 54rem);
    margin-inline: -5vw -14vw;
    justify-self: start;
  }

  .za-section .za-hero__zahnanas {
    bottom: 3%;
    left: -9%;
    width: 40%;
  }
}

/* ---------- 01-02 Vorstellung ---------- */

.za-arrival {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.za-section .za-arrival__bloom {
  display: none;
}

.za-section .za-arrival__photo {
  width: min(82%, 26rem);
}

.za-arrival__text {
  position: relative;
}

.za-section .za-arrival__text .za-kicker + h2 {
  margin-block-start: 0;
}

.za-section .za-arrival__text h2 + .za-lead {
  margin-block-start: 1.75rem;
}

@media (min-width: 52rem) {
  .za-arrival {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
  }

  .za-section .za-arrival__bloom {
    position: absolute;
    top: -8%;
    left: -28%;
    display: block;
    width: min(70%, 40rem);
    pointer-events: none;
  }

  .za-section .za-arrival__photo {
    position: relative;
    width: 100%;
  }
}

/* ---------- 01-03 Besuch ---------- */

.za-section .za-visit__title {
  max-width: 16ch;
}

.za-visit__track {
  position: relative;
  margin-block-start: clamp(2.5rem, 6vw, 4.5rem);
}

.za-section .za-visit__line {
  display: none;
}

.za-visit__steps {
  display: grid;
  gap: 2.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.za-step {
  position: relative;
  padding-inline-start: 4.75rem;
}

.za-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 4rem;
  bottom: -2.25rem;
  left: 1.75rem;
  border-inline-start: 2px dashed var(--za-color-blue-light);
}

.za-step__number {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.625rem;
  height: 3.625rem;
  border: 2px solid var(--za-color-blue-dark);
  border-radius: 50% 50% var(--za-tip) 50%;
  background: var(--za-color-white);
  color: var(--za-color-blue-dark);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
}

.za-section .za-step h3 {
  margin-block-end: 0.625rem;
}

.za-section .za-step p {
  font-size: 1.0625rem;
}

@media (min-width: 62rem) {
  .za-section .za-visit__line {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 11.25rem;
    overflow: visible;
  }

  .za-section .za-visit__line path {
    fill: none;
    stroke: var(--za-color-blue-light);
    stroke-width: 2;
    stroke-dasharray: 7 8;
    vector-effect: non-scaling-stroke;
  }

  .za-visit__steps {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .za-step {
    padding-inline-start: 0;
  }

  .za-step:not(:last-child)::before {
    display: none;
  }

  .za-step__number {
    position: static;
    margin-block-end: 1.5rem;
  }

  .za-step:nth-child(2) {
    margin-block-start: 3.5rem;
  }

  .za-step:nth-child(3) {
    margin-block-start: 1rem;
  }

  .za-step:nth-child(4) {
    margin-block-start: 4.5rem;
  }
}

/* ---------- 01-04 Zahnanas ---------- */

.za-mascot {
  display: grid;
  gap: 3rem;
}

.za-section .za-mascot__text .za-kicker + h2 {
  margin-block-start: 0;
}

.za-section .za-mascot__claim {
  color: var(--za-color-blue-dark);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 24ch;
}

.za-section .za-mascot__text .za-link {
  margin-block-start: 0.75rem;
}

.za-mascot__art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

/* Der Zahnanas bleibt vollständig sichtbar: keine Überlagerung durch andere Elemente. */
.za-section .za-mascot__figure {
  grid-column: 1 / 11;
  width: 100%;
}

.za-section .za-mascot__photo {
  grid-column: 6 / 13;
  margin-block-start: 1.5rem;
}

@media (min-width: 52rem) {
  .za-mascot {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
  }

  .za-mascot__art {
    order: -1;
  }
}

/* ---------- 01-05 Leistungen ---------- */

.za-section .za-services__title {
  max-width: 14ch;
}

.za-services {
  display: grid;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-block-start: 1px solid var(--za-color-line);
  list-style: none;
}

.za-service {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 6rem;
  padding-block: 1rem;
  border-block-end: 1px solid var(--za-color-line);
}

.za-service__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
}

.za-section .za-service__icon img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.za-service__label {
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 40rem) {
  .za-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (min-width: 62rem) {
  .za-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .za-service {
    min-height: 7.5rem;
  }
}

/* ---------- 01-06 Schatzkiste ---------- */

.za-treasure__card {
  position: relative;
  margin: -2rem 0 0 auto;
  width: calc(100% - 1rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--za-round-m) var(--za-tip) var(--za-round-m) var(--za-round-m);
  background: var(--za-color-white);
  box-shadow: var(--za-shadow-soft);
}

.za-section .za-treasure__card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

@media (min-width: 52rem) {
  .za-section .za-treasure__photo {
    aspect-ratio: 2.2 / 1;
  }

  .za-treasure__card {
    width: min(56%, 34rem);
    margin-block-start: clamp(-12rem, -14vw, -6rem);
    margin-inline-end: clamp(1.5rem, 4vw, 4rem);
  }
}

/* ---------- 01-07 Fragen ---------- */

.za-questions {
  display: grid;
  gap: 2.5rem;
}

.za-section .za-questions__figure {
  width: min(52%, 15rem);
  margin-block-start: 1.5rem;
}

.za-questions__list {
  border-block-start: 1px solid var(--za-color-line);
}

.za-question {
  border-block-end: 1px solid var(--za-color-line);
}

.za-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  color: var(--za-color-blue-dark);
  font-size: var(--za-text-h3);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.za-question summary::-webkit-details-marker {
  display: none;
}

.za-question__marker {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--za-color-blue-dark);
  border-radius: 50% 50% 0.25rem 50%;
}

.za-question__marker::before,
.za-question__marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.875rem;
  height: 2px;
  background: var(--za-color-text);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--za-ease);
}

.za-question__marker::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.za-question[open] .za-question__marker::after {
  transform: translate(-50%, -50%) rotate(0);
}

.za-section .za-question p {
  padding-block-end: 1.75rem;
}

@media (min-width: 52rem) {
  .za-questions {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
  }
}

/* ---------- 01-08 Team ---------- */

.za-team__wrap {
  position: relative;
}

.za-section .za-team__bloom {
  display: none;
}

.za-section .za-team__title {
  position: relative;
  max-width: 18ch;
}

.za-team {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.za-member:first-child {
  grid-column: 1 / -1;
  width: min(70%, 22rem);
}

.za-section .za-member__name {
  margin-block-start: 1rem;
  font-weight: 600;
}

@media (min-width: 62rem) {
  .za-section .za-team__bloom {
    position: absolute;
    top: -8rem;
    right: -10rem;
    display: block;
    width: 26rem;
    pointer-events: none;
  }
}

@media (min-width: 52rem) {
  .za-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .za-member:first-child {
    grid-column: auto;
    width: auto;
  }

  .za-member:nth-child(2) {
    margin-block-start: 5rem;
  }

  .za-member:nth-child(3) {
    margin-block-start: 1.75rem;
  }
}

/* ---------- 01-09 Kontakt ---------- */

.za-section.za-contact-section {
  padding-block-end: var(--za-section-space);
}

.za-contact {
  padding: clamp(0.75rem, 3vw, 2.5rem);
  border-radius: var(--za-round-l) var(--za-round-l) var(--za-tip) var(--za-round-l);
  background: var(--za-gradient-brand);
}

.za-contact__card {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.75rem, 5vw, 4.5rem);
  border-radius: calc(var(--za-round-l) * 0.75) calc(var(--za-round-l) * 0.75) var(--za-tip) calc(var(--za-round-l) * 0.75);
  background: var(--za-color-white);
}

.za-contact__phone,
.za-contact__phone:visited,
.za-contact__phone:hover {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block: 1.25rem 1.5rem;
  color: var(--za-color-text);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: var(--za-color-pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.za-contact__address {
  font-style: normal;
  margin-block-end: 1rem;
}

.za-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-block-start: 2rem;
}

/* Online-Rezeption: die wichtigste Handlung des Abschnitts */
.za-section .za-reception,
.za-section .za-reception:visited,
.za-section .za-reception:hover {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px 999px var(--za-tip) 999px;
  background: var(--za-color-text);
  color: var(--za-color-white);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s var(--za-ease);
}

.za-section .za-reception:hover {
  background: var(--za-color-text-deep);
}

.za-reception__text {
  display: grid;
  gap: 0.125rem;
}

.za-reception__title {
  font-size: clamp(1.125rem, 0.75rem + 1.5vw, 1.5rem);
  font-weight: 700;
}

.za-reception__hint {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Gebäudebild: eckig oder freigestellt, das ganze Motiv bleibt in seinem eigenen Seitenverhältnis sichtbar. */
.za-section .za-contact__image {
  justify-self: center;
  width: 100%;
  max-width: 30rem;
  max-height: min(85svh, 40rem);
  object-fit: contain;
}

@media (min-width: 62rem) {
  .za-contact__card {
    grid-template-columns: minmax(23.5rem, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }

  .za-section .za-contact__image {
    max-width: none;
  }
}

/* ---------- 01-10 Footer ---------- */

.za-section.za-signature {
  padding-block: 0 1.5rem;
}

.za-signature__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 clamp(1.25rem, 3vw, 2rem);
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--za-color-line);
  font-size: 0.875rem;
  text-align: center;
}

.za-signature__link,
.za-signature__link:visited,
.za-signature__link:hover {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--za-color-text);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--za-color-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition:
    color 0.2s var(--za-ease),
    text-decoration-color 0.2s var(--za-ease);
}

.za-signature__link:hover {
  color: var(--za-color-text-deep);
  text-decoration-color: var(--za-color-pink);
}

/* ---------- 00-01 Header ---------- */

.za-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgb(255 255 255 / 0.96);
  color: var(--za-color-text);
  font-family: var(--za-font);
  font-size: var(--za-text-body);
  font-weight: 500;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

.za-header *,
.za-header *::before,
.za-header *::after {
  box-sizing: border-box;
  hyphens: manual;
}

.za-header :focus-visible {
  outline: 3px solid var(--za-color-text);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.za-header [hidden] {
  display: none;
}

.za-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--za-header-height);
}

.za-header__brand,
.za-header__brand:visited,
.za-header__brand:hover {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  color: var(--za-color-text);
  text-decoration: none;
}

.za-header .za-header__brand img {
  display: block;
  width: 2.75rem;
  max-width: 100%;
  height: auto;
}

.za-header__brand-text {
  display: grid;
  line-height: 1.2;
}

.za-header__brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.za-header__brand-practice {
  font-size: 0.875rem;
}

.za-header .za-header__nav,
.za-header .za-header__actions,
.za-header .za-header__phone {
  display: none;
}

.za-header .za-header__actions .za-btn {
  min-height: 2.75rem;
  padding-block: 0.25rem;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.za-header__menu summary {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--za-color-text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.za-header__menu summary::-webkit-details-marker {
  display: none;
}

.za-header__menu-icon {
  width: 1.625rem;
  height: 0.75rem;
  border-block: 2px solid var(--za-color-text);
  transition: height 0.2s var(--za-ease);
}

.za-header__menu[open] .za-header__menu-icon {
  height: 2px;
  border-block-end-width: 0;
}

.za-header__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  gap: 0.25rem;
  max-height: calc(100svh - var(--za-header-height));
  padding: 1rem var(--za-gutter) 2rem;
  overflow-y: auto;
  background: var(--za-color-white);
  box-shadow: var(--za-shadow-soft);
}

.za-header__panel-actions {
  display: grid;
  gap: 0.625rem;
  margin-block-end: 0.75rem;
}

.za-header .za-header__panel a:not(.za-btn),
.za-header .za-header__panel a:not(.za-btn):visited,
.za-header .za-header__panel a:not(.za-btn):hover {
  display: flex;
  align-items: center;
  min-height: 3rem;
  color: var(--za-color-text);
  font-size: 1.375rem;
  font-weight: 600;
  text-decoration: none;
}

.za-header .za-header__panel [hidden] {
  display: none;
}

@media (min-width: 40rem) {
  .za-header .za-header__actions {
    display: flex;
    gap: 0.75rem;
    margin-inline-start: auto;
  }
}

@media (min-width: 52rem) {
  .za-header .za-header__phone {
    display: inline-flex;
  }
}

/* Volle Navigation erst, wenn sie mit beiden Buttons in eine Zeile passt */
@media (min-width: 76rem) {
  .za-header__menu {
    display: none;
  }

  .za-header .za-header__nav {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    margin-inline-start: auto;
  }

  .za-header .za-header__nav a,
  .za-header .za-header__nav a:visited,
  .za-header .za-header__nav a:hover {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--za-color-text);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    text-decoration-color: var(--za-color-pink);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4em;
  }

  .za-header .za-header__nav a:hover {
    text-decoration-line: underline;
  }

  .za-header .za-header__nav [hidden] {
    display: none;
  }

  .za-header .za-header__actions {
    margin-inline-start: 0;
  }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  .za-section *,
  .za-section *::before,
  .za-section *::after,
  .za-header *,
  .za-header *::before,
  .za-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

