/* Unterseiten DigitalKomponisten im Stil von Startseite 2. Baut auf landing2.css auf
   (Farben, Schrift, Navigation, Menü, Kontaktabschnitt, Fußzeile). Erzeugt von
   scripts/website/baue_unterseiten.py, CI: 02_brands/digitalkomponisten/ci/CI-HANDBUCH.md */

.eyebrow { margin: 0 0 18px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent-text); }
.u-hero { padding: clamp(130px, 18vh, 190px) 24px 0; background: var(--hell); }
.u-hero .gross { font-size: clamp(42px, 6.2vw, 92px); max-width: 1000px; margin: 0 auto; }
.u-hero .lead { max-width: 760px; }
.u-hero .team-satz { margin-top: 28px; }
.u-bild { margin: clamp(48px, 7vh, 80px) auto 0; max-width: 1240px; height: min(70vh, 720px); border-radius: 36px; overflow: hidden; transform-origin: 50% 0; }
.u-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }

.u-abschnitt { padding: clamp(110px, 15vh, 170px) 24px; background: var(--hell); }
.u-abschnitt.hell2 { background: var(--hell-2); }
.u-abschnitt.dunkel { background: var(--tinte); color: #fff; }
.u-abschnitt.dunkel .lead { color: var(--grau-hell); }
.u-abschnitt.dunkel .eyebrow { color: var(--akzent-hell); }
.u-kopf { max-width: 900px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.kachel { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px 36px; border-radius: 28px; background: var(--weiss); color: var(--tinte); }
.hell2 .kachel { background: var(--weiss); }
.u-abschnitt:not(.hell2):not(.dunkel) .kachel { background: var(--hell-2); }
.dunkel .kachel { background: var(--tinte-2); color: #fff; }
.kachel-nr { font-size: 15px; font-weight: 700; color: var(--akzent-text); letter-spacing: .04em; }
.dunkel .kachel-nr { color: var(--akzent-hell); }
.kachel h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.kachel p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--grau); }
.dunkel .kachel p { color: var(--grau-hell); }

/* Großes Zitat bzw. Aussage */
.u-aussage { max-width: 980px; margin: 0 auto; text-align: center; }
.u-aussage p.gross { font-size: clamp(32px, 4.4vw, 60px); }

/* Fragen als Sprechblasen */
.fragen { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.frage { align-self: flex-start; max-width: 92%; padding: 18px 24px; border-radius: 24px 24px 24px 6px; background: var(--weiss); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.frage:nth-child(even) { align-self: flex-end; border-radius: 24px 24px 6px 24px; background: var(--akzent); color: var(--auf-akzent); }

/* Etiketten (Gewerke) */
.etiketten { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.etiketten span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--weiss); font-weight: 600; font-size: 16px; }

/* Häufige Fragen */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: var(--weiss); padding: 0 26px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--akzent-text); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--grau); }

/* Verweis-Kachel mit Pfeil */
.verweis { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 16px auto 0; padding: 28px 32px; border-radius: 28px; background: var(--akzent); color: var(--auf-akzent); text-decoration: none; font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; }
.verweis:hover { filter: brightness(1.06); }

/* Personen (Über uns, Kontakt) */
.personen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.personkarte { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; padding: 32px; border-radius: 28px; background: var(--weiss); perspective: 900px; }
.personkarte img { width: 160px; height: 160px; object-fit: cover; border-radius: 24px; }
.personkarte h3 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.personkarte .rolle { margin: 4px 0 14px; font-size: 15px; font-weight: 600; color: var(--akzent-text); }
.personkarte p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--grau); }
.personkarte .wege { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.personkarte .wege a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--hell-2); color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 15px; }
.personkarte .wege a.haupt { background: var(--akzent); color: var(--auf-akzent); }
@media (max-width: 560px) { .personkarte { grid-template-columns: 1fr; } }

