/*!
Theme Name: kunststreich
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kunststreich
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kunststreich is based on 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
# Custom Front Page Styles ab Zeile 1384

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

/*--------------------------------------------------------------
# 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.
 */
 
 @font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

 
 
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Verhindert horizontales Scrollen auf Handys 27.3.2026 */ 
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}


/* 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: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

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: 3px;
	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
--------------------------------------------------------------*/

/* header by KI */

/* --- Flexibler Header & Logo --- */

.sticky-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: #fff;
  transition: all 0.3s ease;
  z-index: 999;
  height: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sticky-header.shrunk {
  height: 80px; /* Header wird beim Scrollen kleiner */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Verteilt Logo links und Menü rechts automatisch */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* Logo darf nicht gequetscht werden */
}

.site-logo img, .custom-logo {
  height: 110px;
  width: auto;
  transition: height 0.3s ease;
}

.sticky-header.shrunk .site-logo img,
.sticky-header.shrunk .custom-logo {
  height: 50px; /* Logo wird im Scroll-Zustand kleiner */
}

/* Der Content muss unter dem Header starten */
body {
  padding-top: 150px;
}

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

/* =============================================================
   KOMPLETT-FIX: NAVIGATION & MENÜS (RESET & REDESIGN)
   ============================================================= */

/* 1. RADIKALER RESET (Entfernt alle Punkte/Bullets) */
.main-navigation,
.main-navigation ul,
.main-navigation li,
#mobile-menu,
#mobile-menu ul,
#mobile-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}

/* 2. DESKTOP-MENÜ (Ab 1281px) */
@media screen and (min-width: 1281px) {
    /* Verstecke Mobil-Elemente */
    .hamburger, #mobile-menu {
        display: none !important;
    }

    .main-navigation {
        display: block;
        flex-grow: 1; /* Nimmt den verfügbaren Platz ein */
    }

    /* Anordnung der Menüpunkte nebeneinander */
    .main-navigation ul.vertical-menu {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end; /* Schiebt das Menü nach rechts, weg vom Logo */
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    .vertical-menu li {
        position: relative;
        display: block;
    }

    .vertical-menu a {
        display: block;
        font-family: 'Roboto', sans-serif;
        font-size: 18px;
        font-weight: 500;
        color: #243364;
        text-decoration: none;
        padding: 10px 5px;
        transition: color 0.2s;
        white-space: nowrap; /* Verhindert Zeilenumbruch im Menüpunkt */
    }

    .vertical-menu a:hover {
        color: #141f3a;
    }

    /* Untermenüs Desktop */
    .vertical-menu ul.sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 10px 0 !important;
    }

    .vertical-menu li:hover > ul.sub-menu {
        display: block;
    }
}

/* 3. MOBIL-MODUS & HAMBURGER (Bis 1280px) */
@media screen and (max-width: 1280px) {
    /* Desktop-Leiste komplett ausblenden */
    .main-navigation ul.vertical-menu {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1100;
    }

    .hamburger-lines, .hamburger-lines::before, .hamburger-lines::after {
        content: '';
        display: block;
        width: 30px;
        height: 3px;
        background: #243364;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .hamburger-lines { position: relative; }
    .hamburger-lines::before { position: absolute; top: -10px; }
    .hamburger-lines::after { position: absolute; top: 10px; }

    /* Mobiler Container */
    #mobile-menu.mobile-menu {
        position: fixed;
        top: 150px; /* Muss der Höhe deines Headers entsprechen */
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 150px);
        background: #ffffff;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        /* display wird per JS gesteuert (block/none) */
    }

    .mobile-vertical-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-vertical-menu a {
        display: block;
        padding: 20px 30px;
        font-family: 'Roboto', sans-serif;
        font-size: 22px;
        color: #243364;
        text-decoration: none;
        text-align: left;
    }

    /* Untermenüs Mobil */
    .mobile-vertical-menu ul.sub-menu {
        display: none;
        background: #f9f9f9;
        padding-left: 20px !important;
    }

    .mobile-vertical-menu li.open > ul.sub-menu {
        display: block;
    }
}

/* 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;
}

.hide-desktop-menu {
  display: none !important;
}

/* --- Responsive: Logo auf kleinen Screens sichtbar und immer proportional --- */
@media (max-width: 700px) {
  .site-logo {
    margin-right: 20px;     /* weniger Abstand, falls nötig */
    min-width: 64px;        /* Mindestbreite für Sichtbarkeit */
    height: auto;           /* Höhe flexibel */
  }
  .site-logo img,
  .custom-logo {
    height: 56px !important; /* oder z.B. 48px: Kompakt, aber klar sichtbar */
    width: auto !important;
    max-width: 90vw;
    display: block;
    object-fit: contain;
  }
  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* --- Layout: Inhaltsbereich (Content) --- */

#content {
    max-width: 1200px;  /* Begrenzt die maximale Breite des Textes/Shops */
    margin-left: auto;  /* Zentriert den Container */
    margin-right: auto; /* Zentriert den Container */
    padding: 40px 20px; /* Erzeugt den Abstand zum Rand (20px links/rechts) */
    width: 100%;        /* Stellt sicher, dass er auf kleinen Schirmen vollflächig bleibt */
    box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}

