body {
/*css for full size background image*/
  background: #e9e5da url(../../images/background.png) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  font-family: "Tahoma",Helvetica,Arial,sans-serif;
  color: #918f90;
}

.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 2px;
  margin-bottom: 5px;
}

.siteheader {
padding:10px;
}

.site {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: auto;
  margin-left: auto;
  border-left: 1px solid #292929;
  border-right: 1px solid #292929;
  -moz-box-shadow:1px 1px 6px #292929; /* Firefox */
  -webkit-box-shadow:1px 1px 6px #292929; /* Chrome, Safari */
  -khtml-box-shadow:1px 1px 6px #292929; /* Konqueror */
  box-shadow:1px 1px 6px #292929; /* CSS3 */
  background: #ffffff; /* Old browsers */
      }


@media (min-width: 768px) {
  .site {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .site {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .site {
    width: 1170px;
  }
}

.contentbox {
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #c0c0c0;
  -moz-box-shadow:1px 1px 3px #c0c0c0; /* Firefox */
  -webkit-box-shadow:1px 1px 3px #c0c0c0; /* Chrome, Safari */
  -khtml-box-shadow:1px 1px 3px #c0c0c0; /* Konqueror */
  box-shadow:1px 1px 3px #c0c0c0; /* CSS3 */
  border-radius: 6px;
  -webkit-transition: border .2s ease-in-out;
  -o-transition: border .2s ease-in-out;
  transition: border .2s ease-in-out;
            }

.full {
    width: 100%;	
}
.gap {
	height: 30px;
	width: 100%;
	clear: both;
	display: block;
}
.footer {
	margin-top:20px;
  background: #f8f8f8;
	height: auto;
	position: relative;
	width: 100%;
	border-bottom: 1px solid #CCCCCC;
	border-top: 1px solid #DDDDDD;
}
.footer p {
	margin: 0;
}
.footer img {
	max-width: 100%;
}
.footer h3 {
	border-bottom: 1px solid #BAC1C8;
	color: #54697E;
	font-size: 18px;
	font-weight: 600;
	line-height: 27px;
	text-transform: uppercase;
}
.footer ul {
	font-size: 13px;
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	margin-top: 15px;
	color: #7F8C8D;
}
.footer ul li a {
	padding: 0 0 5px 0;
	display: block;
}
.footer a {
	color: #78828D
}

.social li {
	background: none repeat scroll 0 0 #B5B5B5;
	border: 2px solid #B5B5B5;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	float: left;
	height: 36px;
	line-height: 36px;
	margin: 0 8px 0 0;
	padding: 0;
	text-align: center;
	width: 36px;
	transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-webkit-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
}
.social li:hover {
	transform: scale(1.15) rotate(360deg);
	-webkit-transform: scale(1.1) rotate(360deg);
	-moz-transform: scale(1.1) rotate(360deg);
	-ms-transform: scale(1.1) rotate(360deg);
	-o-transform: scale(1.1) rotate(360deg);
}
.social li a {
	color: #EDEFF1;
}
.social li:hover {
	border: 2px solid #2c3e50;
	background: #2c3e50;
}
.social li a i {
	font-size: 16px;
	margin: 0 0 0 5px;
	color: #EDEFF1 !important;
}
.footer-bottom {
	background: #E3E3E3;
	border-top: 1px solid #DDDDDD;
	padding-top: 10px;
	padding-bottom: 10px;
}
.footer-bottom p.pull-left {
	padding-top: 6px;
}
.payments {
	font-size: 1.5em;	
}




#social:hover {
    			-webkit-transform:scale(1.1); 
-moz-transform:scale(1.1); 
-o-transform:scale(1.1); 
			}
			#social {
				-webkit-transform:scale(0.8);
                /* Browser Variations: */
-moz-transform:scale(0.8);
-o-transform:scale(0.8); 
-webkit-transition-duration: 0.5s; 
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
			}           
