/* =============================
   Google Fonts Import
   ============================= */
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;700&display=swap');

/* =============================
   Farbpalette & Grundvariablen
   ============================= */
:root {
  --bg-dark: #11111f;
  --secondary: #bec6c4;
  --white: #fff;
  --light-grey: #f5f6fa;
  --black: #181818;
  --text: #eaeaea; /* Heller Text für den dunklen Hintergrund */
  --link-color: #ffd97d; /* Helle, gut lesbare Linkfarbe */
  --link-hover: #ffffff;
  --max-width: 1200px;
  --border-radius: 0.5rem; /* Dezente Abrundung */
  --transition: 0.3s ease;
}

/* =============================
   Schriftarten
   ============================= */
@font-face {
  font-family: 'Hardiness';
  src: url('../fonts/Hardiness.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================
   Allgemeines Layout
   ============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen auf oberster Ebene */
}

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Maven Pro', sans-serif;
  line-height: 1.7;
  padding-top: 80px; /* Platz für den fixierten Header */
  /* Wiederherstellen des Paddings für den fixierten Footer */
  padding-bottom: 5rem;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* =============================
   Header & Navigation (Fixed)
   ============================= */
.main-header {
  background: rgba(17, 17, 31, 0.85); /* Halbtransparent für einen modernen Effekt */
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(190, 198, 196, 0.2);
  padding: 1rem 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* NEU: Wrapper für Navigation und Social Icons im Header */
.nav-area {
    display: flex;
    align-items: center;
    gap: 2rem; /* Abstand zwischen Menü und Icons */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Abstand zwischen Icon und Text */
    text-decoration: none;
}

.logo img {
  max-height: 45px; /* Angepasste Höhe für das Icon */
  width: auto;
  display: block;
}

.logo span {
  font-family: 'Hardiness', serif;
  font-size: 2rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1; /* Verhindert zu großen vertikalen Platz */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.1rem;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* NEU: Social Icons im Header */
.header-social {
    display: flex;
    gap: 1rem;
}

.header-social a {
    color: var(--secondary);
    font-size: 1.4rem;
    transition: color var(--transition);
}

.header-social a:hover {
    color: var(--white);
}

/* NEU: Container für rechte Seite im Header */
.header-right-side {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* NEU: Styling für das Werkraum-Logo */
.werkraum-logo-link img {
    max-height: 40px; /* Höhe anpassen */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.werkraum-logo-link:hover img {
    opacity: 0.85;
}


/* NEU: Abstand für Hauptsektionen zum Header */
.page-section {
    padding-top: 3rem;
}

/* =============================
   Hauptinhalt & Hero-Sektion
   ============================= */

main {
    flex-grow: 1; /* Dies kann bleiben, schadet nicht */
}

main.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.hero-full {
  min-height: calc(100vh - 90px); /* Höhe des Viewports abzüglich Header/Footer */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem; /* Padding für mobile Geräte */
}

.hero-content {
    max-width: var(--max-width);
}

.hero-content h1 {
  font-family: 'Hardiness', serif;
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1rem auto; /* Reduzierter Abstand zwischen den Absätzen */
  color: var(--secondary);
  line-height: 1.8;
}

.hero-content p:last-of-type {
    margin-bottom: 2.5rem; /* Stellt den ursprünglichen Abstand nach dem letzten Absatz wieder her */
}

.hero-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  max-height: 350px; /* Höhe des Bildes vergrössert */
  border-radius: var(--border-radius);
  margin-bottom: 2.5rem;
}

/* =============================
   Buttons
   ============================= */
.cta-button,
.btn-request {
  display: inline-flex; /* Flexbox für perfekte Zentrierung des Inhalts */
  align-items: center;
  justify-content: center;
  text-align: center; /* Fallback für die horizontale Ausrichtung */
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color var(--transition), color var(--transition);
}

.cta-button:hover,
.btn-request:hover {
  background-color: var(--white);
  color: var(--bg-dark);
}

/* NEU: Werkraum Promo-Sektion auf der Startseite */
.werkraum-promo {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Spaltenverhältnis 1:2 */
    gap: 2rem;
    align-items: center; /* Stellt die vertikale Zentrierung sicher */
    max-width: 800px;
    margin: 3rem auto 0 auto; /* Abstand nach oben */
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(190, 198, 196, 0.15);
    border-radius: var(--border-radius);
}

.werkraum-promo-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.werkraum-promo-logo a:hover img {
    opacity: 0.85;
}

.werkraum-promo-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikale Zentrierung des Inhalts */
}

.werkraum-promo-text p {
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.8;
}

.werkraum-promo-text p:first-child {
    margin-bottom: 1rem;
}

/* Responsive Anpassungen für die Promo-Sektion */
@media (max-width: 768px) {
    .werkraum-promo {
        grid-template-columns: 1fr; /* Untereinander auf Mobilgeräten */
        text-align: center;
    }

    .werkraum-promo-logo {
        margin-bottom: 1.5rem;
    }
}

/* =============================
   Produktübersicht
   ============================= */
.product-grid {
    display: grid;
    gap: 1.5rem; /* Etwas reduzierter Abstand für mehr Spalten */
    grid-template-columns: repeat(5, 1fr);
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(190, 198, 196, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%; /* Stellt sicher, dass alle Karten im Grid die gleiche Höhe haben */
}

.product-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.product-image-container {
    display: grid; /* Stacking-Kontext für die Bilder erstellen */
    overflow: hidden;
}

.product-image-container img {
    grid-area: 1 / 1; /* Beide Bilder im selben Grid-Bereich platzieren */
    width: 100%;
    height: auto; /* Höhe automatisch anpassen lassen */
    object-fit: contain;
    transition: opacity 0.4s ease-in-out;
    cursor: zoom-in;
}

.product-image-hover {
    opacity: 0;
}

.product-card:hover .product-image-hover {
    opacity: 1;
}

.product-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 1.3rem; /* Leicht angepasst für die neue Schriftart */
    color: var(--white);
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.product-card .price {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem; /* Fester Abstand zum Button */
    /* flex-grow: 1 entfernt, da der Button sich ausrichten soll */
}

.product-card .cta-button {
    align-self: center;
    width: 80%;
    /* margin-top: auto; wird entfernt und vom neuen Wrapper übernommen */
}

/* NEU: Wrapper für Preis und Button am unteren Ende der Karte */
.card-footer {
    margin-top: auto;
}

/* =============================
   News-Seite / Instagram Feed
   ============================= */
.news-page {
    text-align: center;
}

.news-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--secondary);
}

.instagram-widget-container {
    margin-bottom: 3rem;
}



.consent-info {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
    color: var(--secondary);
}

.instagram-follow-link {
    font-weight: 500;
}

.instagram-follow-link a {
    color: var(--white);
    text-decoration: underline;
}


.no-results {
    text-align: center;
    width: 100%;
    grid-column: 1 / -1; /* Nimmt die volle Breite des Grids ein */
    color: var(--secondary);
    padding: 3rem;
}

/* =============================
   Filter-Styling (NEU)
   ============================= */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 500;
}

.filter-group select {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(190, 198, 196, 0.4);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    font-family: 'Maven Pro', sans-serif;
    font-size: 1rem;
    min-width: 200px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.filter-group select option {
    background-color: var(--bg-dark);
    color: var(--text);
}

/* =============================
   Lightbox / Zoom-Modal (NEU)
   ============================= */
.lightbox {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(17, 17, 31, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    animation: zoomIn 0.3s ease-out;
    position: relative; /* Für die Positionierung der Pfeile */
}

.lightbox-content img {
    display: block;
    max-width: 80vw; /* Breite auf 80% der Viewport-Breite begrenzen */
    max-height: 80vh; /* Höhe auf 80% der Viewport-Höhe begrenzen */
    width: auto;
    height: auto;
}

/* NEU: Navigation in der Lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2001; /* Über dem Bild */
    padding: 0 1rem;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    background-color: rgba(17, 17, 31, 0.5);
    color: var(--white);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: background-color var(--transition);
    user-select: none; /* Verhindert das Markieren des Pfeil-Textes */
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(17, 17, 31, 0.8);
}

/* NEU: Bildzähler in der Lightbox */
.lightbox-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 1rem;
    background: rgba(17, 17, 31, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
}


.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--secondary);
    text-decoration: none;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* =============================
   "Über mich"-Seite (NEU)
   ============================= */
.about-page {
    padding: 2rem 0;
    text-align: center; /* Zentriert alle Inhalte auf der Seite */
}

.about-header h1 {
    font-family: 'Hardiness', serif;
    font-size: 2.8rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.about-intro {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--secondary);
}

.about-section {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.about-section h2 {
    font-family: 'Hardiness', serif;
    font-weight: normal;
    font-size: 2.2rem; /* Schriftgröße erhöht */
    margin-bottom: 1.5rem; /* Mehr Abstand zum Text */
    color: var(--white);
}

/* Alle Absätze auf der "Über mich"-Seite vereinheitlichen */
.about-page p {
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.8;
}

.about-inline-image {
    display: block;
    max-width: 80%;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    border: 1px solid rgba(190, 198, 196, 0.15);
}

.info-box {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(190, 198, 196, 0.15);
    border-radius: var(--border-radius);
}

.info-box h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

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

.about-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta p {
    margin-bottom: 1.5rem;
}

/* =============================
   Kontakt-Seite (NEU)
   ============================= */
.contact-page {
    padding: 2rem 0;
    max-width: 650px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-family: 'Hardiness', serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--white);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--secondary);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 1px solid rgba(190, 198, 196, 0.4);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: 'Maven Pro', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.contact-form .cta-button,
.order-form .cta-button {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 1rem auto 0 auto;
}

/* =============================
   Bestell-Seite (NEU)
   ============================= */
.order-page {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.order-header {
    text-align: center;
    margin-bottom: 3rem;
}

.order-header h1 {
  font-family: 'Hardiness', serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--white);
}

.order-header p,
.order-form .form-upload-hint {
    font-size: 1.1rem;
    color: var(--secondary);
}

.order-form .form-upload-hint {
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

.order-form .form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(190, 198, 196, 0.15);
}
.order-form .form-section:last-of-type {
    border-bottom: none;
}

.order-form .form-group,
.order-form .form-group-inline {
    margin-bottom: 1.5rem;
}
.order-form .form-group:last-child {
    margin-bottom: 0;
}

.order-form .form-group-inline {
    display: flex;
    gap: 1.5rem;
}
.order-form .form-group-inline > * {
    flex: 1;
}

.order-form .form-hint {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-style: italic;
    text-align: left;
}

.order-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form input[type="date"],
.order-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 1px solid rgba(190, 198, 196, 0.4);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: 'Maven Pro', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.order-form input[type="file"] {
    color: var(--secondary);
    font-size: 0.9rem;
}

.order-form input:focus,
.order-form input[type="tel"]:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* =============================
   Horizontale Radio-Buttons (NEU)
   ============================= */
.radio-group-horizontal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap; /* Sorgt für Umbruch auf kleineren Bildschirmen */
    padding-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid rgba(190, 198, 196, 0.6);
    border-radius: 50%; /* Rundes Design */
    background-color: transparent;
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition), border-color var(--transition);
}