/* Optional: Falls du möchtest, dass Bilder im Shop etwas mehr Platz haben als Text 
.woocommerce-page #content {
    max-width: 1400px; 
}*/

/* =============================================================
   WOOCOMMERCE: MODERNE KUNST-GALERIE
   ============================================================= */

/* 1. Layout-Breite für Shop-Seiten */
.woocommerce-page #content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. Das Produkt-Raster (Grid) */
.woocommerce ul.products {
    margin: 40px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px; /* Viel Platz zwischen den Kunstwerken */
    list-style: none !important;
    padding: 0 !important;
}

/* 3. Die einzelne Produkt-Kachel (wie ein Passepartout) */
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee; /* Feiner Rahmen */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Hover-Effekt: Das Bild tritt hervor */
.woocommerce ul.products li.product:hover {
    border-color: #ccc;
    box-shadow: 0 20px 40px rgba(0,0,0,0.07);
    transform: translateY(-5px);
}

/* 4. Bild-Präsentation (Passepartout-Effekt in der Übersicht) */
.woocommerce ul.products li.product img {
    margin-bottom: 25px !important;
    /* Ein feiner doppelter Schatten für mehr Tiefe */
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.1), 
        0 10px 20px rgba(0,0,0,0.08) !important; 
    border: 8px solid #fff !important; /* Der weiße Rand des Passepartouts */
    outline: 1px solid #eee; /* Eine hauchdünne äußere Kante */
    transition: transform 0.3s ease !important;
}

/* Kleiner Effekt beim Drüberfahren mit der Maus */
.woocommerce ul.products li.product:hover img {
    transform: scale(1.02); /* Das Bild hebt sich leicht an */
}

/* 5. Typografie (Titel & Preise) */
.woocommerce-loop-product__title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #243364 !important;
    margin: 10px 0 !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price {
    color: #888 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-bottom: 20px !important;
    display: block;
}

/* 6. Schlichter Button */
.woocommerce ul.products li.product .button {
    background: transparent !important;
    color: #243364 !important;
    border: 1px solid #243364 !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 !important; /* Klassisch eckig */
    transition: all 0.3s ease !important;
    margin-top: auto; /* Button immer unten ausrichten */
}

.woocommerce ul.products li.product .button:hover {
    background: #243364 !important;
    color: #fff !important;
}

/* 7. Responsive Anpassung für Handys */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr; /* Ein Kunstwerk pro Zeile auf dem Handy */
        gap: 30px;
    }
}

/* --- Footer Styling --- */

.site-footer {
    padding: 60px 20px;     /* Großzügiger Abstand für ein luftiges Design */
    text-align: center;    /* Zentriert Text, Links und das Trennzeichen */
    border-top: 1px solid #f0f0f0; /* Eine feine Linie zur optischen Trennung vom Content */
    background-color: #fff;
}

.site-info {
    max-width: 1200px;      /* Gleiche maximale Breite wie dein Content-Bereich */
    margin: 0 auto;         /* Zentriert den Container selbst */
    font-family: 'Roboto', sans-serif; /* Einheitliche Schriftart */
    font-size: 14px;        /* Etwas kleinere Schrift für die Fußzeile */
    color: #666;            /* Ein dezentes Grau */
}

.site-info a {
    color: #243364;         /* Deine gewohnte Hauptfarbe für die Links */
    text-decoration: none;
    font-weight: 500;
}

.site-info a:hover {
    text-decoration: underline;
}

.site-info .sep {
    margin: 0 10px;         /* Etwas mehr Platz um das Trennzeichen (|) */
    color: #ccc;
}

/* Kategorien und Tags in Beiträgen verstecken */
.cat-links, 
.tags-links,
.entry-footer {
    display: none !important;
}

/* --- Moderne Beitrags-Navigation --- */

