/* ================================================================ */
/* FINALE ENDVERSION (Stand: 09.06.2025)                            */
/* ================================================================ */

:root {
  /* 🔹 Haupt-Layout-Farben */
  --color-header: #333545;
  --color-sidebar: #1f2533;
  --color-body-bg: #f8f9fc;
  --color-content-bg: #ffffff;

  /* 🔹 Textfarben */
  --color-text-main: #212529;
  --color-text-light: #adb5bd;
  --color-text-inverse: #ffffff;

  /* 🔹 Akzentfarben (angepasst) */
  --color-primary: #3A7AFE;     /* kräftiges Blau – sehr harmonisch */
  --color-secondary: #6c757d;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #e0a800;     /* dezenteres Gelb/Gold */
  --color-info: #17a2b8;        /* Türkis bleibt */

  /* 🔹 Border / Shadow */
  --color-border: #dee2e6;
  --shadow-default: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* Basis-Layout */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--color-body-bg);
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 230px;
    background-color: var(--color-sidebar);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background-color: #333545;
}

/* Sidebar links */
.sidebar .nav-link {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out;
}

/* Hover-Effekt */
.sidebar .nav-link:hover {

}

/* Aktiver Link */
.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
}
/* Hauptinhalt */
.main-area {
    margin-left: 230px;
    width: calc(100% - 230px);
}

/* Header */
.main-header {
    height: 70px;
    background-color: #333545;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Menü-Button mit SVG-Pfeil */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-toggle svg {
    width: 1em;
    height: 1em;
    fill: none !important;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
}
.menu-toggle.open svg {
    transform: rotate(180deg);
}
.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* Auth-Buttons (Login/Register) */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Mobile-Logo */
.logo-mobile {
    display: none;
    height: 30px;
    width: auto;
	fill: #ffffff; /* oder #f1f2f3 oder var(--primary-color) */
}

/* Mobile-Anpassungen */
@media (max-width: 576px) {
    /* Header fixieren */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    /* Content-Abstand */
    .main-area {
        margin-left: 0;
        margin-top: 50px;
        width: 100%;
    }
    /* Desktop-Buttons ausblenden, Mobile-Elemente einblenden */
    .auth-buttons {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .logo-mobile {
        display: block;
    }
}

/* Farbvariablen */
:root {
    --primary-color: #4a90e2;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Logos im Sidebar-Header einfarbig weiß und Größe anpassen */
.sidebar-header .logo-svg {
  width: 120px;      /* hier kannst du die Breite anpassen */
  height: auto;      /* Höhe passt sich proportional an */
}

.sidebar-header .logo-svg path {
  fill: #ffffff;     /* alle Pfade im SVG werden weiß gefüllt */
}

/* Sidebar-Slide für Mobile */
.sidebar {
    transition: transform 0.3s ease;
}
@media (max-width: 576px) {
    /* Sidebar initial verstecken (außer wenn open) */
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1001;
    }
    .sidebar.open {
        transform: translateX(0);
    }
}

/* Overlay bei Mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000; /* unterhalb der Sidebar (1001) */
}
@media (max-width: 576px) {
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Ende Overlay */

/* Header-Inhalte verschieben bei geöffnetem Menü */
/* Nur die Header-Inneren Elemente verschieben, der Rest bleibt an Ort */
body.menu-open .main-header .header-left,
body.menu-open .main-header .header-right {
    transform: translateX(230px);
    transition: transform 0.3s ease;
}

@media (max-width: 576px) {
    /* Mobile-Logo ausblenden, wenn Menü offen */
    body.menu-open .logo-mobile {
        display: none !important;
    }
}














/* Willkommens-Block (ersetzt Hero-Sektion) */
.welcome-block {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 20px;
}
.welcome-block h1 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
}
.welcome-block p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Allgemeine Sektionen und Überschriften */
.content-block {
    margin-bottom: 40px;
}
.content-block h2,
.newsletter-section h2 {
    font-size: 1.8em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.content-block h2::after,
.newsletter-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Karten-Layout für Blog (Grid) */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.info-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.info-card:hover {
    transform: translateY(-5px);
}
.info-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.info-card .card-content {
    padding: 20px;
}
.info-card h3 {
    margin-top: 0;
    font-size: 1.3em;
}

/* Kategorie-Tags & Badges für Info-Karten */
.card-category { position: absolute; top: 15px; left: 15px; padding: 5px 12px; border-radius: 20px; color: white; font-size: 12px; font-weight: 500; text-transform: uppercase; z-index: 10; }
.card-category.travel { background-color: #27ae60; }
.card-category.knowledge { background-color: #2980b9; }
.card-category.film { background-color: #c0392b; }
.card-badge { position: absolute; top: 15px; right: 15px; background-color: rgba(0, 0, 0, 0.7); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: bold; line-height: 1; border: 2px solid white; z-index: 10; }
.card-badge span { font-size: 24px; font-weight: 700; }

/* Horizontale Scroll-Leiste */
.poster-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 20px 0;
    -webkit-overflow-scrolling: touch; 
}
.poster-container::-webkit-scrollbar { height: 8px; }
.poster-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* Einheitliche Showcase-Karte (für Filme & Personen) */
.showcase-card {
    flex: 0 0 180px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
    background-color: #e0e0e0;
}
.showcase-card:hover {
    transform: scale(1.05);
}
.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.showcase-card-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    color: white;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    text-align: center;
    font-size: 15px;
}

/* Geo-Hub Sektion */
.geo-hub-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    grid-gap: 25px;
    align-items: stretch;
}
.hub-main-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hub-main-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.hub-main-content { padding: 25px; }
.hub-main-content h3 { margin-top: 0; font-size: 1.6em; }
.hub-main-content p { font-size: 1.1em; line-height: 1.6; color: #555; }
.hub-main-content .read-more { text-decoration: none; color: var(--primary-color); font-weight: bold; display: inline-block; margin-top: 15px; }

.hub-featured-places {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
}
.featured-place-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}
.featured-place-card:hover { transform: scale(1.05); z-index: 10; }
.featured-place-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-place-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; color: white; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); text-decoration: none; }
.featured-place-title h4 { margin: 0; font-size: 0.8em; text-transform: uppercase; font-weight: 400; opacity: 0.8; }
.featured-place-title h3 { margin: 0; font-size: 1.2em; font-weight: 600; }

