/* ===== CSS Variables ===== */ :root { --bg: #ffffff; --bg-alt: #f5f5f0; --text: #333333; --text-muted: #5e5e5e; --primary: #e08309; --primary-h: #b86800; --border: #ddd; --card-bg: #fff; --card-shadow: 0 2px 8px rgba(0,0,0,0.08); --radius: 8px; --max-width: 1100px; --nav-height: 64px; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #1a1a1a; --bg-alt: #242424; --text: #ececec; --text-muted: #a8a8a8; --primary: #f4a03a; --primary-h: #f6b463; --border: #3a3a3a; --card-bg: #242424; --card-shadow: 0 2px 8px rgba(0,0,0,0.3); } } /* ===== Reset ===== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; scroll-behavior: smooth; } body { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; } a { color: var(--primary); text-decoration: none; } a:hover { color: var(--primary-h); text-decoration: underline; } img { max-width: 100%; height: auto; display: block; } /* ===== Container ===== */ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; } /* ===== Navigation ===== */ .nav { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--border); height: var(--nav-height); } .nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .nav-logo { display: flex; align-items: center; white-space: nowrap; text-decoration: none; } .nav-logo-img { height: 42px; width: auto; display: block; } .logo-dark { display: none; } @media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } } .nav-menu { display: flex; list-style: none; gap: 0.25rem; } .nav-menu a { display: block; padding: 0.4rem 0.75rem; color: var(--text); border-radius: var(--radius); font-size: 0.95rem; text-decoration: none; } .nav-menu a:hover, .nav-menu a.active { background: var(--bg-alt); color: var(--primary); } .nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); } @media (max-width: 700px) { .nav-toggle { display: block; } .nav-menu { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem 1.5rem; gap: 0.25rem; } .nav-menu.open { display: flex; } } /* ===== Hero / Titelbild ===== */ .hero { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; } .hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); } .hero-inner { position: relative; z-index: 1; padding: 6rem 1.5rem; text-align: center; } .hero h1 { color: #fff; font-size: 2.9rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 14px rgba(0,0,0,0.7); margin: 0; } @media (max-width: 600px) { .hero-inner { padding: 4rem 1.5rem; } .hero h1 { font-size: 1.9rem; } } /* ===== Seiten-Banner (z.B. Kontakt) ===== */ .page-banner { background-size: cover; background-position: center; background-repeat: no-repeat; height: 340px; } @media (max-width: 600px) { .page-banner { height: 200px; } } /* ===== Willkommen ===== */ .welcome { background: var(--bg-alt); padding: 5rem 1.5rem; text-align: center; } .welcome-inner { max-width: 720px; margin: 0 auto; color: var(--text); } .welcome h1 { color: var(--primary); font-size: 2.6rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; } .welcome-sub { font-size: 1.3rem; font-weight: 600; color: var(--text); margin-bottom: 1.5rem; } .welcome-text { font-size: 1.05rem; line-height: 1.7; } .welcome-text p { margin-bottom: 1rem; } .welcome-cta { margin-top: 1.5rem; } @media (max-width: 600px) { .welcome h1 { font-size: 1.9rem; } } /* ===== Foto-Inhaltsbänder (Bild neben Text) ===== */ .feature { padding: 3rem 0; } .feature:nth-of-type(even) { background: var(--bg-alt); } .feature-inner { display: flex; align-items: stretch; /* Bildhöhe = Texthöhe (Überschrift + ~6 Zeilen) */ gap: 2.5rem; } .feature--reverse .feature-inner { flex-direction: row-reverse; } .feature-img { flex: 0 0 42%; } .feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--card-shadow); } .feature-text { flex: 1; align-self: center; } .feature-text h2 { color: var(--primary); font-size: 1.7rem; margin-bottom: 1rem; } .feature-text p { color: var(--text); font-size: 1.05rem; line-height: 1.7; } @media (max-width: 700px) { .feature-inner, .feature--reverse .feature-inner { flex-direction: column; gap: 1.25rem; } .feature-img { flex: none; } .feature-img img { height: 220px; } } /* ===== Buttons ===== */ .btn { display: inline-block; padding: 0.65rem 1.4rem; border-radius: var(--radius); font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); } .btn:hover { background: var(--border); text-decoration: none; } .btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); margin-right: 0.5rem; } .btn-primary:hover { background: var(--primary-h); border-color: var(--primary-h); color: #fff; } .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); } .btn-outline:hover { background: var(--primary); color: #fff; } /* ===== Highlights ===== */ .highlights { padding: 4rem 0; } .highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; } .highlight-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; } .highlight-icon { font-size: 2rem; margin-bottom: 0.75rem; } .highlight-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; } .highlight-card p { color: var(--text-muted); font-size: 0.9rem; } /* ===== Belegungsplan (Übersicht ein-/ausblenden) ===== */ .belegungsplan-toggle { margin: 1rem 0 2.5rem; } .belegungsplan-frame { margin-top: 1.5rem; } .belegungsplan-frame[hidden] { display: none; } /* ===== FeWo Grid ===== */ .fewo-preview { background: var(--bg-alt); padding: 4rem 0; } .fewo-preview h2, .fewo-preview > .container > h2 { margin-bottom: 2rem; font-size: 1.8rem; } .fewo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; } .fewo-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); } .fewo-card-imglink { display: block; } .fewo-card-img { width: 100%; height: 200px; object-fit: cover; transition: opacity 0.2s; } .fewo-card-imglink:hover .fewo-card-img { opacity: 0.9; } .fewo-card-body { padding: 1.5rem; } .fewo-card-body h2, .fewo-card-body h3 { margin-bottom: 0.5rem; font-size: 1.2rem; } .fewo-card-body h2 a, .fewo-card-body h3 a { color: var(--text); } .fewo-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.85rem; } .fewo-meta span { background: var(--bg-alt); padding: 0.2rem 0.6rem; border-radius: 20px; color: var(--text-muted); border: 1px solid var(--border); } /* ===== Lage Section ===== */ .lage { padding: 4rem 0; } .lage h2 { margin-bottom: 1rem; font-size: 1.8rem; } .lage p { margin-bottom: 1.5rem; max-width: 680px; color: var(--text-muted); } /* ===== Einzelne FeWo Seite ===== */ .fewo-header { margin-bottom: 2rem; } .fewo-header h1 { margin-bottom: 0.75rem; } .fewo-content { margin: 2rem 0; } .fewo-content h2 { margin: 1.5rem 0 0.5rem; font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; } /* ===== Karten-Grid (wiederverwendet für Umfeld + Ausstattung) ===== */ .spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } @media (max-width: 760px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } } .spec-block { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; } .spec-block h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 0.5rem; } .spec-block ul { padding-left: 1.25rem; margin: 0; } .spec-block li { margin-bottom: 0.2rem; } /* ===== Umfeld (gemeinsame Ausstattung aller Ferienwohnungen) ===== */ .umfeld { margin-top: 3rem; scroll-margin-top: calc(var(--nav-height) + 1rem); } .umfeld-intro { color: var(--text-muted); margin-bottom: 1.5rem; } .umfeld-gruppe { margin-top: 2rem; } .umfeld-gruppe:first-of-type { margin-top: 0; } .umfeld-gruppe h2 { margin-bottom: 1rem; font-size: 1.4rem; color: var(--primary); } /* ===== Ausstattung (einzelne Ferienwohnung) ===== */ .ausstattung { margin-top: 2rem; } .ausstattung h2 { margin: 1.5rem 0 1rem; font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; } .ausstattung-hinweis { margin-top: 1.5rem; font-size: 0.95rem; color: var(--text-muted); } /* ===== Ausflugsziele-Gruppen ===== */ .ausflug-gruppe { margin-top: 3rem; } .ausflug-inner { display: flex; align-items: flex-start; gap: 2.5rem; } .ausflug-text { flex: 1 1 50%; min-width: 0; } .ausflug-bild { flex: 1 1 50%; min-width: 0; } .ausflug-gruppe h2 { margin-bottom: 1rem; font-size: 1.5rem; color: var(--primary); } .ausflug-gruppe p { margin-bottom: 0.75rem; color: var(--text); } .ausflug-punkte { list-style: disc; padding-left: 1.5rem; margin: 0; } .ausflug-punkte li { margin-bottom: 0.3rem; } @media (max-width: 800px) { .ausflug-inner { flex-direction: column; } .ausflug-text, .ausflug-bild { flex: 1 1 auto; width: 100%; } } /* ===== Slide-Box (Bildkarussell) ===== */ .slider { position: relative; } .slider-track { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; } .slider-slide { flex: 0 0 auto; width: 260px; height: 180px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--card-shadow); } .slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; } .slider-slide:hover img { opacity: 0.85; } .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--border); background: var(--card-bg); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--card-shadow); font-size: 0.9rem; } .slider-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); } .slider-prev { left: -0.75rem; } .slider-next { right: -0.75rem; } @media (max-width: 700px) { .slider-arrow { display: none; } .slider-slide { width: 200px; height: 140px; } } /* Ausflugsziele: jeweils nur 1 Bild sichtbar, doppelte Höhe */ .slider--single .slider-track { gap: 0; } .slider--single .slider-slide { width: 100%; height: 360px; } @media (max-width: 700px) { .slider--single .slider-slide { height: 280px; } } /* FeWo-Galerie: 4 Bilder nebeneinander, Klick öffnet Lightbox */ .slider--quad { margin-bottom: 2rem; } .slider--quad .slider-slide { flex: 0 0 calc((100% - 3 * 0.75rem) / 4); width: calc((100% - 3 * 0.75rem) / 4); height: 200px; } @media (max-width: 900px) { .slider--quad .slider-slide { flex-basis: calc((100% - 0.75rem) / 2); width: calc((100% - 0.75rem) / 2); height: 180px; } } @media (max-width: 480px) { .slider--quad .slider-slide { flex-basis: 100%; width: 100%; height: 220px; } } /* Lightbox */ .lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; } .lightbox[hidden] { display: none; } .lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); } .lightbox-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; color: #fff; font-size: 2.25rem; line-height: 1; cursor: pointer; } .lightbox-close:hover { color: var(--primary); } .lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; } .lightbox-arrow:hover { background: var(--primary); } .lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; } @media (max-width: 600px) { .lightbox-arrow { width: 2.5rem; height: 2.5rem; } .lightbox-prev { left: 0.5rem; } .lightbox-next { right: 0.5rem; } } /* ===== Buchung ===== */ .buchung { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; text-align: center; } .buchung h2 { margin-bottom: 1rem; } /* ===== Normale Seiten ===== */ .page { padding: 3rem 0; } .page h1 { margin-bottom: 1.5rem; font-size: 2rem; } .page h2 { margin: 2rem 0 0.75rem; font-size: 1.3rem; } .page p { margin-bottom: 1rem; } .page table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; overflow-x: auto; display: block; } .page th, .page td { padding: 0.6rem 1rem; border: 1px solid var(--border); text-align: left; } .page th { background: var(--bg-alt); font-weight: bold; } .page ul { padding-left: 1.5rem; margin-bottom: 1rem; } .page li { margin-bottom: 0.3rem; } /* ===== Footer ===== */ .footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 3rem 0 1rem; margin-top: 4rem; } .footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-col { font-size: 0.9rem; line-height: 1.8; } .footer-col a { color: var(--text-muted); } .footer-col a:hover { color: var(--primary); } .footer-copy { text-align: center; font-size: 0.8rem; color: var(--text-muted); padding: 1rem 1.5rem 0; border-top: 1px solid var(--border); } /* ===== Main ===== */ .main { min-height: calc(100vh - var(--nav-height) - 200px); }