:root {
    --violet: #6f4bd8;
    --violet-dark: #5534b3;
    --violet-soft: #eee9ff;
    --coral: #ff7168;
    --coral-dark: #e84f50;
    --yellow: #ffd65a;
    --mint: #49c8a4;
    --blue: #45add7;
    --pink: #ff9cc2;
    --ink: #28233a;
    --muted: #6c6878;
    --cream: #fff9ee;
    --paper: #ffffff;
    --line: #e8e2f1;
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 34px;
    --shadow-sm: 0 8px 24px rgba(54, 37, 105, 0.08);
    --shadow: 0 22px 55px rgba(54, 37, 105, 0.13);
    --container: 1180px;
    /* Höhe des Startseiten-Fotos auf Desktop – diesen Wert bei Bedarf ändern. */
    --hero-image-height-desktop: 600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px;
    border-radius: 9px; background: var(--ink); color: #fff; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(111,75,216,.09); backdrop-filter: blur(15px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 42px;
    object-fit: contain;
    display: block;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { color: var(--violet); font-size: 1.22rem; letter-spacing: -.035em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.nav-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 13px; background: var(--violet-soft); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--violet); transition: .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.main-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; align-content: start; gap: 6px;
    width: 100vw; height: calc(100vh - 76px); padding: 22px 16px; background: #fff; overflow: auto;
}
.main-nav.is-open { display: grid; }
.main-nav a { padding: 12px 14px; border-radius: 12px; color: #4d4860; font-weight: 800; text-decoration: none; }
.main-nav a:hover, .main-nav a.is-active { background: var(--violet-soft); color: var(--violet-dark); }
.main-nav .nav-cta { margin-top: 7px; background: var(--violet); color: #fff; text-align: center; box-shadow: 0 8px 20px rgba(111,75,216,.25); }
.main-nav .nav-cta:hover { background: var(--violet-dark); color: #fff; }

.hero {
    position: relative; overflow: hidden; padding: 58px 0 70px;
    background: linear-gradient(130deg, #fff5c9 0%, #fff5de 46%, #f2ebff 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .36;
    background-image: radial-gradient(circle, rgba(111,75,216,.26) 1.3px, transparent 1.4px);
    background-size: 25px 25px;
    mask-image: linear-gradient(to right, #000, transparent 65%);
}
.hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -160px; bottom: -190px; border-radius: 50%; border: 48px solid rgba(255,113,104,.16); }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
h1, h2, h3 { font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif; margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 700px; font-size: clamp(2.65rem, 11vw, 5.5rem); color: var(--violet); }
.hero h1 span { color: var(--coral); }
.hero-lead { max-width: 650px; margin: 20px 0 0; color: #514c5d; font-size: clamp(1.05rem, 2.5vw, 1.23rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 21px; border: 2px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--violet); color: #fff; box-shadow: 0 12px 28px rgba(111,75,216,.28); }
.button-primary:hover { background: var(--violet-dark); box-shadow: 0 15px 32px rgba(111,75,216,.34); }
.button-secondary { border-color: var(--violet); background: rgba(255,255,255,.8); color: var(--violet); }
.button-secondary:hover { background: #fff; box-shadow: var(--shadow-sm); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: #575162; font-size: .9rem; font-weight: 800; }
.hero-notes li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #dcf8ec; color: #1a8b67; }
.hero-visual { position: relative; max-width: 650px; justify-self: center; }
.hero-photo-wrap { position: relative; padding: 10px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-photo-wrap::before, .hero-photo-wrap::after { content: ""; position: absolute; z-index: 2; width: 62px; height: 20px; background: rgba(255,214,90,.75); transform: rotate(-23deg); }
.hero-photo-wrap::before { top: 1px; left: 34px; }
.hero-photo-wrap::after { right: 31px; bottom: 1px; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 22px; object-fit: cover; }
.hero-bubble { position: absolute; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; right: -9px; top: -22px; padding: 12px; border: 6px solid #fff; border-radius: 50%; background: var(--coral); color: #fff; font-size: .78rem; font-weight: 900; line-height: 1.15; text-align: center; transform: rotate(8deg); box-shadow: var(--shadow-sm); }

.quick-search { position: relative; z-index: 5; margin-top: -30px; }
.search-card { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.search-card label { color: var(--ink); font-size: .98rem; font-weight: 900; }
.search-form { display: flex; gap: 9px; }
.search-form input { width: 100%; min-height: 50px; border: 1.5px solid #dcd4ef; border-radius: 999px; padding: 0 18px; outline: 0; color: var(--ink); background: #fbfaff; }
.search-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(111,75,216,.1); }
.search-form button { flex: 0 0 50px; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--coral); color: #fff; cursor: pointer; font-size: 1.2rem; }

.section { padding: 76px 0; }
.section-soft { background: #faf8ff; }
.section-warm { background: var(--cream); }
.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-kicker { display: block; margin-bottom: 9px; color: var(--coral-dark); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { font-size: clamp(2rem, 6vw, 3.25rem); color: var(--ink); }
.section-heading p { margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.align-left { margin-inline: 0; text-align: left; }

.benefit-grid { display: grid; gap: 18px; }
.benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    background: linear-gradient(155deg, #fff 0%, #faf7ff 58%, #f4efff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 28px rgba(54, 37, 105, 0.09),
        0 2px 6px rgba(54, 37, 105, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(111, 75, 216, 0.14));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.benefit-sparkles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.benefit-sparkles span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.38;
}
.benefit-card--motifs { --benefit-glow: rgba(255, 214, 90, 0.35); }
.benefit-card--download { --benefit-glow: rgba(73, 200, 164, 0.32); }
.benefit-card--create { --benefit-glow: rgba(111, 75, 216, 0.3); }
.benefit-card--motifs .benefit-sparkles span:nth-child(1) { top: 14px; right: 16px; width: 10px; height: 10px; background: var(--yellow); }
.benefit-card--motifs .benefit-sparkles span:nth-child(2) { top: 28px; right: 34px; width: 7px; height: 7px; background: var(--coral); }
.benefit-card--motifs .benefit-sparkles span:nth-child(3) { bottom: 16px; right: 20px; width: 8px; height: 8px; background: var(--pink); }
.benefit-card--motifs .benefit-sparkles span:nth-child(4) { bottom: 24px; left: 18px; width: 6px; height: 6px; background: var(--mint); }
.benefit-card--download .benefit-sparkles span:nth-child(1) { top: 16px; right: 18px; width: 9px; height: 9px; background: var(--mint); }
.benefit-card--download .benefit-sparkles span:nth-child(2) { top: 30px; right: 36px; width: 6px; height: 6px; background: var(--blue); }
.benefit-card--download .benefit-sparkles span:nth-child(3) { bottom: 18px; right: 14px; width: 8px; height: 8px; background: var(--yellow); }
.benefit-card--download .benefit-sparkles span:nth-child(4) { bottom: 22px; left: 20px; width: 7px; height: 7px; background: var(--coral); }
.benefit-card--create .benefit-sparkles span:nth-child(1) { top: 14px; right: 16px; width: 10px; height: 10px; background: var(--violet); opacity: 0.32; }
.benefit-card--create .benefit-sparkles span:nth-child(2) { top: 28px; right: 32px; width: 7px; height: 7px; background: var(--pink); }
.benefit-card--create .benefit-sparkles span:nth-child(3) { bottom: 16px; right: 22px; width: 8px; height: 8px; background: var(--yellow); }
.benefit-card--create .benefit-sparkles span:nth-child(4) { bottom: 20px; left: 16px; width: 6px; height: 6px; background: var(--mint); }
.benefit-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.28rem;
    color: var(--ink);
}
.benefit-card p {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    color: #5f5a6c;
    font-size: 0.96rem;
    line-height: 1.55;
}
.benefit-card:focus-within {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
}
@media (hover: hover) {
    .benefit-card:hover {
        transform: translateY(-4px);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 16px 36px rgba(54, 37, 105, 0.13),
            0 0 0 1px rgba(111, 75, 216, 0.06),
            0 0 28px var(--benefit-glow, rgba(111, 75, 216, 0.18));
    }
}

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
.category-card { position: relative; min-height: 202px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 18px; border: 1px solid rgba(86,66,143,.08); border-radius: var(--radius); background: var(--card-bg, #f3efff); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px) rotate(-.25deg); box-shadow: var(--shadow); }
.category-card.color-mint { --card-bg: #e4f8f1; --card-ink: #14775e; }
.category-card.color-coral { --card-bg: #ffe9e6; --card-ink: #b54440; }
.category-card.color-pink { --card-bg: #fff0f6; --card-ink: #b64272; }
.category-card.color-blue { --card-bg: #e6f6fc; --card-ink: #1f718e; }
.category-card.color-yellow { --card-bg: #fff5c8; --card-ink: #806200; }
.category-card.color-violet { --card-bg: #eee8ff; --card-ink: #5631ae; }
.category-art { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: auto; border-radius: 20px; background: rgba(255,255,255,.7); font-size: 2.2rem; box-shadow: 0 8px 18px rgba(62,46,107,.08); }
.category-card--no-art { padding-top: 28px; }
.category-card--no-art h2,
.category-card--no-art h3 { margin-top: 0; }
.category-card h2,
.category-card h3 { margin-top: 18px; color: var(--card-ink); font-size: 1.25rem; }
.category-card--has-preview { height: 100%; gap: 14px; }
.category-card-copy { display: block; width: 100%; }
.category-card--has-preview .category-card-copy { flex: 0 0 auto; }
.category-card--has-preview h2,
.category-card--has-preview h3 { margin-top: 0; }
.category-card--has-preview p { margin-bottom: 0; }
.category-preview-wrap { position: relative; display: block; width: 100%; margin-top: auto; flex-shrink: 0; aspect-ratio: 1 / 1; border: 1px solid rgba(86,66,143,.12); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.category-preview { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category-card p { margin: 5px 0 0; color: #615d69; font-size: .88rem; line-height: 1.45; }
.category-grid--home { max-width: 980px; margin-inline: auto; }

.motif-grid { display: grid; gap: 19px; }
.motif-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.motif-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.motif-link { color: inherit; text-decoration: none; }
.motif-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #fff7e9; }
.motif-image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); transition: transform .35s; }
.motif-card:hover .motif-image { transform: scale(1.78); }
.motif-image.is-raster-thumbnail { padding: 8px; object-fit: contain; object-position: center; transform: none; }
.motif-card:hover .motif-image.is-raster-thumbnail { transform: none; }
.motif-badge { position: absolute; top: 13px; left: 13px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--violet-dark); font-size: .73rem; font-weight: 900; box-shadow: var(--shadow-sm); }
.motif-content { padding: 18px; }
.motif-content h3 { font-size: 1.28rem; }
.motif-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 10px; color: var(--muted); font-size: .83rem; font-weight: 700; }
.motif-meta-sep { margin: 0 7px; color: #d8d2e6; font-weight: 400; }
.section-action { display: flex; justify-content: center; margin-top: 30px; }

/* Startseite: kompaktere Abstände unterhalb des Hero-Bereichs */
.page-home .section { padding: 40px 0; }
.page-home .section-heading { margin-bottom: 22px; }
.page-home .section-heading p { margin-top: 10px; }
.page-home .section-heading h2 { font-size: clamp(1.85rem, 5vw, 2.85rem); }
.page-home .benefit-card { padding: 20px 18px 18px; }
.page-home .section-action { margin-top: 20px; }
/* Google-AdSense-Platzhalter (home):
.page-home .ad-wrap { padding: 14px 0; }
*/
.page-home .generator-banner { gap: 22px; padding: 26px; }
.page-home .generator-copy p { margin-top: 12px; }
.page-home .generator-banner .button { margin-top: 18px; }
.page-home .guide-card { padding: 20px; }
.page-home .guide-card h3 { margin-top: 12px; }
.page-home .guide-card .read-more { margin-top: 12px; }

.generator-banner { position: relative; display: grid; gap: 30px; overflow: hidden; padding: 32px; border-radius: var(--radius-lg); background: var(--violet); color: #fff; box-shadow: 0 24px 55px rgba(80,46,169,.24); }
.generator-banner::before { content: ""; position: absolute; width: 280px; height: 280px; right: -70px; top: -110px; border-radius: 50%; background: rgba(255,214,90,.16); }
.generator-copy { position: relative; z-index: 2; }
.generator-copy .section-kicker { color: var(--yellow); }
.generator-copy h2 { max-width: 650px; font-size: clamp(2rem, 7vw, 3.5rem); }
.generator-copy p { max-width: 650px; margin: 16px 0 0; color: rgba(255,255,255,.82); }
.generator-banner .button { margin-top: 24px; background: var(--yellow); color: #4d3810; }
.generator-steps { position: relative; z-index: 2; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.generator-steps li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.09); }
.generator-steps span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--violet); font-weight: 900; }
.generator-steps strong { display: block; }
.generator-steps small { color: rgba(255,255,255,.7); }

.guide-grid { display: grid; gap: 16px; }
.guide-card { display: block; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.guide-card--linked:hover h2, .guide-card--linked:hover h3 { color: var(--violet); }
.guide-card-image { overflow: hidden; margin: -23px -23px 16px; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 9; background: #f6f1ff; }
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card:hover h3 { color: var(--violet); }
.guide-tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-dark); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.guide-card h3 { margin-top: 16px; font-size: 1.3rem; transition: color .2s; }
.guide-card p { margin: 9px 0 0; color: var(--muted); }
.guide-card .read-more { display: inline-block; margin-top: 16px; color: var(--coral-dark); font-weight: 900; }

/* Ratgeber-Artikel: Editorial-Design */
.page-article-detail .article-detail-hero {
    position: relative;
}
.article-detail-hero .article-meta,
.article-detail-hero .article-preview-note {
    max-width: 710px;
    margin: 12px auto 0;
    color: #5d5867;
    font-size: .95rem;
}
.page-article-detail .article-detail-hero .article-preview-note {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff6df;
    border: 1px solid #f0d89a;
    color: #8b5c09;
    font-weight: 800;
}
.article-detail-section {
    padding-top: clamp(28px, 4vw, 40px);
}
.page-article-detail .article-content.prose-content {
    position: relative;
    overflow: hidden;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.page-article-detail .article-prose-sparkles {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-article-detail .article-prose-sparkles span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}
.page-article-detail .article-prose-sparkles span:nth-child(1) { top: 14px; right: 18px; width: 8px; height: 8px; background: var(--yellow); }
.page-article-detail .article-prose-sparkles span:nth-child(2) { top: 38px; right: 42px; width: 6px; height: 6px; background: var(--mint); }
.page-article-detail .article-prose-sparkles span:nth-child(3) { bottom: 20px; left: 16px; width: 7px; height: 7px; background: var(--coral); }
.page-article-detail .article-prose-sparkles span:nth-child(4) { bottom: 32px; right: 24px; width: 6px; height: 6px; background: var(--pink); }
.page-article-detail .article-content.prose-content > :not(.article-prose-sparkles) {
    position: relative;
    z-index: 1;
}
.page-article-detail .prose-content > p:first-of-type {
    margin-top: 0;
}
.page-article-detail .prose-content h2 {
    margin: 2em 0 0.85em;
    padding: 0 0 0.45em;
    border-bottom: 1px solid rgba(111, 75, 216, 0.18);
    color: var(--violet-dark);
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    line-height: 1.25;
}
.page-article-detail .prose-content h3 {
    margin: 1.75em 0 0.65em;
    padding: 0 0 0.35em;
    border-bottom: 1px solid rgba(111, 75, 216, 0.12);
    color: var(--ink);
    font-size: clamp(1.22rem, 2.6vw, 1.45rem);
    line-height: 1.35;
}
.page-article-detail .prose-content h2:first-child,
.page-article-detail .prose-content h3:first-child {
    margin-top: 0;
}
.page-article-detail .prose-content p,
.page-article-detail .prose-content li {
    color: #4a4558;
    line-height: 1.82;
    font-size: clamp(0.98rem, 2vw, 1.06rem);
}
.page-article-detail .prose-content p { margin: 0 0 1.05em; }
.page-article-detail .prose-content ul,
.page-article-detail .prose-content ol {
    margin: 0 0 1.35em 1.25rem;
    padding-left: 1.75rem;
}
.page-article-detail .prose-content ul {
    list-style-type: disc;
}
.page-article-detail .prose-content ul li::marker {
    color: var(--violet-dark);
}
.page-article-detail .prose-content ol {
    list-style-type: decimal;
}
.page-article-detail .prose-content ol li::marker {
    color: var(--violet-dark);
    font-weight: 800;
}
.page-article-detail .prose-content li {
    margin-bottom: 0.45em;
    padding: 0;
}
.page-article-detail .prose-content li:last-child {
    margin-bottom: 0;
}
.page-article-detail .prose-content blockquote {
    margin: 0 0 1.4em;
    padding: 18px 22px;
    border-left: 4px solid var(--violet);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: linear-gradient(135deg, #faf8ff 0%, #fff 100%);
    box-shadow: inset 0 0 0 1px rgba(111, 75, 216, 0.08);
    color: #514c5d;
    font-size: clamp(1.05rem, 2.1vw, 1.12rem);
}
.page-article-detail .prose-content strong {
    color: var(--ink);
    font-weight: 900;
}
.page-article-detail .prose-content table {
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 1.25em 0;
    border-collapse: collapse;
    table-layout: auto;
}
.page-article-detail .prose-content .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.25em 0;
}
.page-article-detail .prose-content .table-scroll table {
    margin: 0;
}
.page-article-detail .prose-content thead,
.page-article-detail .prose-content tbody,
.page-article-detail .prose-content tfoot {
    display: table-row-group;
}
.page-article-detail .prose-content tr {
    display: table-row;
}
.page-article-detail .prose-content th,
.page-article-detail .prose-content td {
    display: table-cell;
    border: 1px solid var(--line);
    padding: 0.55em 0.75em;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}
.page-article-detail .prose-content th {
    background: rgba(238, 233, 255, 0.45);
    color: var(--ink);
    font-weight: 800;
}
.page-article-detail .prose-content tbody tr:first-child td {
    background: rgba(238, 233, 255, 0.45);
    color: var(--ink);
    font-weight: 800;
}
.page-article-detail .prose-content tbody tr:nth-child(even) td {
    background: rgba(252, 251, 255, 0.85);
}
.page-article-detail .prose-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(111, 75, 216, 0.1);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(54, 37, 105, 0.12);
}
.prose-content img.article-img-size-small {
    max-width: min(300px, 100%);
}
.prose-content img.article-img-size-medium {
    max-width: min(768px, 100%);
}
.prose-content img.article-img-size-full {
    max-width: 100%;
}
.prose-content img.article-img-align-left {
    float: left;
    margin: 0.65em 1.15em 0.95em 0;
}
.prose-content img.article-img-align-right {
    float: right;
    margin: 0.65em 0 0.95em 1.15em;
}
.prose-content img.article-img-align-none {
    float: none;
    clear: both;
    margin: 1.15em auto;
}
.prose-content h2 + p:has(> img:only-child) img.article-img-align-left,
.prose-content h2 + p:has(> img:only-child) img.article-img-align-right,
.prose-content h3 + p:has(> img:only-child) img.article-img-align-left,
.prose-content h3 + p:has(> img:only-child) img.article-img-align-right,
.prose-content p:has(> img:only-child):has(+ h2) img.article-img-align-left,
.prose-content p:has(> img:only-child):has(+ h2) img.article-img-align-right,
.prose-content p:has(> img:only-child):has(+ h3) img.article-img-align-left,
.prose-content p:has(> img:only-child):has(+ h3) img.article-img-align-right {
    float: none;
    clear: both;
    margin: 1.15em auto;
}
.prose-content::after {
    content: "";
    display: table;
    clear: both;
}
.page-article-detail .article-author-box {
    position: relative;
    width: 100%;
    max-width: none;
    margin: clamp(32px, 5vw, 48px) 0 0;
    padding: clamp(26px, 4vw, 36px) clamp(22px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.page-article-detail .article-author-box::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 0 auto clamp(18px, 3vw, 22px);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--coral), var(--violet), var(--mint));
    opacity: 0.55;
}
.article-author-photo {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 auto 14px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(111, 75, 216, .14);
    box-shadow: 0 2px 10px rgba(111, 75, 216, .1);
}
.article-author-name {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 900;
    line-height: 1.3;
}
.article-author-bio {
    max-width: 760px;
    margin: 0 auto;
    color: #5d5867;
    font-size: clamp(1.02rem, 2.1vw, 1.12rem);
    line-height: 1.75;
}

/* Google-AdSense-Platzhalter:
.ad-wrap { padding: 24px 0; background: #fff; }
.ad-slot { min-height: 108px; display: grid; place-items: center; border: 1px dashed #cbc4dc; border-radius: var(--radius); background: #faf9fc; color: #918c9b; text-align: center; }
.ad-slot span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.ad-slot small { display: block; margin-top: 5px; font-size: .76rem; }
*/

.page-hero { position: relative; overflow: hidden; padding: 58px 0 62px; background: linear-gradient(130deg,#fff6d5,#f1ebff); text-align: center; }
.page-hero h1 { max-width: 900px; margin-inline: auto; font-size: clamp(2.55rem, 8vw, 4.8rem); }
.page-hero p { max-width: 710px; margin: 18px auto 0; color: #5d5867; font-size: 1.1rem; }
.page-hero .breadcrumbs { margin-bottom: 12px; }
.page-hero:not(.template-detail-hero) { padding-bottom: clamp(28px, 4vw, 36px); }
.page-hero:not(.template-detail-hero) h1 { font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.12; }
.page-hero:not(.template-detail-hero) .breadcrumbs { margin-bottom: 8px; }
.page-hero:not(.template-detail-hero) p { margin-top: 12px; }
.page-hero + .section { padding-top: clamp(36px, 5vw, 48px); }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; padding: 0; color: var(--muted); font-size: .84rem; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #aaa3b5; }
.placeholder-panel { max-width: 820px; margin: 0 auto; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.placeholder-panel .category-art { margin: 0 auto 20px; }
.placeholder-panel h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.placeholder-panel p { max-width: 610px; margin: 14px auto 0; color: var(--muted); }

.placeholder-panel p a,
.template-description-text a,
.page-article-detail .prose-content a,
.legal-content a {
    color: var(--violet-dark);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(111, 75, 216, 0.35);
    text-underline-offset: 3px;
    word-break: break-word;
}

.placeholder-panel p a:hover,
.template-description-text a:hover,
.page-article-detail .prose-content a:hover,
.legal-content a:hover {
    color: var(--violet);
    text-decoration-color: var(--violet);
}

.placeholder-panel p a:focus-visible,
.template-description-text a:focus-visible,
.page-article-detail .prose-content a:focus-visible,
.legal-content a:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
    border-radius: 2px;
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.legal-content h2 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.legal-content h3 {
    margin: 28px 0 10px;
    font-size: 1.08rem;
}
.legal-content h4 {
    margin: 18px 0 8px;
    color: var(--ink);
    font-size: .98rem;
}
.legal-content p,
.legal-content li {
    color: #5d5867;
    font-size: .96rem;
    line-height: 1.65;
}
.legal-content p { margin: 0 0 12px; }
.legal-content ul {
    margin: 0 0 14px;
    padding-left: 1.2rem;
}
.legal-content li + li { margin-top: 6px; }
.legal-content hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
}
.legal-meta { margin-top: 24px; color: var(--muted); font-size: .88rem; }
.template-detail-layout { display: grid; gap: 24px; align-items: start; }
.template-main-card, .template-facts-card { padding: clamp(20px, 4vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.template-detail-image { display: block; width: 100%; height: auto; background: #fff; border-radius: 20px; }
.template-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.template-action { min-width: 210px; margin: 0; text-align: center; }
.template-action svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.template-action.button-secondary { color: var(--violet-dark); background: #fff; border-color: var(--violet); box-shadow: 0 8px 20px rgba(111,75,216,.1); }
.template-action.button-secondary:hover { color: #fff; background: var(--violet-dark); }
.download-hint { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: .86rem; }
.template-facts-card h2 { margin: 0 0 15px; font-size: 1.35rem; }
.template-facts-card h2:not(:first-child) { margin-top: 28px; }
.template-facts { margin: 0; }
.template-facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.template-facts dt { color: var(--muted); }
.template-facts dd { margin: 0; text-align: right; font-weight: 800; }
.template-materials { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.template-materials li { display: grid; grid-template-columns: 19px 1fr auto; gap: 9px; align-items: center; }
.template-materials li > span { width: 19px; height: 19px; background: var(--material-color); border: 1px solid rgba(0,0,0,.15); border-radius: 5px; }
.template-materials b { font-size: .92rem; }
.template-materials em { color: var(--muted); font-style: normal; }
.template-description { max-width: 820px; }

.template-description-section {
    padding: clamp(24px, 3vw, 32px) 0 clamp(32px, 5vw, 48px);
}

.template-description-quote {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 8px;
    align-items: start;
}

.template-description-quote > h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    line-height: 1.25;
    color: var(--violet-dark);
}

.template-description-avatar {
    grid-column: 1;
    grid-row: 2;
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 999px;
    border: 2px solid rgba(111, 75, 216, .14);
    box-shadow: 0 2px 8px rgba(111, 75, 216, .08);
}

.template-description-text {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 0;
    padding: 14px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.template-description-text::before,
.template-description-text::after {
    content: "";
    position: absolute;
    top: 38px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 10px solid var(--line);
}

.template-description-text::before {
    left: -10px;
}

.template-description-text::after {
    left: -8px;
    border-right-color: #fff;
}

.template-description-text p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: clamp(1.02rem, 2vw, 1.08rem);
}

/* Vorlagen-Detailseite: kompakter Hero + früher sichtbares Motivbild */
.page-hero.template-detail-hero {
    padding: clamp(22px, 4vw, 32px) 0 clamp(16px, 3vw, 24px);
}
.page-hero.template-detail-hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    line-height: 1.15;
}
.page-hero.template-detail-hero p {
    margin-top: 10px;
    font-size: clamp(.95rem, 2vw, 1.02rem);
}
.page-hero.template-detail-hero .breadcrumbs {
    margin-bottom: 10px;
}
.section.template-detail-section {
    padding: clamp(18px, 3vw, 28px) 0 clamp(28px, 3vw, 36px);
}

.section.template-description-section {
    padding: clamp(24px, 3vw, 32px) 0 clamp(32px, 5vw, 48px);
}
.section.template-detail-section .template-main-card {
    padding: clamp(14px, 2.5vw, 20px);
}
.section.template-detail-section .template-actions {
    margin-top: 16px;
}

.product-group + .product-group { margin-top: 50px; }
.product-group h2 { margin-bottom: 18px; font-size: 2rem; }
.product-grid { display: grid; gap: 16px; }
.product-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.product-visual { height: 130px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 17px; background: var(--cream); font-size: 3.5rem; }
.product-card h3 { font-size: 1.18rem; }
.product-card p { color: var(--muted); }
.product-card .button { width: 100%; min-height: 46px; font-size: .9rem; }
.affiliate-note { padding: 12px 16px; border-radius: 12px; background: #fff6d5; color: #655628; font-size: .86rem; }

.site-footer { position: relative; overflow: hidden; padding: 62px 0 0; background: #2d2448; color: #e9e4f7; }
.footer-grid { position: relative; display: grid; gap: 32px; }
.site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-copy small { color: #bdb3d5; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer p { color: #bbb3cd; }
.footer-about p { max-width: 340px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:not(.brand) { color: #cfc8df; text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--yellow); }
.coming-soon { display: inline-block; padding: 6px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: var(--yellow); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 42px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; font-size: .78rem; line-height: 1.55; }
.footer-bottom p:first-child { flex: 0 0 auto; }
.footer-bottom span { color: var(--coral); }
.footer-sparkles span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); opacity: .35; }
.footer-sparkles span:nth-child(1) { left: 4%; top: 20%; }
.footer-sparkles span:nth-child(2) { left: 44%; top: 9%; background: var(--mint); }
.footer-sparkles span:nth-child(3) { right: 6%; top: 26%; background: var(--coral); }
.footer-sparkles span:nth-child(4) { right: 28%; bottom: 18%; width: 8px; height: 8px; }
.footer-sparkles span:nth-child(5) { left: 20%; bottom: 9%; width: 7px; height: 7px; background: var(--pink); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } .button, .motif-card, .category-card { transition: none; } .benefit-card { transition: none; } }

@media (max-width: 619px) {
    .page-article-detail .article-content.prose-content {
        padding: clamp(20px, 4.5vw, 28px) clamp(16px, 4vw, 22px);
    }
    .page-article-detail .prose-content h2 {
        margin-top: 1.75em;
        font-size: clamp(1.4rem, 5vw, 1.65rem);
    }
    .page-article-detail .prose-content img.article-img-align-left,
    .page-article-detail .prose-content img.article-img-align-right {
        float: none;
        clear: both;
        margin: 1.15em auto;
    }
    .page-article-detail .article-prose-sparkles span {
        opacity: 0.16;
    }
}

@media (min-width: 620px) {
    .search-card { grid-template-columns: 190px 1fr; align-items: center; padding: 20px 24px; }
    .benefit-grid, .guide-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .motif-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 48px;
    }
    .footer-bottom p:last-child {
        flex: 0 1 520px;
        max-width: min(520px, 52%);
        margin-left: auto;
        text-align: right;
    }
}

@media (min-width: 900px) {
    body.menu-open { overflow: auto; }
    .header-inner { min-height: 84px; }
    .nav-toggle { display: none; }
    .main-nav,
    .main-nav.is-open {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        display: flex;
        align-items: center;
        gap: 2px;
        width: auto;
        height: auto;
        padding: 0;
        overflow: visible;
    }
    .main-nav a { padding: 9px 11px; font-size: .91rem; }
    .main-nav .nav-cta { margin: 0 0 0 7px; padding-inline: 17px; }
    .hero { padding: 42px 0 74px; }
    .page-hero { padding-top: 42px; }
    .page-hero + .section { padding-top: clamp(44px, 4vw, 56px); }
    .hero-grid { grid-template-columns: 1.04fr .96fr; align-items: start; gap: 38px; }
    .hero-visual { justify-self: end; }
    .hero-photo {
        height: var(--hero-image-height-desktop);
        aspect-ratio: auto;
        object-fit: cover;
        object-position: 62% center;
    }
    .page-home .section { padding: 48px 0; }
    .page-home .benefit-card { padding: 22px 20px 20px; }
    .page-home .category-card { min-height: 220px; }
    .quick-search { margin-top: -34px; }
    .section { padding: 94px 0; }
    .page-home .section { padding: 52px 0; }
    .page-home .generator-banner { padding: 36px; }
    .benefit-grid { gap: 20px; }
    .benefit-card { padding: 26px 24px 24px; }
    .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .category-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .category-card { min-height: 242px; padding: 17px; }
    .category-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .category-page-grid .category-card { min-height: 230px; padding: 25px; }
    .category-page-grid .category-card--has-preview { gap: 18px; }
    .category-page-grid .category-card--has-preview h2 { margin-top: 0; }
    .category-page-grid .category-card--has-preview p { max-width: none; }
    .category-page-grid .category-card h2 { font-size: 1.45rem; }
    .category-page-grid .category-card p { max-width: 290px; font-size: .96rem; }
    .motif-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .template-detail-layout { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); }
    .section.template-detail-section {
        padding: clamp(24px, 3vw, 36px) 0 clamp(28px, 3vw, 36px);
    }
    .section.template-description-section {
        padding: clamp(24px, 3vw, 32px) 0 clamp(48px, 5vw, 72px);
    }
    .generator-banner { grid-template-columns: 1.2fr .8fr; padding: 52px; align-items: center; }
}

@media (max-width: 480px) {
    .benefit-card { padding: 18px 16px 16px; }
    .benefit-card h3 { font-size: 1.15rem; }
    .benefit-card p { font-size: 0.92rem; }
    .benefit-sparkles span { opacity: 0.32; }
    .benefit-card--motifs .benefit-sparkles span:nth-child(1),
    .benefit-card--download .benefit-sparkles span:nth-child(1),
    .benefit-card--create .benefit-sparkles span:nth-child(1) { width: 8px; height: 8px; top: 12px; right: 12px; }
    .template-description-quote {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 6px;
    }
    .template-description-quote > h2 {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .template-description-avatar {
        width: 64px;
        height: 64px;
    }
    .template-description-text { padding: 12px 14px; }
    .template-description-text::before,
    .template-description-text::after { top: 26px; }
    .page-article-detail .article-content.prose-content {
        padding: 18px 16px 20px;
    }
    .page-article-detail .prose-content h2 {
        font-size: 1.42rem;
    }
    .page-article-detail .prose-content h3 {
        font-size: 1.16rem;
    }
    .page-article-detail .prose-content p,
    .page-article-detail .prose-content li {
        font-size: 0.97rem;
    }
    .page-article-detail .article-author-box {
        padding: 22px 16px;
    }
}

@media (max-width: 390px) {
    .container { width: min(var(--container), calc(100% - 22px)); }
    .brand-copy strong { font-size: 1.07rem; }
    .brand-copy small { font-size: .59rem; }
    .category-grid { grid-template-columns: 1fr; }
    .category-grid--home { grid-template-columns: 1fr; }
    .search-form button { flex-basis: 46px; width: 46px; height: 46px; }
}
