:root {
  --ac-bg: #f6f3ed;
  --ac-ink: #171a17;
  --ac-muted: #5c5f58;
  --ac-line: #d9d3c6;
  --ac-card: #fffdf8;
  --ac-accent: #d9ee8a;
  --ac-btn: #171a17;
  --ac-btn-ink: #f6f3ed;
  --ac-serif: Georgia, "Times New Roman", serif;
  --ac-sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body[data-brand="rauschwerk"] {
  --ac-bg: #f7f4ed;
  --ac-ink: #201e1d;
  --ac-muted: #5a524c;
  --ac-line: #d8cbb3;
  --ac-card: #f4ecdb;
  --ac-accent: #e4bc62;
  --ac-btn: #a62916;
  --ac-btn-ink: #f7f4ed;
  --ac-serif: Georgia, serif;
  --ac-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { margin: 0; background: var(--ac-bg); color: var(--ac-ink); font: 17px/1.55 var(--ac-sans); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
a { color: inherit; }
.skip, a[href="#inhalt"] { position: absolute; left: 12px; top: -40px; background: var(--ac-ink); color: var(--ac-bg); padding: 8px 12px; z-index: 20; }
a[href="#inhalt"]:focus { top: 12px; }
img, svg { max-width: 100%; }
.ac-header, .ac-footer, .ac-shell, .ac-section, .ac-strip { padding: 22px clamp(16px, 4vw, 40px); }
.ac-header, .ac-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ac-line); }
.ac-footer { border-bottom: 0; border-top: 1px solid var(--ac-line); }
.ac-logo { text-decoration: none; letter-spacing: .08em; font-weight: 700; }
.ac-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.ac-nav a { text-decoration: none; border-bottom: 1px solid var(--ac-line); }
.ac-hero { padding-block: 48px 28px; }
.ac-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ac-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin: 0 0 10px; color: var(--ac-muted); }
.ac-headline { font-family: var(--ac-serif); font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; overflow-wrap: anywhere; }
.ac-lead { max-width: 62ch; margin: 0 0 22px; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.ac-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: var(--ac-btn); color: var(--ac-btn-ink); text-decoration: none; border: 0; border-radius: 2px; font: inherit; cursor: pointer; }
.ac-btn.secondary { background: transparent; color: var(--ac-ink); border: 1px solid var(--ac-ink); }
.ac-btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--ac-ink); outline-offset: 3px; }
.ac-proof { background: var(--ac-card); border: 1px solid var(--ac-line); padding: 22px; min-width: 0; }
.ac-proof-head { font-weight: 700; margin: 0 0 8px; }
.ac-note { font-size: 14px; color: var(--ac-muted); }
.ac-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; border-block: 1px solid var(--ac-line); font-size: 15px; }
.ac-section { padding-block: 48px; }
.ac-section-head h2, .ac-form h2 { font-family: var(--ac-serif); font-size: clamp(26px, 3vw, 40px); margin: 0 0 16px; overflow-wrap: anywhere; }
.ac-number { font-family: var(--ac-serif); font-size: 28px; margin: 0; color: var(--ac-muted); }
.ac-grid, .ac-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ac-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-card { background: var(--ac-card); border: 1px solid var(--ac-line); padding: 18px; min-width: 0; }
.ac-card h3 { margin: 0 0 8px; font-size: 18px; }
.ac-deliverables, .ac-process { display: grid; gap: 12px; }
.ac-faq details { border-bottom: 1px solid var(--ac-line); padding: 12px 0; }
.ac-faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.ac-link-list { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 22px clamp(16px, 4vw, 40px) 40px; }
.ac-dark { background: var(--ac-ink); color: var(--ac-bg); }
body[data-brand="agent030"] .ac-dark { background: #171a17; }
.ac-app { max-width: 720px; }
.ac-form { display: grid; gap: 14px; background: var(--ac-card); border: 1px solid var(--ac-line); padding: 22px; }
.ac-form label { display: grid; gap: 6px; min-width: 0; }
.ac-form input, .ac-form textarea, .ac-form button { font: inherit; }
.ac-app, .ac-form { min-width: 0; max-width: 100%; }
.ac-form input[type="text"], .ac-form input[type="email"], .ac-form input[type="url"], .ac-form input[type="file"], .ac-form textarea, .ac-form input:not([type]), .ac-copy-block textarea {
  width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ac-line); background: #fff; color: inherit;
}
.ac-form input[type="file"] { padding: 8px 0; overflow: hidden; }
.ac-form textarea, .ac-copy-block textarea { min-height: 8em; resize: vertical; }
.ac-check { display: flex; gap: 10px; align-items: flex-start; grid-template-columns: none; }
.ac-check input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.ac-plans { border: 1px solid var(--ac-line); padding: 12px; display: grid; gap: 10px; }
.ac-plan { display: grid; grid-template-columns: 18px 1fr; gap: 4px 10px; align-items: start; }
.ac-plan strong { grid-column: 2; }
.ac-plan span { grid-column: 2; font-size: 14px; color: var(--ac-muted); }
.ac-count, .ac-muted, .ac-progress { font-size: 14px; color: var(--ac-muted); }
.ac-alert { background: #f3e0d8; border: 1px solid #a62916; padding: 12px; }
.ac-copy-block { display: grid; gap: 8px; margin: 18px 0; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-table th, .ac-table td { text-align: left; border-bottom: 1px solid var(--ac-line); padding: 8px 10px; }
.ac-scroll { overflow: auto; max-width: 100%; }
.ac-html-preview { border: 1px dashed var(--ac-line); padding: 12px; }
.ac-chips { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .ac-hero-grid, .ac-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-headline { max-width: none; }
}
@media (max-width: 360px) {
  .ac-header, .ac-nav, .ac-actions { gap: 8px; }
  .ac-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  .ac-header, .ac-nav, .ac-form, .ac-footer, .ac-btn { display: none !important; }
  .ac-result { color: #000; }
}
