/*
 Theme Name: Blocksy Child – Ferienhaus PortalF
 Theme URI: https://meinferienschloss.de
 Description: Child-Theme für Ferienhaus-Portal auf Basis von Blocksy.
 Author: IT-Service Rettinger
 Template: blocksy
 Version: 1.0
*/

/* ==========================
   GLOBAL DESIGN – FERIENHAUS PORTAL
   ========================== */

/* Hintergrund & Grundschrift */
body {
  	background: #8FC5F7;
	background: radial-gradient(circle, rgba(143, 197, 247, 1) 0%, rgba(255, 255, 255, 1) 100%);
    color: #000080;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/* Wrapper für Reiseziel-Seiten */
.reiseziel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
   /* background: rgba(255, 255, 255, 0.12); /*  leicht transparent */
	/*background: #ffffff;*/
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Überschriften */
.reiseziel-wrapper h1,
.reiseziel-wrapper h2,
.reiseziel-wrapper h3 {

    color: #000080;
    font-weight: 700;
    margin-top: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Intro-Text */
.reiseziel-intro {
    color: #000080;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Haupttext */
.reiseziel-content {
    color: #000080;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* iFrame Container */
.iframe-box {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* iFrame selbst */
.iframe-box iframe {
    width: 100%;
    height: 1800px;
    border: 3;
	border-color: #8FC5F7;

}

/* Links im Inhalt */
.reiseziel-wrapper a {
    color: #000080;
    font-weight: 600;
}

.reiseziel-wrapper a:hover {
	color: #8FC5F7;
    text-decoration: none;
}

/* RESPONSIVE Anpassungen */
@media (max-width: 768px) {
    .reiseziel-wrapper {
        padding: 20px 15px;
    }

    .iframe-box iframe {
        height: 1600px;
    }
}
/* Responsive Iframes (Suche + Ferienhaus-Detail) */
.iframe-box {
    position: relative;
    width: 100%;
    padding-bottom: 70%; /* Höhe:Breite-Verhältnis, bei Bedarf anpassen */
    height: 1300px;
    overflow: hidden;
}

.iframe-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================
   LAYOUT MIT SIDEBAR
   ========================== */

.reiseziel-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.reiseziel-main {
    flex: 1 1 auto;
}

.reiseziel-sidebar {
    flex: 0 0 260px;
    max-width: 260px;
    background: #8FC5F7;
	border-radius: 10px;
    padding: 16px 14px;
}

/* Sidebar-Titel */
.reiseziel-sidebar h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    color: #FFFFFF;
}

/* Sidebar-Listen */
.reiseziel-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reiseziel-sidebar li {
    margin-bottom: 0.3rem;
}

/* Länder-Links */
.reiseziel-sidebar a {
    display: block;
    text-decoration: none;
    font-size: 1rem;
    padding: 4px 6px;
    border-radius: 6px;
    color: #F7F9FA;
}

.reiseziel-sidebar a:hover {
	background: #ffffff;
	color: #8FC5F7;
}

.reiseziel-sidebar a.is-active {
    background: #FFFFFF;
    color: #2A82B8;
    font-weight: 600;
}

/* Eingrückte Unterlisten (Regionen / Orte) */
.reiseziel-sidebar ul.reiseziel-sublist {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
    margin-left: 0.8rem;
    border-left: 1px solid rgba(255,255,255,0.25);
    padding-left: 0.6rem;
}

.reiseziel-sidebar ul.reiseziel-sublist li {
    margin-bottom: 0.2rem;
}

.reiseziel-sidebar a.is-child {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Mobile: Sidebar unter dem Inhalt */
@media (max-width: 900px) {
    .reiseziel-layout {
        flex-direction: column;
    }

    .reiseziel-sidebar {
        max-width: 100%;
        width: 100%;
    }
}
/* Standard: Desktop-Layout für Reiseziel-Seiten */
.reiseziel-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Mobile: Sidebar ausblenden, Content full width */
@media (max-width: 768px) {
    .reiseziel-layout {
        grid-template-columns: 1fr;
    }

    .reiseziel-sidebar {
        display: none;
    }
}

/* ==========================
   REISEZIELE-ARCHIV
   ========================== */

.reiseziel-archive-header {
    margin-bottom: 2rem;
    text-align: center;
}

.reiseziel-archive-header h1 {
    margin-bottom: 0.5rem;
}

.reiseziel-archive-header p {
    color: #000080;
    margin: 0;
}

.reiseziel-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.reiseziel-card {
   /* background: rgba(0, 0, 0, 0.08);*/
	background: #8FC5F7;
    border-radius: 12px;
    padding: 16px 14px;
    text-decoration: none;
    display: block;
    min-height: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.reiseziel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    /*  background: rgba(0, 0, 0, 0.16);*/
	 background: #87CEFA;
	
}

.reiseziel-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #FFFFFF;
}

.reiseziel-card-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-bottom: 0.3rem;
}

.reiseziel-card-text {
    font-size: 0.95rem;
    color: #F7F9FA;

}
/* ==========================
   STARTSEITE
   ========================== */

.start-hero {
    padding: 60px 20px 40px;
    /*text-align: left;*/
    text-align: center;
}

.start-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.start-hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.start-hero h1 {
    font-size: 2.4rem;
    margin: 0.6rem;
}

.start-hero-subtitle {
    font-size: 1.1rem;
    max-width: 640px;
    color: #F7F9FA;
    margin-bottom: 1.5rem;
}

.start-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.start-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid #8FC5F7;
    background: #8FC5F7;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.start-hero-btn:hover {
    /*transform: translateY(-2px);*/
	color: #8FC5F7;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    background: #FFFFFF;
}

.start-hero-btn-secondary {
    background: #8FC5F7;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.7);
    box-shadow: none;
}

.start-hero-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

/* Sektion für Länder-Grid auf Startseite (wir nutzen das gleiche Card-Design) */
.start-section {
    padding: 20px 20px 40px;
}

.start-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.start-section-header {
    margin-bottom: 1.2rem;
}

.start-section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.start-section-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #F7F9FA;
}
/* ==========================
   SUPPORT-BOX IN DER SIDEBAR
   ========================== */

.reiseziel-support-box {
    background: rgba(255,255,255,0.16);
    border-radius: 10px;
    padding: 7px 5px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.reiseziel-support-box .support-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #FFFFFF;
}

.reiseziel-support-box .support-text {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #F7F9FA;
}

.reiseziel-support-box .support-contact {
    font-size: 0.75rem;
}

.reiseziel-support-box a {
    color: #FFFFFF;
    text-decoration: none;
}

.reiseziel-support-box a:hover {
    text-decoration: none;
}
/* =======================================
   STARTSEITE – FEATURED FERIENHÄUSER
   ======================================= */

.featured-house-card {
    background: #8fc5f7;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    color: #ffffff;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

/* Link über ganze Karte, aber ohne Unterstreichung */
.featured-house-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #ffffff;
}

/* Bild oben */
.featured-house-image {
    height: 170px;
    overflow: hidden;
}

.featured-house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-house-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8fc5f7;
    color: #ffffff;
    font-weight: 600;
}

