/*
Theme Name: Schöne Kunst 2027
Theme URI: https://www.schoene-online.de/
Description: Kunstwerke, Raumgestaltung, Illusionsmalerei, Gemälde, Skulpturen, Grafiken, Illustrationen, Puppen, Zeichnungen
Version: 7.00
Author: Klaus Oppermann
Author URI: http://www.klausoppermann.de
Text Domain: kunstwerkstatt
*/

/* ==================================================
   1. Webfonts (Lokal & performant mit WOFF2/WOFF)
   ================================================== */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
       url('font/source-sans-pro-v11-latin-300.woff2') format('woff2'),
       url('font/source-sans-pro-v11-latin-300.woff') format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('font/source-sans-pro-v11-latin-regular.woff2') format('woff2'),
       url('font/source-sans-pro-v11-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
       url('font/source-sans-pro-v11-latin-700.woff2') format('woff2'),
       url('font/source-sans-pro-v11-latin-700.woff') format('woff');
}

/* ==================================================
   2. CSS Custom Properties (:root)
   ================================================== */
:root {
  --gruen: #008077;
  --pink: #b65283;
  --pink-light: #ee87b8;
  --weiss: #fff;
  --schwarz: #000;

  --vibrant: #c76293;
  --on-vibrant: #fff;
  --vibrant-hov: #c76293;
  --on-vibrant-hov: #fff;

  --warning: #f20746;
  --success: #12a280;
  --hallo: #F7A600;

  --trans-dunkel-05: rgba(0,0,0,0.05);
  --trans-dunkel-1: rgba(0,0,0,0.1);
  --trans-dunkel-2: rgba(0,0,0,0.2);
  --trans-dunkel-3: rgba(0,0,0,0.3);
  --trans-dunkel-4: rgba(0,0,0,0.4);
  --trans-dunkel-6: rgba(0,0,0,0.6);
  --trans-dunkel-8: rgba(0,0,0,0.8);
  --trans-dunkel-9: rgba(0,0,0,0.9);

  --trans-hell-05: rgba(255,255,255,0.05);
  --trans-hell-2: rgba(255,255,255,0.2);
  --trans-hell-4: rgba(255,255,255,0.4);
  --trans-hell-6: rgba(255,255,255,0.6);
  --trans-hell-8: rgba(255,255,255,0.8);
}

/* ==================================================
   3. CSS Reset & Basiselemente
   ================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--gruen);
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--gruen);
  color: var(--schwarz);
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 65.5%;
  font-weight: 400;
  height: 100%;
  margin: 0;
  padding: 90px 0 0 0;
  position: relative;
  text-align: center;
  width: 100%;
}

body.page-template-page-maenner,
body.single-maenner {
  background: var(--pink) url(images/gay-bg.jpg) 50% 0 no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a, abbr, acronym, address, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, hr, iframe, img, ins, kbd, label, legend, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, ul, var {
  border: 0;
  font-style: inherit;
  font-weight: inherit;
  list-style: none;
  margin: 0;
  outline: 0;
  padding: 0;
  text-decoration: none;
  vertical-align: baseline;
}

label, select, input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
  cursor: pointer;
}

article, aside, figcaption, figure, footer, header, hgroup, nav, section, time, video {
  display: block;
  margin: 0;
  padding: 0;
}

a, span.search { color: var(--pink); }
a:hover { color: var(--gruen); }
a:not([href]) { cursor: text; }
a[href^="tel"]:link, a[href^="tel"]:visited, a[href^="tel"]:hover { color: var(--schwarz); text-decoration: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

h1, h2, h3, h4, h5 {
  color: var(--schwarz);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  margin: 50px 0 10px 0;
  padding: 0;
}
h1 { clear: both; font-size: 1.4em; margin: 0 auto 25px auto; padding-top: 25px; text-align: center; }
.page-template-page-parallax-php h1 { margin: 0 auto; padding-top: 50px; text-align: center; }
h2 { font-size: 1.3em; }
h2.first { font-size: 1.1em; margin: 15px 0; }
h2.blog { margin: 10px 0; }
h2 span { color: var(--pink); }
h3 { font-size: 1.2em; }
h3.small { font-size: 1.0em; font-weight: 700; }
.tabzelle h3 { margin: 0; }
h4 { font-size: 1.2em; margin: 10px 0; }
h5, h6 { font-size: 1.0em; margin: 10px 0; }

hr {
  border: none;
  border-top: 1px solid #ccc;
  clear: both;
  display: block;
  height: 0;
  margin: 25px 0;
}

img { width: auto; max-width: 100%; height: auto; }
img.alignleft, .alignleft,
img.alignright, .alignright,
img.aligncenter, .aligncenter,
img.alignnone, .alignnone { display: block; float: none; text-align: center; margin: 25px auto; }
a > img.alignnone { margin: 0 auto; }

address { font-weight: 400; line-height: 1.5; margin: 25px 0; }
blockquote { background: #f7f7f7; border: 1px solid #ddd; margin: 25px 0; padding: 15px 25px; }
blockquote p { margin: 0; padding: 0; }
cite, em { font-style: italic; }
pre { margin: 15px 0; overflow: auto; }
pre a { font-weight: 400; }
strong, b { color: var(--schwarz); font-weight: 700; }
a strong, strong a { color: var(--weiss); }
sup, sub { font-size: 0.7em; height: 0; line-height: 1; vertical-align: baseline; position: relative; }
sup { top: -0.35em; }
sub { bottom: -0.25em; }
small { font-size: 0.9em; font-style: italic; font-weight: 200; }

/* ==================================================
   4. Formulare & Suche
   ================================================== */