.radio-option input[type="radio"]:checked {
    border-color: var(--white);
    background-color: var(--white);
}

/* Punkt in der Mitte für ausgewählte Radio-Buttons */
.radio-option input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background-color: var(--bg-dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option label {
    color: var(--secondary);
    font-weight: normal; /* Normales Gewicht für die Options-Label */
    cursor: pointer;
}


/* =============================
   DSGVO Checkbox Styling (NEU)
   ============================= */
.form-group-checkbox {
    display: flex;
    align-items: flex-start; /* Stellt sicher, dass die Checkbox oben am Text ausgerichtet ist */
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap; /* Erlaubt Umbruch für mobile Geräte */
}

.form-group-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid rgba(190, 198, 196, 0.6);
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    top: 0.2em; /* Vertikale Ausrichtung anpassen */
    flex-shrink: 0; /* Verhindert, dass die Checkbox schrumpft */
    transition: background-color var(--transition), border-color var(--transition);
}

.form-group-checkbox input[type="checkbox"]:checked {
    background-color: var(--white);
    border-color: var(--white);
}

/* Haken für die Checkbox */
.form-group-checkbox input[type="checkbox"]:checked::before {
    content: '✔';
    display: block;
    font-size: 0.9em;
    color: var(--bg-dark);
    text-align: center;
    line-height: 1.25em;
}