/* Zitat des Tages */
.quote-of-the-day { background-color: #e9ecef; border-left: 5px solid var(--primary-color); padding: 30px 40px; border-radius: 8px; position: relative; text-align: center; }
.quote-of-the-day .quote-icon { position: absolute; top: -10px; left: 15px; font-size: 100px; color: rgba(0, 0, 0, 0.08); font-family: "Times New Roman", Times, serif; line-height: 1; z-index: 1; }
.quote-of-the-day blockquote { margin: 0; font-size: 1.6em; font-style: italic; color: #343a40; position: relative; z-index: 2; }
.quote-of-the-day cite { display: block; margin-top: 15px; font-size: 1.1em; font-weight: 500; color: #495057; position: relative; z-index: 2; }

/* Newsletter-Sektion */
.newsletter-section { background-color: #1f2533; color: white; padding: 40px; text-align: center; border-radius: 8px; }
.newsletter-form input { padding: 12px; width: 300px; border: 1px solid #555; background-color: #333545; color: white; border-radius: 5px; margin-right: 10px; }
.newsletter-form button { padding: 12px 25px; background-color: var(--primary-color); color: white; border: none; border-radius: 5px; cursor: pointer; font-weight: 500; }

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .geo-hub-container { grid-template-columns: 1fr; }
    .hub-featured-places { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto; }
    .featured-place-card { aspect-ratio: 1 / 1; }
}
@media (max-width: 767.98px) {
    .main-area { margin-left: 0; width: 100%; }
    .hub-featured-places { grid-template-columns: 1fr; }
    .featured-place-card { aspect-ratio: 16 / 9; }
    .newsletter-form { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .newsletter-form input { width: 90%; margin-right: 0; }
}

/* 1) Entfernt Unterstreichung bei den Titel-Links in den Info-Cards */
.content-block .info-card .card-content h3 a {
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit; /* behält die h3-Farbe */
}

/* 2) Falls dein Theme Pseudo-Elemente (:after, :before) verwendet */
.content-block .info-card .card-content h3 a::after {
  content: none !important;
}


/* Override: rechteckige Buttons */
.social-share .btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem !important;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: auto;             /* verhindert, dass Buttons zu schmal werden */
}

/* Icon-Größe & Sicherheit, dass das Icon immer angezeigt wird */
.social-share .btn-share i {
  font-size: 1.2rem;
  display: inline-block;
}

/* Hover-Effekt */
.social-share .btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

/* Farbspezifische Overrides */
.btn-outline-primary.btn-share {
  color: #1da1f2;
  border-color: #1da1f2;
}
.btn-outline-primary.btn-share:hover {
  background-color: #1da1f2;
  color: #fff;
}

.btn-outline-success.btn-share {
  color: #25d366;
  border-color: #25d366;
}
.btn-outline-success.btn-share:hover {
  background-color: #25d366;
  color: #fff;
}

.btn-outline-danger.btn-share {
  color: #bd081c;
  border-color: #bd081c;
}
.btn-outline-danger.btn-share:hover {
  background-color: #bd081c;
  color: #fff;
}

/* Mobile: Labels ausblenden, Icons behalten */
@media (max-width: 576px) {
  /* Container auf volle Breite und Icons gleichmäßig verteilen */
  .social-share {
    width: 100%;
    display: flex;               /* falls Bootstrap-Deklaration fehlt */
    justify-content: space-between; /* oder space-evenly */
    gap: 0;                      /* eigener Abstand übers Button-Margin regeln */
  }

  /* Jeder Button wächst auf gleiche Größe */
  .social-share .btn-share {
    flex: 1 1 auto;
    margin: 0 0.25rem;           /* horizontaler Abstand */
    padding: 0.5rem 0;           /* vertikal + horizontales Padding raus */
    text-align: center;          /* Icon zentrieren */
  }

  /* Icon bleibt mittig und groß genug */
  .social-share .btn-share i {
    font-size: 1.4rem;
    line-height: 1;
  }
}



.country-wrapper {
    max-width: 960px;
    margin: auto;
}

.country-flag {
    max-width: 200px;
    height: auto;
}

.country-name {
    font-size: 2rem;
}

.country-info li {
    border-bottom: 1px solid #eee;
}



.container {
  padding-left: 15px;
  padding-right: 15px;
}


/* Platzhalter */
.bg-placeholder {
    background-color: #DDD;
}


/* =====================
   🔹 Komponenten
===================== */

/* Links */
a {
  color: var(--color-primary);
}
a:hover {
  color: #e03e00;
}

/* Titel mit linkem Balken */
.title-accent {
  border-left: 4px solid #FF4500;
  padding-left: 10px;
  font-weight: bold;
}







