/*
Theme Name: Edelweiss
Description: Schlankes Theme der Natur- und Jagdschule Edelweiss. Ersetzt The7 und den Page Builder; kommt ohne Plugins aus.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: edelweiss
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/fira-sans-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/roboto-latin-700-normal.woff2) format("woff2"); }

/* ---------- Tokens (taken from the old theme's settings) ---------- */
:root {
	--green: #009d4f;
	--green-dark: #007c3e;
	--header: #776e65;
	--dark: #333;
	--text: #85868c;
	--text-strong: #333;
	--line: rgba(133, 134, 140, .15);
	--soft: #f7f7f7;
	--width: 1300px;
	--pad: 50px;
	--font: "Fira Sans", Helvetica, Arial, Verdana, sans-serif;
	--font-alt: "Roboto", Helvetica, Arial, Verdana, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/27px var(--font); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--green); font-family: var(--font); font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: 44px; line-height: 54px; }
h2 { font-size: 30px; line-height: 52px; text-transform: uppercase; }
h3 { font-size: 24px; line-height: 34px; text-transform: uppercase; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 26px; }
h6 { font-size: 14px; line-height: 24px; }
p, ul, ol, figure, blockquote, table { margin: 0 0 10px; }
ul, ol { padding-left: 1.4em; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
strong, b { color: inherit; font-weight: 700; }
.icon { fill: currentColor; flex: none; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--pad); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; padding: 8px 14px; background: #fff; color: var(--dark); }

/* ---------- Buttons and forms ---------- */
.button, .wp-block-button__link, button[type="submit"] {
	display: inline-block; border: 0; border-radius: 1px; padding: 12px 18px; cursor: pointer;
	background: var(--green); color: #fff; font: 700 14px/1.2 var(--font-alt); text-decoration: none;
}
.button:hover, .wp-block-button__link:hover, button[type="submit"]:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
input[type="text"], input[type="email"], input[type="search"], textarea {
	width: 100%; padding: 8px 12px; border: 1px solid rgba(133, 134, 140, .3); border-radius: 1px; background: #fdfdfd;
	color: var(--text-strong); font: inherit;
}
label { display: block; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #fff; font-size: 13px; font-weight: 500; line-height: 20px; }
.topbar a { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left > * { display: inline-flex; align-items: center; gap: 7px; }
.topbar-search { position: relative; }
.topbar-search summary { list-style: none; cursor: pointer; display: flex; padding: 4px; }
.topbar-search summary::-webkit-details-marker { display: none; }
.topbar-search .searchform { position: absolute; right: 0; top: 34px; z-index: 60; display: flex; gap: 6px; width: 300px; padding: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.topbar-search .searchform label { flex: 1; }
.topbar-social { display: flex; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .12); }

/* ---------- Header and menu ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--header); box-shadow: 0 1px 4px rgba(51, 51, 51, .11); }
.masthead-inner { display: flex; align-items: center; gap: 12px; min-height: 100px; transition: min-height .2s; }
.masthead.is-stuck .masthead-inner { min-height: 60px; }
.brand { display: flex; flex: none; padding-right: 5px; }
.brand img { display: block; width: auto; height: 52px; transition: height .2s; }
.masthead.is-stuck .brand img { height: 40px; }
.mainnav { flex: 1; }
.mainnav ul { list-style: none; margin: 0; padding: 0; }
.mainnav .menu { display: flex; flex-wrap: wrap; justify-content: center; }
.mainnav .menu > li { position: relative; margin: 0 12px; }
.mainnav .menu > li > a {
	display: block; padding: 14px 4px; color: #fff; font-size: 17px; font-weight: 500; line-height: 21px; text-transform: uppercase; text-decoration: none;
	background: linear-gradient(#fff, #fff) no-repeat center calc(100% - 9px) / 0 2px; transition: background-size .25s;
}
.mainnav .menu > li:hover > a, .mainnav .menu > li:focus-within > a,
.mainnav .menu > .current-menu-item > a, .mainnav .menu > .current-menu-ancestor > a { background-size: calc(100% - 8px) 2px; }
.mainnav .sub-menu {
	position: absolute; left: -10px; top: 100%; z-index: 55; width: 280px; padding: 10px; background: var(--dark);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.mainnav li:hover > .sub-menu, .mainnav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mainnav .sub-menu li { position: relative; }
.mainnav .sub-menu a { display: block; padding: 8px 10px; color: #fff; font-size: 14px; line-height: 20px; text-decoration: none; }
.mainnav .sub-menu a:hover, .mainnav .sub-menu .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .08); }
.mainnav .sub-menu .sub-menu { left: 100%; top: -10px; }
.mainnav .menu > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: -10px; }
.mainnav .menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: 100%; }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: none; color: #fff; cursor: pointer; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #dfe3e6; }
.hero-stage { position: relative; aspect-ratio: 1280 / 593; max-height: 78vh; width: 100%; }
.hero-single .hero-stage { aspect-ratio: 1280 / 420; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { position: absolute; top: 50%; left: 50%; width: min(100%, 1280px * 1.4); aspect-ratio: 1280 / 593; transform: translate(-50%, -50%); }
.hero-single .hero-canvas { top: 62%; }
.hero-layer { position: absolute; max-width: none; height: auto; opacity: 0; transform: translate(var(--x), var(--y)); }
.hero-slide.is-active .hero-layer { opacity: 1; transform: translate(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px)); transition: opacity 1.2s var(--delay), transform 1.5s cubic-bezier(.19, 1, .22, 1) var(--delay); }
.hero.is-moving .hero-slide.is-active .hero-layer { transition: transform .25s linear; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; opacity: .8; }
.hero-dot.is-active { background: #fff; }

/* ---------- Photo header ---------- */
.photohero { position: relative; display: grid; place-items: center; min-height: clamp(260px, 41.6vw, 600px); overflow: hidden; background: #3c3a36; text-align: center; }
.photohero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photohero-text { position: relative; padding: 30px 20px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.photohero-text p { margin: 0; }
.photohero-title { font-size: clamp(34px, 5.6vw, 70px); font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.photohero-sub { margin-top: 10px !important; font-size: 13px; line-height: 20px; letter-spacing: .25em; text-transform: uppercase; }

/* ---------- Page title ---------- */
.pagetitle { background: var(--soft); }
.pagetitle .wrap { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 180px; padding-top: 25px; padding-bottom: 20px; text-align: center; }
.pagetitle h1 { margin: 0; color: var(--text-strong); font: 700 30px/40px var(--font-alt); text-transform: uppercase; }
.breadcrumbs { margin-top: 6px; color: #b4b5bb; font: 400 13px/23px var(--font-alt); }
.breadcrumbs a { color: #b4b5bb; }
.breadcrumbs .sep { margin: 0 7px; }

/* ---------- Layout ---------- */
.main { padding: 70px 0; }
.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.content { min-width: 0; }
.sidebar { border-left: 1px solid var(--line); padding-left: 50px; }
.sidebar-menu, .sidebar-menu ul { list-style: none; margin: 0; padding: 0; }
.sidebar-menu > li { border-top: 1px solid var(--line); }
.sidebar-menu > li:first-child { border-top: 0; }
.sidebar-menu a { display: block; padding: 9px 0; color: var(--text); font-size: 13px; line-height: 21px; text-transform: uppercase; text-decoration: none; }
.sidebar-menu a:hover, .sidebar-menu .current-menu-item > a { color: var(--green); }
.sidebar-menu ul a { padding-left: 14px; text-transform: none; }

/* ---------- Content (core blocks) ---------- */
.entry > * { margin-top: 0; }
.entry > .wp-block-columns, .entry > .wp-block-group { margin-bottom: 30px; }
.entry .wp-block-columns { gap: 50px; }
.entry .wp-block-column > :last-child { margin-bottom: 0; }
.entry .wp-block-image { margin-bottom: 20px; }
.entry .wp-block-image img { display: block; }
.entry .wp-block-image.is-style-rounded img { width: 260px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.entry .wp-block-image.aligncenter img { margin-left: auto; margin-right: auto; }
.entry .wp-block-image.aligncenter, .entry .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry .alignleft { float: left; margin: 5px 25px 15px 0; }
.entry .alignright { float: right; margin: 5px 0 15px 25px; }
.entry figcaption, .entry .wp-caption-text { margin-top: 6px; font-size: 13px; line-height: 21px; color: var(--text); }
.entry .wp-caption { max-width: 100%; }
.entry ul li, .entry ol li { margin-bottom: 4px; }
.entry ul li::marker { color: var(--green); }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry blockquote { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); color: var(--text-strong); }
.entry .has-background { padding: 30px; }
.entry .wp-block-column.has-background:not(.is-dark) h2, .entry .wp-block-column.has-background:not(.is-dark) h3 { color: #fff; }
.entry .wp-block-column.has-background hr { border-color: rgba(255, 255, 255, .6); }
.entry .is-dark { background: var(--dark); color: #fff; }
.entry .is-dark h1, .entry .is-dark h2, .entry .is-dark h3, .entry .is-dark h4, .entry .is-dark label { color: #fff; }
.entry mark { background: var(--green); color: #fff; padding: 0 4px; }
.entry iframe { border: 0; }
.entry video { display: block; width: 100%; height: auto; }
.post-meta { margin-bottom: 14px; font-size: 13px; }
.post-image { position: relative; margin-bottom: 30px; }
.post-image img { display: block; width: 100%; }
.post-image.no-image { min-height: 76px; }
.post-cats { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.post-cats a { padding: 2px 8px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-transform: uppercase; text-decoration: none; }
.post-nav { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.post-nav .next { text-align: right; margin-left: auto; }

/* ---------- Video placeholder ---------- */
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: none; }
.wp-block-embed { margin: 0 0 20px; }
.video-facade { position: relative; aspect-ratio: 16 / 9; margin-bottom: 20px; background: #2b2b2b; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-load { position: absolute; inset: 0; background-size: cover !important; background-position: center !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; padding: 20px; background: linear-gradient(135deg, #3a3a3a, #222); color: #fff; cursor: pointer; font: inherit; text-align: center; }
.video-load .icon { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--green); }
.video-load:hover .icon { background: var(--green-dark); }
.video-label { font-weight: 700; font-size: 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.video-load.has-poster .video-label { display: none; }
.video-load.has-poster .video-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 12px; background: rgba(0, 0, 0, .55); opacity: 1; }
.video-note { font-size: 12px; line-height: 18px; opacity: .75; }

/* ---------- Cards (home, archives) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.card { background: #fff; text-align: center; }
.card-media { position: relative; display: block; background: var(--soft); min-height: 60px; }
.card-media img { display: block; width: 100%; }
.card-date { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 6px 6px 5px; background: #fff; color: var(--text-strong); line-height: 1.15; }
.card-date .m, .card-date .y { font-size: 11px; font-weight: 700; }
.card-date .d { font-size: 22px; font-weight: 700; padding: 2px 0; margin: 2px 0; border-top: 1px solid var(--dark); border-bottom: 1px solid var(--dark); }
.card-body { padding: 20px 15px 10px; }
.card-title { margin-bottom: 8px; font-size: 20px; line-height: 30px; text-transform: none; }
.card-excerpt p { margin-bottom: 8px; }
.card-more { font-size: 13px; font-weight: 700; }
.pagination { margin-top: 50px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination a, .pagination span { display: block; min-width: 34px; padding: 4px 8px; border-bottom: 2px solid transparent; font-weight: 700; text-align: center; text-decoration: none; }
.pagination .current { border-color: var(--green); color: var(--green); }

/* ---------- Contact form ---------- */
.kontakt { max-width: 640px; }
.kontakt-titel { margin-bottom: 10px; }
.kontakt p { margin-bottom: 14px; }
.kontakt label { font-size: 14px; color: inherit; }
.kontakt-falle { position: absolute !important; left: -9999px; }
.kontakt-hinweis { padding: 10px 14px; border-left: 3px solid var(--green); background: var(--soft); color: var(--text-strong); }
.kontakt-hinweis.fehler { border-color: #c0392b; }

/* ---------- Testimonials (one per view, arrows at the sides) ---------- */
.stimmen { position: relative; margin: 0 0 30px; padding: 0 22px; }
.stimmen-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.stimmen-track::-webkit-scrollbar { display: none; }
.stimme { flex: 0 0 100%; margin: 0; padding: 30px 45px; scroll-snap-align: start; }
.stimme blockquote { margin: 0 0 18px; padding: 0; border: 0; color: var(--text); font-size: 14px; line-height: 25px; }
.stimme blockquote, .stimme blockquote em, .stimme blockquote i { font-style: normal; }
.stimme blockquote p:last-child { margin-bottom: 0; }
.stimme figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; }
.stimme figcaption img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.stimme-name { color: var(--green); font-size: 20px; font-weight: 700; line-height: 30px; }
.stimme-rolle { flex-basis: 100%; font-size: 13px; }
.stimmen-nav button { position: absolute; top: 50%; display: flex; padding: 9px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; transform: translateY(-50%); }
.stimmen-nav button:hover { background: var(--green-dark); }
.stimmen-nav [data-prev] { left: 0; }
.stimmen-nav [data-next] { right: 0; }
.stimmen-nav [data-prev] .icon { transform: rotate(180deg); }

/* ---------- Image slider (former LayerSlider galleries) ---------- */
.wp-block-gallery.is-style-slider { display: flex; flex-wrap: nowrap; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 30px; }
.wp-block-gallery.is-style-slider > .wp-block-image { flex: 0 0 100%; width: 100% !important; margin: 0 !important; scroll-snap-align: start; }
.wp-block-gallery.is-style-slider img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; font-size: 13px; line-height: 23px; }
.footer a { color: #fff; }
.footer-inner { display: flex; align-items: center; gap: 20px; min-height: 89px; padding-top: 14px; padding-bottom: 14px; }
.footer-inner p { margin: 0; }
.footer-text { flex: 1; text-align: center; }
.footer-mark { flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	:root { --pad: 30px; }
	.mainnav .menu > li { margin: 0 8px; }
	.mainnav .menu > li > a { font-size: 15px; }
	.has-sidebar { grid-template-columns: minmax(0, 1fr) 240px; gap: 30px; }
	.sidebar { padding-left: 30px; }
	.cards { gap: 30px; }
}
@media (max-width: 990px) {
	.topbar-left span { display: none; }
	.masthead-inner { min-height: 64px; flex-wrap: wrap; gap: 0; }
	.brand img, .masthead.is-stuck .brand img { height: 40px; }
	.menu-toggle { display: flex; }
	.mainnav { display: none; flex: 0 0 100%; max-height: calc(100vh - 64px); overflow-y: auto; padding-bottom: 14px; }
	.mainnav.is-open { display: block; }
	.mainnav .menu { display: block; }
	.mainnav .menu > li { margin: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
	.mainnav .menu > li > a { padding: 12px 0; background: none; }
	.mainnav .sub-menu, .mainnav .sub-menu .sub-menu { position: static; width: auto; padding: 0 0 8px 14px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.mainnav .sub-menu a { padding: 6px 0; }
	.main { padding: 40px 0; }
	.has-sidebar { display: block; }
	.sidebar { margin-top: 40px; padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-single .hero-stage { aspect-ratio: 1280 / 593; }
	h1 { font-size: 34px; line-height: 42px; }
	h2 { font-size: 26px; line-height: 36px; }
	h3 { font-size: 21px; line-height: 30px; }
	.pagetitle .wrap { min-height: 120px; }
	.pagetitle h1 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 640px) {
	:root { --pad: 20px; }
	.cards { grid-template-columns: 1fr; }
	.stimme { padding: 24px 30px; }
	.entry .alignleft, .entry .alignright { float: none; margin: 0 0 15px; }
	.footer-inner { flex-direction: column; text-align: center; }
	.post-nav { flex-direction: column; gap: 10px; }
	.post-nav .next { text-align: left; margin-left: 0; }
}
/* Sharing, comments, quick contact */
.share { margin: 40px 0 0; font-size: 14px; }
.share-label { margin-right: 6px; color: var(--dark); font-weight: 500; }
.share a { display: inline-block; margin: 0 4px 6px 0; padding: 4px 14px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; }
.share a:hover { border-color: var(--green); }
.comments { margin-top: 50px; }
.comment-list { margin: 0 0 30px; padding: 0; list-style: none; }
.comment-list .children { margin: 0 0 0 30px; padding: 0; list-style: none; }
.comment-body { margin: 0 0 20px; padding: 20px 25px; background: var(--soft); }
.comment-author .fn { color: var(--green); font-weight: 700; font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { margin-bottom: 10px; font-size: 12px; }
.comment-metadata a { color: inherit; text-decoration: none; }
.comment-form label { display: block; font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; max-width: 640px; padding: 9px 12px; border: 1px solid var(--line); font: inherit; }
.comment-notes { font-size: 13px; }
.quick { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.quick summary { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 30px; background: var(--green); color: #fff; font-weight: 500; cursor: pointer; list-style: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.quick summary::-webkit-details-marker { display: none; }
.quick-panel { position: absolute; right: 0; bottom: 56px; width: 250px; padding: 20px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); font-size: 14px; }
.quick-panel p { margin: 0 0 10px; }
.quick-panel p:last-child { margin: 0; }
@media print { .quick, .share { display: none; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