.form-group-checkbox label {
    font-family: 'Maven Pro', sans-serif;
    color: var(--secondary);
    font-size: 0.95rem;
    flex: 1;
    min-width: 200px; /* Verhindert unschönen Zeilenumbruch bei sehr wenig Platz */
}

.form-group-checkbox label a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.form-group-checkbox label a:hover {
  color: var(--secondary);
}

.required-star {
    color: #ff6b6b; /* Helleres Rot für gute Sichtbarkeit */
    font-weight: bold;
    margin-left: 0.25rem;
}

.error-message {
    width: 100%;
    color: #ff6b6b; /* Helleres Rot für bessere Lesbarkeit */
    font-size: 0.9em;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* =============================
   Fußnote für UStG (NEU)
   ============================= */
.footnote {
    max-width: 700px;
    margin: 2rem auto; /* Oben und unten Abstand, horizontal zentriert */
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.6;
}

.footnote strong {
    color: var(--white);
}


/* =============================
   Animationen (NEU)
   ============================= */
@keyframes sparkle-effect {
    0% {
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
    }
}

/* Weist die Animation den Hauptüberschriften zu */
.hero-content h1,
.page-title {
    animation: sparkle-effect 1.8s ease-out;
}

/* Stil für alle Hauptüberschriften auf Unterseiten (NEU) */
.page-title {
    font-family: 'Hardiness', serif;
    font-size: 3.5rem; /* Angepasst an die Startseite */
    font-weight: normal;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

/* Alte, spezifische Regeln werden entfernt oder sind nicht mehr nötig */
/* .about-header h1, .contact-header h1, .order-header h1, .product-page > h1 */


/* =============================
   Rechtliche Seiten (Impressum etc.)
   ============================= */
.legal-content {
    max-width: 700px;
    width: 100%;
    margin: 0 auto; /* Zentrierung, oberer Abstand kommt von .page-section */
}

/* Spezifische Regel, um sicherzustellen, dass .page-title im .legal-content korrekt aussieht */
.legal-content .page-title {
    font-size: 3.5rem !important;
    margin-bottom: 3rem !important;
}

.legal-content h2 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(190, 198, 196, 0.2);
    padding-bottom: 0.5rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary);
}


