@import url("contact.css?v=19");
:root {
  --header-height: 82px;
  --type-h1: clamp(44px, 4.6vw, 68px);
  --type-h2: clamp(31px, 3vw, 42px);
  --shadow-soft: 0 12px 32px rgba(32, 39, 45, .08);
}

body { min-width: 0; font-size: 16px; line-height: 1.6; overflow-x: clip; }
site-header, site-footer, contact-form-modal, site-news { display: block; }
.global-wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.site-shell { width: 100%; min-height: calc(100vh - var(--header-height)); }
.site-main { min-width: 0; }
.site-main > .wrap,
.site-main .statement .wrap,
.site-main .projects .wrap,
  .site-main .contact .wrap { width: min(1080px, calc(100% - 48px)); }

/* Sichtbare, ruhige Navigation ohne feste oder ausklappbare Menüs */
.site-header { min-height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 32px; }
.header-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; }
.header-nav a, .header-nav button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.header-nav a:hover, .header-nav a:focus-visible, .header-nav button:hover, .header-nav button:focus-visible { color: var(--orange); }
.header-nav button { padding: 11px 17px; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; }
.header-nav button:hover, .header-nav button:focus-visible { background: var(--orange-dark); color: #fff; }

/* Startseite */
.site-main .hero { position: relative; min-height: 540px; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr); gap: clamp(30px, 4vw, 56px); padding-block: clamp(44px, 5vw, 62px); }
.site-main .hero > site-news { position: absolute; left: calc((100vw - 1180px) / -2 + 55px); top: 50%; width: 280px; transform: translateY(-50%); }
.page-news { padding: 24px 22px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--warm); box-shadow: var(--shadow-soft); text-align: left; }
.page-news[hidden] { display: none; }
.page-news.is-important { background: #fff1e7; }
.page-news__content { display: grid; gap: 8px; }
.page-news__label { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-news__date { color: var(--muted); font-size: 11px; }
.page-news__title { font-size: 21px; line-height: 1.2; }
.page-news__text { margin: 2px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.page-news__link { width: max-content; color: var(--orange); font-size: 12px; font-weight: 700; }
.page-news__navigation { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.page-news__navigation button { width: 34px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; }
.site-main h1 { max-width: 830px; font-size: var(--type-h1); letter-spacing: -.055em; }
.site-main .hero .lead { max-width: 680px; }
.site-main .hero-art { width: 100%; max-width: 620px; justify-self: end; }
.site-main .hero-art .brand-mark { transform: none; }
.site-main .hero-art .n2 { right: 52px; bottom: 18px; white-space: nowrap; }
.site-main .eyebrow, .site-main .label, .site-main .overline { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .2px; text-transform: none; }
.site-main .section-head h2, .site-main .values h2, .site-main .contact h2 { font-size: var(--type-h2); }
.brand-mark { position: relative; z-index: 2; width: 180px; height: 164px; display: grid; place-items: center; border: 15px solid var(--orange); border-radius: 44px 50px 50px 44px; background: var(--paper); }
.brand-mark::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -42px; height: 20px; border-bottom: 9px solid var(--orange); border-radius: 50%; }
.brand-mark i { position: absolute; right: 30px; bottom: 30px; width: 25px; height: 25px; border-radius: 50%; background: var(--orange); }
.work-overview { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: clamp(34px, 6vw, 72px); align-items: center; min-height: 350px; padding: clamp(30px, 5vw, 52px); border-radius: 22px; background: var(--warm); }
.work-overview .browser { margin: 0 auto; border-color: var(--orange); }
.work-overview .browser::before { border-color: var(--orange); }
.work-overview .browser i { background: var(--orange); }
.work-overview h3 { margin-bottom: 16px; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -1.7px; }
.work-overview p:not(.overline) { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.project-grid article { min-height: 300px; display: flex; flex-direction: column; padding: 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 15px; }
.project-number { align-self: flex-end; color: var(--orange); font-size: 11px; font-weight: 800; }
.project-grid .project-icon { width: 58px; height: 58px; margin: 18px 0 22px; }
.project-grid .project-icon svg { display:block; width:100%; height:100%; }
.school-project-icon { overflow: visible; }
.project-grid small { color: var(--orange); font-weight: 700; }
.project-grid h3 { margin: 7px 0 12px; font-size: 24px; }
.project-grid p { color: #aeb4b7; line-height: 1.55; }
.project-grid a, .coming-soon { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 11px; font-weight: 700; }
.project-grid a { display: flex; justify-content: space-between; }
.project-grid a:hover { color: var(--orange); }
.recipe-icon { display: grid; place-items: center; border: 6px solid var(--orange); border-radius: 16px 16px 50% 50%; color: #fff; font-size: 25px; font-weight: 800; }
.coming-soon { color: #aeb4b7; }
.contact-inner { min-height: 280px; }
.technology-notes { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:28px; }
.technology-notes article { padding:24px; border:1px solid rgba(255,255,255,.18); border-radius:15px; background:rgba(255,255,255,.035); }
.technology-notes .label { color:var(--orange); }
.technology-notes h3 { margin:10px 0 12px; font-size:22px; }
.technology-notes p:not(.label) { margin-bottom:10px; color:#aeb4b7; line-height:1.65; }
.technology-notes p:last-child { margin-bottom:0; }
.contact-inner > div > p:last-child { max-width: 650px; margin: 22px 0 0; color: rgba(255, 255, 255, .9); line-height: 1.65; }
.contact-open-button { border: 0; font: inherit; cursor: pointer; }

/* Produktseiten */
.product-page { overflow: visible; }
.product-hero { width: min(1080px, calc(100% - 48px)); }
.product-visual { overflow: hidden; }
.time-pill { right: clamp(64px, 14%, 84px); bottom: clamp(44px, 12%, 60px); max-width: calc(100% - 128px); white-space: nowrap; }
.recipe-visual { display: grid; place-items: center; }
.recipe-book { position: relative; z-index: 2; width: 240px; height: 285px; padding: 42px 28px; border: 8px solid var(--orange); border-radius: 12px 28px 28px 12px; background: #fff; box-shadow: var(--shadow-soft); }
.recipe-book::before { content: ""; position: absolute; top: 0; bottom: 0; left: 24px; border-left: 2px solid var(--line); }
.recipe-book strong { display: block; margin-left: 20px; font-size: 30px; line-height: 1.1; }
.recipe-book span { display: block; margin: 18px 0 0 20px; color: var(--orange); font-size: 12px; font-weight: 700; }

/* Kontaktformular: die einzige interaktive Kontaktlösung */
.contact-direct { display: grid; gap: 10px; padding: 0 0 2px; }
.contact-direct h3 { margin: 0; color: var(--ink); font-size: 20px; line-height: 1.2; letter-spacing: -.4px; }
.contact-direct > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.contact-direct__card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.5); }
.contact-direct__card strong { color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.contact-direct__copy { min-height: 38px; padding: 0 14px; border: 1px solid var(--orange); border-radius: 7px; background: transparent; color: var(--orange); font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.contact-direct__copy:hover, .contact-direct__copy:focus-visible { background: var(--orange); color: #fff; }
.contact-direct__feedback { grid-column: 1 / -1; min-height: 0; color: var(--muted); font-size: 10px; }

.small-label { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--orange); font-size: 11px; font-weight: 800; }
.small-label span { width: 18px; height: 2px; background: var(--orange); }
.contact-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(32, 39, 45, .28); overflow: auto; }
.contact-dialog::backdrop { background: rgba(32, 39, 45, .62); backdrop-filter: blur(5px); }
.contact-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 30px 36px 24px; border-bottom: 1px solid var(--line); }
.contact-dialog__head h2 { margin: 0; font-size: clamp(30px, 3.3vw, 40px); line-height: 1.08; letter-spacing: -1.6px; }
.contact-dialog__close { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.contact-dialog__close:hover, .contact-dialog__close:focus-visible { border-color: var(--orange); color: var(--orange); transform: rotate(4deg); }
.contact-dialog .contact-form { display: grid; gap: 16px; margin: 0 !important; padding: 26px 36px 30px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label:not(.contact-form__consent) { display: grid; gap: 7px; margin: 0; }
.contact-form__label { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink); font-size: 12px; font-weight: 750; line-height: 1.3; letter-spacing: .15px; }
.contact-form__label > span { color: var(--orange); font-weight: 800; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #d3d6d2; border-radius: 9px; background: #fff; color: var(--ink); font: 14px/1.45 inherit; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select { min-height: 46px; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); outline: 0; box-shadow: 0 0 0 3px rgba(243, 112, 33, .13); background: #fff; }
.contact-form__consent { display: flex; align-items: flex-start; gap: 11px; margin: 2px 0 0; padding: 12px 14px; border: 1px solid #e1e2df; border-radius: 9px; background: #f8f8f5; color: var(--muted); font-size: 11px; line-height: 1.5; }
.contact-form__consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--orange); }
.contact-form__consent a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__submit { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border: 0; border-radius: 9px; background: var(--orange); color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.contact-form__submit:hover, .contact-form__submit:focus-visible { background: var(--orange-dark); transform: translateY(-1px); }
.contact-form__submit:disabled { cursor: wait; opacity: .7; transform: none; }
.contact-form__status { margin: 0; padding: 12px 14px; border: 1px solid #8ebc9c; border-radius: 8px; background: #edf8f0; color: #245c34; font-size: 12px; line-height: 1.5; }
.contact-form__status--error { border-color: #d8a19b; background: #fff1ef; color: #8a2920; }
.contact-form__hint { margin: -4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

/* Erfolgreicher Versand: Formular vollständig ausblenden, nur Bestätigung zeigen */
.contact-dialog--success { width: min(590px, calc(100% - 32px)); }
.contact-dialog--success .contact-dialog__head { min-height: 70px; justify-content: flex-end; padding: 16px 18px 0; border-bottom: 0; }
.contact-dialog--success .contact-dialog__head > div { display: none; }
.contact-success { padding: 4px 52px 48px; text-align: center; }
.contact-success[hidden] { display: none; }
.contact-success__icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: rgba(243, 112, 33, .10); color: var(--orange); font-size: 34px; font-weight: 800; }
.contact-success .small-label { justify-content: center; margin-bottom: 10px; }
.contact-success h3 { margin: 0; color: var(--ink); font-size: clamp(32px, 4vw, 42px); line-height: 1.08; letter-spacing: -1.5px; }
.contact-success__message { margin: 18px auto 0; max-width: 430px; color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1.55; }
.contact-success__note { margin: 9px auto 26px; max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-success__close { min-width: 210px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--orange); color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.contact-success__close:hover, .contact-success__close:focus-visible { background: var(--orange-dark); }

/* Datenschutz-Hinweis innerhalb des geöffneten Kontaktformulars */
.privacy-info[hidden] { display: none; }
.privacy-info { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; padding: 22px; background: rgba(32, 39, 45, .52); backdrop-filter: blur(2px); }
.privacy-info__panel { width: min(650px, 100%); max-height: min(720px, calc(100dvh - 44px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--paper); box-shadow: 0 24px 70px rgba(32, 39, 45, .30); text-align: left; }
.privacy-info__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); }
.privacy-info__head .small-label { margin-bottom: 8px; }
.privacy-info__head h3 { margin: 0; max-width: 500px; color: var(--ink); font-size: clamp(24px, 3vw, 31px); line-height: 1.12; letter-spacing: -1px; }
.privacy-info__close { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 23px; line-height: 1; cursor: pointer; }
.privacy-info__close:hover, .privacy-info__close:focus-visible { border-color: var(--orange); color: var(--orange); }
.privacy-info__content { overflow: auto; padding: 24px 30px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.privacy-info__content p { margin: 0 0 15px; }
.privacy-info__content p:last-child { margin-bottom: 0; }
.privacy-info__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 30px 22px; border-top: 1px solid var(--line); }
.privacy-info__back { min-height: 42px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.privacy-info__back:hover, .privacy-info__back:focus-visible { background: var(--orange-dark); }
.privacy-info__foot a { color: var(--orange); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Seitenfuß */
.site-footer { background: var(--ink); color: #fff; }
.site-footer .footer-main { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(280px, 1.2fr) minmax(180px, .6fr); gap: clamp(34px, 5vw, 68px); align-items: start; padding-block: 56px 48px; }
.site-footer .logo { color: #fff; }
.site-footer .footer-brand > p { max-width: 310px; margin: 32px 0 0; color: #aeb4b7; font-size: 14px; line-height: 1.65; }
.site-footer .footer-claim { margin: 0; font: 600 clamp(28px, 3vw, 46px)/1.18 Arial, "Helvetica Neue", sans-serif; letter-spacing: -1.8px; }
.site-footer .footer-claim span { color: var(--orange); }
.site-footer .footer-nav { display: grid; }
.site-footer .footer-label { margin: 0 0 13px; color: #8f989d; font-size: 10px; font-weight: 800; }
.site-footer .footer-nav a, .site-footer .footer-nav button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); background: transparent; color: inherit; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.site-footer .footer-nav a:hover, .site-footer .footer-nav a:focus-visible, .site-footer .footer-nav button:hover, .site-footer .footer-nav button:focus-visible { color: var(--orange); }
.site-footer .footer-nav span { color: var(--orange); }
.site-footer .footer-bottom { display: flex; justify-content: space-between; padding-block: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .16); color: #8f989d; font-size: 11px; }
.site-footer .footer-bottom div { display: flex; gap: 25px; }
.site-footer .footer-bottom a:hover, .site-footer .footer-bottom a:focus-visible { color: #fff; }
.back-to-top { position: fixed; right: clamp(18px, 2.5vw, 38px); bottom: clamp(18px, 2.5vw, 38px); z-index: 20; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 10px 28px rgba(32, 39, 45, .2); font: 700 22px/1 Arial, sans-serif; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.back-to-top--visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--orange-dark); }

/* Rechtliche Seiten */
.site-main.legal-main { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: 80px 0 110px; }
.legal-back-link { display: inline-flex; align-items: center; margin-bottom: 34px; color: var(--muted); font-size: 13px; font-weight: 700; }
.legal-back-link:hover, .legal-back-link:focus-visible { color: var(--orange); }
.site-main .legal-head { max-width: 760px; }
.site-main .legal-layout { grid-template-columns: minmax(150px, 200px) minmax(0, 720px); gap: clamp(40px, 5vw, 72px); }
.legal-layout aside { position: static; }
.legal-contact-button { padding: 0; border: 0; background: transparent; color: var(--orange); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

:focus-visible { outline: 3px solid rgba(243, 112, 33, .45); outline-offset: 3px; }

@media (max-width: 1500px) {
  .site-main .hero > site-news { position: static; width: 100%; grid-column: 1 / -1; order: 3; transform: none; }
  .page-news { width: min(100%, 620px); margin-inline: auto; }
}

@media (max-width: 1120px) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; }
  .site-main .hero { grid-template-columns: 1fr; padding-block: 68px 76px; }
  .site-main .hero-art { width: min(100%, 620px); height: 430px; justify-self: center; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid article { grid-column: auto; }
  .technology-notes { grid-template-columns:1fr; }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-brand > p { margin-top: 24px; }
  .contact-dialog__head { padding: 26px 24px 20px; }
  .contact-dialog .contact-form { padding: 22px 24px 26px !important; }
  .contact-form__row { grid-template-columns: 1fr; }
  .site-main.legal-main { padding-block: 55px 80px; }
  .site-main .legal-layout { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 700px) {
  .contact-direct__card { grid-template-columns: 1fr; }
  .contact-direct__copy { width: 100%; }

  .contact-success { padding: 2px 24px 34px; }
  .privacy-info { padding: 12px; }
  .privacy-info__panel { max-height: calc(100dvh - 24px); }
  .privacy-info__head { padding: 22px 20px 18px; }
  .privacy-info__content { padding: 20px; }
  .privacy-info__foot { align-items: stretch; flex-direction: column; padding: 16px 20px 20px; }
  .privacy-info__back { width: 100%; }
  .privacy-info__foot a { text-align: center; }
  :root { --header-height: auto; --type-h1: clamp(38px, 11vw, 52px); }
  .global-wrap, .site-main > .wrap, .site-main .statement .wrap, .site-main .projects .wrap, .site-main .contact .wrap, .product-hero, .site-main.legal-main { width: calc(100% - 28px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 18px 14px; }
  .header-nav { width: 100%; display: grid; grid-template-columns: repeat(5, auto); gap: 8px; margin: 0; overflow-x: auto; font-size: 12px; }
  .header-nav a, .header-nav button { text-align: center; white-space: nowrap; }
  .site-main h1 { letter-spacing: -3.5px; }
  .site-main .hero { gap: 44px; padding-block: 54px 62px; }
  .site-main .hero-art { height: 350px; }
  .site-main .hero-art .brand-mark { transform: none; }
  .site-main .hero-art .n2 { right: 40px; bottom: 12px; white-space: nowrap; }
  .project-grid { grid-template-columns: 1fr; }
  .work-overview { grid-template-columns: 1fr; }
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 42px; padding-block: 54px 44px; }
  .site-footer .footer-brand { grid-column: auto; }
  .site-footer .footer-claim { font-size: 32px; }
  .site-footer .footer-bottom { flex-direction: column; gap: 14px; padding-bottom: 36px; }
  .time-pill { right: 46px; bottom: 38px; max-width: calc(100% - 92px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Im Erfolgszustand ausschließlich die Bestätigung anzeigen. */
.contact-dialog--success .contact-form {
  display: none !important;
}


/* Höhenabhängige Kontaktformular-Anpassung: auf normalen Desktop-Höhen ohne internen Scrollbalken */
@media (min-width: 701px) and (max-height: 920px) {
  .contact-dialog { max-height: calc(100dvh - 24px); overflow: hidden; }
  .contact-dialog__head { padding: 20px 30px 16px; }
  .contact-dialog__head h2 { font-size: clamp(28px, 3vw, 36px); }
  .contact-form { gap: 10px; padding: 16px 30px 18px !important; }
  .contact-direct { gap: 6px; }
  .contact-direct h3 { font-size: 17px; }
  .contact-direct > p { font-size: 11px; line-height: 1.4; }
  .contact-direct__card { padding: 9px 12px; gap: 8px 12px; }
  .contact-direct__copy { min-height: 34px; }
  .contact-form label:not(.contact-form__consent) { gap: 5px; }
  .contact-form input, .contact-form select, .contact-form textarea { padding: 9px 12px; }
  .contact-form input, .contact-form select { min-height: 40px; }
  .contact-form textarea { min-height: 96px; height: 96px; }
  .contact-form__consent { padding: 8px 10px; font-size: 10px; line-height: 1.4; }
  .contact-form__submit { min-height: 44px; }
  .contact-form__hint { margin-top: -3px; font-size: 9px; }
}
@media (min-width: 701px) and (max-height: 760px) {
  .contact-dialog { overflow: auto; }
  .contact-dialog__head { padding: 15px 26px 12px; }
  .contact-dialog__head h2 { font-size: 30px; }
  .contact-form { gap: 8px; padding: 12px 26px 14px !important; }
  .contact-direct > p { display: none; }
  .contact-direct__card { padding: 7px 10px; }
  .contact-form textarea { min-height: 76px; height: 76px; }
  .contact-form__consent { padding: 6px 9px; }
  .contact-form__submit { min-height: 40px; }
}



/* Smartphone-Hinweis: Die öffentliche Website ist für die mobile Nutzung im Querformat ausgelegt. */
.orientation-hint { display: none; }

@media (max-width: 700px) and (orientation: portrait) {
  .orientation-hint {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(32, 39, 45, .98);
    color: #fff;
    text-align: center;
  }

  .orientation-hint__panel {
    width: min(100%, 390px);
  }

  .orientation-hint__phone {
    position: relative;
    display: block;
    width: 54px;
    height: 94px;
    margin: 0 auto 28px;
    border: 3px solid var(--orange);
    border-radius: 12px;
    transform: rotate(90deg);
  }

  .orientation-hint__phone::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
    transform: translateX(-50%);
  }

  .orientation-hint__phone i {
    position: absolute;
    right: -19px;
    bottom: -18px;
    width: 28px;
    height: 28px;
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    transform: rotate(-45deg);
  }

  .orientation-hint__eyebrow {
    margin: 0 0 8px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  .orientation-hint h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .orientation-hint p:last-child {
    max-width: 34ch;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.55;
  }
}
