/* Kontakt (/kontakt/) und Kontaktformular (/anfrage/) */

/* =========================================================================
   Shared bits
   ========================================================================= */
.page-kontakt { --overlap: clamp(64px, 8vw, 116px); --hero-pb: clamp(40px, 5vw, 64px); }

/* short hand-drawn stroke under a hero title (the lime bar of the mockups) */
.title-with-stroke { position: relative; }
.title-stroke {
  display: block; width: 86px; height: 12px; margin-top: .32em; overflow: visible;
  fill: none; stroke: var(--lime-500); stroke-width: 6; stroke-linecap: round;
}

/* copy-to-clipboard button (behaviour: main.js [data-copy]) */
.copy-btn {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0;
  border-radius: 12px; border: 1.5px solid var(--paper-3); background: var(--paper); color: var(--muted);
  transition: color .2s, border-color .2s, background-color .2s, transform .35s var(--ease-spring);
}
.copy-btn .i { width: 18px; height: 18px; }
.copy-btn:hover { color: var(--green-ink); border-color: var(--lime-500); background: #fff; transform: translateY(-2px) rotate(-4deg); }
.copy-btn:active { transform: scale(.94); }
html:not(.js) .copy-btn { display: none; }          /* copying needs JS – the links still work */

/* live status without JS has no text – hide the empty dot */
.status-dot:empty { display: none; }

/* =========================================================================
   /kontakt/ – hero
   ========================================================================= */
.contact-hero {
  align-items: stretch; min-height: 0;
  padding-bottom: calc(var(--hero-pb) + var(--overlap));
}
/* the wide reception photo needs its <picture> stretched, otherwise it stops at its natural height */
.contact-hero .page-hero__media picture, .anfrage-hero .page-hero__media picture { height: 100%; }
.contact-hero .page-hero__media img { object-position: 100% 35%; filter: saturate(.8) blur(1.5px); }
.contact-hero .page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(3, 18, 10, .97) 0%, rgba(4, 22, 12, .9) 40%, rgba(7, 34, 19, .7) 72%, rgba(7, 34, 19, .62) 100%),
    linear-gradient(0deg, rgba(3, 18, 10, .7), transparent 45%);
}
.contact-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 88px); align-items: end;
}
.contact-hero__content { gap: 18px; max-width: 620px; }
.contact-hero__content .h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); }
.contact-hero__lead {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.32; color: #fff; font-weight: 500; max-width: 26ch;
}
.contact-hero__text { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 52ch; }

.contact-points { display: grid; margin-top: 10px; max-width: 500px; }
.contact-point { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.contact-point + .contact-point { border-top: 1px solid var(--line-light); }
.contact-point .badge-icon { width: 58px; height: 58px; box-shadow: 0 0 0 4px rgba(124, 194, 46, .14), 0 10px 22px -10px rgba(0, 0, 0, .6); }
.contact-point .badge-icon .i { width: 27px; height: 27px; }
.contact-point__title { font-family: var(--font-display); font-size: 1.24rem; font-weight: 650; letter-spacing: -.01em; color: #fff; line-height: 1.2; }
.contact-point__sub { margin-top: 2px; font-size: .98rem; color: var(--on-dark-muted); }
.contact-point:hover .badge-icon .i { animation: wiggle .6s var(--ease-out); }

/* the photo of the colleague on the phone */
.contact-hero__photo {
  position: relative; z-index: 1; justify-self: end; width: min(100%, 450px);
  margin-bottom: calc((var(--hero-pb) + var(--overlap) * .32) * -1);   /* tucks the photo's lower edge under the card */
}
.contact-hero__photo picture {
  display: block; aspect-ratio: 4 / 4.9; overflow: hidden; border-radius: var(--radius-l);
  box-shadow: 0 0 0 1px rgba(183, 224, 122, .18), 0 40px 80px -36px rgba(0, 0, 0, .8);
}
.contact-hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  transform: scale(1.1); transform-origin: 60% 82%;           /* trims the cut-off wall lettering + crop edges of the source photo */
}
.photo-sticker {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  padding: 9px 16px 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: .92rem; box-shadow: 0 10px 24px -12px rgba(3, 18, 10, .55);
}
.photo-sticker:has(.status-dot:empty) { display: none; }
.photo-sticker .status-dot { color: var(--ink); }
.js .contact-hero__photo .photo-sticker { opacity: 0; translate: 0 -8px; }
.js .contact-hero__photo.is-in .photo-sticker { opacity: 1; translate: 0 0; transition: opacity .6s 1.3s var(--ease-out), translate .8s 1.3s var(--ease-spring); }
.photo-note {
  position: absolute; left: -96px; top: 44%; z-index: 2; width: 178px;
  padding: 14px 18px 12px; font-size: 1.65rem; rotate: -5deg;
}
.photo-note svg {
  position: absolute; left: 10px; top: calc(100% - 6px); width: 64px; height: 50px;
  fill: none; stroke: var(--lime-400); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(3, 18, 10, .55));
}

