/* Ergänzungen zu style.css: nur, was die Vorlage nicht kennt (Persönliches, Hinweise, Textseiten). */
.about { padding: 5rem 0; background: var(--bg-card, #f8f9ff); }
.about .container { max-width: 880px; }
.about p { font-size: 1.15rem; line-height: 1.8; margin: 0 0 1.1rem; color: #444; }
.about p.zitat { font-size: 1.7rem; line-height: 1.35; font-weight: 700; color: #1a1a2e; margin-bottom: 1.6rem; }
.hinweis { border-left: 4px solid #667eea; background: rgba(102,126,234,.09); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 2rem auto 0; max-width: 880px; text-align: left; color: #333; }
.download-card .stand { display: inline-block; margin-top: .9rem; padding: .25rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(76,175,80,.15); color: #2e7d32; }
.download-card .stand.bald { background: rgba(255,152,0,.15); color: #b26a00; }
.download-card.inaktiv { opacity: .75; cursor: default; }
.download-card .knopf { display: inline-block; margin-top: 1rem; padding: .7rem 1.4rem; border-radius: 50px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#667eea,#764ba2); }
.windows-hilfe { max-width: 820px; margin: 2.2rem auto 0; text-align: left; }
.windows-hilfe ol { padding-left: 1.3rem; line-height: 1.8; }
.textseite { padding: 9rem 0 5rem; background: #f8f9ff; min-height: 70vh; }
.textseite .container { max-width: 820px; }
.textseite h1 { font-size: 2.6rem; margin-bottom: 1.5rem; color: #1a1a2e; }
.textseite h2 { margin: 2rem 0 .6rem; color: #1a1a2e; }
.textseite p, .textseite li { color: #444; line-height: 1.8; }
.cta .kontakt { margin-top: 1.6rem; opacity: .9; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr) !important; } }

/* Überrollen: Bereiche bleiben stehen und werden vom nächsten überdeckt (site.js setzt top und z-index). */
.stapel { position: sticky; }
.stapel:not(.hero) { box-shadow: 0 -24px 60px rgba(10, 10, 40, .28); border-radius: 32px 32px 0 0; }
.cta, footer { position: relative; z-index: 20; }
.cta { box-shadow: 0 -24px 60px rgba(10, 10, 40, .28); border-radius: 32px 32px 0 0; }
.features-grid { position: relative; }
.feature-card { will-change: transform, opacity; }

/* Klammern: Breite und Weg richten sich nach der Textlänge (site.js setzt width und --zu). */
.slogan-container { min-width: 0; }
.slogan-container.closing .bracket.left { transform: translateY(-50%) translateX(var(--zu, 400px)); }
.slogan-container.closing .bracket.right { transform: translateY(-50%) translateX(calc(-1 * var(--zu, 400px))); }
@keyframes bracketOpenLeft { 0% { transform: translateY(-50%) translateX(var(--zu, 400px)); } 100% { transform: translateY(-50%) translateX(0); } }
@keyframes bracketOpenRight { 0% { transform: translateY(-50%) translateX(calc(-1 * var(--zu, 400px))); } 100% { transform: translateY(-50%) translateX(0); } }
.textseite p { margin: 0 0 1.1rem; }
.textseite h1 { margin-bottom: 2rem; }

.praxis { padding: 5rem 0; background: var(--light); }
.praxis-bild { margin: 0 auto; max-width: 1100px; }
.praxis-bild img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,10,40,.28); }
.praxis-bild figcaption { margin-top: 1rem; color: #555; line-height: 1.6; text-align: center; font-size: 1rem; }
.praxis-konfig { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 2.2rem; align-items: center; max-width: 1000px; margin: 3.5rem auto 0; }
.praxis-konfig img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(10,10,40,.25); }
.praxis-konfig h3 { margin: 0 0 .8rem; font-size: 1.4rem; }
.praxis-konfig ul { padding-left: 1.2rem; line-height: 1.7; color: #444; }
.praxis-konfig li { margin-bottom: .6rem; }
.praxis-konfig p { color: #444; line-height: 1.6; }
@media (max-width: 800px) { .praxis { padding: 3rem 0; } .praxis-konfig { grid-template-columns: 1fr; } }

/* Bild-Zoom */
.praxis img, .app-screenshot.active { cursor: zoom-in; }
.zoom-grund { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 8, 24, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); cursor: zoom-out; transition: background .45s ease, backdrop-filter .45s ease, -webkit-backdrop-filter .45s ease; }
.zoom-grund.an { background: rgba(8, 8, 24, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.zoom-bild { position: fixed; display: block; max-width: none; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); cursor: zoom-out;
  transition: left .5s cubic-bezier(.2, .8, .2, 1), top .5s cubic-bezier(.2, .8, .2, 1), width .5s cubic-bezier(.2, .8, .2, 1), height .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, border-radius .5s ease; }
.zoom-bild.gross { border-radius: 8px; box-shadow: 0 40px 110px rgba(0, 0, 0, .65); }

/* Handy und kleine Fenster: Hero ohne die 410 px Platz für den großen Banner, Roboter sichtbar im Bild */
@media (max-width: 900px) {
  .hero { padding-top: 175px !important; padding-bottom: 3rem; }
  .hero .container { gap: 1.5rem; }
  .hero-content { position: relative; text-align: center; }
  .hero-content .hero-buttons, .hero-content .hero-stats { justify-content: center; }
  .hero-content .hero-robot.robot-left { position: relative !important; top: auto !important; left: auto !important; transform: none !important; width: 150px !important; margin: 0 auto 1rem; }
  .hero-visual .hero-robot.robot-right { right: 6px !important; bottom: 14px !important; top: auto !important; width: 130px !important; }
  .hero-visual { padding-bottom: 5.5rem; }
}

/* Kopfleiste und Slogan auf Handy und kleinen Fenstern */
@media (max-width: 1000px) { .nav-tagline { display: none; } }
@media (max-width: 900px) {
  nav { padding: .55rem 0; }
  nav .container { padding: 0 1rem; }
  .logo { font-size: 1.5rem; gap: .35rem; }
  .logo-icon-img { height: 70px !important; margin-right: 8px !important; margin-top: -4px; margin-bottom: -4px; filter: drop-shadow(0 0 10px rgba(138, 99, 210, .75)); }
  .mobile-menu-btn { display: block; font-size: 1.8rem; line-height: 1; padding: .2rem .4rem; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(26, 26, 46, .98); padding: .5rem 1.2rem 1rem; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
  .nav-links.active { display: flex; }
  .nav-links li a { display: block; padding: .8rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a:after { display: none; }
  .slogan-banner { margin-top: 92px !important; min-height: 130px !important; }
  .slogan-container { min-width: 0 !important; height: 70px !important; line-height: 70px !important; }
  .slogan-banner .hero-slogan-wrapper h1 { font-size: 2rem; }
  .slogan-text { padding: 0 !important; font-size: 1em !important; line-height: 70px !important; }
  .slogan-text::before { opacity: .9 !important; filter: blur(18px) brightness(2) !important; }
  .bracket { font-size: 2.3em !important; }
  .hero { padding-top: 238px !important; }
}

/* Nichts darf die Seite breiter machen als den Bildschirm (sonst zoomt iOS heraus und schiebt die Kopfleiste). clip erzeugt keinen Scrollbereich, sticky bleibt. */
html, body { overflow-x: clip; }
.slogan-banner, .features, .how-it-works, .praxis, .about, .download, .cta { overflow-x: clip; }

.logo-icon-img { filter: drop-shadow(0 0 12px rgba(138, 99, 210, .7)); }
@media (min-width: 901px) { .logo-icon-img { height: 84px !important; margin: -8px 4px -8px 0 !important; } .slogan-banner { margin-top: 100px !important; } }

/* Einstellungen in Reitern */
.tabs-block { margin: 4.5rem auto 0; max-width: 1100px; }
.tabs-titel { margin-bottom: 1.6rem; }
.tabs-titel h3 { font-size: 2rem; margin: 0 0 .4rem; }
.tabs-titel p { margin: 0; color: #666; }
.tab-leiste { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.8rem; }
.tab-knopf { font: inherit; font-weight: 600; cursor: pointer; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid rgba(102,126,234,.35); background: #fff; color: #333; transition: all .25s; }
.tab-knopf:hover { border-color: #667eea; transform: translateY(-2px); }
.tab-knopf.aktiv { color: #fff; border-color: transparent; background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 10px 26px rgba(102,126,234,.4); }
.tab-felder { background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(10,10,40,.14); padding: 2rem; }
.tab-feld { display: none; grid-template-columns: minmax(0, 420px) 1fr; gap: 2.4rem; align-items: start; }
.tab-feld.aktiv { display: grid; animation: tab-ein .45s ease; }
@keyframes tab-ein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-bild { max-height: 560px; overflow-y: auto; border-radius: 14px; background: #1b1c1f; box-shadow: 0 14px 36px rgba(0,0,0,.3); }
.tab-bild img { display: block; width: 100%; height: auto; }
.tab-text h3 { margin: 0 0 .4rem; font-size: 1.6rem; }
.tab-lead { margin: 0 0 1.4rem; color: #555; font-size: 1.1rem; line-height: 1.5; }
.merk-gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.merk { background: var(--light, #f8f9ff); border-radius: 16px; padding: 1rem 1.1rem; border-left: 4px solid #667eea; transition: transform .25s, box-shadow .25s; }
.merk:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(102,126,234,.2); }
.merk-icon { font-size: 1.6rem; line-height: 1; margin-bottom: .4rem; }
.merk h4 { margin: 0 0 .3rem; font-size: 1.02rem; }
.merk p { margin: 0; color: #555; font-size: .93rem; line-height: 1.5; }
.merk:nth-child(even) { border-left-color: #764ba2; }
@media (max-width: 900px) {
  .tab-feld, .tab-feld.aktiv { grid-template-columns: 1fr; }
  .tab-felder { padding: 1rem; border-radius: 22px; }
  .tab-leiste { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: .5rem; margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; scrollbar-width: none; }
  .tab-knopf { white-space: nowrap; flex: 0 0 auto; padding: .6rem 1rem; }
  .tab-bild { max-height: 420px; }
  .merk-gitter { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .tabs-block { margin-top: 3rem; } .tabs-titel h3 { font-size: 1.6rem; line-height: 1.25; } }

/* Notiz und Dateien: Text neben gestaffelten Bildern */
.duo { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: 3rem; align-items: center; max-width: 1050px; margin: 4rem auto 0; }
.duo.umgekehrt .duo-text { order: 2; }
.duo-marke { display: inline-block; padding: .3rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #5a4bb8; background: rgba(102,126,234,.14); margin-bottom: .8rem; }
.duo-text h3 { margin: 0 0 .9rem; font-size: 1.9rem; line-height: 1.2; }
.duo-text p { color: #444; line-height: 1.7; margin: 0 0 .9rem; }
.duo-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.duo-chips span { padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); }
.duo-bilder { position: relative; display: flex; gap: 1.2rem; align-items: flex-start; justify-content: center; }
.duo-bilder img { display: block; width: calc(50% - .6rem); height: auto; max-height: 520px; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: 0 22px 50px rgba(10,10,40,.3); transition: transform .35s ease, box-shadow .35s ease; }
.duo-bilder .duo-b { margin-top: 3.2rem; }
.duo-bilder img:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 64px rgba(10,10,40,.38); }
.duo-bilder .duo-b:hover { transform: translateY(-6px) rotate(.6deg); }
.duo-bilder.einzeln img { width: min(100%, 440px); max-height: 560px; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 3rem; }
  .duo.umgekehrt .duo-text { order: 0; }
  .duo-text h3 { font-size: 1.5rem; }
  .duo-bilder img { max-height: 340px; }
  .duo-bilder .duo-b { margin-top: 1.6rem; }
}

/* Der Knaller: Frage an die ganze Bibliothek */
.knaller { position: relative; margin: 4.5rem auto 0; max-width: 1100px; padding: 2.8rem 2.4rem; border-radius: 32px; color: #fff; background: radial-gradient(circle at 15% 0%, rgba(118,75,162,.55), transparent 55%), radial-gradient(circle at 90% 100%, rgba(33,150,243,.35), transparent 50%), #15152b; box-shadow: 0 30px 80px rgba(20,20,60,.45); text-align: center; }
.knaller-marke { display: inline-block; padding: .35rem 1rem; border-radius: 999px; font-weight: 800; font-size: .95rem; background: linear-gradient(135deg, #ffb347, #ff6b6b); color: #fff; margin-bottom: 1rem; box-shadow: 0 8px 22px rgba(255,107,107,.4); }
.knaller h3 { margin: 0 0 .7rem; font-size: 2.4rem; line-height: 1.15; }
.knaller-lead { margin: 0 auto 1.6rem; max-width: 720px; font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.knaller-frage { max-width: 820px; margin: 0 auto 2rem; text-align: left; padding: 1.1rem 1.4rem 1.2rem; border-radius: 22px 22px 22px 6px; background: linear-gradient(135deg, #3b6fd8, #4a5fd0); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.knaller-wer { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: .3rem; font-weight: 700; }
.knaller-frage p { margin: 0; font-size: 1.1rem; line-height: 1.55; color: #fff; }
.knaller-bild { margin: 0 auto; }
.knaller-bild img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); }
.knaller-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 2rem 0 0; text-align: left; }
.knaller-schritte > div { padding: 1.2rem 1.3rem; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.knaller-schritte b { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); font-size: 1rem; margin-bottom: .6rem; }
.knaller-schritte h4 { margin: 0 0 .35rem; font-size: 1.1rem; }
.knaller-schritte p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.55; font-size: .97rem; }
.knaller-ehrlich { margin: 1.8rem auto 0; max-width: 820px; text-align: left; padding: 1rem 1.3rem; border-left: 4px solid #ffb347; background: rgba(255,179,71,.1); border-radius: 12px; color: rgba(255,255,255,.9); line-height: 1.6; }
@media (max-width: 900px) {
  .knaller { padding: 1.8rem 1.1rem; border-radius: 24px; margin-top: 3rem; }
  .knaller h3 { font-size: 1.7rem; }
  .knaller-lead { font-size: 1.02rem; }
  .knaller-frage p { font-size: 1rem; }
  .knaller-schritte { grid-template-columns: 1fr; }
}

/* Farbwelten */
.praxis img.farben-bild { cursor: default; }
.farben { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem; align-items: center; max-width: 1100px; margin: 5rem auto 0; }
.farben-text h3 { margin: 0 0 .9rem; font-size: 1.9rem; line-height: 1.2; }
.farben-text p { color: #444; line-height: 1.7; margin: 0 0 1.4rem; }
.farben-wahl { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .8rem; }
.farbe-knopf, .modus-knopf { font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; border: 2px solid rgba(102,126,234,.3); background: #fff; color: #333; padding: .55rem 1.1rem; transition: all .25s; display: inline-flex; align-items: center; gap: .5rem; }
.farbe-knopf i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(0,0,0,.08) inset; }
.farbe-knopf:hover, .modus-knopf:hover { border-color: #667eea; transform: translateY(-2px); }
.farbe-knopf.aktiv, .modus-knopf.aktiv { color: #fff; border-color: transparent; background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 8px 22px rgba(102,126,234,.4); }
.farbe-knopf.aktiv i { box-shadow: 0 0 0 2px #fff inset; }
.farben-modus { display: flex; gap: .6rem; }
.farben-buehne { position: relative; }
.farben-rahmen { position: relative; aspect-ratio: 1179 / 902; border-radius: 22px; overflow: hidden; background: transparent; filter: drop-shadow(0 28px 44px rgba(10,10,40,.38)); }
.farben-bild { position: absolute; inset: 0; width: 100%; height: 100%; display: block; clip-path: inset(0 100% 0 0); }
.farben-bild.farben-bild-aktiv { clip-path: inset(0 0 0 0); }
.farben-bild.farben-bild-neu { clip-path: inset(0 100% 0 0); }
.farben-bild.farben-bild-neu.farben-bild-aktiv { clip-path: inset(0 0 0 0); transition: clip-path .95s cubic-bezier(.65, 0, .35, 1); }
.farben-linie { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: linear-gradient(180deg, #667eea, #b97cff, #2196f3); box-shadow: 0 0 18px 6px rgba(138,99,210,.75), 0 0 46px 14px rgba(33,150,243,.35); opacity: 0; pointer-events: none; }
.farben-linie.lauf { animation: farben-wisch .95s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes farben-wisch { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.farben-name { text-align: center; margin-top: 1rem; font-weight: 700; color: #5a4bb8; letter-spacing: .02em; }
@media (max-width: 900px) { .farben { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 3.5rem; } .farben-text h3 { font-size: 1.5rem; } }

/* Layouts: frei platzierbare Panels */
.layouts { max-width: 1100px; margin: 5rem auto 0; }
.layouts-titel { text-align: center; margin-bottom: 2rem; }
.layouts-titel h3 { margin: .3rem 0 .6rem; font-size: 2.2rem; }
.layouts-titel p { margin: 0 auto; max-width: 720px; color: #555; font-size: 1.1rem; line-height: 1.6; }
.layouts-gitter { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.6rem; align-items: start; }
.layouts-rahmen { position: relative; margin: 0; aspect-ratio: 1672 / 1304; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 60px rgba(10,10,40,.35); background: #111; cursor: zoom-in; }
.layout-bild { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.layout-bild.layout-aktiv { opacity: 1; transform: none; }
.layouts-beschr { margin: .9rem .2rem 0; color: #444; line-height: 1.6; min-height: 3.2em; }
.layouts-wahl { display: flex; flex-direction: column; gap: .7rem; }
.layout-knopf { font: inherit; text-align: left; cursor: pointer; display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: 16px; border: 2px solid rgba(102,126,234,.28); background: #fff; color: #333; transition: all .25s; }
.layout-knopf b { flex: 0 0 auto; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(102,126,234,.14); color: #5a4bb8; }
.layout-knopf span { display: flex; flex-direction: column; line-height: 1.3; }
.layout-knopf em { font-style: normal; font-size: .85rem; color: #777; }
.layout-knopf:hover { border-color: #667eea; transform: translateX(4px); }
.layout-knopf.aktiv { color: #fff; border-color: transparent; background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 10px 26px rgba(102,126,234,.4); }
.layout-knopf.aktiv b { background: rgba(255,255,255,.25); color: #fff; }
.layout-knopf.aktiv em { color: rgba(255,255,255,.8); }
.layouts-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.layouts-karten > div { background: #fff; border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 14px 34px rgba(10,10,40,.1); border-top: 4px solid #667eea; }
.layouts-karten > div:nth-child(2) { border-top-color: #764ba2; }
.layouts-karten > div:nth-child(3) { border-top-color: #2196f3; }
.layouts-karten span { font-size: 1.8rem; }
.layouts-karten h4 { margin: .4rem 0 .4rem; font-size: 1.1rem; }
.layouts-karten p { margin: 0; color: #555; line-height: 1.6; font-size: .97rem; }
.layouts-einsatz { margin-top: 2.6rem; text-align: center; }
.layouts-einsatz h4 { margin: 0 0 1rem; font-size: 1.4rem; }
.einsatz-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.einsatz { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.3rem; border-radius: 18px; background: linear-gradient(135deg, rgba(102,126,234,.12), rgba(118,75,162,.12)); border: 1px solid rgba(102,126,234,.25); }
.einsatz b { font-size: 1.7rem; }
.einsatz span { color: #555; line-height: 1.55; font-size: .95rem; }
@media (max-width: 900px) {
  .layouts { margin-top: 3.5rem; }
  .layouts-titel h3 { font-size: 1.7rem; }
  .layouts-gitter { grid-template-columns: 1fr; }
  .layouts-wahl { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 0 1rem .4rem; }
  .layout-knopf { flex: 0 0 auto; padding: .6rem .8rem; }
  .layout-knopf em { display: none; }
  .layouts-karten, .einsatz-reihe { grid-template-columns: 1fr; }
}

/* Automatisierung: Prompts, die sich selbst abfeuern */
.auto { max-width: 1100px; margin: 5rem auto 0; }
.auto-kopf { text-align: center; max-width: 780px; margin: 0 auto 2rem; }
.auto-kopf h3 { margin: .3rem 0 .8rem; font-size: 2.1rem; }
.auto-kopf p { color: #444; line-height: 1.7; font-size: 1.1rem; margin: 0; }
.auto-fluss { display: grid; grid-template-columns: 150px 56px minmax(0, 1fr) 56px 150px; align-items: center; gap: 0; }
.auto-knoten { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1.2rem .6rem; border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(10,10,40,.14); border: 2px solid rgba(102,126,234,.3); }
.auto-knoten span { font-size: 2rem; }
.auto-knoten small { color: #777; }
.auto-ziel { animation: auto-ziel 9s infinite; }
.auto-pfeil { position: relative; height: 4px; margin: 0 .3rem; border-radius: 2px; background: rgba(102,126,234,.25); overflow: hidden; }
.auto-pfeil::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #667eea, #b97cff, transparent); animation: auto-lauf 3s linear infinite; }
@keyframes auto-lauf { to { left: 100%; } }
.auto-prompts { display: flex; flex-direction: column; gap: .8rem; }
.auto-p { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 16px; background: #fff; border: 2px solid rgba(102,126,234,.2); box-shadow: 0 8px 22px rgba(10,10,40,.08); animation: auto-feuer 9s infinite; }
.auto-p:nth-child(2) { animation-delay: 3s; }
.auto-p:nth-child(3) { animation-delay: 6s; }
.auto-p b { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); }
.auto-p strong { display: block; font-size: 1.02rem; line-height: 1.4; }
.auto-p span { display: block; margin-top: .25rem; color: #666; font-size: .93rem; line-height: 1.5; }
@keyframes auto-feuer { 0%, 30%, 100% { transform: none; } 3%, 27% { } 0% { border-color: rgba(102,126,234,.2); } 4%, 26% { border-color: #764ba2; box-shadow: 0 14px 36px rgba(118,75,162,.35); transform: translateX(6px); } 34%, 100% { border-color: rgba(102,126,234,.2); box-shadow: 0 8px 22px rgba(10,10,40,.08); transform: none; } }
@keyframes auto-ziel { 0%, 60%, 100% { box-shadow: 0 14px 34px rgba(10,10,40,.14); } 85% { box-shadow: 0 0 0 6px rgba(118,75,162,.25), 0 14px 34px rgba(118,75,162,.4); } }
.auto-ausloeser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.auto-ausloeser > div { background: #fff; border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 14px 34px rgba(10,10,40,.1); border-top: 4px solid #667eea; }
.auto-ausloeser > div:nth-child(2) { border-top-color: #764ba2; }
.auto-ausloeser > div:nth-child(3) { border-top-color: #2196f3; }
.auto-ausloeser span { font-size: 1.8rem; }
.auto-ausloeser h4 { margin: .4rem 0; font-size: 1.1rem; }
.auto-ausloeser p { margin: 0; color: #555; line-height: 1.6; font-size: .97rem; }
.auto-hinweis { margin: 1.6rem auto 0; max-width: 820px; padding: 1rem 1.3rem; border-left: 4px solid #667eea; background: rgba(102,126,234,.09); border-radius: 12px; color: #333; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .auto-p, .auto-ziel, .auto-pfeil::after { animation: none; } }
@media (max-width: 900px) {
  .auto { margin-top: 3.5rem; }
  .auto-kopf h3 { font-size: 1.6rem; }
  .auto-fluss { grid-template-columns: 1fr; gap: 0; }
  .auto-knoten { flex-direction: row; justify-content: center; gap: .6rem; padding: .8rem; }
  .auto-knoten small { display: none; }
  .auto-pfeil { width: 4px; height: 28px; margin: .3rem auto; }
  .auto-pfeil::after { top: -40%; left: 0; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, #667eea, #b97cff, transparent); animation: auto-lauf-v 3s linear infinite; }
  .auto-ausloeser { grid-template-columns: 1fr; }
}
@keyframes auto-lauf-v { to { top: 100%; } }
.windows-hilfe code { background: rgba(127,127,127,.18); padding: .1em .4em; border-radius: 4px; font-size: .92em; word-break: break-all; }