/* Text-Bereich */
.featured-house-body {
    padding: 10px 12px 12px;
}

/* Überschrift: sehr helles Grau */
.featured-house-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #000080;
    text-decoration: none;

}

/* Beschreibung: weiß */
.featured-house-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ffffff;
    text-decoration: none;
}

/* Hover-Effekt wie bei Länder-Karten */
.featured-house-card:hover {
    background: #7bb6eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Sicherstellen: NIE Unterstrich, egal was das Theme allgemein macht */
.featured-house-card a,
.featured-house-card a:hover,
.featured-house-card a:focus {
    text-decoration: none;
}

/* ==========================
   FEATURED FERIENHÄUSER – IFRAME-BEREICH
   ========================== */

.featured-house-iframe-wrapper {
    padding: 0 20px 40px;
}

.featured-house-iframe-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 14px;
    padding: 10px 10px 14px 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.featured-house-iframe-inner iframe {
    width: 100%;
    height: 1800px;
    border: 0;
    border-radius: 10px;
}

.featured-house-iframe-close {
    display: inline-block;
    margin-bottom: 8px;
    background: #FFFFFF;
    color: #2A82B8;
    border-radius: 999px;
    border: none;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
/* ==========================
   STARTSEITE – HERO HEADER
   ========================== */

.home-hero {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    background-color:#8fc5f7;
    color: #ffffff;
}

.home-hero.has-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.home-hero-overlay {
    background-color: rgba(0,0,0,0.25);
	padding: 60px 20px;
}

.home-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
	text-align: center !important;
}

.home-hero-title {
	text-align: center;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.home-hero-subtitle {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 20px auto auto;
}

.home-hero-search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 640px;
	background-color: #FFFFFF;
	border-radius: 14px;
	border: solid 2px;
	border-color: #8FC5F7;
   /* align-items: stretch;*/
   /* margin-bottom: 0.7rem;*/
	margin: 20px auto 0 auto; /* zentriert */

}

.home-hero-search-input {
    flex: 1;
    border-radius: 14px;
    border: solid 2px;
	border-color: #8FC5F7;
    padding: 10px 15px;
    font-size: 1rem;
    outline: none;
}

.home-hero-search-button {
    border: solid 2px;
	border-color: #8FC5F7;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: #8FC5F7;
    color: #ffffff;
    white-space: nowrap;
}

.home-hero-search-button:hover {
    filter: brightness(0.95);
}

.home-hero-hint {
    text-align: center;
    margin-top: 12px;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
    .home-hero-overlay {
        padding: 32px 16px;
    }
    .home-hero-search-form {
        flex-direction: column;
    }
    .home-hero-search-button {
        width: 100%;
        text-align: center;
    }
}
/* Layout Reiseziel-Seiten */

.reiseziel-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;
    /*background: #f5f6f8;*/
	background: #ffffff;

}

