/* Grundlegende Variablen & Reset */
:root {
    --primary-color: #a82c35; /* Typisches Wiener Rot */
    --secondary-color: #2c3e50;
    --bg-color: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Navigation */
nav {
    background-color: var(--secondary-color);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hauptcontainer */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Intro Text */
.intro {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    border-left: 5px solid var(--primary-color);
}

/* Dashboard-Layout (Formular + Widget) */
.top-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media(min-width: 768px) {
    .top-section {
        flex-direction: row;
        align-items: stretch; /* Beide Elemente sind optisch gleich hoch */
    }
    .tipp-form-container {
        flex: 2; /* 2/3 Breite */
    }
    .tipp-widget {
        flex: 1; /* 1/3 Breite */
    }
}

/* Styling für den Formular-Container (links) */
.tipp-form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tipp-form-container h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #444;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Styling für das Tipp-Widget (rechts) */
.tipp-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--primary-color);
}

.tipp-widget h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tipp-content {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

#tipp-text {
    font-style: italic;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

#tipp-author {
    font-weight: bold;
    color: #666;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    align-self: center;
}

/* Allgemeine Buttons (Karten + Senden) */
.btn-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more:hover {
    background-color: #8c2027;
}

/* Card-Layout für Sehenswürdigkeiten */
.sight-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.sight-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.sight-content {
    padding: 1.5rem;
}

.sight-content h2 {
    margin-top: 0;
    color: var(--secondary-color);
}

@media(min-width: 768px) {
    .sight-card {
        flex-direction: row;
    }
    .sight-img {
        width: 35%;
        height: auto;
        min-height: 220px;
    }
    .sight-content {
        width: 65%;
        padding: 2rem;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* Card-Layout für Sehenswürdigkeiten (NUR auf der Startseite) */
.container-startseite .sight-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.container-startseite .sight-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.container-startseite .sight-content {
    padding: 1.5rem;
}

.container-startseite .sight-content h2 {
    margin-top: 0;
    color: var(--secondary-color);
}

@media(min-width: 768px) {
    .container-startseite .sight-card {
        flex-direction: row;
    }
    .container-startseite .sight-img {
        width: 35%;
        height: auto;
        min-height: 220px;
    }
    .container-startseite .sight-content {
        width: 65%;
        padding: 2rem;
    }
}
/* Styling für die Detail-Seiten (z.B. Hetzendorf) */
.detail-page {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-top: 1rem;
    border-top: 4px solid var(--primary-color); /* Der rote Akzentstreifen wie beim Dashboard */
}

.detail-img {
    width: 100%;
    max-height: 450px; /* Verhindert, dass das Bild zu riesig wird */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.detail-page h2 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Der Zurück-Button */
.btn-back {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.btn-back:hover {
    transform: translateX(-5px); /* Kleiner, dynamischer Effekt beim Drüberfahren */
}