/* 
    Only Needed in Multi-Coloured Variation 
                                               */
			.social-fb:hover {
				color: #3B5998;
			}
			.social-tw:hover {
				color: #4099FF;
			}
			.social-gp:hover {
				color: #d34836;
			}
			.social-em:hover {
				color: #f39c12;
			}
			
			
.etikett {
    position: relative;
}

.etikett img {
    display: block;
}

.etikett span {
}			

.content {
    float:left;
    display: block;
}

.pagination {
  display: inherit;
}



.navbar-default {
  background-color: #ffffff;
  border-color: #cef4e5;
  font-family: "Tahoma",Helvetica,Arial,sans-serif;
}
.navbar-default .navbar-brand {
  color: #918f90;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #22740f;
}
.navbar-default .navbar-text {
  color: #918f90;
}
.navbar-default .navbar-nav > li > a {
  color: #918f90;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #22740f;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #22740f;
  background-color: #cef4e5;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  color: #22740f;
  background-color: #cef4e5;
}
.navbar-default .navbar-toggle {
  border-color: #cef4e5;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #cef4e5;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #000000;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #000000;
}
.navbar-default .navbar-link {
  color: #918f90;
}
.navbar-default .navbar-link:hover {
  color: #22740f;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #918f90;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #22740f;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #22740f;
    background-color: #cef4e5;
  }                       }

.panel {
  margin-bottom: 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  box-shadow: 0 5px 5px rgba(0,0,0,.05);
  min-height:200px;
}


.profile-info{
    overflow:hidden;
}
 
.profile-photo{
    float:left;
}
 
.profile-photo img{
    width:40px; height:40px;
}
 
.profile-name{
    float:left; margin:0 0 0 .5em;
}
 
.time-ago{
    color:#999;
}
 
.profile-message{
    margin:1em 0;
}
 
.post-link{
    text-decoration:none;
}
 
.post-content{
    background: #f6f7f9; border: 1px solid #d3dae8; overflow:hidden;
}
 
.post-content img{
    width:100%;
}
 
.post-status{
    margin:.5em; font-weight:bold;
}
 
.post-picture{
    width:25%; float:left;
}
 
.post-info{
    width:70%; float:left; margin:.5em;
}
 
.post-info-name{
    font-weight:bold;
}
 
.post-info-description{
    color:#999;
}

/* V3 Design-Refresh ------------------------------------------------------- */
:root {
  --v3-olive: #667044;
  --v3-olive-dark: #49512f;
  --v3-olive-light: #a5aa79;
  --v3-cream: #f6f2e8;
  --v3-paper: rgba(255, 255, 255, 0.94);
  --v3-text: #4b4d43;
  --v3-muted: #74766d;
  --v3-border: rgba(102, 112, 68, 0.22);
  --v3-shadow: 0 16px 45px rgba(48, 53, 35, 0.22);
}

html {
  min-height: 100%;
  background-color: #e9e5da;
}

body {
  min-height: 100vh;
  height: auto;
  margin: 0;
  background-color: #e9e5da;
  color: var(--v3-text);
  font-family: "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 252, 244, 0.22) 0%,
    rgba(239, 237, 225, 0.10) 48%,
    rgba(71, 78, 48, 0.18) 100%
  );
}