/* =========================================================================
   /kontakt/ – the white contact card
   ========================================================================= */
.contact-desk { padding-top: 0; padding-bottom: clamp(56px, 7vw, 104px); }
.contact-card {
  position: relative; z-index: 2; margin-top: calc(var(--overlap) * -1);
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  background: var(--white); border-radius: var(--radius-l);
  box-shadow: 0 2px 6px rgba(3, 18, 10, .06), 0 40px 80px -40px rgba(3, 18, 10, .5);
}
.contact-card__main { padding: clamp(24px, 3.4vw, 46px); }
.contact-card__side {
  display: grid; align-content: start; gap: 26px;
  padding: clamp(24px, 3.4vw, 46px); border-left: 1px solid var(--line);
}
.contact-card__head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.contact-card__head .badge-icon { width: 70px; height: 70px; }
.contact-card__title { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.1rem); letter-spacing: -.02em; }
.contact-card__sub { margin-top: 4px; color: var(--muted); font-size: 1.05rem; }

.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 2.6vw, 36px); }
.contact-item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.contact-item__body { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.contact-item__label { font-weight: 700; font-size: 1.04rem; line-height: 1.3; }
.contact-item__note { font-weight: 500; color: var(--muted); }
.contact-item__value { color: var(--ink-2); line-height: 1.45; overflow-wrap: break-word; }
.contact-item__link { font-weight: 600; text-decoration: none; color: var(--forest-800); background: linear-gradient(var(--lime-500), var(--lime-500)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease-out); }
.contact-item__link:hover { background-size: 100% 2px; }
.contact-item__route { margin-top: 6px; font-size: .94rem; }

.contact-sign {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 6px; padding-top: 20px;
  border-top: 1px dashed rgba(47, 116, 20, .35);
}
.contact-sign__label { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-sign__name { font-family: var(--font-hand); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--forest-800); rotate: -2deg; }
.contact-sign__role { color: var(--ink-2); font-size: .98rem; }

.online { display: grid; gap: 10px; justify-items: start; }
.online__title { font-size: 1.32rem; letter-spacing: -.01em; }
.online__text { color: var(--muted); max-width: 32ch; }
.online__btn { margin-top: 8px; }
.online__btn .i:first-child { transition: transform .5s var(--ease-spring); }
.online__btn:hover .i:first-child { transform: translate(3px, -3px) rotate(-8deg); }

.hours {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px;
  padding: 22px 22px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, #f2f8e8, #e7f2d6); border: 1px solid rgba(124, 194, 46, .28);
}
.hours__icon { width: 30px; height: 30px; color: var(--green-ink); margin-top: 2px; }
.hours__body { display: grid; gap: 10px; }
.hours__title { font-size: 1.16rem; letter-spacing: -.01em; }
.hours__time { color: var(--ink-2); line-height: 1.45; }
.week { display: flex; gap: 5px; }
.week li {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); border: 1.5px dashed rgba(86, 101, 91, .4);
}
.week li.is-on { background: var(--lime-500); border: 0; color: var(--forest-950); }
.hours__live { font-size: .95rem; }
.hours__live:has(.status-dot:empty) { display: none; }
.hours__note { padding-top: 12px; border-top: 1px solid rgba(47, 116, 20, .2); color: var(--ink-2); }

/* =========================================================================
   /kontakt/ – values + locations
   ========================================================================= */
.contact-values__title { margin-bottom: 26px; font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.2rem); font-weight: 600; color: var(--lime-300); rotate: -1.5deg; transform-origin: left; }

