/*
Theme Name: Kotte
Theme URI: https://www.pegotec.net
Author: Pegotec Pte. Ltd.
Author URI: https://www.pegotec.net
Description: Theme für Gemäldekopie Claudia Kotte, Diplomrestauratorin. Nachbau des ursprünglichen Designs (2012) auf modernem, wartbarem Code: PHP 8.3+, kein jQuery, alle Schriften und Grafiken lokal eingebunden.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary — Claudia Kotte
License URI: https://gemaeldekopie-dresden.de/impressum/
Text Domain: kotte
*/

/* ==========================================================================
   Fonts — self-hosted (SIL OFL, see assets/fonts/OFL.txt). No Google Fonts
   requests: that keeps visitor IPs from going to Google (GDPR).
   ========================================================================== */
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-sans-400.woff2) format("woff2"); }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/pt-sans-400-italic.woff2) format("woff2"); }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/pt-sans-700.woff2) format("woff2"); }
@font-face { font-family: "Federo"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/federo-400.woff2) format("woff2"); }

/* ==========================================================================
   Design tokens — measured from the live site (computed styles, 2026-10-15)
   ========================================================================== */
:root {
	--k-body: #a62a2a;          /* header band + footer band base */
	--k-slider-band: #631515;
	--k-content-band: #991d1d;
	--k-text: #800000;          /* text inside the white content box */
	--k-light: #e0e0e0;         /* text on red (widgets, home) */
	--k-pink: #eea6aa;          /* the logo's pink (footer accents) */
	--k-menu-link: #e1e1e1;
	--k-sub-link: #a0a0a0;
	--k-box: rgba(255, 255, 255, 0.7);
	--k-widget: rgba(255, 255, 255, 0.3);
	--k-width: 960px;
	--k-font: "PT Sans", Arial, Helvetica, sans-serif;
	--k-heading: "Federo", Arial, Helvetica, serif;
	/* The old theme declared "Trebuchet MS, Arial" as ONE (non-existent) family name,
	   so the live menu actually rendered in Helvetica. Keep what visitors saw. */
	--k-menu-font: Helvetica, Arial, sans-serif;
	--k-heading-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 1px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background-color: var(--k-body);
	color: var(--k-text);
	font-family: var(--k-font);
	font-size: 16px;
	line-height: 18px;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; }
