/* Unternehmensseiten im Dialog-Design. Ergänzt dialog-shell.css, verändert die Startseite nicht. */
.dc-page { --dc-panel: #18202a; --dc-paper: #f2ede6; }
.dc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Seitenkopf mit dem Originalbild des Altstands */
.dc-hero { position: relative; isolation: isolate; display: grid; min-height: clamp(19rem, 34vw, 31rem); background: #1b292d; overflow: hidden; }
.dc-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.dc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #11171ef2 0%, #11171ecc 34%, #11171e33 68%, transparent 100%); }
.dc-hero-leistungen .dc-hero-image { object-position: 78% 50%; }
.dc-hero-copy { align-self: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); text-shadow: 0 1px 10px #11171e; }
.dialog-home .dc-hero-copy h1 { margin: 0; max-width: 14ch; font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.05; letter-spacing: -.03em; }
.dialog-home .dc-hero-copy .dc-hero-text { margin-top: .9rem; max-width: 32ch; color: #e7e1d9; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.dc-hero-copy::before { content: ""; display: block; width: 3rem; height: 2px; margin-bottom: 1.1rem; background: var(--dialog-accent); }

/* Text und Leistungsliste */
.dc-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: start; }
.dc-split > div > p, .dc-narrow > p { margin-top: 1rem; max-width: 62ch; }
.dc-narrow { max-width: 58rem; }
.dc-list { margin-top: 1rem; display: grid; gap: .7rem; max-width: 62ch; }
.dc-list li, .dc-service-list li { position: relative; padding-left: 1.35rem; color: var(--dialog-muted); line-height: 1.6; }
.dc-list li::before, .dc-service-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: .5rem; height: .5rem; background: var(--dialog-accent); transform: rotate(45deg); }
.dc-panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--dialog-line); background: var(--dc-panel); }
.dialog-home .dc-panel-title { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.dc-service-list { display: grid; gap: 0; }
.dc-service-list li { padding-block: .62rem; border-top: 1px solid var(--dialog-line); color: #f2ede6; }
.dc-service-list li:first-child { border-top: 0; }
.dc-service-list li::before { top: 1.25em; }
.dc-section-title { margin-bottom: 1.75rem !important; }

/* Karussells */
.dc-carousel { --per: var(--per-lg); --gap: 1rem; position: relative; }
.dc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.dc-track::-webkit-scrollbar { display: none; }
.dc-track:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.dc-slide { scroll-snap-align: start; min-width: 0; }
.dc-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.dc-controls[hidden] { display: none; }
.dc-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #8f969a; color: #f2ede6; background: #11171e; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dc-arrow:hover { border-color: var(--dialog-accent); color: var(--dialog-accent); }
.dc-arrow:focus-visible, .dc-dot:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.dc-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.dc-dot { width: 28px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.dc-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f2ede6; opacity: .55; }
.dc-dot[aria-current="true"]::before { background: var(--dialog-accent); opacity: 1; transform: scale(1.25); }

/* Firmenlogos */
.dc-carousel-logos { --gap: clamp(1rem, 3vw, 2.5rem); }
.dc-logo { display: grid; gap: .85rem; text-align: center; }
.dc-logo-image { display: block; border: 1px solid var(--dialog-line); background: #fff; }
.dc-logo img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 197; object-fit: cover; }
.dc-logo figcaption { color: var(--dialog-muted); font-size: .88rem; line-height: 1.45; }

/* Büro-Slideshow, volle Breite wie im Altstand */
.dc-office { border-top: 1px solid var(--dialog-line); background: #0a0e13; }
.dc-carousel-office { --gap: 0px; }
.dc-carousel-office img { display: block; width: 100%; height: clamp(16rem, 46vw, 39.5rem); object-fit: cover; }
.dc-carousel-office .dc-controls { position: absolute; inset: auto 0 0; margin: 0; padding: .5rem 1rem; justify-content: space-between; background: linear-gradient(transparent, #0a0e13cc); }
.dc-carousel-office .dc-arrow { background: #11171ecc; border-color: #ffffff99; }

/* Kundenstimmen */
.dc-carousel-quotes { --gap: 1rem; }
.dc-quote { height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--dialog-line); background: #11171e; }
.dc-quote::before { content: "„"; font-family: var(--font-serif); font-size: 3.25rem; line-height: .6; color: var(--dialog-accent); }
.dialog-home .dc-quote blockquote p { color: #e7e1d9; line-height: 1.65; }
.dc-quote figcaption { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--dialog-line); color: var(--dialog-accent); font-weight: 650; font-size: .9rem; }

/* Leistungskacheln mit Originalbildern */
.dc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dc-tile { display: grid; justify-items: center; align-content: start; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem) 1rem; border: 1px solid var(--dialog-line); background: #11171e; text-align: center; }
.dc-tile-image { align-self: start; display: grid; place-items: center; width: min(100%, 12rem); aspect-ratio: 1; background: #fff; }
.dc-tile-image img { width: 100%; height: 100%; object-fit: contain; }
/* Originalicons (blau auf weiß) im Kupferton der Website: Farbe per Filter, Weiß verschwindet im dunklen Hintergrund.
   Die Bilddateien in der Mediathek bleiben unverändert. */
.dc-tile-image { background: transparent; }
.dc-tile-image img { filter: grayscale(1) invert(1) sepia(1) saturate(1.5) hue-rotate(-12deg) brightness(.95) contrast(1.1); mix-blend-mode: screen; }
.dialog-home .dc-tile h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

/* Nachrichtenformular */
.dc-form { margin-top: 1.5rem; display: grid; gap: 1.1rem; justify-items: start; }
.dc-form-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dc-field { min-width: 0; }
.dc-field-wide { grid-column: 1 / -1; }
.dc-field :is(input:not([type="checkbox"]), textarea) { display: block; width: 100%; min-height: 48px; padding: .75rem .85rem; color: #f2ede6; background: var(--color-field); border: 1px solid #7b8791; border-radius: 0; font: inherit; }
.dc-field textarea { resize: vertical; min-height: 11rem; }
.dc-field :is(input, textarea)::placeholder { color: #a8a39b; opacity: 1; }
.dc-field :is(input, textarea):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--color-focus); }
.dc-field :is(input, textarea):user-invalid { border-color: var(--color-error); }
.dc-check { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: 0; border: 0; color: var(--dialog-muted); }
.dc-check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .18rem; accent-color: var(--dialog-accent); }
.dc-check a { color: #f2ede6; text-decoration: underline; text-underline-offset: .2em; }
.dc-check a:hover { color: var(--dialog-accent); }
.dc-form .dialog-btn { min-width: 9rem; cursor: pointer; }
.dc-form .dialog-btn:disabled { opacity: .6; cursor: progress; }
.dc-form-status { width: 100%; padding: .85rem 1rem; border: 1px solid var(--dialog-accent); color: #f2ede6 !important; }
.dc-form-status.is-error { border-color: var(--color-error); }

@media (max-width: 959px) {
  .dc-carousel { --per: var(--per-md); }
  .dc-split { grid-template-columns: 1fr; }
  .dc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .dc-carousel { --per: var(--per-sm); }
  .dc-hero { min-height: 0; grid-template-rows: auto auto; }
  .dc-hero::before { display: none; }
  .dc-hero-image { position: static; z-index: auto; height: 12.5rem; }
  .dc-hero-copy { padding-block: 1.6rem 2rem; text-shadow: none; }
  .dc-form-grid { grid-template-columns: 1fr; }
  .dc-tiles { gap: .75rem; }
  .dc-tile { padding: 1rem .6rem; }
  .dialog-home .dc-tile h3 { font-size: 1.15rem; overflow-wrap: anywhere; hyphens: auto; }
  .dc-carousel-office .dc-controls { position: static; gap: .25rem; padding-inline: .5rem; background: #0a0e13; }
  .dc-carousel-office .dc-dots { flex-wrap: nowrap; }
  .dc-carousel-office .dc-dot { width: 18px; }
}

/* Impressum und Datenschutzerklärung: Text aus dem Altstand, lesefreundlich gesetzt */
.dc-hero-legal { min-height: clamp(14rem, 24vw, 20rem); }
.dc-hero-legal .dc-hero-image { object-position: 50% 40%; }
.dialog-home .dc-hero-title { margin: 0; font-family: var(--font-serif); color: #f2ede6; font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; }
.dc-hero-action { margin-top: 1.25rem; cursor: pointer; }
.dc-legal { max-width: 52rem; overflow-wrap: anywhere; }
.dialog-home .dc-legal h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 3.6vw, 2.75rem); }
.dialog-home .dc-legal h2 { margin: 2.6rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--dialog-line); font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.dialog-home .dc-legal h1 + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.dialog-home .dc-legal h3 { margin: 1.9rem 0 .6rem; font-size: 1.25rem; color: #f2ede6; }
.dialog-home .dc-legal h4 { margin: 1.4rem 0 .45rem; font-family: inherit; font-size: 1rem; font-weight: 700; color: #f2ede6; }
.dialog-home .dc-legal p, .dialog-home .dc-legal li { color: var(--dialog-muted); line-height: 1.7; }
.dialog-home .dc-legal p + p { margin-top: .85rem; }
.dc-legal ul, .dc-legal ol { margin: .6rem 0 .9rem 1.2rem; display: grid; gap: .35rem; list-style: disc; }
.dc-legal ol { list-style: decimal; }
.dc-legal a { color: #f2ede6; text-decoration: underline; text-underline-offset: .2em; }
.dc-legal a:hover { color: var(--dialog-accent); }
.dc-legal strong { color: #f2ede6; }

/* Danke-Seite */
.dc-thanks { min-height: 62vh; display: grid; align-items: center; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 32px 32px; }
.dc-thanks .dialog-wrap { max-width: 44rem; }
.dc-thanks-mark { display: inline-grid; color: var(--dialog-accent); margin-bottom: 1.25rem; }
.dialog-home .dc-thanks h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.dialog-home .dc-thanks p { max-width: 54ch; color: #e7e1d9; font-size: 1.08rem; }
.dialog-home .dc-thanks p + p { margin-top: .6rem; color: var(--dialog-muted); font-size: 1rem; }

/* Fehlerseite */
.dialog-home .dc-thanks p.dc-notfound-code { margin: 0 0 .5rem; font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--dialog-accent); opacity: .85; }

/* Exposé-Seiten (frühere Flipbooks) */
.dc-expose .dialog-wrap { display: grid; justify-items: start; }
.dc-back { color: var(--dialog-muted); font-size: .9rem; margin-bottom: 1rem; }
.dc-back:hover { color: var(--dialog-accent); }
.dialog-home .dc-expose h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; text-wrap: balance; }
.dialog-home .dc-expose-address { margin-top: .6rem; color: var(--dialog-muted); }
.dc-expose-frame { width: 100%; margin-top: 2rem; border: 1px solid var(--dialog-line); background: #0a0e13; }
.dc-expose-frame iframe { display: block; width: 100%; height: min(85vh, 60rem); border: 0; }
@media (max-width: 767px) { .dc-expose-frame { display: none; } }