.contact-where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.contact-where__text { display: grid; gap: 20px; justify-items: start; }
.where-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 8px; }
.where-card {
  display: grid; gap: 6px; align-content: start; justify-items: start; padding: 22px;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.where-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.where-card .badge-icon { margin-bottom: 8px; }
.where-card__title { font-size: 1.22rem; }
.where-card__note { font-size: .9rem; font-weight: 600; color: var(--green-ink); }
.where-card__addr { color: var(--ink-2); line-height: 1.5; margin-bottom: 6px; }
.where-card .link-arrow { margin-top: auto; }

.contact-where__map { position: relative; display: grid; justify-items: center; }
.contact-where .ch-map { width: 100%; max-width: 620px; }
.where-hand { justify-self: end; margin: -6px 6% 0 0; font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); color: var(--green-ink); rotate: -4deg; }

/* =========================================================================
   /anfrage/ – hero with form
   ========================================================================= */
.anfrage-hero.page-hero {
  display: block; min-height: 0;
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(56px, 7vw, 110px);
}
.anfrage-hero .page-hero__media {
  bottom: auto; height: min(900px, 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent);
  mask-image: linear-gradient(180deg, #000 45%, transparent);
}
.anfrage-hero .page-hero__media img { object-position: 100% 35%; filter: saturate(.8) blur(2px); }
.anfrage-hero .page-hero__media::after {
  background: linear-gradient(90deg, rgba(3, 18, 10, .96) 0%, rgba(4, 22, 12, .88) 40%, rgba(7, 34, 19, .66) 72%, rgba(7, 34, 19, .55) 100%);
}
.anfrage-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "intro form" "aside form"; grid-template-rows: auto 1fr;
  gap: 0 clamp(36px, 5vw, 84px); align-items: start;
}
.anfrage-intro { grid-area: intro; gap: 20px; max-width: 600px; padding-top: clamp(8px, 2vw, 28px); }
.anfrage-title {
  font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.1rem); font-weight: 750; line-height: 1.02; letter-spacing: -.032em;
  font-variation-settings: "opsz" 96; color: #fff;
}
.anfrage-intro__text { color: var(--on-dark-muted); font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); max-width: 46ch; }

.anfrage-aside { grid-area: aside; padding-top: clamp(28px, 3.5vw, 44px); }
.anfrage-contacts { display: grid; gap: 26px; }
.anfrage-contact { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; }
.anfrage-contact .badge-icon { box-shadow: 0 0 0 4px rgba(124, 194, 46, .14), 0 10px 22px -10px rgba(0, 0, 0, .6); }
.anfrage-contact__label { font-family: var(--font-display); font-size: 1.14rem; font-weight: 650; color: #fff; }
.anfrage-contact__big { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); font-weight: 600; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.anfrage-contact__big--mail { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); }
.anfrage-contact__big:hover { color: var(--lime-400); text-decoration: underline; text-decoration-thickness: 2px; }
.anfrage-contact__meta { margin-top: 2px; font-size: .95rem; color: var(--on-dark-muted); line-height: 1.45; max-width: 30ch; }
.anfrage-sites { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 6px 0; margin-top: 6px; color: var(--on-dark-muted); line-height: 1.45; }
.anfrage-sites p { padding-right: 22px; }
.anfrage-sites p + p { padding: 0 0 0 22px; border-left: 1px solid var(--line-light); }
.anfrage-sites strong { display: block; color: #fff; font-weight: 650; }

.anfrage-photo { position: relative; width: min(100%, 330px); margin-top: clamp(40px, 5vw, 64px); }
.anfrage-photo picture { display: block; aspect-ratio: 4 / 4.7; overflow: hidden; border-radius: var(--radius-l); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .85); }
.anfrage-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.17); transform-origin: 55% 100%; }
.anfrage-photo .note {
  position: absolute; left: 58%; bottom: 26px; width: 250px; padding: 18px 22px 20px;
  font-size: 1.72rem; line-height: 1.08; rotate: -4deg;
}
.anfrage-photo .note .i { width: 34px; height: 34px; margin-bottom: 4px; }

