/* d3signwerk – Variante „Pinsel & Bleistift“
   Schriften lokal (SIL Open Font License, siehe assets/fonts). */

@font-face { font-family: "Saira"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/saira-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/saira-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/saira-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
	--ink: #26291c;        /* Text, 14,6:1 auf Papier */
	--paper: #fffdf6;
	--white: #ffffff;
	--olive: #556223;      /* Buttons, 6,6:1 mit Weiß */
	--olive-dark: #4f5a1e; /* Text-Akzent, 7,3:1 */
	--olive-tint: #f2f4e6;
	--olive-line: #8c9356; /* nur Linien, 3,3:1 */
	--yellow: #f4c430;     /* immer mit dunkler Schrift, 9:1 */
	--red: #c8232b;        /* Akzente, 5,6:1 */
	--muted: #4a4d3c;      /* 8,5:1 */
	--soft: #5c5f4d;       /* 6,6:1 */
	--dark-2: #33372a;
	--on-dark: #d9dacb;
	--on-olive: #eef0df;   /* 5,8:1 auf Oliv */
	--radius-a: 4px 18px 4px 18px;
	--radius-b: 18px 4px 18px 4px;
	--font-head: "Saira", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--olive-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section.dark :focus-visible, .section.olive :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2.5rem); }
.wrap.narrow { max-width: 1040px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .85rem 1.6rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-olive { background: var(--olive); color: var(--white); border-radius: var(--radius-a); }
.btn-olive:hover { background: var(--olive-dark); color: var(--white); }
.btn-outline { color: var(--ink); border-color: var(--ink); border-radius: var(--radius-b); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-radius: var(--radius-a); }
.btn-yellow:hover { background: var(--white); color: var(--ink); }
.btn-ghost { color: var(--white); border-color: var(--white); border-radius: var(--radius-b); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-small { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
.btn-big { font-size: 1.15rem; padding: 1.1rem 1.4rem; justify-content: flex-start; word-break: break-word; }
.btn-block { display: flex; width: 100%; margin-top: auto; }

/* Header */
.site-header { background: var(--white); border-bottom: 3px solid var(--yellow); position: relative; z-index: 10; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: block; line-height: 0; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; font-weight: 600; font-size: 1rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: .5rem 0; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
.nav-toggle { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-b); font: inherit; font-weight: 700; cursor: pointer; }

/* Hero */
.hero { padding: 5.5rem 0 6rem; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
.hero-text { flex: 1 1 30rem; min-width: 0; }
.kicker { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-dark); margin-bottom: 1.2rem; }
.kicker.on-dark { color: var(--yellow); }
.icon-drop { fill: var(--red); flex: none; }
.brush { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.brush::before { content: ""; position: absolute; z-index: -1; left: -.25em; right: -.3em; bottom: .02em; height: .5em; background: var(--yellow); border-radius: 46% 54% 40% 60% / 60% 50% 50% 40%; transform: rotate(-1.5deg); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 36rem; margin: 1.5rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-sketch { flex: 1 1 26rem; min-width: 0; position: relative; margin: 0; padding: 1.5rem .75rem; }
.blob { position: absolute; top: 0; right: 4%; width: 78%; height: 85%; background: var(--yellow); opacity: .55; border-radius: 46% 54% 38% 62% / 52% 40% 60% 48%; transform: rotate(-6deg); }
.browser { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.5deg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-bottom: 2px solid var(--ink); background: #f4f1e6; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: var(--red); } .dot.yellow { background: var(--yellow); } .dot.olive { background: var(--olive); }
.url { margin-left: .6rem; font-size: .85rem; color: var(--soft); }
.browser-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.demo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.demo-hours { background: var(--olive-tint); border-radius: 8px; padding: 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.demo-label { font-size: .8rem; font-weight: 700; color: var(--olive-dark); text-transform: uppercase; letter-spacing: .06em; }
.demo-time { font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; }
.demo-note { font-size: .875rem; color: var(--soft); }
.demo-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.demo-btn { text-align: center; font-weight: 700; font-size: .95rem; padding: .7rem; border-radius: 8px; border: 2px solid var(--ink); }
.demo-btn.primary { background: var(--olive); color: var(--white); border-color: var(--olive); }
.hero-sketch figcaption { position: relative; margin: 1.4rem 0 0 .5rem; font-size: .95rem; font-style: italic; color: var(--soft); }

/* Sektionen */
.section { padding: 6rem 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.tint { background: var(--olive-tint); }
.section.white { background: var(--white); }
.section.olive { background: var(--olive); color: var(--white); }
.line-top { border-top: 3px solid var(--yellow); }
.section h2 { max-width: 48rem; margin-bottom: 2.5rem; }
.intro { font-size: 1.2rem; color: var(--muted); margin-top: -1.5rem; margin-bottom: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }

.tool-card { background: var(--dark-2); border-radius: var(--radius-a); padding: 2.5rem; color: var(--on-dark); }
.tool-card.alt { border-radius: var(--radius-b); }
.tool-card svg { color: var(--yellow); margin-bottom: 1rem; }
.tool-card h3 { color: var(--white); font-size: 1.75rem; font-weight: 800; }
.tool-card ul { display: grid; gap: .4rem; margin: 1rem 0 0; }

.note { background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 1.6rem; }
.note svg { display: block; margin-bottom: .6rem; }
.note p { color: var(--muted); margin: 0; }
.tilt-a { transform: rotate(-1deg); } .tilt-b { transform: rotate(.8deg); } .tilt-c { transform: rotate(-.6deg); } .tilt-d { transform: rotate(1deg); }

.packages { max-width: 72rem; }
.package { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 2.4rem; display: flex; flex-direction: column; gap: .4rem; }
.package.featured { box-shadow: 10px 10px 0 var(--olive); }
.package h3 { font-size: 1.6rem; font-weight: 800; }
.package > p { color: var(--muted); }
.package ul { display: grid; gap: .45rem; margin: .5rem 0 1.8rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--ink) !important; margin: .4rem 0 .6rem; }
.price span { font-size: 1.05rem; font-weight: 600; color: var(--soft); }
.price-monthly { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--olive-dark) !important; margin: 0 0 .4rem; }
.price-legal { font-weight: 700; color: var(--ink) !important; margin: 0 0 .4rem; }
.price-legal span { font-weight: 400; color: var(--soft); font-size: .95rem; }
.badge { position: absolute; top: -1.1rem; right: 1.5rem; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem 1rem; border-radius: var(--radius-a); transform: rotate(3deg); }

.reference .ref-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border: 2px solid var(--ink); border-radius: 8px; margin-bottom: 1rem; }
.muted { color: var(--soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.8rem; }
.steps li { border-top: 3px dashed var(--olive); padding-top: 1.4rem; }
.step-no { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--red); margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
.about-photo { flex: 0 1 22rem; min-width: 0; position: relative; margin: 0; padding: 1rem; }
.about-photo .blob { top: 0; right: 0; width: 100%; height: calc(100% - 2rem); opacity: 1; border-radius: 40% 60% 50% 50% / 50% 45% 55% 50%; transform: rotate(-4deg); }
.about-img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 480 / 600; object-fit: cover; object-position: center 30%; border: 2px solid var(--ink); border-radius: 8px; }
.ai-note { position: relative; margin-top: .6rem; font-size: .85rem; color: var(--soft); }
.about-text { flex: 1 1 28rem; min-width: 0; }
.about-text p:not(.kicker) { font-size: 1.2rem; color: var(--muted); }

.contact { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.contact > div { flex: 1 1 24rem; min-width: 0; }
.contact h2 { margin-bottom: 1rem; }
.contact p { color: var(--on-olive); font-size: 1.2rem; }
.contact-actions { display: flex; flex-direction: column; gap: 1rem; }
.contact-actions .small { font-size: 1rem; margin: 0; }

/* Inhaltsseiten */
.page-content { padding: 4.5rem 1.5rem 6rem; }
.page-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.entry h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; max-width: none; }
.entry ul { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--white); font-family: var(--font-head); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: var(--white); }

/* Mobil */
@media (max-width: 900px) {
	.js .nav-toggle { display: inline-flex; }
	.js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0 1rem; }
	.js .site-nav.is-open { display: flex; }
	.js .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--olive-tint); }
	.js .site-nav .btn { margin-top: 1rem; }
	.hero { padding: 3.5rem 0 4rem; }
	.hero-inner { gap: 2.5rem; }
	.section { padding: 4rem 0; }
	.brush { white-space: normal; }
	.brand img { height: 52px; }
}
@media (max-width: 480px) {
	.package { padding: 1.8rem 1.4rem; }
	.price { font-size: 2.3rem; }
	.browser { transform: none; box-shadow: 6px 6px 0 var(--ink); }
	.tilt-a, .tilt-b, .tilt-c, .tilt-d { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* Ersatz für WordPress-Inline-Style (strenge CSP) */
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px; }
