@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
    --bg-color: #faf9f6;       /* Edles Off-White / Alabaster */
    --text-color: #2b2b2b;     /* Soft Charcoal */
    --accent-gold: #a8874a;    /* Smuggler Gold */
    --text-muted: #6e6e6e;
    --section-padding: 100px 20px;
    
    /* Neue Variablen für halbtransparente Elemente und Rahmen */
    --nav-bg: rgba(250, 249, 246, 0.95);
    --card-bg: rgba(255, 255, 255, 0.5);
    --faq-border: #ddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 149, 67, 0.2);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Layout & Typography */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

h1, h2, .section-title {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Drosselt fette Texte auf ein elegantes Semi-Bold, da das echte 700er-Bold der Variable-Font sehr wuchtig ist */
strong, b {
    font-weight: 500;
}

/* Wave Separator */
.wave-separator {
    display: block;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 100%;
    max-width: 250px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 20'%3E%3Cpath d='M0 0L230 0C255 0 265 20 280 20C295 20 305 0 330 0L560 0' fill='none' stroke='%23a8874a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.wave-line {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 40px;
}

.hero h1 {
    font-size: 2rem;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero h2 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--text-color);
    margin-bottom: 40px;    
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 14px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 2px;
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.cta-button:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-color);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-color); /* An Variable angepasst */
}

/* Metatron Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 30px;
}

.feature-list h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Services / Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    border: 1px solid rgba(184, 149, 67, 0.3);
    padding: 40px 30px;
    border-radius: 4px;
    background-color: var(--card-bg);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    min-height: 3rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
}

.team-member h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.team-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

/* Footer */
footer {
    padding: 60px 20px 30px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    border-top: 1px solid rgba(184, 149, 67, 0.2);
}

.footer-content {
    margin-bottom: 30px;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold);
}

.copyright {
    margin-top: 30px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h2 {
        font-size: 1.3rem;
    }
    .grid-2, .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .cta-group {
        flex-direction: column;
    }
}

/* FAQ Sektion (An Variablen gekoppelt) */
.faq-section {
  width: 100%;
  max-width: 750px;
  margin: 60px auto;
  font-family: inherit;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--faq-border);
  padding: 15px 0;
}

.faq-item summary {
  font-weight: 500;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 35px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.faq-item summary:hover {
  color: var(--accent-gold);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: translateY(-50%) rotate(45deg); 
  transition: transform 0.3s ease;
}

.faq-item[open] summary::before {
  transform: translateY(-50%) rotate(225deg);
}

.faq-item p {
  margin-top: 15px;
  padding-left: 35px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- ZUSATZ FÜR RECHTLICHE SEITEN (Impressum etc.) --- */
.legal-container {
    max-width: 700px;
    width: 100%;
    margin: 120px auto 60px auto; /* Abstand nach oben wegen der fixierten Navigation */
    padding: 0 20px;
}

.legal-container h1 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(184, 149, 67, 0.3);
    padding-bottom: 10px;
}

.legal-container h2 {
    margin-top: 45px;
    margin-bottom: 15px;
}

.legal-container p {
    text-align: justify;
}

.legal-container ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

/* Zurück-Button */
.back-link {
    display: inline-block;
    margin-bottom: 40px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-color);
}

/* Eleganter Darkmode über CSS-Variablen */
@media (prefers-color-scheme: dark) {
  :root {
      --bg-color: #121212;
      --text-color: #f1f1f1;
      --text-muted: #cccccc;
      --nav-bg: rgba(18, 18, 18, 0.95);
      --card-bg: rgba(30, 30, 30, 0.5);
      --faq-border: #444;
  }
}