/* =====================================================
   BESUCHSHUNDETEAM - FINALE VOLLSTÄNDIGE STYLESHEET
   ===================================================== */

:root {
    --bg-cream: #fbf6f0;
    --bg-hero-flank: #e8ded3;
    --card-beige: #f5d69a;
    --card-white: #ffffff;
    --card-brown: #6b4328;
    --text-dark-brown: #4a2e1b;
    --text-body: #554336;
    --btn-gold: #f4a900;
    --btn-gold-hover: #d99300;
    --border-light: #e8ded5;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.menu-toggle {
    display: none;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -----------------------------------------------------
   HEADER & NAVIGATION
   ----------------------------------------------------- */
.site-header {
    background-color: var(--bg-cream);
    padding: 20px 0;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

/* DESKTOP NAV */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark-brown);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--btn-gold);
}

/* DROPDOWN NAV */
.dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    flex-direction: column !important;
    list-style: none;
}

.dropdown:hover > .dropdown-menu {
    display: flex !important;
}

.dropdown-menu a {
    padding: 8px 20px;
    font-size: 0.95rem;
    color: var(--text-dark-brown);
}

.dropdown-menu a:hover {
    background-color: var(--bg-cream);
    color: var(--btn-gold);
}

/* -----------------------------------------------------
   INDEX: HERO BANNER & KACHELN
   ----------------------------------------------------- */
.hero-banner {
    display: flex;
    gap: 15px;
    height: 380px;
    margin: 20px 0 40px;
    border-radius: 24px;
    overflow: hidden;
}

.hero-side {
    flex: 1;
    background-color: var(--bg-hero-flank);
    border-radius: 16px;
}

.hero-center {
    flex: 3;
    border-radius: 16px;
    overflow: hidden;
}

.hero-center img {
    width: 100%;
    max-height: 450px; /* Begrenzt die Höhe, damit das Bild nicht zu wuchtig wird */
    object-fit: cover;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.card {
    border-radius: 20px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 230px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.card-content {
    flex: 1;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-beige { background-color: var(--card-beige); color: var(--text-dark-brown); }
.card-white { background-color: var(--card-white); color: var(--text-dark-brown); }
.card-brown { background-color: var(--card-brown); color: var(--card-white); }
.card-brown h2 { color: var(--card-white); }
.card-brown p { color: rgba(255, 255, 255, 0.9); }

.card-link-underline {
    color: var(--text-dark-brown);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: underline;
}

.card-bullets {
    list-style: disc;
    margin-left: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.btn-orange {
    display: inline-block;
    background-color: var(--btn-gold);
    color: var(--card-white);
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-orange:hover {
    background-color: var(--btn-gold-hover);
}

/* -----------------------------------------------------
   KONTAKTSEITE: 2 SPALTEN LAYOUT
   ----------------------------------------------------- */
.contact-page-title {
    font-size: 2rem;
    color: var(--text-dark-brown);
    margin: 30px 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background-color: var(--card-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.contact-info-card h2 {
    color: var(--text-dark-brown);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-form-card {
    background-color: var(--card-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.contact-form-card h2 {
    color: var(--text-dark-brown);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark-brown);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--bg-cream);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-top: 3px;
}

/* -----------------------------------------------------
   FOOTER
   ----------------------------------------------------- */
.site-footer {
    background-color: var(--card-brown);
    color: var(--card-white);
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.footer-nav a {
    color: var(--card-beige);
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (MOBIL & TABLET)
   ----------------------------------------------------- */
@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--card-white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 1000;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        padding-left: 15px !important;
    }
    
    .hero-banner { height: 240px; }
    .hero-side { display: none; }
    
    .card-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-nav { flex-direction: column; gap: 10px; }
}

/* HORIZONTALE KACHELN (ÜBERSICHTSSEITE) */
.card-horizontal {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background-color: var(--card-white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
}

.card-left {
    flex: 0 0 250px; /* Feste Breite für die linke Spalte mit Bild */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-left h3 {
    font-size: 1.3rem;
    color: var(--text-dark-brown);
    margin: 0;
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch; /* Drückt den 'Mehr erfahren'-Link nach unten */
    padding-top: 35px; /* Richtet den Text auf Höhe des Bildes aus */
}

.card-right p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

.btn-link {
    color: var(--card-brown);
    font-weight: 700;
    text-decoration: underline;
    align-self: flex-end; /* Schiebt den Link ganz nach rechts unten */
}

/* MOBIL-ANPASSUNG */
@media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
    }
    .card-left {
        width: 100%;
        flex: none;
    }
    .card-right {
        padding-top: 0;
    }
}

/* EINHEITLICHER BILD-ZUSCHNITT (BESUCHSHUND SEITE) */
.profile-hero {
    width: 100%;
    margin: 20px 0 30px 0;
}

.profile-hero img {
    width: 100%;
    max-height: 300px; /* Gleiche maximale Höhe wie auf der Startseite */
    object-fit: cover; /* Schneidet das Bild sauber im Querformat zu */
    border-radius: 15px; /* Gleiche abgerundete Ecken */
}