.site {
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: var(--v3-paper);
  box-shadow: var(--v3-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.siteheader {
  padding: 0;
  background: var(--v3-cream);
}

.siteheader a {
  display: block;
}

.site-header-image {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.contentbox {
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--v3-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 7px 22px rgba(57, 63, 39, 0.09);
}

h1, h2, h3, .h1, .h2, .h3 {
  color: var(--v3-olive-dark);
  font-weight: 500;
}

a {
  color: var(--v3-olive-dark);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover,
a:focus {
  color: #77804d;
  text-decoration: none;
}

.navbar-default {
  margin-bottom: 18px;
  border: 0;
  border-top: 1px solid var(--v3-border);
  border-bottom: 1px solid var(--v3-border);
  border-radius: 0;
  background: rgba(248, 246, 238, 0.96);
  box-shadow: 0 3px 14px rgba(64, 70, 45, 0.08);
  font-family: "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-text {
  color: #626653;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: var(--v3-olive-dark);
  background: rgba(165, 170, 121, 0.14);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: var(--v3-olive-dark);
  background: rgba(165, 170, 121, 0.23);
}

.dropdown-menu {
  border: 1px solid var(--v3-border);
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(50, 55, 35, 0.18);
}

.dropdown-menu > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #565a49;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: var(--v3-olive-dark);
  background: #f0f1e5;
}

.btn-primary {
  border-color: var(--v3-olive-dark);
  background-color: var(--v3-olive);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  border-color: #394025;
  background-color: var(--v3-olive-dark);
}

.form-control:focus {
  border-color: var(--v3-olive-light);
  box-shadow: 0 0 0 3px rgba(165, 170, 121, 0.20);
}

.footer {
  margin-top: 24px;
  border-top: 1px solid var(--v3-border);
  border-bottom: 0;
  background: rgba(244, 243, 235, 0.96);
}

.footer h3 {
  color: var(--v3-olive-dark);
  border-bottom-color: var(--v3-border);
}

.footer a {
  color: #656b4a;
}

.footer-bottom {
  border-top: 1px solid var(--v3-border);
  background: #e7e5da;
}

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

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .site {
    width: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contentbox {
    padding: 15px;
    border-radius: 8px;
  }
}

/* Frontend-Modernisierung Phase 1 ---------------------------------------- */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 17px;
  line-height: 1.68;
  overflow-wrap: break-word;
}

p,
ul,
ol,
dl,
blockquote {
  margin-bottom: 1.15em;
}

h1,
.h1 {
  margin: 0 0 .65em;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.16;
}

h2,
.h2 {
  margin: 1.25em 0 .6em;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.22;
}

h3,
.h3 {
  margin: 1em 0 .55em;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  line-height: 1.3;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.65;
}

.panel-body,
.contentbox {
  font-size: 1rem;
}

.panel-body {
  padding: 24px;
}

.panel-heading,
.panel-footer {
  padding: 13px 18px;
}

.panel-title {
  font-size: 1.18rem;
  line-height: 1.4;
}

.page-header {
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: var(--v3-border);
}

.site > .container,
.navbar .container,
.footer .container {
  width: 100%;
  max-width: 1170px;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-brand {
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 16px;
  line-height: 22px;
}

.navbar-form {
  margin-top: 10px;
  margin-bottom: 10px;
}

.navbar-form .form-control {
  min-width: 180px;
}

.form-control {
  height: auto;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.45;
  border-radius: 6px;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

label {
  margin-bottom: 7px;
  color: #515540;
  font-weight: 600;
}

.help-block {
  font-size: .9rem;
  line-height: 1.45;
}

.btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
}

.btn-lg {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 18px;
}

img,
video,
iframe {
  max-width: 100%;
}

video {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
  border-radius: 8px;
}

iframe {
  border: 0;
}

.embed-responsive,
.responsive-media {
  overflow: hidden;
  border-radius: 8px;
}

.img-thumbnail {
  height: auto;
}

.pagination > li > a,
.pagination > li > span {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 13px;
  font-size: 16px;
  text-align: center;
}

.guestbook-entry .panel-body {
  white-space: normal;
}

:focus-visible {
  outline: 3px solid rgba(73, 81, 47, .55);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .navbar-header {
    float: none;
  }

  .navbar-toggle {
    display: block;
    min-width: 46px;
    min-height: 42px;
    margin-top: 8px;
    margin-right: 15px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in,
  .navbar-collapse.collapsing {
    display: block !important;
  }

  .navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding: 13px 18px !important;
  }

  .navbar-right {
    float: none !important;
    margin-right: -15px;
  }

  .navbar-form {
    margin: 8px 0 14px;
    padding: 0 15px;
    border: 0;
    box-shadow: none;
  }

  .navbar-form .input-group,
  .navbar-form .form-control {
    width: 100%;
  }

  .navbar-form .input-group-btn {
    width: 1%;
  }

  .navbar-default .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    border: 0;
    box-shadow: none;
    background: rgba(246, 244, 236, .75);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16.5px;
    line-height: 1.65;
  }

  .siteheader {
    min-height: 0;
  }

  .navbar-default {
    margin-bottom: 12px;
  }

  .contentbox,
  .panel-body {
    padding: 18px;
  }

  .panel-heading,
  .panel-footer {
    padding: 12px 16px;
  }

  .panel-body img[style*="float:left"],
  .panel-body img[style*="float: left"],
  .contentbox img[style*="float:left"],
  .contentbox img[style*="float: left"] {
    float: none !important;
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto 18px !important;
  }

  .footer .col-md-3 {
    margin-bottom: 18px;
  }

  .footer ul {
    font-size: 16px;
  }

  .footer ul li a {
    padding: 8px 0;
  }

  .text-right {
    text-align: left;
  }

  .guestbook-entry .pull-right {
    float: none !important;
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .contentbox,
  .panel-body {
    padding: 15px;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .input-group .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== */
/* Frontend-Modernisierung Phase 2: Karten, Interaktionen und dezente Effekte */
/* ========================================================================== */

:root {
  --gs-accent: #49512f;
  --gs-accent-dark: #343b20;
  --gs-accent-soft: #eef1e3;
  --gs-border: #d9d8cf;
  --gs-text: #4f514d;
  --gs-muted: #777a73;
  --gs-shadow: 0 8px 24px rgba(41, 41, 41, .10);
  --gs-shadow-hover: 0 14px 34px rgba(41, 41, 41, .16);
}

.panel,
.contentbox {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
  box-shadow: var(--gs-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.panel:hover,
.contentbox:hover {
  border-color: #c7c9b7;
  box-shadow: var(--gs-shadow-hover);
  transform: translateY(-2px);
}

.panel-heading {
  border-bottom-color: var(--gs-border);
  background: linear-gradient(180deg, #fbfbf8 0%, #f1f2eb 100%);
}

.panel-default > .panel-heading,
.panel-success > .panel-heading {
  color: var(--gs-accent-dark);
  border-color: var(--gs-border);
  background-color: var(--gs-accent-soft);
}

.panel-title,
.panel h2,
.panel h3,
.contentbox h2,
.contentbox h3 {
  color: var(--gs-accent-dark);
}

.panel-footer {
  color: var(--gs-muted);
  border-top-color: var(--gs-border);
  background: #fafaf7;
}

.panel-body::after,
.contentbox::after {
  display: table;
  clear: both;
  content: "";
}

.panel-body > p:last-child,
.contentbox > p:last-child {
  margin-bottom: 0;
}

.panel img,
.contentbox img,
.gallery-card img,
.img-thumbnail {
  transition: transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}

.panel a:hover img,
.contentbox a:hover img,
a[data-toggle="lightbox"]:hover img {
  transform: scale(1.015);
  box-shadow: 0 8px 20px rgba(41, 41, 41, .14);
}

.img-thumbnail {
  padding: 5px;
  border-color: var(--gs-border);
  border-radius: 9px;
  background: #fff;
}

a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn {
  border-width: 1px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 2px 5px rgba(41, 41, 41, .08);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn:hover,
.btn:focus {
  box-shadow: 0 5px 12px rgba(41, 41, 41, .14);
  transform: translateY(-1px);
}

.btn:active,
.btn.active {
  box-shadow: 0 1px 3px rgba(41, 41, 41, .12);
  transform: translateY(0);
}

.btn-success {
  border-color: var(--gs-accent-dark);
  background-color: var(--gs-accent);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
  border-color: #272d17;
  background-color: var(--gs-accent-dark);
}

.btn-default {
  color: var(--gs-accent-dark);
  border-color: #c8cbb9;
  background: #fff;
}

.btn-default:hover,
.btn-default:focus {
  color: var(--gs-accent-dark);
  border-color: #aeb39a;
  background: var(--gs-accent-soft);
}

.form-control {
  border-color: #c9cbc1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus {
  border-color: #7d8661;
  box-shadow: 0 0 0 3px rgba(73, 81, 47, .14);
}

.guestbook-entry {
  border-left: 4px solid #71804b;
}

.guestbook-entry .panel-heading {
  padding-top: 15px;
  padding-bottom: 15px;
}

.guestbook-entry .panel-body {
  color: var(--gs-text);
  font-size: 1.02em;
}

.embed-responsive,
video {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.pagination > li > a,
.pagination > li > span {
  color: var(--gs-accent-dark);
  border-color: var(--gs-border);
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
  color: #fff;
  border-color: var(--gs-accent);
  background: var(--gs-accent);
}

/* Ohne JavaScript bleiben alle Inhalte sofort sichtbar. */
.js .gs-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.js .gs-reveal.gs-visible {
  opacity: 1;
  transform: translateY(0);
}

.gs-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(52, 59, 32, .92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
}

.gs-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gs-back-to-top:hover,
.gs-back-to-top:focus {
  color: #fff;
  background: var(--gs-accent-dark);
}

.gs-back-to-top span {
  display: block;
  font-size: 24px;
  line-height: 42px;
}

@media (max-width: 767px) {
  .panel:hover,
  .contentbox:hover {
    transform: none;
  }

  .gs-back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .gs-reveal,
  .js .gs-reveal.gs-visible,
  .panel,
  .contentbox,
  .panel img,
  .contentbox img,
  .btn,
  .gs-back-to-top {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================================================== */
/* Frontend-Modernisierung Phase 3: Performance und Barrierefreiheit          */
/* ========================================================================== */

html {
  scroll-padding-top: 20px;
}

.gs-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  background: #343b20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transform: translateY(-150%);
  transition: transform .15s ease;
}

.gs-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

#main-content:focus {
  outline: 0;
}

img {
  height: auto;
}

img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}

iframe,
video,
embed,
object {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid #22740f;
  outline-offset: 3px;
}

.navbar-toggle:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #22740f;
  outline-offset: 2px;
}

.gs-image-loading {
  background: #f2f2ed;
}

.gs-image-loaded {
  background: transparent;
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .site {
    width: 100%;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  #main-content {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
  }

  .navbar,
  .gs-back-to-top,
  .footer,
  .gs-skip-link {
    display: none !important;
  }

  .site,
  .panel,
  .contentbox {
    border: 0;
    box-shadow: none;
  }
}

/* Startseite: fester Einführungsbereich vor den ausgewählten Artikeln */
.startpage-intro h1 { margin-bottom: 20px; }
.startpage-featured-article { border-color: #b8c59c; }
.startpage-featured-article > .panel-body { background: #fbfcf8; }
.startpage-article-text { overflow-wrap: anywhere; }

/* Suche und Navigation teilen sich auf Desktop eine Zeile. */
@media (min-width: 992px) {
  #navbar { display: flex !important; align-items: flex-start; }
  #navbar > .navbar-nav { flex: 1 1 auto; min-width: 0; }
  .frontend-search { flex: 0 0 auto; margin-left: auto; }
  .frontend-search-form { padding-right: 0; }
  .frontend-search-group { display: flex; flex-direction: row-reverse; align-items: center; width: 44px; transition: width .22s ease; }
  .frontend-search-group:hover,
  .frontend-search-group:focus-within { width: 230px; }
  .frontend-search-group .input-group-btn { width: 44px; }
  .frontend-search-group .btn { width: 44px; height: 44px; border-radius: 4px; }
  .frontend-search-input {
    width: 0 !important;
    min-width: 0 !important;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    border-width: 0;
    transition: width .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease;
  }
  .frontend-search-group:hover .frontend-search-input,
  .frontend-search-group:focus-within .frontend-search-input {
    width: 186px !important;
    padding-left: 12px;
    padding-right: 12px;
    opacity: 1;
    border-width: 1px;
  }
}

/* Anpassung 31.07.2026: kompaktere Inhaltsflaechen und kein Blocksatz */
.panel-body {
  padding-top: 14px;
  padding-bottom: 16px;
}

.panel-body > h1:first-child,
.panel-body > h2:first-child,
.panel-body > h3:first-child,
.panel-body > h4:first-child,
.contentbox > h1:first-child,
.contentbox > h2:first-child,
.contentbox > h3:first-child,
.contentbox > h4:first-child {
  margin-top: 0;
}

.panel-body p,
.panel-body div,
.contentbox p,
.contentbox div,
main p,
main [style*="text-align:justify"],
main [style*="text-align: justify"] {
  text-align: left !important;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.video-statistics-note {
  margin-top: 10px;
  color: #777a73;
  font-size: .9rem;
}

@media (max-width: 767px) {
  .panel-body {
    padding: 12px 14px 14px;
  }

  .panel-body p,
  .contentbox p,
  main p {
    text-align: left !important;
    hyphens: none;
  }
}

/* Gleich hohe Galerie-Kategorien ohne Layoutsprünge */
.gallery-category-grid {
  display: flex;
  flex-wrap: wrap;
}
.gallery-category-column {
  display: flex;
  margin-bottom: 24px;
}
.gallery-category-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 430px;
}
.gallery-category-card > a {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #f4f4f4;
}
.gallery-category-card > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-category-card .caption {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.gallery-category-card .gallery-category-action {
  margin-top: auto;
}
.gallery-image-comments {
  clear: both;
  margin: 10px 0 24px;
}
.gallery-image-comment-list blockquote {
  font-size: 14px;
}

/* Galerie: Bildkommentare ausschließlich im Modal */
.gallery-image-overview .gallery-image-tile {
  position: relative;
  overflow: hidden;
}
.gallery-image-modal-link {
  position: relative;
  display: block;
}
.gallery-image-modal-link > img {
  width: 100%;
}
.gallery-comment-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.gallery-image-modal {
  z-index: 1060;
  padding-right: 0 !important;
}
.gallery-image-modal .modal-dialog {
  width: min(1100px, calc(100% - 30px));
  margin-top: 20px;
  margin-bottom: 20px;
}
.gallery-image-modal .modal-content {
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery-image-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.gallery-image-modal .modal-header,
.gallery-image-modal .modal-footer {
  flex: 0 0 auto;
}
.gallery-modal-image {
  max-height: calc(100vh - 260px);
  width: auto;
  max-width: 100%;
}
body > .modal-backdrop {
  z-index: 1050;
}
.gallery-modal-comment-form,
.gallery-image-comment-list {
  margin-top: 24px;
}
.gallery-image-comment-list blockquote {
  margin-bottom: 12px;
  font-size: 14px;
}
.gallery-category-comments {
  clear: both;
  margin-top: 30px;
}
.gallery-category-comment-list blockquote {
  font-size: 14px;
}
@media (max-width: 767px) {
  .gallery-image-modal .modal-dialog {
    width: auto;
    margin: 10px;
  }
}

/* Galerie-Modal: Navigation zwischen den Bildern */
.gallery-modal-image-stage {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 58px;
  margin-top: -29px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 24px;
  line-height: 58px;
  text-align: center;
  cursor: pointer;
}
.gallery-modal-nav:hover,
.gallery-modal-nav:focus {
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
}
.gallery-modal-nav-prev { left: 10px; }
.gallery-modal-nav-next { right: 10px; }
.gallery-modal-position {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 5px 9px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
@media (max-width: 767px) {
  .gallery-modal-nav {
    width: 38px;
    height: 50px;
    margin-top: -25px;
    font-size: 19px;
    line-height: 50px;
  }
  .gallery-modal-nav-prev { left: 4px; }
  .gallery-modal-nav-next { right: 4px; }
}

/* Artikelbild-Modal muss oberhalb des Bootstrap-Backdrops liegen. */
.content-image-modal {
  z-index: 1060;
  padding-right: 0 !important;
}

.content-image-modal .modal-dialog {
  position: relative;
  z-index: 1061;
}

.content-image-modal .modal-content {
  position: relative;
  z-index: 1062;
}

.content-image-modal .modal-body::after {
  display: table;
  clear: both;
  content: "";
}

.content-image-modal .modal-body img {
  float: none !important;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto !important;
}