form { font-size: 1.0em; border: none; margin: 25px 0; width: 100%; max-width: 95%; }
fieldset { border: none; color: var(--schwarz); clear: both; margin: 0; padding: 0; }
form h3, form p, #content form p { margin: 15px 0; text-align: left; }
fieldset.small p { float: none; width: 100%; }
fieldset.small p.left { padding-right: 0; }
fieldset.small p.right { padding-left: 0; }
label, form b { color: var(--schwarz); display: block; font-weight: 400; margin: 0; padding: 0; }

input, textarea, select {
  background: #eee;
  border: 1px solid #ccc;
  color: var(--schwarz);
  line-height: 100%;
  margin: 12px 0;
  padding: 15px;
  width: 100%;
}
textarea { margin: 12px 0 0 0; height: 150px; overflow: auto; }
.upload input { background: #f7f7f7; color: var(--schwarz); margin: 5px 5px 0 0; padding: 5px; width: 70%; }
input:hover, textarea:hover, input:focus, textarea:focus { background: #f7f7f7; border-color: #aaa; color: var(--schwarz); }
input[type=checkbox], input[type=radio] { background: transparent; border: none; color: var(--schwarz); margin: 0 5px 0 10px; padding: 0; width: 1.0em; }

.wpcf7-not-valid-tip, .wpcf7-validation-errors { background: #D34186; border: 3px double #D34186 !important; color: #fff; display: block; padding: 5px; }
.wpcf7-mail-sent-ok { background: #37BD5E; color: #fff; display: block; padding: 5px; }
.wpcf7-form-control-wrap { margin: 0; padding: 0; }
.wpcf7-checkbox .wpcf7-list-item { display: inline-block; padding: 0 10px 0 0; }

input[type=submit], button[type=submit] {
  background: var(--pink);
  border: 1px solid var(--pink);
  color: #fff;
  clear: both;
  display: block;
  font-size: 1.0em;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 25px 0 0 0;
  padding: 25px 60px;
  text-align: center;
  text-decoration: none;
  width: auto;
  border-radius: 5px;
  transition: all 0.3s ease;
}
input[type=submit]:hover, .wpcf7 button[type=submit]:hover { background: #fff; color: var(--pink); }

#searchform, .search-form { line-height: 100%; margin: 25px auto; padding: 0; position: relative; text-align: center; width: 100%; max-width: 500px; }
#searchform input, .search-form .search-field { display: inline-block; margin: 0 auto; text-align: left; vertical-align: middle; width: 80%; }
#searchform button, .search-form button { background: transparent; border: none; color: #fff; cursor: pointer; display: inline-block; font-size: 1.6em; margin: 0 0 0 5px; padding: 0 3px; vertical-align: middle; }
#searchform button:hover, .search-form button:hover { background: transparent; color: rgba(255,255,255,0.8); }

/* ==================================================
   5. Layout Container (#header, #wrapper, #footer)
   ================================================== */
#header .inner, #wrapper, #footer .inner, #fullbox-kontakt .inner {
  display: block;
  font-weight: 400;
  margin: 0 auto;
  padding: 15px;
  position: relative;
  text-align: left;
  width: 100%;
  max-width: 1280px;
}

#wrapper, .blog.sly #wrapper {
  background: #fff;
  font-size: 1.8em;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  padding: 85px 15px 0 15px;
  text-align: left;
  overflow: hidden;
}
.page-template-page-parallax-php #wrapper { padding: 0; }
body.page-template-page-maenner #wrapper, .single-maenner #wrapper { background: rgba(255,255,255,0.8); }
.sly #wrapper { padding-top: 0; }

.share, #header .share, #headerbox .share { background: #fff; clear: both; display: block; margin: 0 auto; text-align: center; width: 100%; transition: all 0.3s; }
.share a, #header .share a, #headerbox .share a, #sidebar .share a, #footer .share a { color: #fff; display: inline-block; font-size: 2.2em; line-height: 100%; margin: 5px; padding: 0; text-align: center; width: 1em; }
.share a:hover { color: #666; }
.share a span, #header .share a span, #headerbox .share a span { display: none; }
#sidebar .share a, #footer .share a { font-size: 1.6em; margin: 25px 10px; }
#footer .share { background: transparent; }
#footer .share a { color: #fff; }

#header .phone, #headerbox .phone { background: transparent; color: var(--pink); display: block; font-size: 3.2em; line-height: 100%; height: 32px; margin: 0; padding: 0; width: 32px; position: absolute; right: 60px; top: 0; z-index: 1000; }
#header .phone a, #headerbox .phone a { background-color: transparent; color: var(--pink); display: block; cursor: pointer; height: 32px; text-decoration: none; width: 32px; }
#header .phone a:before, #headerbox .phone a:before { color: var(--pink); }
#header .phone a span, #headerbox .phone a span { display: block; text-indent: -999em; }

.symbol { display: block; margin: 15px auto; text-align: center; font-size: 1em; }
.symbol.size-1:before { font-size: 1em; }
.symbol.size-2:before { font-size: 2em; }
.symbol.size-3:before { font-size: 3em; }
.symbol.size-4:before { font-size: 4em; }
.symbol.size-5:before { font-size: 5em; }
.symbol.size-6:before { font-size: 6em; }
.symbol.size-7:before { font-size: 7em; }
.symbol.size-8:before { font-size: 8em; }
.symbol.size-9:before { font-size: 9em; }
.symbol.size-10:before { font-size: 10em; }
a.symbol { color: #666; display: inline-block; }
a.symbol:hover { color: #fff; }
.symbol h3, .symbol p { color: #666; margin: 5px auto; text-align: center; }
.symbol .buttons { background: #f7f7f7; cursor: pointer; display: inline-block; border: 1px solid #ccc; margin: 5px auto; padding: 5px 15px; text-align: center; }
.symbol .buttons:hover { border-color: #fff; }

.contact { border: none; line-height: 100%; position: fixed; bottom: 1em; right: 1em; padding: 0; text-align: center; vertical-align: middle; width: 64px; z-index: 999999; }
.contact span { display: none; }
.back-to-top { display: block; font-size: 4.2em; font-weight: 500; text-decoration: none; margin: 0 auto; padding: 0; text-align: center; vertical-align: middle; }
.back-to-top:before { background: var(--gruen); color: #fff; margin: 0; border-radius: 50%; }

.myauthor { background: #f7f7f7; border: 1px solid #ccc; display: block; font-size: 0.9em; line-height: 1.5; margin: 25px auto; padding: 10px; position: relative; min-height: 100px; border-radius: 5px; }
.myauthor a img { display: block; }
.myauthor a:before { text-decoration: none; }
.myauthor .userthumb { position: relative; left: auto; top: auto; float: none; height: 100px; margin: 0 auto; width: 100px; border-radius: 50%; }
.myauthor .userthumb img { border: 1px solid #ccc; border-radius: 50%; }
.myauthor .icon:before, #content .myauthor .icon:before { color: #fff; font-size: 1.0em; background: #666; border: 3px solid #666; border-radius: 50%; padding: 0; height: 24px; width: 24px; }
.myauthor .icon span { display: none; }
.myauthor h4 { color: #000; font-size: 1.0em; line-height: 1.5; margin: 5px 0; padding: 0; }
.myauthor h4 a { color: #000; text-decoration: none; }
.myauthor ul, #content .myauthor ul, .myauthor p, #content .myauthor p { margin: 5px 0; padding: 0; }
.myauthor ul, #content .myauthor ul { margin: 10px 0; }
.myauthor ul li, #content .myauthor ul li { list-style: none; margin: 0; padding: 0; }
.myauthor ul li.sozial, #content .myauthor ul li.sozial { padding: 10px 0 5px 0; }

table { empty-cells: hide; }
table#wp-calendar { border: 1px solid #ddd; border-collapse: collapse; margin: 15px auto; text-align: center; width: 100%; }
table#wp-calendar tr { width: 100%; }
table#wp-calendar td, table#wp-calendar th { border: 1px solid #ddd; padding: 2px; text-align: center; }
table#wp-calendar th { font-weight: 500; }
table#wp-calendar td#prev, table#wp-calendar td#next, table#wp-calendar td.pad { border: none; }
table#wp-calendar thead td, table#wp-calendar thead th { background: #ddd; }
table#wp-calendar td a { background: var(--pink); color: #fff; display: block; transition: all 0.5s; }
table#wp-calendar td a:hover, table#wp-calendar td#prev a, table#wp-calendar td#next a, table#wp-calendar td.pad a { background: var(--pink); color: #fff; }

.tabelle, .tabreihe, .tabzelle { color: #000; display: block; padding: 0; position: relative; }
.tabelle.center .tabzelle { text-align: center; }
.tabelle h2, .tabelle h3, .tabelle h4 { margin: 0; }
.tabelle.symbole { clear: both; margin: 50px auto; }
.tabelle.symbole .tabzelle { padding: 0 25px 50px 0; text-align: center; }

.clear { clear: both; display: block; padding: 1px 0; }
#sidebar .clear { padding: 0; }
.group::after, #nav::after, #wrapper::after { content: ""; display: table; clear: both; }

video { max-width: 100%; height: auto; max-height: 70vh; }
.video-wrapper { background: transparent; border: none; margin: 25px auto; width: 100%; max-width: 100%; }
.video-container { background: transparent; position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed { background: transparent; margin: 0; padding: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.map, #map { border: 1px solid #ddd; clear: both; display: block; height: 640px; margin: 25px auto; width: 90%; }
.map_canvas { width: 100%; height: 100%; }
.map_canvas img, #map_canvas img { max-width: none; }
.framewrapper { clear: both; display: block; margin: 15px auto; position: relative; width: 100%; }
.my-frame, .map-frame { border: none; padding: 0; text-align: center; min-height: 640px; height: 100%; width: 100%; }

/* Korrektur Syntaxfehler !important */
#content div#snippet-box { font-size: 1em !important; width: 100%; max-width: 100%; }
#content div.snippet-title, #content div.aio-info { width: 100%; max-width: 100%; }

.pinterest-container { display: block; margin: 0 auto; text-align: center; width: 100%; }
.pinterest-container > span { width: 100% !important; overflow: hidden; }
.pinterest-container > span > span > span > span { min-width: 0; }

.button a { background: var(--pink); border: 1px solid var(--pink); color: #fff; display: inline-block; margin: 0 auto; padding: 3px 10px; text-align: center; border-radius: 3px; }
.button a:hover, .button a:focus { background: #fff; color: var(--pink); }

.nix, .symbole span { display: inline; height: 0; left: -999em; overflow: hidden; position: absolute; top: -999em; width: 0; }

#content .innernav { clear: both; display: block; margin: 25px auto; }
#content .innernav .prev, #content .innernav .next { color: #fff; display: block; margin: 0; }
#content .innernav .prev span, #content .innernav .next span { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 90%; vertical-align: middle; }
#content .innernav .next { text-align: left; }

/* ==================================================
   6. Header & Mobile Navigation
   ================================================== */
#header { background: #fff; border-top: 10px solid var(--pink); height: 85px; margin: 0; padding: 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1005; box-shadow: 5px 5px 5px rgba(0,0,0,0.4); }
#header .inner { background: #fff; height: 85px; padding-top: 15px; position: relative; }

#header #logo { margin: 0 auto; padding: 0; position: relative; text-align: center; z-index: 1005; transition: all 0.3s; }
#header #logo a { background: #fff; border: 1px solid var(--pink); display: block; height: auto; line-height: 100%; margin: 0 auto; padding: 10px; width: 120px; z-index: 1000; box-shadow: 5px 5px 1px rgba(0,0,0,0.2); transition: all 0.3s; }
#header #logo a:hover, #header #logo a:focus { box-shadow: 1px 1px 1px rgba(0,0,0,0.2); }
#header #logo img { display: block; margin: 0 auto; width: auto; max-width: 95px; height: auto; transition: all 0.3s; }

#mobile { background: transparent; border: none; color: #000; cursor: pointer; display: block; font-size: 4em; font-weight: 400; height: 50px; margin: 0; padding: 0; position: fixed; top: 17px; right: 10px; text-align: center; width: 36px; z-index: 99999; outline: none; }
#mobile span { display: block; text-indent: -999em; }
#mobile b { border-top: 2px solid #000; display: block; margin: 7px 0; transform-origin: 4px 0px; transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease; }
#mobile.open b.eins { opacity: 1; transform: rotate(45deg) translate(-2px, -1px); background: #232323; }
#mobile.open b.zwei { opacity: 0; transform: rotate(0deg) scale(0.2, 0.2); }
#mobile.open b.drei { opacity: 1; transform: rotate(-45deg) translate(0, -1px); }

nav {
  background: var(--pink);
  font-size: 1.5em;
  overflow: hidden;
  position: fixed;
  top: 50px;
  left: -100%;
  width: 80%;
  height: 100%;
  opacity: 0;
  z-index: 9999;
  transition: opacity .5s ease, left .5s ease;
}
nav.open { opacity: 1; left: 10%; }

nav ul, nav ul li { color: #fff; display: block; text-align: center; width: auto; }
nav ul li a { background: var(--pink-light); border-top: 1px solid #fff; color: #fff; display: block; margin: 0; padding: 10px 15px; position: relative; }
nav ul li a:hover,
nav.open ul li.current-menu-item a,
nav ul li ul li a:hover,
nav ul li ul li.current-menu-item a { background: var(--gruen); color: #fff; }
nav ul li a:focus, nav ul li ul li a:focus { outline: 1px solid var(--gruen); }

#nav li.close-nav { background: var(--pink-light); border-top: 1px solid #fff; border-bottom: 1px solid #fff; clear: both; color: #fff; display: block; width: 100%; padding: 10px 5px; }
#nav li.close-nav b { color: #fff; cursor: pointer; }
#nav li.search { border-top: 1px solid #fff; text-align: center; padding-left: 0; }
#nav li.search b:before { cursor: pointer; display: none; font-size: 1.5em; margin: 0; padding: 5px 20px 5px 0; }
nav li.menu-item-has-children a:before { text-decoration: none; position: absolute; right: 10px; top: 33%; }
nav li.menu-item-has-children li a:before { content: ''; margin: 0; padding: 0; width: 0; }
nav li.current_page_ancestor a:before { color: #666; }

@media all and (max-width: 979px) {
  .nav__container {
    background: rgba(255,255,255,0.5);
    position: absolute;
    padding: 5px 5px 55px 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

#sidebarmenue { display: none; }

/* ==================================================
   7. Hauptinhalt (#content)
   ================================================== */
#content { padding: 0; min-height: 600px; width: 100%; }

#content a { background: var(--pink); color: #fff; padding: 0 3px; text-decoration: none; transition: all 0.5s; }
#content a:hover, #content a:focus { background: var(--gruen); color: #fff; }
#content a:has(img), #content a:has(img):hover { background: transparent; }
#content .image-link a, #content .image-link a:hover { background: transparent; }

#content p { margin: 10px 0 20px 0; }
#content p.zurueck { margin: 25px auto; text-align: center; }
#content p.zurueck a { display: inline-block; margin: 0 auto; padding: 10px 20px; border-radius: 5px; }
#content p.hinweis { background: var(--gruen); color: #fff; padding: 5px 10px 5px 35px; position: relative; width: 95%; }
#content p.hinweis a { color: #fff; }
#content p.hinweis:before { color: #fff; position: absolute; left: 10px; top: 10px; }

#content ul { margin: 20px 0 20px 35px; }
#content ul li, #content ul.postinfos li { list-style: none; }
#content ul li { padding-left: 30px; position: relative; }
#content ul li:before { color: var(--pink); position: absolute; left: 0; top: 4px; text-shadow: 0 1px 0 #fff; }
#content ul ul, #content ul ul ul { margin: 0 15px; }
#content ul ul li, #content ul ul ul li { background-image: none; padding: 5px; }

#content ul.nocheck { margin: 20px 0 20px 35px; }
#content ul.nocheck li { background-image: none; list-style: circle; padding: 3px 5px; }
#content ul.nocheck li:before, #content ul.postinfos li:before, #content .myauthor ul li:before { display: none; }
#content ul.postinfos li { padding: 0; }

#content ul.sprungmarken { clear: both; display: block; margin: 20px auto; text-align: center; }
#content ul.sprungmarken li { display: inline-block; padding: 0; text-align: center; }
#content ul.sprungmarken li:before { display: none; }
#content ul.sprungmarken li a { background: var(--pink); border: 1px solid var(--pink); color: #fff; display: block; font-weight: 500; margin: 5px; padding: 5px 10px; }
#content ul.sprungmarken li a:hover, #content ul.sprungmarken li a:focus { background: #fff; color: var(--pink); }

#content ul.breadcrumb, #content .breadcrumbs { font-size: 0.85em; margin: 25px 0; max-width: 100%; }
#content ul.breadcrumb li { display: inline-block; list-style: none; margin: 0 1px; padding: 0 5px; vertical-align: middle; white-space: nowrap; max-width: 50%; overflow: hidden; }
#content ul.breadcrumb li:first-child { padding: 0; margin-left: -20px; }
#content ul.breadcrumb li:before { content: '>'; vertical-align: middle; margin: 0 5px 0 0; position: relative; }
#content ul.breadcrumb li:first-child:before { content: ''; margin: 0; }
#content ul.breadcrumb a, #content ul.breadcrumb em { color: #888; border: none; display: inline-block; margin: 0; padding: 0; vertical-align: middle; }
#content ul.breadcrumb a.icon-home:before { text-decoration: none; color: #666; font-size: 1.3em; }

#content ul.galerie { margin: 20px auto; text-align: center; width: 100%; }
#content ul.galerie li { background: transparent; border: none; display: inline-block; margin: 0 auto; padding: 1px; position: relative; overflow: hidden; text-align: center; width: 50%; vertical-align: middle; }
#content ul.galerie li:before { display: none; }
#content ul.galerie li a { background: transparent; display: block; line-height: 0; margin: 0; padding: 0; position: relative; text-align: center; }
#content ul.galerie li a:hover img { opacity: 0.9; }
#content ul.galerie li span { background: rgba(0,0,0,0.6); border: none; color: #fff; display: block; line-height: 1.4; padding: 10px 5%; position: absolute; text-align: left; bottom: -500px; left: 0; width: 90%; transition: all 0.6s ease-in-out; }
#content ul.galerie li:hover span { bottom: 5px; }

#content ul.news { clear: both; line-height: 1.4; margin: 0; padding: 0; width: 100%; }
#content ul.news li { background: transparent; display: block; float: left; list-style: none; margin: 15px 0 15px 2.0%; overflow-x: hidden; padding: 0; position: relative; width: 49%; }
#content ul.news li:nth-child(2n+1) { clear: left; margin-left: 0; }
#content ul.news.kunst li { margin-bottom: 0; padding-top: 15px; }
#content ul.news.eins li { padding: 10px; }
#content ul.news li:before { content: ''; display: none; }
#content ul.news h2, #content ul.news h3 { border: none; color: #000; line-height: 1.25; margin: 0 auto; padding: 10px 0; font-size: 0.95em; font-weight: 400; text-align: center; transition: all 0.5s; }
#content ul.news p { font-size: 1em; line-height: 1.4; margin: 0; overflow-wrap: break-word; hyphens: auto; }
#content ul.news a { background: transparent; color: #000; display: block; text-decoration: none; margin: 0; padding: 0; width: 100%; transition: all 0.5s; }
#content ul.news a:hover, #content ul.news a:focus,
#content ul.news a:hover h2, #content ul.news a:hover h3 { background: var(--pink); color: #fff !important; }

#content ul.news li .thumbnail { background: #fff; display: block; float: none; height: auto; margin: 0 auto; padding: 0; overflow: hidden; position: relative; text-align: center; width: 100%; }
#content ul.news li .thumbnail img { border: none; display: block; margin: 0 auto; transition: transform 2s; }
#content ul.news li:hover .thumbnail img, #content ul.myteaserboxen li:hover .thumbnail img { filter: grayscale(100%); }

#content ul.myteaserboxen { clear: both; line-height: 1.4; margin: 0; padding: 0; width: 100%; }
#content ul.myteaserboxen li { background: transparent; display: inline-block; list-style: none; margin: 15px 0; padding: 0; position: relative; vertical-align: top; width: 100%; }
#content ul.myteaserboxen li:before { content: ''; display: none; }
#content ul.myteaserboxen li .thumbnail { float: left; overflow: hidden; padding: 0; vertical-align: top; width: 40%; }
#content ul.myteaserboxen li .thumbnail img { border: none; margin: 5px 0 0 0; transition: transform 2s; }
#content ul.myteaserboxen li .txt { display: inline-block; padding: 0 20px; vertical-align: top; width: 60%; }
#content ul.myteaserboxen h2, #content ul.myteaserboxen h3 { border: none; color: #000; line-height: 1.4; margin: 0 0 5px 0; font-size: 1.2em; font-weight: 400; text-align: left; }
#content ul.myteaserboxen p { font-size: 1em; line-height: 1.4; margin: 0; overflow-wrap: break-word; hyphens: auto; }
#content ul.myteaserboxen a { color: #666; display: block; text-decoration: none; width: 100%; }

#content ul.postinfos { font-size: 0.9em; margin: 5px 0; width: 100%; position: relative; }
#content ul.postinfos li { background: transparent; color: #777; display: inline-block; padding: 5px 0 5px 15px; }
#content ul.postinfos li.soci a:before { font-size: 1.0em; margin: 0; padding: 0 5px; text-decoration: none; }
#content ul.postinfos li.soci a span { display: none; }

#content .mypost { display: block; padding: 25px 0; }
#content .mypost a.weiter { background: var(--pink); color: #fff; display: inline-block; margin: 5px 0; padding: 0 10px; }
#content p em.datum { background: var(--pink); border-bottom: 1px solid #fff; color: #fff; display: inline-block; padding: 5px 25px; }

#content .wp-caption { font-size: 1em; height: auto; margin: 25px auto; padding: 0; position: relative; text-align: center; width: auto; max-width: 100%; }
#content .wp-caption img { display: block; margin: 0 auto; }
#content .wp-caption p { background: transparent; color: #000; font-style: italic; margin: 0; padding: 5px 0; text-align: center; width: 100%; }

/* ==================================================
   8. Paginierung (PageNavi & WordPress Core)
   ================================================== */
#content .wp-pagenavi,
#content .wp-navigation { clear: both; display: block; margin: 15px 0; padding: 15px 0; text-align: center; }
#content .wp-pagenavi a, #content .wp-pagenavi span,
#content .wp-navigation a, #content .wp-navigation span {
  background: #ddd;
  border: none;
  color: #000;
  display: inline-block;
  margin: 5px;
  padding: 5px 15px;
  text-align: center;
  border-radius: 5px;
}
#content .wp-pagenavi a:hover, #content .wp-pagenavi a:focus,
#content .wp-pagenavi span.current,
#content .wp-navigation a:hover,
#content .wp-navigation span.current { background: var(--pink); color: #fff; }

/* ==================================================
   9. Kommentare (Modernisiert für comment_form())
   ================================================== */
.commentsblock, .comments-area { margin: 25px 0; padding: 0; text-align: left; }
.commentsblock form, .comment-form { border: none; margin: 0; }
.commentsblock label, .comment-form label { display: block; font-weight: 500; margin: 10px 0 5px 0; color: #000; }
.commentsblock input[type="text"],
.commentsblock input[type="email"],
.commentsblock input[type="url"],
.commentsblock textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: #f7f7f7;
  border: 1px solid #bbb;
  color: #000;
  margin: 5px 0 15px 0 !important;
  padding: 10px;
  width: 100%;
  border-radius: 3px;
}
.comment-form textarea { height: 160px; overflow: auto; }
.comment-form-privacy label { font-weight: normal; font-size: 0.9em; display: inline-flex; align-items: center; gap: 8px; margin: 15px 0; }
.comment-form-privacy input[type="checkbox"] { width: auto; margin: 0; }

.form-submit input[type="submit"],
.commentsblock input[type=submit] {
  background: var(--pink);
  border: 1px solid var(--pink);
  color: #fff;
  clear: both;
  display: block;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 15px 0 !important;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
}
.form-submit input[type="submit"]:hover,
.commentsblock input[type=submit]:hover {
  background: var(--gruen);
  border-color: var(--gruen);
  color: #fff;
}

#content ol.commentlist { list-style: none; margin: 25px 0; padding: 0; }
#content ol.commentlist li.comment { border-bottom: 2px solid #ccc; padding: 1.5em 0; }
#content ol.commentlist li.comment img.avatar { border: 1px solid #ccc; float: right; height: 60px; width: 60px; margin: 0 0 1em 1em; border-radius: 50%; }
#content ol.commentlist li.comment div.comment-meta a { color: #888; background: transparent; }
#content ol.commentlist li.comment p { margin: 0 0 1em; }
#content ol.commentlist li.comment div.reply a { font-weight: bold; background: transparent; color: var(--pink); }
#content ol.commentlist li.comment div.reply a:hover { color: var(--gruen); }
#content ol.commentlist li.comment ul.children { list-style: none; margin: 1.5em 0 0; padding-left: 20px; border-left: 2px solid #ddd; }

/* ==================================================
   10. Sidebar & Footer
   ================================================== */
#sidebar { clear: both; border-top: 5px solid var(--gruen); min-height: 25px; padding: 0; text-align: center; }
#sidebar a { text-decoration: underline; }
#sidebar img { display: block; margin: 10px auto; text-align: center; }
#sidebar .sidebars { display: block; margin: 0 0 25px 0; }
#sidebar h2, #sidebar h3 { text-align: center; }
#sidebar p { margin: 25px auto; }
#sidebar ul { margin: 25px auto; }
#sidebar ul li { display: block; text-align: left; }
#sidebar ul a { border-bottom: 1px solid #ccc; display: block; padding: 10px; text-decoration: none; }
#sidebar ul a:hover, #sidebar ul li.current_page_item a { background: var(--pink); border-color: #fff; color: #fff; }

#footer { background: var(--gruen); position: relative; }
#footer .inner { background: var(--gruen); color: #fff; display: block; font-size: 1.9em; line-height: 1.5; min-height: 100px; padding: 25px; text-align: center; }
#footer::after { content: ""; clear: both; display: table; }
#footer a { color: #fff; }
#footer a:hover, #footer a:focus { color: #eee; }

body.page-template-page-maenner,
body.page-template-page-maenner #footer,
body.page-template-page-maenner #footer .inner,
body.single-maenner,
body.single-maenner #footer,
body.single-maenner #footer .inner { background-color: var(--pink); }

#footer address, #footer form.mini h3, #footer h3, #footer h3 a { color: #fff; }
#footer p, #footer ul { margin: 15px auto; }
#footer ul li { border-bottom: 1px solid rgba(255,255,255,0.3); display: block; padding: 5px 0; }
#footer ul li:first-child { border-top: 1px solid rgba(255,255,255,0.3); }
#footer ul a { border: none; color: #fff; display: block; padding: 5px 0; }
#footer ul a:hover, #footer ul a:focus { color: #fff; text-decoration: underline; }

/* ==================================================
   11. Parallax & Slider
   ================================================== */
section.module { clear: both; display: block; margin: 0; padding: 0; position: relative; width: 100%; }
section.module .wrap-inner-section { margin: 0 auto; padding: 25px 15px; position: relative; vertical-align: middle; width: 100%; max-width: 1280px; }
section.module.parallax { background-position: 50% 50%; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; height: 600px; vertical-align: middle; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3); }
section.module.parallax .wrap-inner-section { height: 600px; max-width: 100%; }
section.module.parallax .wrap-inner-section .inner-section { background: rgba(0,0,0,0.3); }
section.module.parallax .wrap-inner-section .inner-section:empty { background: transparent; }
section.module.parallax h1, section.module.parallax h2 { color: #fff; display: block; font-weight: 400; letter-spacing: 2px; line-height: 1.2; margin: 0 auto; padding: 0; text-align: center; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2); text-transform: uppercase; }
section.module.parallax a { color: #fff; }
section.module.parallax p { margin: 10px auto; text-align: center; }

.wrapslider { background: #000 url(images/load.gif) no-repeat 50% 50%; border-top: 1px solid #fff; border-bottom: 1px solid #fff; clear: both; line-height: 100%; margin: 0 auto 15px auto; padding: 0; overflow: hidden; position: relative; text-align: center; width: 100%; }
.slider, ul.rslider { height: 100%; max-height: 800px; margin: 0 auto; overflow: hidden; padding: 0; position: relative; text-align: center; width: 100%; }
.wrapslider .sliderbox {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
  color: #fff; font-size: 1.8em; margin: 0 auto; padding: 15px; position: absolute; bottom: 0; left: 0; right: 0; text-align: center; width: 100%;
}
.wrapslider .sliderbox h1, .wrapslider .sliderbox h2, #content .wrapslider .sliderbox h2, #content .wrapslider .sliderbox h3 {
  color: #fff; display: inline-block; font-size: 1.3em; font-weight: 400; letter-spacing: 2px; line-height: 1.2; margin: 0 auto; padding: 0; text-align: center; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.rslides { background: transparent; height: auto; list-style: none; overflow: hidden; margin: 0; padding: 0; width: 100%; }
.rslides .slide { background: transparent; margin: 0; padding: 0; position: absolute; display: none; height: 100%; width: 100%; left: 0; top: 0; text-align: center; }
.rslides .slide img { display: block; margin: 0; }
.rslides .slide:first-child { position: relative; display: block; float: left; }

/* ==================================================
   12. Responsive Breakpoints
   ================================================== */
@media screen and (min-width: 680px) {
  .cols { margin: 10px 0 20px 0; column-count: 2; column-gap: 30px; }
  .cols3 { margin: 10px 0 20px 0; column-count: 3; column-gap: 15px; }

  #content ul.news li { float: left; margin: 25px 0 25px 2.0%; width: 32%; }
  #content ul.news li:nth-child(2n+1) { clear: none; margin-left: 2.0%; }
  #content ul.news li:nth-child(3n+1) { clear: left; margin-left: 0; }

  /* Korrektur: font-height:0 gelöscht */
  #content ul.news.eins li { border: 1px solid #ddd; display: block; float: none; margin: 15px 0; padding: 10px; width: 100%; }
  #content ul.news.eins li::after { content: ""; display: table; clear: both; height: 0; }
  #content ul.news.eins li .thumbnail { float: left; margin: 0; padding: 0; width: 40%; text-align: left; }
  #content ul.news.eins li .thumbnail img { display: block; max-height: 300px; text-align: left; }
  #content ul.news.eins li .text { float: right; padding: 15px; text-align: left; width: 60%; }

  #content ul.galerie li { width: 33.3%; }
  .myauthor ul li.sozial { position: absolute; top: 10px; right: 10px; }
}

@media screen and (min-width: 980px) {
  h1 { font-size: 2.0em; margin-top: 0; }
  h2 { font-size: 1.6em; }
  h3 { font-size: 1.4em; }

  form { max-width: 100%; }
  input[type=submit], button[type=submit] { margin: 0; padding: 15px 35px; }

  #wrapper { margin: 15px auto; padding: 50px 15px 0 15px; }
  .page-template-page-parallax-php #wrapper { padding: 0; }

  img.alignleft, .alignleft { float: left; margin: 15px 25px 15px 0; }
  img.alignright, .alignright { float: right; margin: 15px 0 15px 25px; }
  img.alignnone, .alignnone { display: block; float: none; text-align: left; margin: 15px 0; }

  .myauthor { padding: 10px 10px 10px 145px; min-height: 140px; }
  .myauthor .userthumb { margin: 0; padding: 0; position: absolute; left: 10px; top: 10px; border-radius: 50%; }

  .tabelle { display: table; margin: 25px 0; width: 100%; table-layout: fixed; }
  .tabreihe { display: table-row; width: 100%; }
  .tabzelle { display: table-cell; padding: 10px 25px; position: relative; vertical-align: top; }
  .tabzelle:first-child { padding-left: 0; }
  .tabzelle:last-child { padding-right: 0; }

  #header .inner, #footer .inner { height: 25px; padding: 15px 25px; }
  #header #logo { margin: 0 auto; padding: 0; position: absolute; left: 25px; top: 10px; }
  #header #logo a { width: 224px; max-width: 224px; height: 330px; max-height: 500px; }
  #header #logo img { display: block; margin: 0 auto; height: auto; max-height: 330px; width: 224px; }

  #header .phone, #headerbox .phone {
    background: var(--pink); border-top: 1px solid #fff; color: #fff; font-size: 1.6em; font-weight: 500; height: auto; letter-spacing: 3px; line-height: 1.1; margin: 0; padding: 5px 10px; position: absolute; top: -15px; right: -25px; text-align: center; width: 200px;
  }
  #header .phone a, #headerbox .phone a { color: #fff; cursor: text; height: auto; width: auto; vertical-align: middle; }
  #header .phone a span, #headerbox .phone a span { display: inline-block; text-indent: 0; padding: 0; }

  /* Desktop Navigation */
  button#mobile, #nav li.close-nav { display: none; }
  #nav li.search { border: none; padding-left: 25px; }
  #nav li.search b:before { display: block; }

  nav, #navigation {
    background: #fff; border: none; clear: both; display: block; font-size: 1.8em; height: auto; text-align: right; margin: 0; opacity: 1; padding: 0 0 0 250px; position: relative; top: auto; left: auto; right: auto; z-index: 999; overflow: visible; width: 100%; max-height: 100px;
  }
  nav ul, ul#nav { background: transparent; padding: 0; margin: 0 15px 0 0; text-align: right; width: auto; }
  nav ul::after { content: ""; display: table; clear: both; }
  nav ul li { list-style: none; display: inline-block; padding: 0; position: relative; width: auto; }
  nav ul li a { background: transparent; border: none; text-align: left; text-decoration: none; display: block; color: #000; font-weight: 700; letter-spacing: 1px; margin: 0 0 10px 0; padding: 10px 20px; }
  nav ul li a:hover, nav ul li a:focus, nav li.current-menu-item a { color: var(--pink); }

  nav ul li ul {
    background: var(--pink); border: 2px solid #fff; color: #fff; height: auto; left: -999em; opacity: 0; margin: -10px 0 0 0; padding: 0; position: absolute; width: 300px; transition: opacity .6s ease-in-out; box-shadow: 5px 5px 1px rgba(0,0,0,0.2);
  }
  nav ul li:hover > ul, nav li.opensubmenu ul { left: 0; opacity: 1; }
  nav ul li ul li a { background: transparent; border-bottom: 1px solid #fff; color: #fff; font-size: 0.9em; padding: 10px 20px; }
  nav ul li ul li a:hover { background: rgba(0,0,0,0.1); text-decoration: underline; }

  /* Sidebarmenü & Content Aufteilung */
  #sidebarmenue { display: block; height: 100%; float: left; font-size: 1em; line-height: 1.1; margin: 0; padding: 190px 0 0 0; position: relative; width: 300px; }
  #sidebarmenue ul { border: none; margin: 0; padding: 25px 65px 25px 10px; width: 100%; }
  #sidebarmenue ul li a { background: var(--gruen); border: none; color: #fff; display: block; font-weight: 700; padding: 8px 15px; text-align: left; }
  #sidebarmenue ul li a:hover, #sidebarmenue ul li.current-menu-item a { background-color: var(--pink); color: #fff; }

  #content { float: left; padding: 0 25px 25px 0; width: calc(100% - 300px); min-height: 880px; }
  .page-template-page-schmale-seite #content,
  .page-template-page-kontakt #content,
  .error404 #content { width: 100%; padding-right: 0; float: none; }
  .page-template-page-parallax-php #content { padding: 0; width: 100%; }

  #sidebar { float: none; padding: 0 25px; width: 100%; }
  .sidebars { float: left; padding: 0; text-align: left; width: 33.3%; }
  #sidebar #sidebar-1 { padding: 0 20px 0 0; }
  #sidebar #sidebar-2 { padding: 0 10px; }
  #sidebar #sidebar-3 { padding: 0 0 0 20px; }

  #footer .footerbox { float: left; padding: 0; text-align: center; width: 33.3%; }
  #footer .footerbox .innen { display: inline-block; text-align: left; }
}

@media screen and (min-width: 1280px) {
  nav ul, ul#nav { text-align: center; }
  #content ul.news.vier li { width: 23.5%; margin: 25px 0 0 2.0%; }
  #content ul.news.vier li:nth-child(2n+1) { clear: none; margin-left: 2%; }
  #content ul.news.vier li:nth-child(3n+1) { clear: none; margin-left: 2%; }
  #content ul.news.vier li:nth-child(4n+1) { clear: left; margin-left: 0; }
  #content ul.galerie li { width: 25%; }
  #content .innernav .next { text-align: right; }
}

@media screen and (min-width: 1380px) {
  html { scroll-padding-top: 135px; }
}

/* ==================================================
   FIX: Überdeckung auf Männer- und Gay-Art-Templates
   ================================================== */

/* 1. Wrapper muss den gefloateten Inhalt vollständig umschließen */
#wrapper {
  overflow: visible !important;
  display: flow-root !important; /* Modernes Clearing ohne Kollabieren */
  position: relative;
  z-index: 10;
}

/* 2. Auf Männer- und Gay-Art-Seiten: Volle Breite, kein Float, solider weißer Kasten */
body.page-template-page-maenner #wrapper,
body.page-template-template-maenner #wrapper,
body.page-template-maenner #wrapper,
body.single-maenner #wrapper,
body.page-template-page-gay-art #wrapper,
body.page-template-template-gay-art #wrapper,
body.page-template-gay-art #wrapper,
body.single-gayart #wrapper {
  background: rgba(255, 255, 255, 0.92) !important;
  float: none !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 25px auto !important;
  padding: 30px !important;
  position: relative !important;
  z-index: 20 !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* 3. Content-Bereich auf diesen Seiten auf 100% zwingen */
body.page-template-page-maenner #content,
body.page-template-template-maenner #content,
body.page-template-maenner #content,
body.single-maenner #content,
body.page-template-page-gay-art #content,
body.page-template-template-gay-art #content,
body.page-template-gay-art #content,
body.single-gayart #content {
  float: none !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 25 !important;
}

/* 4. Footer nach unten drücken und unter den Wrapper legen */
#footer {
  position: relative !important;
  z-index: 10 !important;
  clear: both !important;
}