/* Formular */
.formular { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 36px; border-radius: 28px; background: var(--weiss); }
.formular label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--grau); }
.formular .breit { grid-column: 1 / -1; }
.formular input, .formular textarea { font: inherit; font-size: 17px; color: var(--tinte); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linie); background: var(--hell); }
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular .hinweis { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--grau); }
.formular .hinweis a { color: var(--akzent-text); }
.formular button { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; }
.formular .status { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.formular .status.ok { color: #2f6b45; }
.formular .status.fehler { color: #b3301f; }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; padding: 24px; } }
.feld-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kontaktabschnitt: Formular links, Telefon und Termin rechts (2026-11-02) */
.cta-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-rechts { display: flex; flex-direction: column; gap: 16px; }
.cta-rechts .kontakt { flex: 1; min-height: 0; }
.cta-form { max-width: none; margin: 0; text-align: left; }
.cta-form textarea { min-height: 120px; }
.cta-form-titel { margin: 0 0 4px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; color: var(--tinte); }
.cta-mail { margin: 4px 0 0; font-size: 16px; color: var(--grau); }
.cta-mail a { color: var(--akzent-text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cta-mail a:hover { text-decoration: underline; }

/* Terminseiten */
.termin-bild { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 0 auto 22px; display: block; box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--tinte) 50%, transparent); }
.kalender-rahmen { max-width: 1060px; min-height: 720px; margin: 0 auto; border-radius: 28px; background: var(--weiss); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kalender-rahmen > div { width: 100%; }
.kalender-rahmen .calendly-inline-widget, .kalender-rahmen iframe { width: 100% !important; min-height: 720px; }

/* Blog (2026-11-02) */
.blog-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; }
.blog-karte { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--weiss); color: var(--tinte); text-decoration: none; transition: transform .35s cubic-bezier(.22,.7,.2,1), box-shadow .35s; }
.blog-karte:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tinte) 35%, transparent); }
.blog-bild { display: block; aspect-ratio: 16 / 9; background: var(--hell-2); overflow: hidden; }
.blog-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.7,.2,1); }
.blog-karte:hover .blog-bild img { transform: scale(1.04); }
.blog-text { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 30px; }
.blog-datum { font-size: 14px; font-weight: 600; color: var(--akzent-text); letter-spacing: .02em; }
.blog-titel { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; text-wrap: balance; }
.blog-teaser { font-size: 16px; line-height: 1.55; color: var(--grau); }
.blog-h1 { font-size: clamp(36px, 5vw, 72px) !important; text-wrap: balance; }
.u-hero .eyebrow a { color: inherit; text-decoration: none; }
.u-hero .eyebrow a:hover { text-decoration: underline; }
.artikel-text { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--tinte); }
.artikel-text > :first-child { margin-top: 0; }
.artikel-text h1, .artikel-text h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.03em; margin: 2.2em 0 .6em; text-wrap: balance; }
.artikel-text h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; margin: 1.8em 0 .5em; }
.artikel-text h4 { font-size: 20px; margin: 1.6em 0 .4em; }
.artikel-text p, .artikel-text ul, .artikel-text ol { margin: 0 0 1.1em; }
.artikel-text ul, .artikel-text ol { padding-left: 1.3em; }
.artikel-text li { margin: .35em 0; }
.artikel-text li::marker { color: var(--akzent-text); }
.artikel-text a { color: var(--akzent-text); text-underline-offset: 3px; }
.artikel-text strong { font-weight: 700; }
.artikel-text blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--akzent); border-radius: 0 20px 20px 0; background: var(--hell-2); font-size: 20px; }
.artikel-text blockquote p:last-child { margin-bottom: 0; }
.artikel-text img { max-width: 100%; height: auto; border-radius: 20px; }
.artikel-text hr { border: 0; height: 1px; background: var(--linie); margin: 2.4em 0; }
.artikel-text code { font-size: .88em; padding: .1em .35em; border-radius: 6px; background: var(--hell-2); }
.artikel-text pre { overflow-x: auto; padding: 18px 20px; border-radius: 16px; background: var(--tinte); color: #fff; font-size: 15px; }
.artikel-text pre code { background: none; padding: 0; }
.artikel-text table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.artikel-text th, .artikel-text td { padding: 12px 14px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.artikel-text th { font-weight: 700; background: var(--hell-2); }

/* Fallbeispiele mit Stand (Branchenseiten, 2026-11-02) */
.faelle { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.fall { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px 32px 36px; border-radius: 28px; background: var(--weiss); color: var(--tinte); }
.u-abschnitt:not(.hell2):not(.dunkel) .fall { background: var(--hell-2); }
.fall-status { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--akzent); color: var(--auf-akzent); font-size: 14px; font-weight: 700; }
.fall-wer { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--akzent-text); }
.fall h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.fall p:last-child { margin: 0; font-size: 17px; line-height: 1.55; color: var(--grau); }
.sprung { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; }
.sprung a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--weiss); color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 16px; }
.sprung a:hover { background: var(--akzent); color: var(--auf-akzent); }
[id="handwerk"], [id="immobilien"], [id="ingenieurwesen"] { scroll-margin-top: 40px; }
.termin-rolle { margin: 14px 0 0; font-size: 17px; font-weight: 600; color: var(--akzent-text); }

