:root {
    --primary: #d4af37;
    --primary-hover: #b8971f;
    --background: #f8fafc;
    --text: #1e293b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --footer-bg: #d4af37;
    --footer-text: dark;
}

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

/* Font */
@font-face {
  font-family: 'Yeseva One';
  src: url('/Dokumente/YesevaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Yeseva One', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background-color: var(--background);
}

.min-h-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0rem;
}

/* Header */
.header {
    background-color: transparent; /* Keine Farbe */
    color: rgb(255, 255, 255); /* 212, 175, 55 */
    padding: 2rem 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: left;
    }

    .title {
        font-size: 2.5rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.header a {
    color: #f8fafc;
    text-decoration: none;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.main-nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem 1rem;
}

.section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Counter Section */
.counter-section {
    max-width: 28rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.counter {
    display: flex;
    justify-content: center;
}

.counter-box {
    background-color: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#member-count {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* Join Section */
.join-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.join-text {
    margin-bottom: 1.5rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-location {
    margin-top: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Main Image on Start Page */
.hero {
  background-image: url('Dokumente/HintergrundMain.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4); /* halbtransparente Überlagerung */
  color: white;
  padding: 2rem 8rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-size: 5rem;
  font-family: 'Yeseva One', serif;
  margin-top: 6rem;
}

.button {
    color: black;
    text-decoration: none;
}

.button-outline {
    border-radius: 6px;
    box-shadow: 0 0 0 5px #d4af37;
    padding: 10px 20px;
    color: var(--text);
}

.eingerueckt {
    text-indent: 300px;
}

.eingerueckt2 {
    text-indent: 400px;
}

/* Mini Hero nur für Unterseiten */
.mini-hero {
    position: relative;
    width: 100%;
    height: 120px; /* kannst du auf 180–260 anpassen */
    background-image: url('Dokumente/HintergrundMain.jpg');
    background-size: cover;
    background-position: center;
}

.mini-hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* leicht abdunkeln für Lesbarkeit */
}

/* Vertikale Insta-Bar */
.side-instagram-bar {
    position: absolute;
    right: 20px;
    top: 130px;      /* mehr Abstand nach oben */
    bottom: 130px;   /* mehr Abstand nach unten */
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Linien oben und unten */
.side-instagram-bar .line-top,
.side-instagram-bar .line-bottom {
    width: 4px;
    background: white;
    opacity: 0.8;
    flex-grow: 1;
    border-radius: 10px; /* bleibt rund, aber NICHT an der Mitte */
}

/* Abstand zur Mitte */
.side-instagram-bar .line-top {
    margin-bottom: 25px; /* etwas größerer Abstand */
    border-bottom-left-radius: 0;  /* unten gerade */
    border-bottom-right-radius: 0;
}

.side-instagram-bar .line-bottom {
    margin-top: 25px; /* etwas größerer Abstand */
    border-top-left-radius: 0;   /* oben gerade */
    border-top-right-radius: 0;
}

/* Instagram Button */
.insta-button {
    pointer-events: auto;
    background: transparent;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.insta-button:hover {
    transform: scale(1.08);
}

/* Icon */
.insta-button img {
    width: 22px;
    height: 22px;
}