/* =============================
   Footer
   ============================= */
.main-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(17, 17, 31, 0.85); /* Halbtransparent für modernen Look */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(190, 198, 196, 0.2);
    color: var(--secondary);
    text-align: center;
    padding: 1rem 0; /* Schmaleres Padding */
    font-size: 0.9rem;
    z-index: 999;
}

.main-footer p {
    margin: 0; /* Zurücksetzen */
}

.main-footer a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
}

.main-footer a:hover {
    text-decoration: underline;
    color: var(--white);
}

/* Alte Social-Icon-Regeln werden entfernt oder sind nicht mehr relevant */


/* =============================
   Mobiles Menü (NEU)
   ============================= */
.mobile-nav-toggle {
    display: none; /* Standardmäßig auf Desktops ausgeblendet */
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001; /* Über dem Header-Inhalt */
    padding: 0.5rem;
    width: 40px;
    height: 30px;
    flex-direction: column;
    justify-content: space-around;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, width 0.3s ease-in-out;
}

.mobile-nav-toggle .bar:nth-of-type(2) { width: 85%; }
.mobile-nav-toggle .bar:nth-of-type(3) { width: 70%; }


/* =============================
   Responsive Design
   ============================= */
@media (max-width: 992px) { /* Breiterer Breakpoint für das Menü */
    .nav-area {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid rgba(190, 198, 196, 0.2);
        
        display: none; /* Standardmäßig komplett ausgeblendet */
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
    }

    .nav-area.active {
        display: flex; /* Wird durch JS sichtbar gemacht */
        padding: 1rem 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        border-bottom: none;
        transition: background-color 0.2s ease-in-out;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background-color: rgba(255, 255, 255, 0.05);
        border-bottom: none;
    }

    .header-social {
        padding: 1rem 1.5rem 0 1.5rem;
        margin-top: 0;
        border-top: 1px solid rgba(190, 198, 196, 0.1);
        width: 100%;
    }

    .mobile-nav-toggle {
        display: flex; 
    }

    /* Animation für den Menü-Button (wird zu X) */
    .mobile-nav-toggle.active .bar:nth-of-type(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .bar:nth-of-type(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .bar:nth-of-type(3) {
        transform: translateY(-8px) rotate(-45deg);
        width: 100%;
    }
}

/* NEU: Klasse für mobilen Zeilenumbruch */
@media (min-width: 993px) {
    .mobile-br {
        display: none;
    }
}


@media (max-width: 768px) {
    .main-header .container {
        flex-direction: row; 
        justify-content: space-between;
    }

    /* Seitenabstand für mobile Ansicht */
    .page-section,
    .about-page,
    .contact-page,
    .legal-content,
    .error-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content h1, .page-title {
        font-size: 2.5rem;
    }

    body {
        padding-bottom: 4rem; /* Platz für den fixierten, schmalen Footer */
    }

    .main-footer {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .container {
        width: 90%;
    }

    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .page-title {
        font-size: 2.2rem;
    }

    .form-group-checkbox {
        align-items: flex-start;
    }

    .form-group-checkbox label {
        flex-basis: 100%;
        margin-top: 0.5rem;
    }

    .form-group-checkbox input[type="checkbox"] {
        top: 2px;
    }
}

/* =============================
   SnapWidget Anpassungen
   ============================= */
.widget-wrapper {
    max-width: 900px; /* Reduziert die maximale Breite des Widgets */
    margin: 2rem auto; /* Zentriert den Wrapper und fügt Abstand hinzu */
}

/* Versuch, das SnapWidget-Branding auszublenden */
.snapwidget-widget > a {
    display: none !important;
    visibility: hidden !important;
}

/* =============================
   Link-Farben in rechtlichen Bereichen (z. B. Impressum)
   ============================= */
   .legal-content a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color var(--transition);
  }

  .legal-content a:hover {
    color: var(--link-hover);
}

/* =============================
   FAQ Akkordeon (NEU)
   ============================= */
.accordion {
    width: 100%;
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(190, 198, 196, 0.2);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    text-align: left;
    font-family: 'Maven Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition);
}

.accordion-header:hover,
.accordion-header.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    color: var(--white);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(0, 0, 0, 0.1);
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.8;
}

/* =============================
   404 Fehler-Seite (NEU)
   ============================= */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 250px); /* Höhe abzüglich Header/Footer */
    padding: 2rem 0;
}

.error-content {
    max-width: 600px;
}

.error-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.error-content h1 {
    margin-bottom: 1.5rem;
}

.error-content p {
    font-size: 1.2rem;
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
} 