/* ============================================== Gästehaus Edeltraud – Modern Static Site ============================================== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --green-900: #1b3a1a; --green-800: #2a5a27; --green-700: #356b31; --green-100: #e8f2e7; --green-50: #f4f8f3; --gold-500: #c4952e; --gold-100: #fdf6e8; --cream: #faf7f0; --white: #ffffff; --gray-900: #1a1a1a; --gray-700: #444444; --gray-600: #666666; --gray-400: #a0a0a0; --gray-200: #e5e5e5; --gray-100: #f5f5f5; --radius: 8px; --radius-lg: 12px; --shadow: 0 2px 12px rgba(0,0,0,.08); --shadow-lg: 0 8px 30px rgba(0,0,0,.12); --max-width: 1100px; --nav-height: 64px; } html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); } body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: var(--gray-700); background: var(--cream); -webkit-font-smoothing: antialiased; } /* ---- Navigation ---- */ .nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); backdrop-filter: blur(8px); } .nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: var(--nav-height); } .nav-logo { font-weight: 700; font-size: 1.1rem; color: var(--green-800); text-decoration: none; } .nav-links { display: flex; list-style: none; gap: 8px; } .nav-links a { display: block; padding: 8px 16px; color: var(--gray-700); text-decoration: none; font-weight: 500; border-radius: var(--radius); transition: background .15s, color .15s; } .nav-links a:hover, .nav-links a:focus-visible { background: var(--green-100); color: var(--green-800); } .nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; } .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: transform .2s, opacity .2s; } .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-toggle.open span:nth-child(2) { opacity: 0; } .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* ---- Hero ---- */ .hero { background: url('HP-Haus2.jpg') center / cover no-repeat; min-height: 520px; display: flex; align-items: center; position: relative; } .hero-overlay { width: 100%; min-height: 520px; background: linear-gradient(180deg, rgba(27,58,26,.7) 0%, rgba(27,58,26,.45) 100%); display: flex; align-items: center; justify-content: center; padding: 80px 24px; } .hero-content { text-align: center; color: var(--white); max-width: 700px; } .hero-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 12px; letter-spacing: -.5px; text-shadow: 0 2px 12px rgba(0,0,0,.25); } .hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 500; margin-bottom: 8px; opacity: .95; } .hero-location { font-size: .95rem; opacity: .8; margin-bottom: 28px; } /* ---- Buttons ---- */ .btn { display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 600; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: none; transition: background .15s, transform .1s; } .btn:active { transform: scale(.97); } .btn-primary { background: var(--gold-500); color: var(--white); } .btn-primary:hover { background: #b0842a; } .btn-secondary { background: var(--white); color: var(--green-800); border: 2px solid var(--green-800); } .btn-secondary:hover { background: var(--green-100); } /* ---- Sections ---- */ .section { padding: 80px 24px; } .section:nth-child(even) { background: var(--white); } .container { max-width: var(--max-width); margin: 0 auto; } h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-900); margin-bottom: 12px; letter-spacing: -.3px; } .sub-heading { font-size: 1.35rem; color: var(--green-800); margin: 48px 0 20px; } .lead { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 40px; max-width: 650px; } /* ---- Features ---- */ .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; } .feature { background: var(--white); padding: 32px 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; } .feature-icon { color: var(--green-700); margin-bottom: 16px; } .feature h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: 8px; } .feature p { font-size: .92rem; color: var(--gray-600); } /* ---- Rooms ---- */ .room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; } .room-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; } .room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .room-img { width: 100%; height: 220px; object-fit: cover; display: block; } .room-img-row { display: grid; grid-template-columns: 1fr 1fr; } .room-img-row img { width: 100%; height: 220px; object-fit: cover; display: block; } .room-body { padding: 20px 24px; } .room-body h3 { font-size: 1.15rem; color: var(--green-900); margin-bottom: 8px; } .room-body p { font-size: .92rem; color: var(--gray-600); } /* ---- Amenities ---- */ .amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; } .amenity-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; } .amenity-card h4 { font-size: 1.05rem; color: var(--green-800); margin-bottom: 16px; } .img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .img-row img, .img-single img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); } /* ---- Impressions ---- */ .impressions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; } .impressions-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); } /* ---- Prices ---- */ .price-table-wrapper { overflow-x: auto; margin: 0 -4px; } .price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); } .price-table thead { background: var(--green-800); color: var(--white); } .price-table th { padding: 14px 20px; text-align: left; font-weight: 600; font-size: .92rem; letter-spacing: .3px; text-transform: uppercase; } .price-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-200); font-size: .95rem; } .price-table tbody tr:last-child td { border-bottom: none; } .price-table tbody tr:hover { background: var(--green-50); } .price-table td:last-child { font-weight: 600; color: var(--green-800); white-space: nowrap; } .surcharge { margin-top: 20px; padding: 14px 20px; background: var(--gold-100); border-radius: var(--radius); font-size: .95rem; color: var(--gray-700); border-left: 4px solid var(--gold-500); } /* ---- Location ---- */ .address-block { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; text-align: center; } .address-block h3 { font-size: 1.1rem; color: var(--green-800); margin-bottom: 12px; } .address-block address { font-style: normal; line-height: 1.8; margin-bottom: 24px; color: var(--gray-700); } /* ---- Contact ---- */ .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; } .contact-info h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; color: var(--green-700); margin-top: 20px; margin-bottom: 4px; } .contact-info h3:first-child { margin-top: 0; } .contact-info p, .contact-info address { font-style: normal; line-height: 1.8; color: var(--gray-700); } .contact-info a { color: var(--green-700); text-decoration: none; font-weight: 500; } .contact-info a:hover { text-decoration: underline; } /* ---- Contact Form ---- */ .contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; } .form-note { font-size: .95rem; color: var(--gray-600); margin-bottom: 20px; } .form-group { margin-bottom: 18px; } .form-group label { display: block; font-size: .88rem; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; } .required { color: #c44; } .form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: .95rem; font-family: inherit; color: var(--gray-900); background: var(--gray-100); transition: border-color .15s, box-shadow .15s; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(53,107,49,.15); background: var(--white); } /* ---- Footer ---- */ .footer { background: var(--green-900); color: rgba(255,255,255,.7); text-align: center; padding: 28px 24px; font-size: .88rem; } /* ---- Responsive ---- */ @media (max-width: 768px) { .nav-toggle { display: flex; } .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 12px 24px; gap: 2px; box-shadow: var(--shadow-lg); } .nav-links.open { display: flex; } .nav-links a { padding: 12px 16px; border-radius: var(--radius); } .section { padding: 60px 20px; } .contact-grid { grid-template-columns: 1fr; gap: 32px; } .room-grid { grid-template-columns: 1fr; } .amenities-grid { grid-template-columns: 1fr; } .impressions-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .price-table thead { display: none; } .price-table tr { display: block; margin-bottom: 12px; border-bottom: 2px solid var(--gray-200); } .price-table td { display: block; text-align: right; border-bottom: none; padding: 8px 16px; } .price-table td::before { content: attr(data-label); float: left; font-weight: 600; color: var(--green-800); } .impressions-grid { grid-template-columns: 1fr; } }