/* ---------- form card ---------- */
.form-card {
  grid-area: form; position: relative; overflow: hidden;
  padding: clamp(22px, 3.2vw, 46px); border-radius: var(--radius-l);
  background: var(--white); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 50px 90px -40px rgba(0, 0, 0, .75);
  animation: form-card-in 1.1s var(--ease-out) .35s both;
}
@keyframes form-card-in { from { opacity: 0; transform: translateY(34px) rotate(.6deg); } }
/* undo the dark-section colours inside the white card */
.form-card .eyebrow { color: var(--green-ink); }
.form-card .hl { color: var(--green-ink); }
.form-card :focus-visible { outline-color: var(--lime-600); }
.form-card .link-arrow { color: var(--green-ink); }
.form-card .btn--ghost { --btn-fg: var(--forest-800); --btn-bd: rgba(14, 53, 30, .35); }
.form-card .btn--ghost:hover { --btn-bd: var(--forest-800); }

.form-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: center; margin-bottom: clamp(24px, 3vw, 34px); }
.form-card__badge { grid-row: span 3; align-self: start; width: 78px; height: 78px; box-shadow: 0 0 0 5px #e9f4da, 0 12px 24px -12px rgba(3, 18, 10, .6); }
.form-card__badge .i { width: 34px; height: 34px; }
.form-card__eyebrow { font-size: .78rem; }
.form-card__title { font-size: clamp(2rem, 1.5rem + 1.7vw, 3rem); font-weight: 750; letter-spacing: -.03em; }
.form-card__intro { margin-top: 6px; color: var(--muted); max-width: 46ch; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field--full { grid-column: 1 / -1; }
.field__opt { font-weight: 500; color: var(--muted); }
.field__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field__hand { font-size: 1.35rem; color: var(--green-ink); rotate: -3deg; white-space: nowrap; }

/* a small drawn tick appears once a field is filled in correctly */
.field .input-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; scale: .4; transition: opacity .25s, scale .45s var(--ease-spring);
}
.field .input-wrap--area::after { top: 22px; }
.field.is-valid .input-wrap::after { opacity: 1; scale: 1; }
.field.is-valid .input { padding-right: 42px; }
.field.has-error .input-wrap > .i { color: #b3261e; }
.field__error { display: flex; align-items: flex-start; gap: 7px; line-height: 1.35; }
.field__error::before {
  content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: #b3261e; color: #fff; font-size: .72rem; font-weight: 800;
}
.field.has-error .field__error { animation: err-in .35s var(--ease-out); }
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }

/* topic chips */
.topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.topics legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; }
.topics legend + * { clear: both; }
.topics__preset { margin: -4px 0 10px; font-size: 1.3rem; color: var(--green-ink); rotate: -1.5deg; transform-origin: left; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr)); gap: 10px; }
.chip {
  position: relative; display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 9px 14px 9px 12px;
  border-radius: 12px; border: 1.5px solid var(--paper-3); background: var(--paper);
  font-size: .97rem; font-weight: 550; line-height: 1.2; cursor: pointer; -webkit-user-select: none; user-select: none;
  transition: border-color .2s, background-color .2s, box-shadow .25s, transform .35s var(--ease-spring);
}
.chip:hover { border-color: #cdc8b6; background: #fff; }
.chip:active { transform: scale(.98); }
.chip__icon { width: 22px; height: 22px; color: var(--green-ink); transition: transform .5s var(--ease-spring); }
.chip__text { min-width: 0; }
.chip:has(input:checked) { border-color: var(--lime-500); background: #f1f8e6; box-shadow: 0 0 0 3px rgba(124, 194, 46, .18); }
.chip:has(input:checked) .chip__icon { transform: rotate(-10deg) scale(1.12); }
.chip:has(input:focus-visible) { outline: 3px solid var(--lime-600); outline-offset: 2px; }
.topics.has-error .chip:not(:has(input:checked)) { border-color: rgba(179, 38, 30, .45); }

/* custom checkbox (chips + consent) – no pseudo elements on <input>, Safari-safe */
.chip input, .check {
  -webkit-appearance: none; appearance: none; flex: none; display: block;
  width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid #b3ad9b; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303120a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center / 0 no-repeat;
  transition: background-color .2s, border-color .2s, background-size .35s var(--ease-spring);
}
.chip input:focus-visible { outline: none; }
.chip input:checked, .check:checked { background-color: var(--lime-500); border-color: var(--lime-600); background-size: 15px; }
.check:focus-visible { outline: 3px solid var(--lime-600); outline-offset: 2px; }
.has-error .check { border-color: #b3261e; }

.consent__label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .94rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent__label .check { margin-top: 1px; }
.consent__label a { color: var(--green-ink); font-weight: 600; }
.consent .req { color: var(--green-ink); }

/* honeypot */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-summary {
  margin-top: 24px; padding: 14px 18px; border-radius: 12px;
  background: #fff4f2; border: 1.5px solid rgba(179, 38, 30, .32); color: #8c1d16; font-size: .95rem;
}
.form-summary__title { font-weight: 700; }
.form-summary__list { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.form-summary__list a { color: #b3261e; font-weight: 600; text-underline-offset: .2em; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 26px; }
.form-submit .form-submit__plane { transition: transform .5s var(--ease-spring); }
.form-submit:hover .form-submit__plane { transform: translate(3px, -3px) rotate(-8deg); }
.form-submit[aria-busy="true"] { cursor: progress; opacity: .85; }
.form-submit[aria-busy="true"] .form-submit__plane { animation: plane-hover 1s ease-in-out infinite; }
@keyframes plane-hover { 50% { transform: translate(4px, -4px) rotate(-10deg); } }
.trust { display: flex; flex-wrap: wrap; row-gap: 10px; }
.trust li { display: flex; align-items: center; gap: 9px; padding: 2px 14px; font-size: .82rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); max-width: 11.5em; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .i { width: 26px; height: 26px; color: var(--green-ink); stroke-width: 1.7; }

.form-error {
  display: grid; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: 12px;
  background: #fff4f2; border: 1.5px solid rgba(179, 38, 30, .32); color: #8c1d16; font-size: .95rem;
}
.form-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* ---------- leaving / success ---------- */
.form-card.is-leaving > :not(.sent) { opacity: 0; transform: translateY(-12px) scale(.985); transition: opacity .35s var(--ease-out), transform .4s var(--ease-out); }

.sent { display: grid; gap: 14px; justify-items: start; }
.sent[hidden] { display: none; }
.sent__flight {
  width: calc(100% + 2 * clamp(22px, 3.2vw, 46px)); max-width: none; height: auto; overflow: visible;
  margin: calc(clamp(22px, 3.2vw, 46px) * -.4) calc(clamp(22px, 3.2vw, 46px) * -1) -10px;
}
.sent__trail { fill: none; stroke: var(--lime-600); stroke-width: 2.4; stroke-dasharray: 2 9; stroke-linecap: round; }
.sent__trail-reveal { fill: none; stroke: #fff; stroke-width: 18; stroke-linecap: round; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.is-flying .sent__trail-reveal { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.42, 0, .3, 1); }
.sent__plane path { stroke: var(--forest-800); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.sent__plane-top { fill: #fff; }
.sent__plane-low { fill: var(--lime-300); }
.sent__plane-fold { fill: none; }
.sent__plane--fly { opacity: 0; }
.is-flying .sent__plane--fly { opacity: 1; }
.sent__plane--rest { display: none; }

.sent__thanks {
  font-family: var(--font-hand); font-weight: 700; font-size: clamp(3.4rem, 2.4rem + 3.4vw, 5.4rem); line-height: .95;
  color: var(--green-ink); rotate: -4deg; transform-origin: left bottom; padding-right: .2em;
  clip-path: inset(-10% 100% -20% 0);
}
.is-flying .sent__thanks { animation: write-in 1.2s var(--ease-out) .8s forwards; }
@keyframes write-in { to { clip-path: inset(-10% -5% -20% 0); } }
.sent__title { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -.02em; outline: none; }
.sent__text { color: var(--ink-2); max-width: 52ch; }
.sent__fallback { display: grid; gap: 12px; width: 100%; padding: 16px 18px; border-radius: 12px; background: var(--paper); font-size: .95rem; color: var(--ink-2); }
.sent__fallback a:not(.btn) { color: var(--green-ink); font-weight: 600; white-space: nowrap; }
.sent__next { width: 100%; margin-top: 8px; padding-top: 20px; border-top: 1px dashed var(--paper-3); }
.sent__h { font-size: 1.12rem; margin-bottom: 14px; }
.sent__steps { display: grid; gap: 14px; counter-reset: sent; }
.sent__steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; counter-increment: sent; color: var(--ink-2); line-height: 1.5; }
.sent__steps li::before { content: counter(sent); font-family: var(--font-hand); font-size: 2.1rem; font-weight: 700; line-height: .9; color: var(--green-ink); text-align: center; }
.sent__steps strong { color: var(--ink); }
.sent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 10px; }
.is-flying .sent > :not(.sent__flight):not(.sent__thanks) { animation: sent-rise .8s var(--ease-out) var(--sd, 1.3s) both; }
.sent__text { --sd: 1.4s; }
.sent__fallback { --sd: 1.5s; }
.sent__next { --sd: 1.6s; }
.sent__actions { --sd: 1.75s; }
@keyframes sent-rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  .sent__plane--fly { display: none; }
  .sent__plane--rest { display: inline; }
  .sent__trail-reveal { stroke-dashoffset: 0; }
  .sent__thanks { clip-path: none; }
  .sent, .sent * { --sd: 0s; }
  .is-flying .sent__thanks { animation-delay: 0s; }
  .form-card { animation: none; }
  .js .contact-hero__photo.is-in .photo-sticker { transition-delay: 0s; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1240px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; border-left: 0; border-top: 1px solid var(--line); }
  .photo-note { left: -60px; }
}
@media (max-width: 1060px) {
  .anfrage-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "aside"; gap: 0; }
  .anfrage-intro { max-width: 680px; padding-bottom: 32px; }
  .anfrage-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px 48px; align-items: start; padding-top: 48px; }
  .anfrage-photo { margin-top: 0; justify-self: center; }
  .anfrage-photo .note { left: auto; right: -12px; bottom: -26px; width: 210px; padding: 14px 18px 16px; font-size: 1.42rem; }
  .anfrage-photo .note .i { width: 28px; height: 28px; }
}
@media (max-width: 900px) {
  .contact-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-hero__photo { justify-self: center; width: min(100%, 420px); margin-top: 8px; }
  .photo-note { left: auto; right: -10px; top: auto; bottom: 30%; width: 160px; font-size: 1.5rem; }
  .photo-note svg { display: none; }
  .contact-where__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-where .ch-map { max-width: 520px; }
}
@media (max-width: 720px) {
  .contact-hero .page-hero__media::after,
  .anfrage-hero .page-hero__media::after { background: linear-gradient(0deg, rgba(3, 18, 10, .97) 20%, rgba(4, 22, 12, .86) 60%, rgba(7, 34, 19, .6)); }
  .contact-list { grid-template-columns: minmax(0, 1fr); }
  .contact-card__side { grid-template-columns: minmax(0, 1fr); }
  .anfrage-aside { grid-template-columns: minmax(0, 1fr); }
  .anfrage-photo { justify-self: start; width: min(78%, 300px); }
  .anfrage-photo { margin-bottom: 20px; }
  .anfrage-photo .note { right: -24%; bottom: -20px; width: 200px; }
}
@media (max-width: 560px) {
  .contact-hero__photo picture { aspect-ratio: 4 / 4.2; }
  .contact-hero__photo img { object-position: 60% 22%; }
  .contact-card__head .badge-icon { width: 56px; height: 56px; }
  .contact-card__head .badge-icon .i { width: 26px; height: 26px; }
  .contact-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; }
  .where-cards { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card__head { grid-template-columns: minmax(0, 1fr); }
  .form-card__badge { grid-row: auto; width: 60px; height: 60px; margin-bottom: 10px; }
  .form-card__badge .i { width: 28px; height: 28px; }
  .form-foot .btn { width: 100%; }
  .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .trust li, .trust li:first-child { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 2px 6px; text-align: center; font-size: .78rem; max-width: none; }
  .anfrage-sites { grid-template-columns: minmax(0, 1fr); }
  .anfrage-sites p { padding: 0; }
  .anfrage-sites p + p { padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .field__hand { display: none; }
  .hours { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 18px 16px; }
  .hours__icon { width: 26px; height: 26px; }
  .week { gap: 4px; }
  .week li { width: 26px; height: 26px; font-size: .68rem; }
  .photo-note { right: -2px; }
}

/* review fix: long topic names (e.g. «Reinraumreinigung») must wrap inside their chip on tablets */
.chips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); }
.chip { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
