/* ==========================================================================
   LANDPUNKTE 2.0 - MODERN UI DESIGN
   ========================================================================== */

:root {
    --color-primary: #006636;
    --color-primary-dark: #004d29;
    --color-bg: #f4f7f6;
    --color-surface: #ffffff;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --shadow-soft: 0 2px 10px rgba(0,0,0,0.05);
    --border-radius: 8px;
    
    /* Neue moderne Schriften */
    --font-heading: 'Lexend', Tahoma, Arial, sans-serif;
    --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    font-size: 15px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TYPOGRAFIE --- */
h1, h2, h3 { 
    font-family: var(--font-heading); 
    font-weight: 600; 
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: 24px; margin-bottom: 10px; }
h2 { font-size: 20px; color: var(--color-primary); }
h3 { font-size: 16px; margin-bottom: 5px; }

/* --- NAVIGATION --- */
.site-header {
    background: var(--color-primary);
    padding: 10px 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo { 
    font-family: var(--font-heading);
    font-size: 18px; 
    font-weight: 700; 
    color: white; 
    text-decoration: none; 
}

.nav-links {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 6px 12px;
    transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active { 
    color: #fff; 
    background: rgba(255,255,255,0.15); 
    border-radius: 4px; 
}

@media (min-width: 768px) {
    .nav-links { width: auto; margin-top: 0; overflow-x: visible; }
}

/* --- HAUPTINHALT --- */
.main-container {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* --- GRID & CARDS (Jetzt extrem kompakt und platzsparend) --- */
.pano-grid {
    display: grid;
    /* Reduziert von 220px auf 150px für deutlich kleinere Kacheln */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
    gap: 12px;
    margin-top: 15px;
}

.pano-card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.pano-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.08); 
    border-color: var(--color-primary);
}

.pano-card img {
    width: 100%;
    /* Bildhöhe weiter reduziert */
    height: 90px; 
    object-fit: cover;
    background: #f0f0f0;
}

.pano-info { 
    padding: 8px 10px; /* Weniger Abstand im weißen Feld */
}

/* Spezielle Schriftgröße nur für die Texte in den kleinen Kacheln */
.pano-info h3 {
    font-size: 13px; /* Sehr kleine und feine Schrift */
    line-height: 1.3;
    margin: 0;
}

/* Falls wir später Aufrufzahlen in die Kacheln einbauen */
.pano-info div {
    font-size: 11px !important;
}

.region-badge { 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    font-weight: 700; 
    color: var(--color-primary); 
    background: #e8f5e9; 
    padding: 2px 6px; 
    border-radius: 4px; 
    display: inline-block;
    margin-bottom: 5px;
}

/* --- BUTTONS --- */
.btn {
    font-family: var(--font-heading);
    font-size: 13px;
    display: inline-block; 
    padding: 8px 16px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    border: none; 
    cursor: pointer; 
    text-align: center; 
    transition: 0.2s;
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); }

/* --- FOOTER --- */
.site-footer { 
    background: #fff; 
    border-top: 1px solid #eee; 
    text-align: center; 
    padding: 20px; 
    margin-top: 40px; 
    font-size: 13px;
    color: var(--color-text-light); 
}
.site-footer a { color: var(--color-text-light); text-decoration: none; margin: 0 10px; }
.site-footer a:hover { color: var(--color-primary); text-decoration: underline; }