.post-navigation {
    margin: 50px 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous, 
.post-navigation .nav-next {
    flex: 1;
    width: 50%;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f9fafd;
    border: 1px solid #e1e8ed;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.post-navigation a:hover {
    background: #ffffff;
    border-color: #243364;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.post-navigation .nav-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
}

.post-navigation .nav-title {
    font-size: 18px;
    font-weight: 500;
    color: #243364;
    line-height: 1.3;
}

/* --- Markante & Ruhige Überschriften --- */

/* 1. Grund-Styling für alle Überschriften */
h1, h2, h3, h4, h5, h6,
.entry-title, 
.entry-title a {
    font-family: 'Roboto', sans-serif !important;
    color: #243364 !important; /* Deine Hauptfarbe */
    text-decoration: none !important; /* Entfernt den Standard-Unterstrich */
    border-bottom: none !important;  /* Entfernt eventuelle Border-Unterstriche */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transition: none !important; /* Verhindert das "Flimmern" beim Drüberfahren */
}

/* 2. Spezifisch für Links in Überschriften (Blog-Übersicht) */
h1 a, h2 a, h3 a, .entry-title a {
    color: inherit !important; /* Nutzt immer die Farbe der Überschrift */
}

/* 3. Hover-Zustand (Verhindert Verfärbung und Unterstrich beim Drüberfahren) */
h1 a:hover, h2 a:hover, h3 a:hover, .entry-title a:hover {
    color: #243364 !important;
    text-decoration: none !important;
    opacity: 0.8; /* Dezenter Effekt statt Farbwechsel: Die Schrift wird nur leicht blasser */
}

/* 4. Individuelle Größen für mehr Hierarchie */
h1, .entry-title { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }

/* --- Meta-Daten (Datum & Name) ohne Links --- */

.entry-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #666 !important; /* Dezentes Grau */
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
}

.entry-meta .posted-on, 
.entry-meta .byline {
    color: #666;
    font-style: normal;
}

.entry-meta .sep {
    margin: 0 8px;
    color: #ccc;
}

/* ... (vorheriger Code endet hier) ... */

.entry-meta .sep {
    margin: 0 8px;
    color: #ccc;
}

/* --- Hero Section (Einstiegsbild im Volane-Stil) --- */

.hero-area {
    width: 100vw; /* Volle Breite des Viewports (Bildschirms) */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -150px; /* Zieht das Bild unter/hinter den Header nach oben */
    margin-bottom: 60px;
    z-index: 1; /* Hinter dem Header bleiben */
}

