/*!
Theme Name: Emma Wagner
Theme URI: https://autorin-emma-wagner.de/
Author: Kirill Postnyi
Author URI: https://postnyi.sphera.click/
Description: Theme für autorin-emma-wagner.de
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: emma-wagner

Basiert auf Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--accent, #8C1D3A);
}

a:visited {
	color: var(--accent, #8C1D3A);
}

a:hover,
a:focus,
a:active {
	color: var(--accent-dark, #6E1229);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: var(--radius-button);
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
/* ==========================================================================
   global
   ========================================================================== */

/* ---------- Schriften ----------
   Zentral in theme.json (settings.typography.fontFamilies, lokale Dateien, SIL OFL).
   WordPress gibt die @font-face-Regeln und die Variablen --wp--preset--font-family--* selbst aus. */

/* ---------- Tokens (aus dem Design) ---------- */

:root {
	/* Farben – zentral in theme.json (Palette), hier nur als Kurzname mit Ersatzwert */
	--ink: var(--wp--preset--color--tinte, #2B1018);          /* Text, Überschriften */
	--ink-70: var(--wp--preset--color--tinte-70, #5A3F47);    /* Sekundärtext */
	--ink-50: #8E7A80;
	--accent: var(--wp--preset--color--wein, #8C1D3A);             /* Weinrot: Buttons, Links */
	--accent-dark: var(--wp--preset--color--wein-dunkel, #6E1229); /* Hover, Schrift-Akzente */
	--accent-deep: #4A0B1B;
	--accent-light: var(--wp--preset--color--rose-hell, #F8E8EC); /* Hover-Flächen */
	--accent-tint: var(--wp--preset--color--rose-hauch, #FBEFF1);
	--accent-hover: #FDF5F7;
	--accent-soft: var(--wp--preset--color--rose, #F3D3DB);  /* helle Schrift auf dunklem Grund */
	--pink: #F6B9C6;         /* nur Deko */
	--gold: #E8A15A;         /* nur Deko */
	--line: #E8D3D9;
	--line-strong: #DDBCC5;
	--line-soft: #EFE1E4;
	--paper: var(--wp--preset--color--papier, #FFFAF7);
	--focus: #23628F;
	--success: #1F5C38;
	--success-bg: #E3F1EA;
	--info: #1B4E73;
	--info-bg: #EAF2F8;
	--feather: var(--wp--preset--gradient--feder, linear-gradient(90deg, #F6B9C6, #8C1D3A, #E8A15A));
	--rosegold: var(--wp--preset--gradient--rosegold, linear-gradient(115deg, #B76E79 0%, #E7B5B5 18%, #FFF0EC 32%, #D9969E 50%, #A85D6B 64%, #F3CFC9 82%, #B76E79 100%));

	/* Schriften – zentral in theme.json */
	--font-heading: var(--wp--preset--font-family--ueberschrift, "Yeseva One", Georgia, serif);
	--font-body: var(--wp--preset--font-family--text, "Mulish", system-ui, sans-serif);
	--font-script: var(--wp--preset--font-family--handschrift, "Dancing Script", cursive);
	--font-quote: var(--wp--preset--font-family--zitat, "Libre Baskerville", Georgia, serif); /* Zitate, Leser*innenstimmen – Schrift in theme.json austauschbar */

	/* Konturen und Ecken für Buttons, Formfelder und Papierflächen */
	--radius-button: 6px 16px;
	--radius-control: 6px;
	--radius-card: 5px 16px;
	--frame-inset: 5px;
	--radius-frame: 5px 19px;
	--radius-panel: calc(5px + var(--frame-inset)) calc(19px + var(--frame-inset));
	--button-keyline: inset 0 1px 0 color-mix(in srgb, currentColor 32%, transparent), inset 0 -1px 0 color-mix(in srgb, currentColor 22%, transparent);

	--panel-bg: rgba(255, 250, 247, 0.92);
	--shadow-panel: 0 12px 32px -16px rgba(43, 16, 24, 0.25);
	--shadow-card: 0 14px 30px -22px rgba(43, 16, 24, 0.4);
	--shadow-cover: 0 34px 60px -24px rgba(43, 16, 24, 0.5), 0 10px 20px -10px rgba(43, 16, 24, 0.3);
	--shadow-polaroid: 0 18px 30px -18px rgba(43, 16, 24, 0.45);

	/* Saisonaler Hintergrund: später url("assets/images/herbst.jpg") */
	--site-bg-image: none;
}

/* ---------- Basis ---------- */

body,
button,
input,
select,
textarea {
	font-family: var(--font-body);
	color: var(--ink);
}

body {
	background-color: #F1E6DE;
	background-image:
		var(--site-bg-image),
		linear-gradient(165deg, #F3E9E2 0%, #E4D1C6 100%);
	background-attachment: fixed;
	background-size: cover;
	-webkit-font-smoothing: antialiased;
}

ul {
	padding: 0;
	margin: 0;
}

ul li {
	list-style: none;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

/* Menü offen → Seite dahinter nicht scrollen */
html.menu-open {
	overflow: hidden;
}

/* ==========================================================================
   Header
   Handy zuerst; ab 1200px Desktop (Menü links – Logo – Menü rechts)
   ========================================================================== */

.site-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	row-gap: 4px;
	padding: 8px 8px 8px 14px;
	border-radius: var(--radius-panel);
	background: var(--panel-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 12px 28px -16px rgba(43, 16, 24, 0.3);
	max-width: 1176px;
	margin-inline: auto;
}

/* Feine Innenlinie wie bei den Inhaltsflächen */
.site-header__inner::after {
	content: "";
	position: absolute;
	inset: var(--frame-inset);
	padding: 1px;
	border-radius: var(--radius-frame);
	background: var(--rosegold);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Menüs auf dem Handy ausblenden (stehen im Vollbild-Menü) */
.site-nav {
	display: none;
}

/* Logo */
.site-branding {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	height: 54px;
	width: auto;
}

.site-title {
	font-family: var(--font-heading);
	font-size: 28px;
	color: var(--ink);
	text-decoration: none;
}

.site-slogan {
	margin: 0;
	font-family: var(--font-script);
	font-size: 18px;
	line-height: 1.15;
	color: var(--accent-dark);
}

/* Slogan unter dem Logo nur am Desktop */
.site-branding .site-slogan {
	display: none;
}

/* Menü-Button */
.menu-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--radius-button);
	box-shadow: var(--button-keyline);
	background: var(--accent);
	color: #fff;
	font: 800 13px var(--font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s;
}

.menu-toggle:hover {
	background: var(--accent-dark);
}

/* Zweite Zeile: Slogan + Social (nur Handy) */
.site-header__sub {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding-top: 4px;
	border-top: 1px solid transparent;
	border-image: var(--feather) 1;
}

.site-slogan--small {
	max-width: 170px;
	font-size: 17px;
}

@media (min-width: 600px) {
	.site-slogan--small { max-width: none; font-size: 19px; }
}

/* Social-Icons */
.social {
	display: flex;
}

.social a {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-control);
	transition: background-color 0.2s;
}

.social a:hover {
	background: var(--accent-light);
}

/* Social-Leiste rechts (nur Desktop) */
.social-rail {
	display: none;
}

/* ---------- Vollbild-Menü (Handy) ---------- */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1000;
	padding: 12px;
	background: rgba(43, 16, 24, 0.25);
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu__panel {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 10px 10px 24px 16px;
	border-radius: var(--radius-panel);
	background: rgba(255, 250, 247, 0.97);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: 0 20px 50px -20px rgba(43, 16, 24, 0.4);
	animation: menu-in 0.25s ease;
}

@keyframes menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-menu__top .custom-logo {
	height: 64px;
	width: auto;
}

.mobile-menu__close {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	margin-left: auto;
	padding: 0 16px;
	border: 1.5px solid var(--accent);
	border-radius: var(--radius-button);
	box-shadow: var(--button-keyline);
	background: transparent;
	color: var(--accent);
	font: 800 13px var(--font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu__close:hover {
	background: var(--accent-light);
}

.mobile-nav {
	margin-top: 20px;
	padding-right: 6px;
}

.mobile-nav__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 58px;
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--font-heading);
	font-size: 28px;
	color: var(--ink);
	text-decoration: none;
}

/* Pfeil rechts */
.mobile-nav__list a::after {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: url("assets/icons/arrow-right.svg") center / contain no-repeat;
}

.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current-menu-ancestor > a {
	color: var(--accent-dark);
}

/* Untermenüs eingerückt */
.mobile-nav__list .sub-menu a {
	min-height: 48px;
	padding-left: 16px;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 700;
}

/* Menüpunkt mit CSS-Klasse „menu-newsletter“ als Button */
.mobile-nav__list .menu-newsletter > a {
	min-height: 56px;
	margin-top: 24px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius-button);
	box-shadow: var(--button-keyline);
	background: var(--accent);
	color: #fff;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mobile-nav__list .menu-newsletter > a::after {
	background-image: url("assets/icons/mail-white.svg");
}

.mobile-menu__bottom {
	margin-top: auto;
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mobile-menu__bottom .site-slogan {
	font-size: 22px;
}

.social--menu {
	margin-left: -10px;
	gap: 4px;
}

.social--menu a {
	width: 48px;
	height: 48px;
}

/* ---------- Desktop ab 1200px ---------- */

@media (min-width: 1200px) {

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 24px;
		padding: 20px 28px;
		max-width: none;
		box-shadow: var(--shadow-panel);
	}

	.site-nav {
		display: block;
	}

	.site-nav__list {
		display: flex;
		align-items: center;
		column-gap: 18px;
	}

	.site-nav--left .site-nav__list {
		justify-content: flex-end;
	}

	.site-nav--right .site-nav__list {
		justify-content: flex-start;
	}

	.site-nav__list a {
		display: block;
		padding: 14px 0 10px;
		white-space: nowrap;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--ink);
		text-decoration: none;
		/* Feder-Linie, wächst beim Hover */
		background: var(--feather) left bottom / 0% 2px no-repeat;
		transition: background-size 0.3s, color 0.2s;
	}

	.site-nav__list a:hover,
	.site-nav__list a:focus-visible {
		background-size: 100% 2px;
		color: var(--accent-dark);
	}

	.site-nav__list .current-menu-item > a,
	.site-nav__list .current-menu-ancestor > a,
	.site-nav__list .current-page-ancestor > a {
		background-size: 100% 2px;
	}

	/* Newsletter-Menüpunkt als Rahmen-Button (CSS-Klasse „menu-newsletter“) */
	.site-nav__list .menu-newsletter > a {
		padding: 10px 14px;
		border: 1.5px solid var(--accent);
		border-radius: var(--radius-button);
	box-shadow: var(--button-keyline);
		background: none;
		color: var(--accent);
	}

	.site-nav__list .menu-newsletter > a:hover {
		background: var(--accent);
		color: #fff;
	}

	/* Untermenüs */
	.site-nav__list li {
		position: relative;
	}

	.site-nav__list .sub-menu {
		position: absolute;
		top: 100%;
		left: -16px;
		z-index: 10;
		min-width: 220px;
		padding: 8px 16px;
		border-radius: var(--radius-card);
		background: #fff;
		box-shadow: var(--shadow-panel);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}

	.site-nav__list li:hover > .sub-menu,
	.site-nav__list li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-branding {
		align-items: center;
		gap: 4px;
	}

	.site-branding .custom-logo {
		height: 92px;
	}

	.site-branding .site-slogan {
		display: block;
		white-space: nowrap;
	}

	.menu-toggle,
	.site-header__sub {
		display: none;
	}

	.social-rail {
		display: block;
		position: fixed;
		right: 0;
		top: 50%;
		z-index: 90;
		transform: translateY(-50%);
		padding: 8px 6px;
		border-radius: 18px 0 0 18px;
		background: var(--panel-bg);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		box-shadow: 0 10px 30px -14px rgba(43, 16, 24, 0.3);
	}

	.social--rail {
		flex-direction: column;
		gap: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu__panel { animation: none; }
	.site-nav__list a { transition: none; }
}

/* === Header fixed === */

/* Platz für die fixierte Kopfzeile, damit der Inhalt nicht darunter verschwindet */
body {
	padding-top: 143px;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 10px 10px 0;
}

@media (min-width: 1200px) {

	body {
		padding-top: 209px;
	}

	.site-header {
		top: 24px;
		max-width: 1232px;
		margin: 0 auto;
		padding: 0 24px;
	}

	/* Beim Scrollen kompakter */
	.site-header__inner,
	.site-branding .custom-logo {
		transition: padding 0.25s ease, height 0.25s ease;
	}

	.site-header.is-scrolled {
		top: 12px;
	}

	.site-header.is-scrolled .site-header__inner {
		padding-block: 8px;
	}

	.site-header.is-scrolled .site-branding .custom-logo {
		height: 56px;
	}

	.site-header.is-scrolled .site-branding .site-slogan {
		display: none;
	}
}

/* Eingeloggt: WordPress-Adminleiste */
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 1200px) {
	.admin-bar .site-header { top: 56px; }
	.admin-bar .site-header.is-scrolled { top: 44px; }
}

/* ==========================================================================
   Footer (kompakt)
   ========================================================================== */

.site-footer {
	width: min(100% - 20px, 1176px);
	margin: 14px auto 24px;
}

.site-footer__inner {
	display: grid;
	gap: 20px;
	justify-items: center;
	padding: 32px 22px 24px;
	border-radius: var(--radius-panel);
	border: 1px solid var(--line);
	background: var(--panel-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-panel);
	text-align: center;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.site-footer .custom-logo-link { display: block; line-height: 0; }
.site-footer .custom-logo { height: 64px; width: auto; }
.site-footer .social { justify-content: center; }

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
}

.footer-nav__list a {
	display: inline-block;
	padding: 8px 0;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-nav__list a:hover { color: var(--accent); }

.site-footer__copy {
	margin: 0;
	padding-top: 16px;
	width: 100%;
	border-top: 1px solid var(--line-soft);
	font-size: 13px;
	color: var(--ink-70);
}

@media (min-width: 900px) {
	.site-footer { width: min(100% - 48px, 1176px); margin-top: 28px; margin-bottom: 40px; }

	.site-footer__inner {
		grid-template-columns: 1fr auto;
		justify-items: stretch;
		align-items: center;
		padding: 40px 72px 28px;
		text-align: left;
	}

	.site-footer__brand { flex-direction: row; align-items: center; gap: 20px; }
	.site-footer__nav { justify-self: end; }
	.footer-nav__list { justify-content: flex-end; }
	.site-footer__copy { grid-column: 1 / -1; }
}


/* ---------- Instagram-Fotos im Footer (aus Website-Einstellungen) ---------- */

.insta-strip {
	width: min(100% - 20px, 1176px);
	margin: 0 auto 20px;
	text-align: center;
}

.insta-strip__title {
	display: inline-block;
	margin-bottom: 12px;
	font-family: var(--font-script);
	font-size: 26px;
	color: var(--accent);
	text-decoration: none;
}

.insta-strip__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.insta-strip__list a { display: block; border-radius: 12px; overflow: hidden; }

.insta-strip__list img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.insta-strip__list a:hover img { transform: scale(1.04); }

@media (min-width: 900px) {
	.insta-strip { width: min(100% - 48px, 1176px); }
	.insta-strip__list { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}

/* ---------- Ankündigungsleiste (Website-Einstellungen) ---------- */

.ankuendigung {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 34px;
	margin-bottom: 8px;
	padding: 0 6px 0 18px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent-dark), var(--accent));
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: var(--shadow-panel);
	transition: opacity 0.2s ease;
}

.ankuendigung__text {
	flex: 1;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
}

a.ankuendigung__text,
a.ankuendigung__text:visited,
a.ankuendigung__text:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.ankuendigung__more {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ankuendigung__close {
	flex: none;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
}

.ankuendigung__close:hover { background: rgba(255, 255, 255, 0.28); }
.ankuendigung__close:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* Platz unter der fixierten Kopfzeile: Leiste 34px + 8px Abstand */
body.has-ankuendigung { padding-top: calc(143px + 42px); }

@media (min-width: 1200px) {
	body.has-ankuendigung { padding-top: calc(209px + 42px); }
	.ankuendigung { font-size: 14px; }
}

/* Beim Scrollen ausblenden, die Kopfzeile bleibt schlank */
.site-header.is-scrolled .ankuendigung { display: none; }


/* Zusatz „AUTORIN“ unter dem Logo (rechts unter „Wagner“, skaliert mit der Logohöhe --lh) */
.custom-logo-link,
.custom-logo-link:hover,
.custom-logo-link:focus {
	text-decoration: none;
	background-image: none;
}
.custom-logo-link { --lh: 92px; }
.site-branding .custom-logo-link { --lh: 54px; }
.mobile-menu__top .custom-logo-link,
.site-footer .custom-logo-link { --lh: 64px; }
@media (min-width: 1200px) {
	.site-branding .custom-logo-link { --lh: 92px; }
	.site-header.is-scrolled .site-branding .custom-logo-link { --lh: 56px; }
}
.custom-logo-link::after {
	content: none; /* „AUTORIN“ steht jetzt im Logo-Bild selbst */
	display: block;
	margin-top: calc(var(--lh) * -0.06);
	padding-left: 0.45em;
	transform: translateX(calc(var(--lh) * 0.40));
	font-family: var(--font-body);
	font-size: max(9px, calc(var(--lh) * 0.16));
	font-weight: 700;
	letter-spacing: 0.45em;
	line-height: 1;
	text-align: center;
	color: #9a9ea6;
	background: linear-gradient(180deg, #d2d5d9 0%, #a9adb3 45%, #7f848c 62%, #a3a7ad 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: margin 0.25s, transform 0.25s, font-size 0.25s;
}

/* ==========================================================================
 * EMMA-ANPASSUNG 04.12. (20) (Kirill) – BITTE BEI THEME-UPDATES ÜBERNEHMEN
 * Handy: Menü-Button kleiner und mit Luft zum feinen Innenrahmen der Kopfzeile.
 * ========================================================================== */
@media (max-width: 1199px) {
	.menu-toggle {
		height: 40px;
		padding: 0 14px;
		gap: 7px;
		margin: 6px 8px 0 0;
		font-size: 12px;
		letter-spacing: 0.1em;
	}
	.menu-toggle .icon { width: 18px; height: 18px; }
}

/* EMMA-ANPASSUNG 04.12. (21) (Kirill) – BITTE BEI THEME-UPDATES ÜBERNEHMEN
 * Kleine Überzeilen über den Überschriften („ÜBER MICH“, „MEINE BUCHWELTEN“ …) ausblenden – die Überschrift sagt es schon. */
.kicker { display: none !important; }
.home-hero .kicker { display: inline-block !important; } /* (21b) erster Block der Startseite: Überzeile bleibt */
.release__series { display: none !important; }        /* (21b) „Neu & bald“: keine Reihen-/Bandzeile */

/* EMMA-ANPASSUNG 04.12. (22) (Kirill) – BITTE BEI THEME-UPDATES ÜBERNEHMEN
 * Buttons ohne Pfeil- und Herz-Symbole – ruhiger, hochwertiger. Textlinks („Alle Bücher →“) behalten ihren Pfeil. */
:is(.btn, .shop-btn, .button, button[type="submit"]) img.icon:is([src*="arrow-right"], [src*="arrow-left"], [src*="heart"]) { display: none !important; }
/* (22b) Ohne Symbol: Text in breiten Buttons mittig */
:is(.btn--wide, .nl__submit) { justify-content: center !important; text-align: center; }

/* EMMA-ANPASSUNG 04.12. (32) (Kirill) – BITTE BEI THEME-UPDATES ÜBERNEHMEN
 * Reihenfolge der Social-Icons: Instagram, TikTok, Facebook (functions.php bleibt unberührt). */
li:has(> a[href*="instagram.com"]) { order: 1; }
li:has(> a[href*="tiktok.com"])    { order: 2; }
li:has(> a[href*="facebook.com"])  { order: 3; }
li:has(> a[href*="youtube.com"])   { order: 4; }

/* EMMA-ANPASSUNG 04.12. (36) (Kirill) – BITTE BEI THEME-UPDATES ÜBERNEHMEN
 * „Folge mir auf Instagram“-Streifen über dem Footer auf allen Seiten ausgeblendet. */
.insta-strip { display: none !important; }
