/*
Theme Name: Garten & Haus Pro Onepager
Theme URI: https://example.com
Author: Professional Web Solutions
Description: Kommerzielles, vollständig anpassbares Onepager-Theme für Gartenpflege, Hausmeisterservice und Außenanlagen mit Fullscreen Slider, kreisförmigen Tätigkeitsbildern und Admin-Anpassung.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garten-haus-pro
*/

:root {
--primary-color: #2e7d32;
--primary-dark: #1b5e20;
--accent-color: #8d6e63;
--bg-light: #f8f9fa;
--bg-white: #ffffff;
--text-dark: #2c3e50;
--text-muted: #6c757d;
--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
--border-radius: 12px;
--transition-speed: 0.3s;

/* HIER ABDUNKLUNG DES SLIDERS ANPASSEN (Wert zwischen 0.0 und 1.0) */
--slider-overlay-opacity: 0.65;
}

{
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font-family);
color: var(--text-dark);
line-height: 1.6;
background-color: var(--bg-light);
overflow-x: hidden;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* Header & Navigation */
.site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
z-index: 1000;
padding: 15px 0;
transition: all var(--transition-speed);
}

.nav-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}

.brand-logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
}

.main-nav ul {
display: flex;
list-style: none;
gap: 25px;
}

.main-nav a {
text-decoration: none;
color: var(--text-dark);
font-weight: 600;
font-size: 0.95rem;
transition: color var(--transition-speed);
}

.main-nav a:hover {
color: var(--primary-color);
}

.mobile-toggle {
display: none;
background: none;
border: none;
font-size: 1.8rem;
color: var(--text-dark);
cursor: pointer;
}

/* 1. Fullscreen Hero Slider (100vh) */
.hero-slider-section {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}

.slider-container {
position: relative;
width: 100%;
height: 100%;
}

.slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
visibility: hidden;
transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
}

.slide.active {
opacity: 1;
visibility: visible;
}

.slide-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000000;
opacity: var(--slider-overlay-opacity, 0.55);
}

.slide-content {
position: relative;
z-index: 2;
text-align: center;
color: #ffffff;
max-width: 850px;
padding: 0 20px;
}

.slide-content h1 {
font-size: 3.2rem;
font-weight: 800;
margin-bottom: 20px;
line-height: 1.2;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
font-size: 1.3rem;
margin-bottom: 30px;
opacity: 0.9;
}

.btn-primary {
display: inline-block;
background-color: var(--primary-color);
color: #ffffff;
padding: 16px 36px;
text-decoration: none;
border-radius: 50px;
font-weight: 700;
font-size: 1rem;
transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(46, 125, 50, 0.6);
}

/* Slider Controls */
.slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(5px);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
z-index: 10;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
transition: background var(--transition-speed);
}

.slider-arrow:hover {
background: var(--primary-color);
}

.slider-arrow.prev { left: 25px; }
.slider-arrow.next { right: 25px; }

.slider-dots {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 12px;
z-index: 10;
}

.dot {
width: 14px;
height: 14px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: background var(--transition-speed), transform var(--transition-speed);
}

.dot.active {
background: var(--primary-color);
transform: scale(1.3);
}

/* Sections General */
section {
padding: 90px 0;
}

.section-header {
text-align: center;
max-width: 750px;
margin: 0 auto 50px;
}

.section-title {
font-size: 2.3rem;
color: var(--text-dark);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var(--primary-color);
margin: 12px auto 0;
border-radius: 2px;
}

/* 2. & 4. Freitext Abschnitte */
.freitext-section {
background-color: var(--bg-white);
}

.freitext-section.alt-bg {
background-color: var(--bg-light);
}

.freitext-content {
font-size: 1.15rem;
line-height: 1.8;
color: var(--text-muted);
text-align: center;
max-width: 900px;
margin: 0 auto;
}

/* 3. Tätigkeiten Abschnitt (2 Spalten, Runde Bilder) */
.taetigkeiten-section {
background-color: var(--bg-light);
}

.activities-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 35px;
}