.hero-image-container {
    width: 100%;
    height: 80vh; /* Etwas höher für den Wow-Effekt */
    background-image: url('https://kunststreich.de/wp-content/uploads/2026/02/20-2025-sucurai-kroatien-web.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Der zarte Volane-Look: Ein leichter Overlay, damit Text lesbar bleibt */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.1); /* Sehr dezent */
}

/* --- BANNER-TEXT: MAXIMALE LESBARKEIT (Galerie-Label) --- */

.hero-text {
    position: relative;
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 40px 60px;
    border: 1px solid #243364;
    max-width: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-text h1 {
    font-size: 54px !important;
    color: #243364 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 16px !important;
    letter-spacing: 2px;
    color: #243364 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    font-weight: 400;
}

/*@media (max-width: 768px) {
    .hero-text {
        padding: 20px 30px;
        width: 90%;
    }
    .hero-text h1 { font-size: 28px !important; }
}*/

/* --- MOBILE OPTIMIERUNG FÜR 2x2 BOXEN --- */

@media (max-width: 768px) {
    /* 1. Den Abstand des Containers verringern */
    .style-selector {
        gap: 20px !important; /* Weniger Lücke zwischen den Boxen */
        margin: 40px auto !important; /* Weniger Abstand nach oben/unten */
        padding: 0 10px !important;
    }

    /* 2. Die Boxen deutlich flacher machen */
    .style-box {
        flex: 1 1 100% !important; /* Eine Box pro Zeile auf dem Handy */
        height: 320px !important; /* Vorher 600px - jetzt kompakt und schick */
        min-width: 0 !important; /* Verhindert das "Rausrutschen" nach rechts */
    }

    /* 3. Das weiße Inhalts-Fenster verkleinern */
    .style-content {
        width: 85% !important;
        padding: 20px !important;
        min-height: 200px !important; /* Kleineres Passepartout */
    }

    /* 4. Schriftgrößen für das Handy anpassen */
    .style-content h2 {
        font-size: 20px !important; /* Damit Titel nicht umbrechen */
        letter-spacing: 1px !important;
    }

    .style-content p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

    .style-button {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }
}


/* =============================================================
    STARTSEITE: STIL-AUSWAHL (2x2 Gitter)
   ============================================================= */

.style-selector {
    display: flex;
    flex-wrap: wrap; /* Erlaubt die zweite Reihe */
    gap: 40px;
    margin: 80px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.style-box {
    /* Berechnet 50% Breite abzüglich der Hälfte des Zwischenraums */
    flex: 1 1 calc(50% - 20px); 
    min-width: 350px; /* Rutscht auf dem Handy automatisch untereinander */
    height: 550px; /* Etwas angepasst für das Gitter */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid #eee;
}

/* --- Vorhandene Box 1: Architektur --- */
.style-box.architecture {
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('https://kunststreich.de/wp-content/uploads/2026/02/ackerbuergerhaeuser.jpg');
    background-size: cover;
    background-position: center;
}

/* --- Vorhandene Box 2: Kampfkunst --- */
.style-box.martial-arts {
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('https://kunststreich.de/wp-content/uploads/2026/02/ninja-pen.jpg');
    background-size: cover;
    background-position: center;
}

/* --- NEU Box 3: Licht des Südens --- */
.style-box.maritime {
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('https://kunststreich.de/wp-content/uploads/2026/03/12-2026_Savar-Dugi-Otok-Kroatien-155x105_ergebnis.jpg');
    background-size: cover;
    background-position: center;
}

/* --- NEU Box 4: Atelier-Notizen (Blog) --- */
.style-box.blog {
    background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('https://kunststreich.de/wp-content/uploads/2026/03/20260105_172857_ergebnis.jpg');
    background-size: cover;
    background-position: center;
}

.style-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 40px;
    width: 80%; 
    max-width: 450px;
    min-height: 320px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 1px solid #243364;
    box-sizing: border-box;
}

.style-content h2 {
    font-size: 28px !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.style-button {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #243364;
    color: #243364 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Spezieller Fix für schmale, hochauflösende Displays (wie S24+) */
@media (max-width: 600px) {
    .style-selector {
        gap: 20px; /* Kleinerer Abstand zwischen den Boxen untereinander */
        padding: 0 10px; /* Weniger Rand links/rechts */
    }

    .style-box {
        flex: 1 1 100% !important; /* Erzwingt eine Box pro Zeile */
        height: 400px; /* Kompakter auf dem Handy */
    }

    .style-content {
        width: 90% !important; /* Die weißen Boxen in den Bildern verbreitern */
        padding: 20px !important;
        min-height: auto !important; /* Verhindert unnötige Höhe */
    }
}

/* --- EINZELPRODUKT: GALERIE-RAHMEN & FARBEN --- */

/* Das Passepartout für das große Bild */
.woocommerce div.product div.images img {
    border: 15px solid #fff !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    outline: 1px solid #eee;
    background: #fff;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #243364 !important;
}

.woocommerce div.product .button.alt {
    background-color: #243364 !important;
    color: #fff !important;
    border-radius: 0 !important;
}

/* --- LIGHTBOX: DER GALAKTISCHE AUFRÄUMER (Gegen Geister-Vielecke) --- */

/* 1. Wir verbieten ALLEN Knöpfen in der Galerie, IRGENDEIN Icon zu zeigen */
.pswp__button,
.pswp__button--close,
.pswp__button--fs,
.pswp__button--zoom,
.pswp__button--share,
.pswp__ui * {
    background-image: none !important;
    background: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* 2. Wir schalten die störenden Knöpfe (Vollbild & Lupe) komplett ab */
button.pswp__button--fs, 
button.pswp__button--zoom, 
button.pswp__button--share {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* 3. Wir bauen NUR deinen Schließen-Button massiv und sauber neu */
button.pswp__button--close {
    background-color: #243364 !important; /* Dein Blau */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 999999 !important;
    border: none !important;
}

/* 4. Das weiße X - Wir erzwingen, dass NUR DAS zu sehen ist */
button.pswp__button--close::before {
    content: 'X' !important;
    display: block !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 24px !important;
    line-height: 50px !important;
    text-align: center !important;
    background: none !important;
}

/* 5. Falls PhotoSwipe SVGs in die Buttons legt - weg damit! */
.pswp__button svg {
    display: none !important;
}

/* 6. Die obere Leiste komplett unsichtbar machen (nur unser Button überlebt) */
.pswp__top-bar {
    background: none !important;
    background-color: transparent !important;
}

/* --- HEADER: WARENKORB-DESIGN --- */

.header-cart {
    margin-left: 20px;
    display: flex;
    align-items: center;
    z-index: 1001; /* Damit es immer über dem restlichen Inhalt liegt */
}

.cart-contents {
    text-decoration: none !important;
    position: relative;
    display: flex;
    align-items: center;
    color: #243364; /* Dein Dunkelblau */
    transition: transform 0.2s ease;
}

.cart-contents:hover {
    transform: scale(1.1);
}

.cart-icon {
    font-size: 24px; /* Schön groß für die Fingerbedienung am Handy */
}

/* Die kleine Zahl für die Anzahl der Artikel */
.cart-count {
    background: #243364; /* Deine Hauptfarbe */
    color: #ffffff;
    border-radius: 50%;
    padding: 2px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff; /* Ein weißer Rand, damit es sich vom Hintergrund abhebt */
}

/* Spezielle Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .header-cart {
        margin-left: 10px;
    }
    .cart-icon {
        font-size: 22px;
    }
}