/* style.css - Final: Deep Glass & Transparent Mode */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Great+Vibes&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Merriweather:wght@400;700&family=Pacifico&display=swap');

:root {
    /* Farben */
    --primary: #7e3180;
    --secondary: #a45988;
    --deep-purple: #361147;
    
    --bg-gray: #e6e6e6; 
    
    /* Standard-Karte (für Startseite) bleibt leicht milchig für Kontrast */
    --card-bg-glass: rgba(255, 255, 255, 0.40);
    --card-bg-hover: rgba(255, 255, 255, 0.60);
    
    --text: #1a0d1a;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #361147 0%, #973d94 100%);
    
    --shadow: 0 10px 30px rgba(54, 17, 71, 0.1);
    
    /* Typografie */
    --font-main: "Adobe Caslon Pro", "EB Garamond", "Libre Baskerville", serif;
    --font-accent: "Sticky Buttercup", "Dancing Script", "Pacifico", cursive;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background-color: var(--bg-gray);
    color: var(--text);
    line-height: 1.8;
    min-height: 100vh;
    font-size: 1.15rem;
    position: relative;
}

/* --- DAS WASSERZEICHEN --- */
body::before {
    content: "";
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 85vw;
    height: 85vh;
    
    background-image: url('logo.svg'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    
    opacity: 0.25; 
    
    z-index: 0; 
    pointer-events: none;
}

/* --- Layout --- */
.container, header, footer, .nav-container {
    position: relative;
    z-index: 2; 
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.container-overlap {
    margin-top: -60px;
}

.nav-container {
    max-width: 900px;
    margin: 30px auto 10px auto;
    padding: 0 20px;
}

/* --- Standard KARTEN-LOOK (Startseite) --- */
.card {
    background-color: var(--card-bg-glass);
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 4px solid var(--secondary);
    
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

/* --- NEU: TRANSPARENT-MODUS (Entfernt den "weißen Kasten") --- */
/* Wird aktiviert, wenn body die Klasse 'ghost-view' hat */
body.ghost-view .card {
    background-color: transparent; /* Keine Farbe */
    backdrop-filter: none;         /* Kein Weichzeichner */
    box-shadow: none;              /* Kein Schatten */
    border: none;                  /* Kein Rand */
    border-top: none;              /* Auch oben kein Rand */
    padding: 0;                    /* Padding reduzieren, da kein Kasten mehr */
    margin-top: 20px;
}

/* Anpassung der Inhalte im Transparent-Modus für Lesbarkeit */
body.ghost-view h1, 
body.ghost-view h2, 
body.ghost-view p, 
body.ghost-view li {
    /* Leichter weißer Schein um den Text, damit er über dem Logo lesbar bleibt */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}

body.ghost-view .highlight-box {
    background-color: transparent; /* Auch hier Kasten weg */
    border: 2px solid var(--secondary); /* Nur der Rahmen bleibt */
    backdrop-filter: none;
    box-shadow: none;
}

body.ghost-view .legal-table th, 
body.ghost-view .legal-table td {
    background-color: transparent;
    border-color: var(--secondary);
}

/* --- Typografie Allgemein --- */
h1, h2, h3, h4 { 
    font-family: var(--font-main); 
    font-weight: 700;
    color: var(--deep-purple);
}

h1 {
    margin-top: 0;
    line-height: 1.2;
}

h2 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-top: 50px;
    font-size: 1.9rem;
    display: inline-block;
}

h3 {
    color: var(--primary);
    margin-top: 30px;
    font-weight: 600;
    font-size: 1.5rem;
}

p { margin-bottom: 1.5em; }

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px dotted var(--secondary);
    transition: all 0.3s;
}

a:hover {
    color: var(--deep-purple);
    border-bottom-style: solid;
    background-color: rgba(255,255,255,0.5);
}

/* --- Header --- */
header.main-header {
    background: var(--gradient);
    padding: 70px 0 140px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    color: var(--white);
}

header.main-header h1 {
    font-family: var(--font-accent);
    color: var(--white);
    font-size: 5rem;
    font-weight: normal;
    transform: rotate(-3deg);
    margin-bottom: 15px;
    text-shadow: none; 
}

.subtitle {
    color: #f0f0f0;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
}

.claim {
    background-color: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.home-card { text-align: center; }
.home-card h2 { border: none; display: block; text-align: center; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(126, 49, 128, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.home-card .btn { margin-top: 30px; }

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(126, 49, 128, 0.6);
}

.back-btn {
    background: rgba(54, 17, 71, 0.8);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    padding: 12px 30px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 30px;
    border-radius: 16px;
    border-top: 5px solid var(--secondary);
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: var(--card-bg-hover);
    box-shadow: 0 15px 35px rgba(126, 49, 128, 0.15);
}

.service-item h3 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.contact-info { font-size: 1.25rem; }
.contact-info strong { font-size: 1.5rem; color: var(--primary); }

/* --- Footer --- */
footer {
    background-color: var(--deep-purple);
    color: #e0d0e1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1rem;
    margin-top: 100px;
}

footer a {
    color: var(--white);
    margin: 0 15px;
    border-bottom: 1px solid var(--secondary);
}

.partners {
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: #b090b1;
}

/* --- Highlight Boxen & Tabellen --- */
.legal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    font-size: 1.05rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.legal-table th, .legal-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.2); 
}

.legal-table th {
    background-color: var(--primary);
    color: var(--white);
}

.highlight-box {
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--secondary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.update-date {
    display: block;
    color: var(--primary);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 20px;
    font-style: italic;
    font-weight: 600;
}

@media (max-width: 600px) {
    header.main-header h1 { font-size: 3.5rem; }
    .card { padding: 30px 20px; }
    .container-overlap { margin-top: -40px; } 
    body::before { width: 95vw; height: 60vh; opacity: 0.2; }
}