﻿
/* Start CSS fuer Anzeige in Cards von HomeToGo Angeboten*/
 
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
    }
    .card {
    position: relative;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: transform 0.2s;
    }
    .card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }
    .card-content 
    { padding: 15px; 
    	font-size: 14px;       /* kleinere Standardschrift */
    	line-height: 1.3;      /* geringerer Zeilenabstand */
    }
    .card-content h3 {
    margin: 0 0 8px;
    font-size: 14px;       /* kleinere Überschrift */
    line-height: 1.0;      /* engerer Zeilenabstand für Titel */
	}

    /* Buttons */
    .btn {
        display: inline-block;
        padding: 10px 16px;
        margin-top: 10px;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        border-radius: 8px;
        text-decoration: none;
        transition: background 0.3s ease;
    }
    .btn-green  { background: #28a745; }
    .btn-green:hover { background: #ABEC86; }

    .btn-orange { background: #ff9800; }
    .btn-orange:hover { background: #e68900; }

    .btn-red    { background: #dc3545; }
    .btn-red:hover { background: #c82333; }

    .btn-blue   { background: #007bff; }
    .btn-blue:hover { background: #0069d9; }
    
        
        .card-img-wrapper {
            position: relative;
        }
        .price-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #27ae60;
            color: #fff;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
    
        .card-img-wrapper {
            position: relative;
        }
        .price-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #27ae60;
            color: #fff;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }

/* Blauer Button für "Zum Angebot" */
.offer-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #FF9D00;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.offer-btn:hover {
    background: #FC6A56;
    color: #fff;
    text-decoration: none;
}

/* Button für "Alle Angebote" */
.green-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background-color: #28a745; /* Grün */
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.green-btn:hover {
  background-color: #ABEC86; /* helleres Grün */
  font-weight: 600; /* Fett bleibt bestehen */
  transform: translateY(-2px); /* nur anheben, nicht skalieren */
  box-shadow: 0 6px 14px rgba(0,0,0,0.15); /* schönerer Hover-Effekt */
}

.green-btn:active {
  background-color: #1e7e34;
  font-weight: 600; /* Fett bleibt bestehen */
  transform: translateY(0);
}


.price-badge-woche {
    background-color: #FFCC00;  /* Gelber Hintergrund */
    color: black;               /* Schwarze Schrift */
    padding: 5px 14px;          /* Etwas Abstand innen */
    border-radius: 20px;        /* Abgerundete Ecken */
    font-weight: bold;          /* Fett gedruckt */
    font-size: 1.0em;           /* Etwas größere Schrift */
}

/* Button für "Fincas eingezaeunt" */
.btn-link {
    display: inline-block;
    padding: 10px 16px;
    background-color: #FFCC00;			/* Gelb */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-link:hover {
    background-color: #27AE60;			/* Gruen */
}

.small-text {
    font-size: 9px;
    color: gray;
}

/* Ende CSS fuer Anzeige in Cards von HomeToGo Angeboten*/




/* ================================================================================= */
/* ===================== PREMIUM SNAP SCROLL SECTION =============================== */
/* ================================================================================= */

/* Container & Sektion */
.premium-scroll-section {
    position: relative;
    margin: 40px 0;
    width: 100%;
    overflow: hidden; /* Verhindert horizontales Ausbrechen der Seite */
}

.premium-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5vw;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.premium-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Die Karte */
.premium-scroll-section .premium-card {
    flex: 0 0 300px; /* Feste Basisbreite für Desktop */
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative !important; 
    display: flex;
    flex-direction: column;
}

/* Hover nur wenn Gerät Maus unterstützt */
@media (hover: hover) {
    .premium-scroll-section .premium-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
}

/* Das Bild - FIX für Mobile Größe */
.premium-scroll-section .premium-card img {
    width: 100%;
    height: 200px; /* Feste Höhe für Einheitlichkeit */
    object-fit: cover;
    display: block;
}

/* Content */
.premium-card-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
}

.premium-card-content h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Preis Badge FIX: Immer sichtbar, immer an der Karte */
.premium-scroll-section .premium-card .price-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: #27ae60 !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    font-size: 13px !important;
    z-index: 50 !important;
    display: block !important; 
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.price-badge-woche {
    font-weight: bold;
    margin-top: 8px;
    display: block;
    color: #2c3e50;
}

/* Button */
.offer-btn {
    display: block;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #FF9D00, #FC6A56);
    border-radius: 8px;
    text-decoration: none !important;
    text-align: center;
}

/* Navigations-Buttons */
.premium-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.premium-scroll-btn.left { left: 10px; }
.premium-scroll-btn.right { right: 10px; }

/* MOBILE OPTIMIERUNG */
@media (max-width: 768px) {
    .premium-scroll-section .premium-card {
        flex: 0 0 260px; /* Etwas schmaler auf Mobile */
    }
    
    .premium-scroll-section .premium-card img {
        height: 180px; /* Kürzere Bildhöhe auf Mobile */
    }

    .premium-scroll-container {
        gap: 15px;
        padding: 10px 20px;
    }
    
    .premium-scroll-btn {
        display: none; /* Auf Mobile nutzt man den Daumen */
    }
}/* ================================================================================= */
/* ========================= END PREMIUM SNAP SCROLL =============================== */
/* ================================================================================= */



/* ---------------------------------------------------------
   4. SUCHMASKE 
   --------------------------------------------------------- */
.search-bar {
    background: rgba(39, 174, 96, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    width: 95%;
    max-width: 900px;
}

.search-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
}

.search-input {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 150px;
}

.search-input label {
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.search-input input, 
.search-input select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background: #ffc107;        /* Gelb */
    color: #000;                /* Schwarze Schrift für Kontrast */
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e0a800;        /* dunkleres Gelb beim Hover */
    transform: translateY(-2px);
}
/* ---------------------------------------------------------
   ENDE   4. SUCHMASKE 
   --------------------------------------------------------- */





/* ---------------------------------------------------------
   1. VARIABLEN & GRUND-EINSTELLUNGEN
   --------------------------------------------------------- */
:root {
    --primary-color: #0077b6; /* Ozeanblau */
    --accent-color: #e9c46a;  /* Sandgelb */
    --text-color: #264653;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* ---------------------------------------------------------
   2. HEADER / HERO BEREICH (Full Width)
   --------------------------------------------------------- */

.hero {
    width: 100%;
    height: 190px; /* ✅ neue Höhe */

    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), 
                      url('../images/Tirol-Urlaub-mit-Hund-Header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: flex-end;       /* Text unten */
    justify-content: flex-start; /* Text links */

    padding: 20px;
    color: white;
}

/* Inhalt im Hero */
.hero-content {
    max-width: 1200px;
}

/* Überschrift */
.hero-content h1 {
    line-height: 1.2;
    font-size: clamp(1.5rem, 4vw, 2.5rem); /* etwas kompakter wegen kleiner Höhe */
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* Optionaler Untertitel */
.hero-content p {
    margin: 5px 0 0 0;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* ---------------------------------------------------------
   RESPONSIVE OPTIMIERUNG
   --------------------------------------------------------- */

/* Tablet */
@media (max-width: 768px) {
    .hero {
        height: 130px;
        padding: 15px;
    }
}

/* Handy */
@media (max-width: 480px) {
    .hero {
        height: 110px;
        padding: 12px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }
}
/* ---------------------------------------------------------
   3. NAVIGATION (Sticky)
   --------------------------------------------------------- */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* ---------------------------------------------------------
   4. SUCHMASKE (Im Hero platziert)
   --------------------------------------------------------- */
.search-bar {
    background: rgba(193, 224, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    width: 95%;
    max-width: 900px;
}

.search-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
}

.search-input {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 150px;
}

.search-input label {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.search-input input, 
.search-input select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #005f92;
}

/* ---------------------------------------------------------
   ENDE   4. SUCHMASKE (Im Hero platziert)
   --------------------------------------------------------- */



/* ---------------------------------------------------------
   5. FEWO GRID & CARDS
   --------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.fewo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fewo-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.fewo-card:hover {
    transform: translateY(-8px);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    /* Falls das Bild im HTML als Inline-Style kommt, wird es hier ergänzt */
}

.card-content {
    padding: 1.5rem;
}

.price {
    display: block;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* ---------------------------------------------------------
   6. FOOTER
   --------------------------------------------------------- */
footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

footer a { 
    color: #ccc; 
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   7. RESPONSIVE ANPASSUNGEN
   --------------------------------------------------------- */

/* Tablets & Smartphones */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 1rem;
    }

    .search-input {
        flex: 1 1 100%; /* Suchelemente untereinander auf Mobile */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