/* Impressum und Datenschutz: kurze Zeilen dichter setzen */
.rechtstext { font-size: 17px; }
.rechtstext p { margin: 0 0 .5em; }
.rechtstext h2 { margin-top: 1.8em; }
.rechtstext h3 { margin-top: 1.4em; }

/* Echte Bildschirmfotos (Odoo, Kivanto) im schlichten Fensterrahmen */
.schirme { max-width: 1120px; margin: 0 auto; display: grid; gap: clamp(56px, 9vh, 104px); }
.schirm { margin: 0; }
.schirm-rahmen { border-radius: 14px; overflow: hidden; background: var(--weiss); box-shadow: 0 0 0 1px var(--linie), 0 40px 90px -40px rgba(41, 41, 40, .45); }
.schirm-leiste { height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: var(--hell-2); border-bottom: 1px solid var(--linie); }
.schirm-leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.schirm img { display: block; width: 100%; height: auto; }
.schirm figcaption { margin: 20px auto 0; max-width: 640px; text-align: center; font-size: 17px; line-height: 1.5; color: var(--tinte-2); }
@media (max-width: 640px) { .schirm-rahmen { border-radius: 10px; } .schirm-leiste { height: 24px; } .schirm-leiste i { width: 7px; height: 7px; } }

/* Danke-Seite: zwei Knöpfe unter dem Text */
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 36px 0 0; }
.knopf.zweit { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); }

/* Kennzahlen im Einstieg (Workshop) und Video statt Bild */
.zahlen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 32px auto 0; }
.zahl { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.zahl strong { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.zahl span { font-size: 15px; color: var(--grau); }
.u-video { height: auto; background: var(--tinte); }
.u-video video { display: block; width: 100%; height: auto; }
.u-abschnitt > .artikel-text { margin-top: 8px; }

/* Lange Wörter in großen Überschriften auf schmalen Bildschirmen trennen */
@media (max-width: 640px) { .u-hero .gross, .mittel { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Buch-Abschnitt (AI-Impact-Methode) */
.buch-raster { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.buch-raster img { width: 100%; height: auto; border-radius: 28px; display: block; }
.buch-raster .lead { margin-top: 18px; }
.hero-knoepfe.links { justify-content: flex-start; }
@media (max-width: 800px) { .buch-raster { grid-template-columns: 1fr; } }

/* Bestellformular Buch: Auswahlfeld wie Eingabefeld, Häkchen in einer Zeile */
.formular .haken { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.45; }
.formular .haken input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #a85a00; }
.buch-raster .formular { margin: 0; }
.formular select { font: inherit; font-size: 17px; color: var(--tinte); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linie); background: var(--hell); }
.formular .haken input { padding: 0; }