.reiseziel-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .reiseziel-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Sidebar */

.reiseziel-sidebar {
    background: #8fc5f7;
    border: 1px solid #e0f3ff;
    border-radius: 16px;
    padding: 12px 13px;
}

/* Hauptbereich */

.reiseziel-main {
    background: #ffffff;
    border: 3px solid #8fc5f7;
    border-radius: 18px;
    padding: 20px 22px 24px;
}

/* Header-Bild */

.reiseziel-hero-image {
    margin: -20px -22px 16px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.reiseziel-hero-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Breadcrumb */

.reiseziel-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.reiseziel-breadcrumb a {
    color: #0f5c91;
}

.reiseziel-breadcrumb .current {
    font-weight: 600;
}

/* Buttons in #8fc5f7 */

.mfs-btn,
.button,
.wp-block-button__link {
    background: #8fc5f7;
    color: #ffffff;
    border-radius: 999px;
    border: 1px solid #8fc5f7;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}

.mfs-btn:hover,
.button:hover,
.wp-block-button__link:hover {
    background: #ffffff;
    color: #8fc5f7;
    border-color: #8fc5f7;
    transform: translateY(-1px);
}
/* ==========================
   STARTSEITE – GLOBAL LAYOUT
   ========================== */

.reiseziel-wrapper {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 16px 16px;
}

.frontpage-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}



/* Mobile */
@media (max-width: 700px) {
    .home-hero-overlay {
        padding: 28px 16px;
    }
    .home-hero-inner {
        text-align: left;
    }
    .home-hero-search-form {
        flex-direction: column;
    }
    .home-hero-search-button {
        width: 100%;
        text-align: center;
    }
}

/* ==========================
   FEATURED FERIENHÄUSER
   ========================== */

.frontpage-section {
    background: #ffffff;
    border-radius: 18px;
    border: 3px solid #8FC5F7;
    padding: 20px 18px 24px;
}

.frontpage-section h2 {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.frontpage-featured-houses .featured-houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.featured-house-card {
    background: #8fc5f7;
    border-radius: 16px;
    border: 2px solid #8fc5f7;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.featured-house-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-house-image {
    height: 160px;
    overflow: hidden;
}

.featured-house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-house-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8fc5f7;
    color: #ffffff;
    font-weight: 600;
}

.featured-house-body {
    padding: 10px 12px 12px;
}

.featured-house-title {
    font-size: 1rem;
    margin: 0 0 4px;
}

.featured-house-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    gap: 6px;
}

