/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.6
	Stable tag: 3.4.6
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* ============================================
   BRENNER FORST – Custom Styles v2
   Angelehnt an www.brennerforst.de
   ============================================ */

/* ---- BODY & HINTERGRUND (wie Original) ---- */
html, body {
  height: 100%;
  width: 100%;
}

body {
  background: url('https://neu.brennerforst.de/wp-content/uploads/2026/03/bg.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Muster-Overlay wie Original (pat.png, leicht gerastert) */
body::before {
  content: '';
  background-image: url('https://neu.brennerforst.de/wp-content/uploads/2026/03/pat.png');
  position: fixed;
  opacity: 0.55;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- HEADER ---- */
.site-header {
  background-color: transparent !important;
  border-bottom: none !important;
  position: relative;
  z-index: 10;
  padding: 10px 0 !important;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-logo img,
.site-branding img {
  max-height: 130px !important;
  width: auto;
  filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.7));
}

.site-title a {
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}

/* ---- NAVIGATION ---- */
.site-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0; padding: 0;
  list-style: none;
}

.site-navigation .menu > li > a {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px !important;
  display: block;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
  transition: color 0.2s, background 0.2s;
  background: transparent;
}

.site-navigation .menu > li > a:hover,
.site-navigation .menu > li.current-menu-item > a,
.site-navigation .menu > li.current-menu-ancestor > a {
  color: #e67e22 !important;
  background: rgba(0,0,0,0.25) !important;
}

/* Dropdown Submenü */
.site-navigation .sub-menu {
  background-color: rgba(20, 50, 15, 0.97) !important;
  border: 1px solid rgba(255,255,255,0.12);
  min-width: 210px;
  box-shadow: 3px 5px 15px rgba(0,0,0,0.5);
}

.site-navigation .sub-menu li a {
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 0.87em;
  font-weight: 500;
  text-transform: none;
  text-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.site-navigation .sub-menu li a:hover {
  color: #e67e22 !important;
  background: rgba(255,255,255,0.07) !important;
}

/* Mobiles Menu Toggle */
.site-navigation-toggle-holder button {
  color: #ffffff !important;
  background: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
}

/* ---- HAUPT-CONTAINER (weißer Content-Bereich) ---- */
.site-main {
  background: #ffffff;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  min-height: 400px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  clear: both;
}

/* Seiten-Titel-Header ausblenden wenn leer */
.page-header { padding: 0; margin: 0; }
.page-header:empty { display: none; }

/* Content Innenabstand */
.page-content {
  padding: 30px 35px 40px 35px;
}

/* Cover Block und Full-Width-Blöcke dürfen volle Breite */
.site-main .wp-block-cover.alignfull,
.site-main .wp-block-group.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

/* Abstand über Cover entfernen */
.wp-block-cover.alignfull:first-child {
  margin-top: 0 !important;
}

/* ---- TYPOGRAFIE ---- */
h1, h2, h3, h4 { color: #1a3a16; }
a { color: #2d5a27; }
a:hover { color: #e67e22; }

/* ---- BUTTONS ---- */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: #2d5a27 !important;
  color: #fff !important;
  border-color: #2d5a27 !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  transition: all 0.2s;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background-color: #e67e22 !important;
  border-color: #e67e22 !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  color: #1a3a16 !important;
  border-color: #1a3a16 !important;
  border-radius: 4px !important;
  background: transparent !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #1a3a16 !important;
  color: #fff !important;
}

/* ---- TABELLEN ---- */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { padding: 8px 12px; border: 1px solid #ddd; }
.wp-block-table thead th { background: #1a3a16; color: #fff; }
.wp-block-table tbody tr:nth-child(even) { background: #f5f5f0; }

/* ---- COLUMNS ---- */
.page-content .wp-block-column {
  padding: 1.2em;
  background: #f9f9f7;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: rgba(20, 40, 15, 0.96) !important;
  color: #fff !important;
  padding: 25px 20px 12px !important;
  max-width: 1000px;
  margin: 0 auto 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.site-footer p { color: rgba(255,255,255,0.75); font-size: 0.82em; text-align: center; margin: 5px 0; }
.site-footer a { color: #e67e22 !important; }
.site-footer a:hover { color: #fff !important; }

/* Footer-Navigation */
.footer-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  list-style: none;
  margin: 0; padding: 8px 0;
}
.footer-navigation .menu li a {
  color: #e67e22 !important;
  font-size: 0.83em;
  padding: 4px 10px;
}
.footer-navigation .menu li a:hover { color: #fff !important; }

/* ---- HERO COVER ---- */
.wp-block-cover .wp-block-cover__inner-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .site-main { margin: 0; box-shadow: none; }
  .page-content { padding: 20px 15px; }
  .site-footer { max-width: 100%; margin: 0; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-logo img { max-height: 90px !important; }
}