.activity-card {
background: var(--bg-white);
padding: 25px;
border-radius: var(--border-radius);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
gap: 25px;
transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.activity-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.activity-image-wrapper {
flex-shrink: 0;
width: 140px;
height: 140px;
}

.activity-image {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--primary-color);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.activity-details h3 {
font-size: 1.35rem;
color: var(--text-dark);
margin-bottom: 10px;
}

.activity-details p,
.activity-details .activity-content-text {
color: var(--text-muted);
font-size: 0.98rem;
line-height: 1.6;
}

/* Styling für Aufzählungen/Listen innerhalb der Tätigkeitskarten */
.activity-details ul,
.activity-details ol {
margin-top: 8px;
margin-bottom: 8px;
padding-left: 20px;
text-align: left;
}

.activity-details li {
color: var(--text-muted);
font-size: 0.95rem;
margin-bottom: 4px;
}

/* 5. Über Uns Abschnitt */
.about-section {
background: var(--bg-white);
}

/* 6. Kontakt Abschnitt */
.contact-section {
background: #1e293b;
color: #ffffff;
}

.contact-section .section-title {
color: #ffffff;
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
}

.contact-info {
background: rgba(255, 255, 255, 0.05);
padding: 35px;
border-radius: var(--border-radius);
}

.contact-info h3 {
font-size: 1.5rem;
margin-bottom: 20px;
color: var(--primary-color);
}

.contact-info-item {
margin-bottom: 18px;
font-size: 1.05rem;
}

.contact-info-item strong {
display: block;
color: #a0aec0;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
}

.contact-form-wrapper {
background: #ffffff;
padding: 35px;
border-radius: var(--border-radius);
color: var(--text-dark);
}

/* Form Styles fallback */
.contact-form-wrapper input,
.contact-form-wrapper textarea {
width: 100%;
padding: 12px 15px;
margin-bottom: 18px;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-family: inherit;
font-size: 1rem;
}

.contact-form-wrapper textarea {
height: 130px;
resize: vertical;
}

.contact-form-wrapper button[type="submit"] {
width: 100%;
padding: 14px;
background: var(--primary-color);
color: white;
border: none;
border-radius: 6px;
font-weight: bold;
font-size: 1rem;
cursor: pointer;
transition: background var(--transition-speed);
}

.contact-form-wrapper button[type="submit"]:hover {
background: var(--primary-dark);
}













.contact-form-wrapper button[type="submit"]:hover {
background: var(--primary-dark);
}






/* Footer */
.site-footer {
background: #0f172a;
color: #94a3b8;
padding: 30px 0;
font-size: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.footer-left,
.footer-right {
display: flex;
align-items: center;
flex: 1;
}

.footer-left {
justify-content: flex-start;
}

.footer-right {
justify-content: flex-end;
}

.footer-center {
text-align: center;
flex: 2;
}

.footer-logo-link {
display: inline-block;
line-height: 0;
}

.footer-logo {
max-height: 50px;
width: auto;
opacity: 0.9;
transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.footer-logo:hover {
opacity: 1;
transform: scale(1.05);
}

.footer-brand-text {
color: #ffffff;
font-weight: 700;
font-size: 1.1rem;
text-decoration: none;
}

/*Mobile Responsiveness */
@media (max-width: 992px) {

}

@media (max-width: 768px) {

.activity-image-wrapper {
width: 120px;
height: 120px;
}

.footer-wrapper {
flex-direction: column;
text-align: center;
gap: 15px;
}

.footer-left,
.footer-right {
justify-content: center;
flex: initial;
}

.footer-center {
flex: initial;
}
}


















/* Mobile Responsiveness */
@media (max-width: 992px) {
.activities-grid,
.contact-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.mobile-toggle {
display: block;
}

.main-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: #ffffff;
padding: 20px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.main-nav.is-open {
display: block;
}

.main-nav ul {
flex-direction: column;
gap: 15px;
}

.slide-content h1 {
font-size: 2.2rem;
}

.activity-card {
flex-direction: column;
text-align: center;
}

.activity-image-wrapper {
width: 120px;
height: 120px;
}
}












/* ... existing code ... */
.contact-form-wrapper button[type="submit"]:hover {
background: var(--primary-dark);
}

/* --------------------------------------------------------------------------

Bildergalerie & Mediathek Section

-------------------------------------------------------------------------- */
.gallery-section {
padding: 90px 0;
background-color: #f8fafc;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 20px;
margin-top: 40px;
}

.gallery-item {
position: relative;
display: block;
aspect-ratio: 4 / 3;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
background-color: #e2e8f0;
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.45);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.gallery-icon {
font-size: 1.8rem;
color: #ffffff;
transform: scale(0.6);
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
transform: translateY(-6px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
opacity: 1;
}

.gallery-item:hover .gallery-icon {
transform: scale(1);
}

/* --------------------------------------------------------------------------

Moderne Lightbox Modal

-------------------------------------------------------------------------- */
.lightbox-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.is-active {
opacity: 1;
visibility: visible;
}

.lightbox-overlay {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.88);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
position: relative;
z-index: 10000;
max-width: 90vw;
max-height: 85vh;
display: flex;
align-items: center;
justify-content: center;
}

.lightbox-img {
max-width: 100%;
max-height: 85vh;
object-fit: contain;
border-radius: 12px;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
transform: scale(0.95);
transition: transform 0.3s ease;
}

.lightbox-modal.is-active .lightbox-img {
transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
position: absolute;
background: rgba(255, 255, 255, 0.15);
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 1.4rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease, transform 0.2s ease;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
user-select: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
background: rgba(255, 255, 255, 0.35);
transform: scale(1.1);
}

.lightbox-close {
top: -55px;
right: 0;
}

.lightbox-prev {
left: -70px;
}

.lightbox-next {
right: -70px;
}

/* Footer */
.site-footer {
background: #0f172a;
color: #94a3b8;
padding: 30px 0;
font-size: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.footer-left,
.footer-right {
display: flex;
align-items: center;
flex: 1;
}

.footer-left {
justify-content: flex-start;
}

.footer-right {
justify-content: flex-end;
}

.footer-center {
text-align: center;
flex: 2;
}

.footer-logo-link {
display: inline-block;
line-height: 0;
}

.footer-logo {
max-height: 50px;
width: auto;
opacity: 0.9;
transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.footer-logo:hover {
opacity: 1;
transform: scale(1.05);
}

.footer-brand-text {
color: #ffffff;
font-weight: 700;
font-size: 1.1rem;
text-decoration: none;
}

/* Mobile Responsiveness /
@media (max-width: 992px) {
/ ... existing code ... */
}

@media (max-width: 768px) {
.activity-image-wrapper {
width: 120px;
height: 120px;
}

.gallery-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
}

.lightbox-prev {
left: 10px;
top: 50%;
transform: translateY(-50%);
}

.lightbox-next {
right: 10px;
top: 50%;
transform: translateY(-50%);
}

.lightbox-close {
top: 10px;
right: 10px;
}

.footer-wrapper {
flex-direction: column;
text-align: center;
gap: 15px;
}

.footer-left,
.footer-right {
justify-content: center;
flex: initial;
}

.footer-center {
flex: initial;
}
}
/* --------------------------------------------------------------------------

Footer & Legal Links

-------------------------------------------------------------------------- */
.site-footer {
background: #0f172a;
color: #94a3b8;
padding: 35px 0;
font-size: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.footer-left,
.footer-right {
display: flex;
align-items: center;
flex: 1;
}

.footer-left {
justify-content: flex-start;
}

.footer-right {
justify-content: flex-end;
}

.footer-center {
text-align: center;
flex: 2;
}

.footer-logo-link {
display: inline-block;
line-height: 0;
}

.footer-logo {
max-height: 50px;
width: auto;
opacity: 0.9;
transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover {
opacity: 1;
transform: scale(1.05);
}

.footer-brand-text {
color: #ffffff;
font-weight: 700;
font-size: 1.1rem;
text-decoration: none;
}

.footer-legal-nav {
margin-top: 8px;
}

.footer-legal-nav a {
color: #64748b;
text-decoration: none;
font-size: 0.85rem;
transition: color 0.2s ease;
}

.footer-legal-nav a:hover {
color: #38bdf8;
text-decoration: underline;
}

/* --------------------------------------------------------------------------

Rechtstexte & Datenschutz Einzelseite Template Styling

-------------------------------------------------------------------------- */
.legal-page-container {
padding: 120px 0 80px 0;
background-color: #f8fafc;
min-height: 80vh;
}

.back-link {
display: inline-block;
margin-bottom: 25px;
color: var(--primary-color, #0284c7);
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
transition: transform 0.2s ease;
}

.back-link:hover {
transform: translateX(-4px);
}

.legal-content {
background: #ffffff;
padding: 40px 50px;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
border: 1px solid #e2e8f0;
}

.legal-content h1 {
font-size: 2.2rem;
color: #0f172a;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 2px solid #e2e8f0;
}

.legal-section {
margin-bottom: 35px;
}

.legal-section h2 {
font-size: 1.4rem;
color: #1e293b;
margin-bottom: 15px;
margin-top: 25px;
}

.legal-section h3 {
font-size: 1.1rem;
color: #334155;
margin-bottom: 10px;
margin-top: 20px;
}

.legal-section p,
.legal-section ul {
color: #475569;
line-height: 1.7;
font-size: 0.98rem;
margin-bottom: 12px;
}

.legal-section ul {
padding-left: 20px;
}

.legal-section li {
margin-bottom: 6px;
}

@media (max-width: 768px) {
.legal-content {
padding: 25px 20px;
}

.legal-content h1 {
font-size: 1.75rem;
}
}




.footer-brand-text {
color: #ffffff;
font-weight: 700;
font-size: 1.1rem;
text-decoration: none;
}

.footer-legal-nav {
margin-top: 8px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}

.footer-nav-sep {
color: #475569;
font-size: 0.8rem;
user-select: none;
}

.footer-legal-nav a {
color: #64748b;
text-decoration: none;
font-size: 0.85rem;
transition: color 0.2s ease;
}

.footer-legal-nav a:hover {
color: #38bdf8;
text-decoration: underline;
}