/* ==========================
   LÄNDER-KACHELN
   ========================== */

.frontpage-countries .frontpage-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 1rem;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
/* Länderkarten – Weißer Text, dezenter Hover */

.reiseziel-country-card {
    border-radius: 16px;
    overflow: hidden;
    background: #8fc5f7;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.reiseziel-country-card-link {
    text-decoration: none;
    display: block;
    padding: 14px 14px 18px;
    color: #ffffff;
    height: 100%;
}

/* Texte auf den Karten immer weiß, ohne Unterstreichung */

.reiseziel-country-card .country-name,
.reiseziel-country-card .country-meta {
    color: #ffffff;
    text-decoration: none;
}

.reiseziel-country-card .country-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.reiseziel-country-card .country-meta {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.92;
}

/* Hover: Karte etwas dunkler & leicht anheben – ohne extra Effekte */

.reiseziel-country-card:hover {
    background: #7bb6eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Sicherheitshalber: keine Unterstreichung bei Links im Card-Text */
.reiseziel-country-card a,
.reiseziel-country-card a:hover {
    text-decoration: none;
}



/* ==========================
   PRIMÄR-BUTTONS
   ========================== */

.mfs-btn,
.button,
.wp-block-button__link {
    background: #8fc5f7;
    color: #ffffff;
    border-radius: 999px;
    border: 1px solid #8fc5f7;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}

.mfs-btn:hover,
.button:hover,
.wp-block-button__link:hover {
    background: #ffffff;
    color: #8fc5f7;
    border-color: #8fc5f7;
    transform: translateY(-1px);
}
/* Überschrift & Button im Länder-Block */

.frontpage-countries .frontpage-section-header h2 {
  /*  color: #87c5f7;*/
	color: #000080;
    margin: 0;
}

.frontpage-countries .frontpage-section-header .mfs-btn {
    background: #8fc5f7;
    color: #ffffff;
	text-decoration: none;
    border-radius: 999px;
    border: 1px solid #8fc5f7;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.frontpage-countries  .mfs-btn:hover {
    background: #ffffff;
    color: #8fc5f7;
    border-color: #8fc5f7;
}
#proFewoSearchIframe {
    width: 100%;
    min-height: 1400px;
    border: 1px solid #8fc5f7;
    border-radius: 12px;
    background: #ffffff;
}

/* =======================================
   STARTSEITE – FEATURED HÄUSER (NEUER LOOK)
   ======================================= */


#iframe-box,
.iframe-box {
    margin-top: 16px;
}

#proFewoHausIframe {
    width: 100%;
    min-height: 650px;
    border: 1px solid #8fc5f7;
    border-radius: 12px;
}
/* ----- HERO-BEREICH FERIENHAUSSUCHE ----- */
.ferienhaussuche-hero {
    width: 100%;
    text-align: center;
    padding: 60px 20px 30px;
    background: #8fc5f7; /* dein Blau */
    color: #ffffff;
}

.ferienhaussuche-hero h1,
.ferienhaussuche-title {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff !important;
}

/* ----- IFRAME BOX ----- */
.ferienhaussuche-iframe iframe {
    width: 100%;
   
    border: 0;
    display: block;
    margin: 0 auto;
}

/* ----- Schlösser-Seite ----- */
.seo-intro-top h2{
	text-align: center;
	color: #000080;
}
.seo-intro-top,
.seo-intro-bottom{
  max-width:95%;
  margin:0 auto 20px;
}

.seo-intro-bottom{
  margin-top:30px;
}

.seo-intro-bottom h2{
  margin-top:22px;
}