p { margin: 0 0 9px; }
h1, h2, h3, h4, h5, h6 {
	margin: 10px 0;
	font-family: var(--k-heading);
	font-weight: 400;
	color: var(--k-text);
	/* No text-transform: the 2012 theme capitalised every word ("Epitaph Des Andreas Von"), wrong in German. */
	text-shadow: var(--k-heading-shadow);
}
h1 { font-size: 23px; line-height: 23px; color: #fff; }
h2 { font-size: 26px; line-height: 26px; }
h3 { font-size: 22px; line-height: 22px; }
h4 { font-size: 26px; line-height: 26px; }
h5 { font-size: 20px; line-height: 20px; color: #808080; }
h6 { font-size: 24px; line-height: 24px; }
table { border-collapse: collapse; }
/* width/height auto as in the old theme's reset.css: the 2012 content sets width="220"/"700"
   on table cells, and the old site ignored that (Vita: narrow year column). */
tr, th, td { width: auto; height: auto; padding: 5px; vertical-align: text-top; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	background: #fff; color: #000; padding: 10px 15px; top: 5px; left: 5px; display: block;
}
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.k-container { position: relative; width: var(--k-width); max-width: 100%; margin: 0 auto; }

/* ==========================================================================
   Header band — damask overlay, logo, search, menu bar
   ========================================================================== */
.k-header-band {
	position: relative;
	z-index: 20;
	background: url(assets/img/damask.webp) repeat;
}
.k-header-band::before { /* 18px shadow along the top edge of the page (old .header_shadow) */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 5;
	background: url(assets/img/shadow-header.png) no-repeat center top;
	pointer-events: none;
}
.k-header-band::after { /* 10px divisor line at the bottom of the band */
	content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 10px; z-index: 10;
	background: url(assets/img/divisor.png) repeat-x;
	pointer-events: none;
}
.k-header { padding: 23px 0; min-height: 203px; }
.k-header::after { content: ""; display: table; clear: both; }

/* Bottom margin (not the nav's top margin): a margin on the clearing nav would be swallowed by clearance. */
.k-logo { float: left; display: block; margin: 10px 10px 10px; line-height: 0; }
.k-logo img { width: 396px; height: auto; }

.k-search {
	float: right;
	width: 237px; height: 39px;
	margin-top: 20px;
	padding: 7px 0 0;
	background: url(assets/img/search.png) no-repeat;
}
.k-search form { display: flex; margin: 0; }
.k-search input[type="search"] {
	width: 200px; height: 16px; margin: 0; padding: 0 10px;
	border: 0; border-radius: 3px; background: transparent;
	color: #bcbcbc; font: 14px/16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-appearance: none; appearance: none;
}
.k-search input[type="search"]::placeholder { color: #bcbcbc; opacity: 1; }
.k-search button {
	width: 37px; height: 25px; margin-top: -4px; padding: 0;
	border: 0; background: transparent; cursor: pointer;
}

/* Main menu bar */
.k-nav {
	clear: both;
	position: relative;
	height: 47px;
	padding: 0 25px;
	background: url(assets/img/menu-bar.png) no-repeat;
}
.k-nav-toggle { display: none; }
.k-menu, .k-menu ul { list-style: none; margin: 0; padding: 0; }
.k-menu > li { position: relative; float: left; margin: 0 1px; }
.k-menu > li > a {
	position: relative; display: block; z-index: 2;
	padding: 0 10px;
	color: var(--k-menu-link);
	font: 16px/48px var(--k-menu-font);
	text-decoration: none;
}
/* Highlight block behind the current / hovered item (was a sliding "lava lamp" sprite) */
.k-menu > li > a::before {
	content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 8px; height: 35px;
	background: rgba(0, 0, 0, 0.22);
	box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
	opacity: 0; transition: opacity 0.2s;
}
.k-menu > li:hover > a::before,
.k-menu > li:focus-within > a::before,
.k-menu > .current-menu-item > a::before,
.k-menu > .current-menu-ancestor > a::before,
.k-menu > .current_page_item > a::before,
.k-menu > .current_page_ancestor > a::before { opacity: 1; }
.k-menu > li:hover > a, .k-menu > li:focus-within > a { text-decoration: underline; }
.k-menu > .menu-item-has-children > a::after { content: " \00BB"; }

/* Dropdown */
.k-menu .sub-menu {
	position: absolute; top: 44px; left: -10px; z-index: 100;
	width: 155px; padding: 6px 0;
	background: rgba(20, 20, 20, 0.9);
	border-radius: 7px;
	box-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 0 5px rgba(0, 0, 0, 0.5);
	visibility: hidden; opacity: 0; transition: opacity 0.15s, visibility 0.15s;
}
.k-menu li:hover > .sub-menu,
.k-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.k-menu .sub-menu a {
	display: block; padding: 5px 8px;
	color: var(--k-sub-link);
	font: 13px/26px var(--k-menu-font);
	text-align: center; text-decoration: none;
}
.k-menu .sub-menu a:hover, .k-menu .sub-menu a:focus { color: #fff; }

/* ==========================================================================
   Slider band
   ========================================================================== */
.k-slider-band { position: relative; z-index: 10; padding: 20px 0 33px; background: var(--k-slider-band) url(assets/img/damask.webp) repeat; }
.k-slider-band::after { /* shadow onto the content band */
	content: ""; position: absolute; left: 50%; bottom: -22px; width: 960px; max-width: 100%; height: 22px;
	transform: translateX(-50%);
	background: url(assets/img/shadow-content.png) no-repeat center top;
	pointer-events: none;
}
.k-slider {
	position: relative;
	width: 940px; height: 387px; max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	background: url(assets/img/slider-frame.png) no-repeat;
}
.k-slides { position: relative; width: 900px; height: 346px; max-width: 100%; overflow: hidden; }
.k-slide {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden;
	transition: opacity 1s ease-in-out, visibility 1s;
}
.k-slide.is-active { opacity: 1; visibility: visible; }
.k-slide a, .k-slide img { display: block; width: 100%; height: 100%; }
.k-slide img { object-fit: cover; }
.k-slider-prev, .k-slider-next {
	position: absolute; top: 170px; z-index: 5;
	width: 25px; height: 48px; padding: 0; border: 0; cursor: pointer;
	background: url(assets/img/slider-arrows.png) no-repeat;
}
.k-slider-prev { left: -4px; background-position: 0 0; }
.k-slider-next { right: -4px; background-position: 100% 0; }

/* ==========================================================================
   Content band
   ========================================================================== */
.k-content-band { position: relative; background: var(--k-content-band); }
.k-content-band::before { /* soft shadow under the header / slider band */
	content: ""; position: absolute; top: 0; left: 50%; width: 960px; max-width: 100%; height: 22px; z-index: 5;
	transform: translateX(-50%);
	background: url(assets/img/shadow-content.png) no-repeat center top;
	pointer-events: none;
}
.has-slider .k-content-band::before { display: none; }
.k-content-band::after { /* 18px divisor on the edge to the footer (old .footer_separate) */
	content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; z-index: 10;
	background: url(assets/img/divisor-footer.png) repeat;
	pointer-events: none;
}
.k-content { display: flex; align-items: flex-start; padding: 40px 0; }
.k-main { width: 720px; }
.k-sidebar { width: 220px; margin-left: 10px; padding-top: 5px; }
.is-full-width .k-main { width: 100%; }

/* White content box (was a 9-slice image box) */
.k-box {
	position: relative;
	margin: 6px 25px 30px 24px;
	padding: 19px 16px 18px;
	background: var(--k-box);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.k-box::after { /* curled shadow below the box */
	content: ""; position: absolute; left: 50%; bottom: -11px; width: 460px; max-width: 100%; height: 11px;
	transform: translateX(-50%);
	background: url(assets/img/box-token-bottom.png) no-repeat center top;
}
.is-full-width .k-box { margin-right: 24px; }
.k-entry-title { margin-top: 10px; }
/* The page title is the H1 (SEO) but keeps the look of the old H2 title. */
h1.k-entry-title { font-size: 26px; line-height: 26px; color: var(--k-text); }

/* Content typography inside the box */
.k-entry-content { text-align: justify; overflow: hidden; }
.k-entry-content::after { content: ""; display: table; clear: both; }
.k-entry-content a { color: var(--k-text); }

/* Pages without a box (e.g. home): light text straight on the red band */
.no-box .k-entry-content, .no-box .k-entry-content h4, .no-box .k-entry-content p { color: var(--k-light); }
.no-box .k-entry-content { padding: 0; }
.no-box .k-plain { padding-top: 25px; } /* the old theme kept an empty title block above the text */
/* Home page blocks (tools/golive/home-content.php): three short sections below the large
   intro, white on the red background, with the logo-pink line the footer uses. */
.k-home-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 36px 0 26px; }
.k-home-card { padding-top: 16px; border-top: 2px solid var(--k-pink); }
.no-box .k-entry-content .k-home-card h2 {
	margin: 0 0 12px; color: #fff; font-size: 22px; line-height: 1.2; text-align: left;
	/* dark shadow like the other white text on red; the global heading shadow adds a white glow meant for dark text */
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}
.no-box .k-entry-content .k-home-card p,
.no-box .k-entry-content .k-home-about {
	color: #f3dfe0; font-size: 15px; line-height: 1.6; text-align: left;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.no-box .k-entry-content .k-home-link { margin-top: 10px; font-size: 14px; }
.no-box .k-entry-content .k-home-more a,
.no-box .k-entry-content .k-home-about a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.no-box .k-entry-content .k-home-more a:hover,
.no-box .k-entry-content .k-home-about a:hover { color: var(--k-pink); }
.no-box .k-entry-content .k-home-about { margin: 0 0 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.2); }

/* WordPress alignment classes as used by the existing content */
.alignleft { float: left; margin: 5px 20px 20px 5px; }
.alignright { float: right; margin: 5px 5px 20px 20px; }
.aligncenter { display: block; margin: 5px auto 20px; }
img.size-thumbnail { width: 150px; height: 150px; object-fit: cover; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; }

/* Legacy Bootstrap 2 markup inside page content (Vita grid, Leistungen toggles) */
/* Same float grid Bootstrap 2 used, so the Vita table falls below the photo as before */
.row { margin-left: -20px; }
.row::after { content: ""; display: table; clear: both; }
.span2 { float: left; width: 140px; min-height: 1px; margin-left: 20px; }
.k-entry-content table { max-width: 100%; background: transparent; }
/* The 2012 content fixes tables at 677px (Vita); in the full-width layout they use the whole box. */
.is-full-width .k-entry-content table { width: 100% !important; height: auto !important; }
/* Vita photo strip: full width of the content column (it used to sit in a 140px grid cell) */
.k-vita-photo { margin: 0 0 15px; }
.k-vita-photo img { display: block; width: 100%; height: auto; margin: 0; }
.btn {
	display: inline-block; padding: 2px 8px; margin: 2px 0;
	font: 13px/18px var(--k-font); color: #333;
	background: linear-gradient(#fff, #e6e6e6); border: 1px solid #ccc; border-radius: 4px;
	cursor: pointer;
}
.btn:hover { background: #e6e6e6; }
.collapse { display: none; }
.collapse.in { display: block; }

/* ==========================================================================
   Widgets (sidebar + footer)
   ========================================================================== */
.k-widget {
	margin: 0 0 20px;
	padding: 20px 30px;
	color: var(--k-light);
	background: var(--k-widget);
	border-radius: 3px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.2), inset 0 0 1px #fff;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	text-align: justify;
	min-height: 201px;
}
.k-widget .widget-title, .k-widget h2, .k-widget h3 { margin: 10px 0; color: var(--k-light); font-size: 22px; line-height: 22px; }
.k-widget a { color: var(--k-light); text-decoration: none; }
.k-widget a:hover, .k-widget a:focus { text-decoration: underline; }
.k-widget p { margin: 0; }
.k-widget ul { margin: 0; padding-left: 18px; }

/* ==========================================================================
   Footer band
   ========================================================================== */
.k-footer-band {
	position: relative;
	background: var(--k-body) url(assets/img/pinstripe.png) repeat;
}
.k-footer-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 44px; background: url(assets/img/shadow-footer.png) repeat-x; pointer-events: none; }
.k-footer { position: relative; padding: 50px 10px 0; color: #f3dfe0; font-size: 15px; line-height: 1.6; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); }
.k-footer a { color: #fff; text-decoration: none; }
.k-footer a:hover, .k-footer a:focus { color: var(--k-pink); text-decoration: underline; }

/* Three columns: logo + one line, contact, pages */
.k-footer-cols { display: grid; grid-template-columns: 1.35fr 1fr 0.8fr; gap: 40px; padding-bottom: 36px; }
.k-footer-brand img { display: block; width: 264px; max-width: 100%; height: auto; margin: 0 0 14px -4px; }
.k-footer-brand p { max-width: 330px; margin: 0; }
.k-footer-title {
	position: relative; margin: 6px 0 18px; padding-bottom: 10px;
	color: #fff; font-size: 22px; line-height: 1.1; letter-spacing: 0.5px;
}
.k-footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--k-pink); }
.k-footer address { margin: 0 0 12px; font-style: normal; }
.k-footer-reach { margin: 0 0 14px; padding: 0; list-style: none; }
.k-footer-label { display: inline-block; min-width: 62px; color: var(--k-pink); font-size: 13px; letter-spacing: 0.3px; }
.k-footer-more { font-size: 14px; }
.k-footer-menu { margin: 0; padding: 0; list-style: none; }
.k-footer-menu li { margin: 0 0 6px; }

/* Fallback without business data: the "Fußbereich" widgets, as before */
.k-footer-widgets { display: flex; flex-wrap: wrap; gap: 0 20px; padding-bottom: 20px; }
.k-footer-widgets .k-widget { width: 460px; max-width: 100%; }

/* Bottom bar: copyright left, legal links right */
.k-footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
	padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 13px;
}
.k-footer-copy { margin: 0; }
.k-legal {
	margin: 0; padding: 0; list-style: none;
	display: flex; flex-wrap: wrap; gap: 4px 18px;
}
/* "Cookie-Einstellungen" is a button (Complianz needs one) that looks like the links next to it */
.k-legal-link { margin: 0; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-shadow: inherit; cursor: pointer; }
.k-legal-link:hover, .k-legal-link:focus-visible { color: var(--k-pink); text-decoration: underline; }

/* Search results / 404 */
.k-search-results article { margin-bottom: 20px; }
.k-pagination { margin: 10px 0; }

/* ==========================================================================
   Lightbox (replaces prettyPhoto) — native <dialog>
   ========================================================================== */
.k-lightbox {
	max-width: 92vw; max-height: 92vh; padding: 0; border: 0;
	background: transparent; overflow: visible;
}
.k-lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.k-lightbox img { display: block; max-width: 92vw; max-height: 85vh; width: auto; height: auto; box-shadow: 0 0 20px #000; }
.k-lightbox figcaption { margin-top: 8px; color: #eee; font-size: 14px; text-align: center; }
.k-lightbox-close {
	position: absolute; top: -40px; right: 0;
	width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.9); color: #000; font-size: 22px; line-height: 36px; cursor: pointer;
}

/* ==========================================================================
   Contact form (Kontakt page) — looks like the old "Kontakt" plugin form,
   measured on the archived page (Wayback, 2020-09-25): pink box, centred
   labels, white fields with a black border, small black button.
   ========================================================================== */
#ads_box { position: relative; width: 500px; max-width: 100%; min-height: 600px; padding: 8px 0 30px; background: #cc6666; text-align: center; }
#ads_box .wpcf7 p { margin: 0; }
#ads_box label { display: block; margin: 0 0 5px; padding: 0 0 10px; color: #333; font-size: 13px; line-height: 18px; }
#ads_box .k-req { color: #f00; }
#ads_box input[type="text"],
#ads_box input[type="email"],
#ads_box textarea {
	box-sizing: border-box; width: 360px; max-width: 90%; height: 28px; margin: 0 0 9px; padding: 4px;
	border: 1px solid #000; border-radius: 3px; background: #fff; color: #555;
	font: 16px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#ads_box textarea { height: 210px; font-size: 13px; resize: vertical; }
#ads_box input[type="submit"] {
	margin: 20px 0 0; padding: 1px 4px 2px; border: 0; border-radius: 3px;
	background: #000; color: #fff; cursor: pointer;
	font: 12px/18px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase;
}
#ads_box input[type="submit"]:hover,
#ads_box input[type="submit"]:focus-visible { background: #333; }
#ads_box .wpcf7 .k-form-note { width: 360px; max-width: 90%; margin: 4px auto 0; color: #333; font-size: 12px; line-height: 1.4; }
#ads_box .k-form-note a { color: #333; text-decoration: underline; }
#ads_box .k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#ads_box .wpcf7-not-valid-tip { display: block; margin: -6px 0 8px; color: #000; font-size: 12px; }
#ads_box .wpcf7 form .wpcf7-response-output { width: 360px; max-width: 90%; margin: 15px auto 0; padding: 8px; box-sizing: border-box; border: 1px solid #000; color: #000; font-size: 13px; }
#ads_box .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* ==========================================================================
   Responsive — below the 960px design width the layout becomes fluid
   ========================================================================== */
@media (max-width: 979px) {
	.k-footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
	.k-home-more { grid-template-columns: 1fr; gap: 24px; }
	.k-footer-brand { grid-column: 1 / -1; }
	.k-container { width: auto; padding: 0 10px; }
	.k-footer { padding: 46px 10px 0; } /* after .k-container, which would reset it */
	/* The sidebar only holds the Kontakt box; below the content it would sit right above the footer's contact column. */
	.k-footer-contact .k-sidebar { display: none; }
	.k-header { min-height: 0; }
	.k-logo img { width: 320px; }
	.k-slider { width: auto; height: auto; padding: 0; background: none; }
	.k-slides { width: 100%; height: auto; aspect-ratio: 900 / 346; border: 4px solid #3a3a3a; }
	.k-content { flex-direction: column; }
	.k-main, .k-sidebar { width: 100%; margin-left: 0; }
	.k-box { margin: 6px 0 30px; }
	.k-sidebar .k-widget, .k-footer-widgets .k-widget { width: 100%; }
}

@media (max-width: 767px) {
	.k-logo { float: none; margin: 10px auto 0; text-align: center; }
	.k-search { float: none; margin: 20px auto 0; }
	.k-nav { height: auto; margin: 20px -10px 0; padding: 0; background: #2b2b2b linear-gradient(#333, #222); }
	.k-nav-toggle {
		display: flex; align-items: center; justify-content: space-between; width: 100%;
		padding: 8px 25px; border: 0; background: transparent;
		color: #999; font: 20px/24px var(--k-font); cursor: pointer;
	}
	.k-nav-toggle-bars {
		display: inline-block; width: 40px; height: 28px; border-radius: 4px;
		background: linear-gradient(#999, #999) center 8px / 18px 2px no-repeat,
			linear-gradient(#999, #999) center 13px / 18px 2px no-repeat,
			linear-gradient(#999, #999) center 18px / 18px 2px no-repeat, #262626;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	}
	.k-menu { display: none; padding: 0 0 10px; }
	.k-nav.is-open .k-menu { display: block; }
	.k-menu > li { float: none; margin: 0; }
	.k-menu > li > a { line-height: 40px; padding: 0 25px; }
	.k-menu > li > a::before { top: 2px; height: 36px; }
	.k-menu .sub-menu { position: static; visibility: visible; opacity: 1; width: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
	.k-menu .sub-menu a { text-align: left; padding-left: 45px; }
	.k-slider-band { padding: 20px 0; }
	.k-slider-prev, .k-slider-next {
		top: 50%; transform: translateY(-50%);
		width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, 0.8); border-radius: 50%;
		background: rgba(0, 0, 0, 0.4); color: #fff; font-size: 22px; line-height: 34px;
	}
	.k-slider-prev { left: 15px; } .k-slider-next { right: 15px; }
	.k-slider-prev::before { content: "\276E"; } .k-slider-next::before { content: "\276F"; }
	.no-box .k-entry-content h4 { font-size: 24px; line-height: 26px; }
	/* Content on phones (mobile review 2026-10-16) */
	/* Justified text leaves big gaps in a narrow column; the 2012 content sets it inline. */
	.k-entry-content, .k-entry-content [style*="justify"] { text-align: left !important; }
	.k-entry-content p, .k-entry-content li, .k-entry-content td, .k-entry-content h2, .k-entry-content h3, .k-entry-content h4 { hyphens: auto; overflow-wrap: break-word; }
	/* No hyphenation in large type (home intro, set inline to x-large): it looks odd there. */
	.k-entry-content [style*="large"] { hyphens: manual; }
	h1.k-entry-title { font-size: 24px; line-height: 1.2; }
	.k-entry-content h2, .k-entry-content h4, .k-entry-content h6 { font-size: 21px; line-height: 1.25; }
	.k-entry-content h3, .k-entry-content h5 { font-size: 19px; line-height: 1.25; }
	/* Kontakt: the address was indented by 150px inline and cut off the e-mail address. */
	.k-entry-content [style*="padding-left"] { padding-left: 0 !important; }
	/* Larger floated images (e.g. 210px on Altmeisterliche Maltechniken) sit above the text;
	   150px thumbnails (Galerie, Referenzen) stay next to it, slightly smaller. */
	.k-entry-content img.alignleft:not(.size-thumbnail), .k-entry-content img.alignright:not(.size-thumbnail) {
		float: none; display: block; margin: 6px 0 14px;
	}
	.k-entry-content img.size-thumbnail.alignleft { width: 120px; margin: 4px 14px 12px 0; }
	.k-entry-content img.size-thumbnail.alignright { width: 120px; margin: 4px 0 12px 14px; }
	/* Contact form box: full width of the column */
	#ads_box { width: 100%; min-height: 0; padding-bottom: 24px; }
	.k-box { padding-left: 16px; padding-right: 16px; }
	.k-footer { padding-top: 40px; }
	.k-footer-cols { grid-template-columns: 1fr; gap: 26px; }
	.k-footer-bottom { justify-content: center; text-align: center; }
	.k-legal { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.k-slide, .k-menu .sub-menu, .k-menu > li > a::before { transition: none; }
}

@media print {
	.k-header-band, .k-slider-band, .k-sidebar, .k-footer-band { display: none; }
	body, .k-content-band { background: #fff; }
	.k-box { box-shadow: none; background: #fff; }
}
