/* === Zimmervermietung Burghammer - Stylesheet === */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

/* === Variables === */
:root {
  --bernstein: #D49A2A;
  --bernstein-dark: #B8860B;
  --bernstein-light: #E8C55A;
  --creme: #FFF8F0;
  --creme-dark: #F0E6D6;
  --gruen: #3A5F3A;
  --gruen-light: #5A7F5A;
  --braun: #2D1F0C;
  --braun-hell: #5C3D1E;
  --braun-hover: #3D2F1C;
  --weiss: #FFFFFF;
  --text: #1A1A1A;
  --text-hell: #666;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* === Reset === */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; font-weight: 400; color: var(--text); background: var(--creme); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === Typography === */
h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; color: var(--braun); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* === Utility === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.btn { display: inline-block; padding: 0.9rem 2.2rem; border-radius: var(--radius); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.05rem; cursor: pointer; transition: all var(--transition); border: none; text-align: center; }
.btn-primary { background: var(--bernstein); color: var(--braun); }
.btn-primary:hover { background: var(--bernstein-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--bernstein); border: 2px solid var(--bernstein); }
.btn-outline:hover { background: var(--bernstein); color: var(--braun); }

/* === Header === */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background var(--transition); padding: 1rem 0; }
header.scrolled { background: rgba(45,31,12,0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--weiss); display: flex; align-items: center; gap: 0.6rem; }
.logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { color: var(--weiss); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
nav a:hover { color: var(--bernstein); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--weiss); transition: all var(--transition); }

/* === Hero === */
.hero { min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, #2D1F0C 0%, #5C3D1E 30%, #B8860B 60%, #3A5F3A 100%); position: relative; overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 70%, rgba(212,154,42,0.15) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 1.5rem; }
.hero h1 { color: var(--weiss); margin-bottom: 1.2rem; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 2rem; }
.hero .btn { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* === USP === */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.usp-card { background: var(--weiss); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: transform var(--transition); }
.usp-card:hover { transform: translateY(-4px); }
.usp-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.usp-card h3 { margin-bottom: 0.5rem; }
.usp-card p { color: var(--text-hell); font-size: 0.95rem; }

/* === Room Cards === */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 2rem; }
.room-card { background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition); }
.room-card:hover { transform: translateY(-4px); }
.room-card img { width: 100%; height: 260px; object-fit: cover; }
.room-card-body { padding: 1.5rem; }
.room-card-body h3 { margin-bottom: 0.8rem; }
.room-card-body ul { list-style: none; margin-bottom: 1.2rem; }
.room-card-body ul li { padding: 0.2rem 0; color: var(--text-hell); font-size: 0.9rem; }
.room-card-body ul li::before { content: '✓ '; color: var(--gruen); font-weight: 700; }
.room-card-body .btn { width: 100%; }

/* === Price Table === */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.price-card { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; text-align: center; }
.price-card.highlight { border: 2px solid var(--bernstein); transform: scale(1.02); }
.price-amount { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.5rem; color: var(--bernstein-dark); margin: 1rem 0 0.3rem; }
.price-label { color: var(--text-hell); font-size: 0.9rem; margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 1.5rem; }
.price-features li { padding: 0.4rem 0; font-size: 0.95rem; }
.price-features li::before { content: '✓ '; color: var(--gruen); font-weight: 700; }

/* === Info Box === */
.info-box { background: var(--weiss); border-left: 4px solid var(--bernstein); padding: 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.info-box h3 { margin-bottom: 0.5rem; color: var(--bernstein-dark); }

/* === Table === */
.table-wrap { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
thead { background: var(--bernstein); color: var(--braun); }
thead th { padding: 1rem; text-align: left; font-family: 'Outfit', sans-serif; font-weight: 600; }
tbody td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--creme-dark); }
tbody tr:hover { background: var(--creme); }
tbody tr:last-child td { border-bottom: none; }
.col-nr { width: 50px; text-align: center; color: var(--text-hell); }

/* === Gallery Grid === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition); }
.gallery-grid img:hover { transform: scale(1.03); }

/* === Room Gallery (Subpage) === */
.room-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.room-gallery img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* === Room Features Grid === */
.room-features-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; }
.feature-col h3 { color: var(--bernstein-dark); margin-bottom: 0.8rem; font-size: 1.1rem; }
.feature-col ul { list-style: none; }
.feature-col ul li { padding: 0.3rem 0; color: var(--text-hell); }
.feature-col ul li::before { content: '✓ '; color: var(--gruen); font-weight: 700; }
.price-col { text-align: center; background: var(--creme-dark); padding: 1.5rem; border-radius: var(--radius); }
@media (max-width: 768px) {
  .room-features-grid { grid-template-columns: 1fr; }
  .room-gallery { grid-template-columns: 1fr; }
}

/* === Contact CTA === */
.cta-section { background: linear-gradient(135deg, var(--braun), var(--braun-hell)); color: var(--weiss); text-align: center; }
.cta-section h2 { color: var(--weiss); }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-section .btn-primary { background: var(--bernstein); }
.cta-section .btn-primary:hover { background: var(--bernstein-light); }

/* === Map Section === */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 2rem 0; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; }
.arrival-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.arrival-card { background: var(--weiss); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.arrival-card h3 { margin-bottom: 0.5rem; }

/* === Page Hero (Subpages) === */
.page-hero { padding: 8rem 0 3rem; background: linear-gradient(135deg, var(--braun), var(--braun-hell)); color: var(--weiss); text-align: center; }
.page-hero h1 { color: var(--weiss); margin-bottom: 0.5rem; }

/* === Footer === */
footer { background: var(--braun); color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: var(--bernstein); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-col p, .footer-col a { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--bernstein); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); margin: 0 0.5rem; }
.footer-bottom a:hover { color: var(--bernstein); }

/* === Impressum / Datenschutz Content === */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: 0.8rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content ul li { margin-bottom: 0.3rem; }

/* === Responsive === */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px; height: 100vh; background: var(--braun); flex-direction: column; padding: 5rem 2rem 2rem; transition: right var(--transition); gap: 1rem; }
  nav.active { right: 0; }
  .hero { min-height: 70vh; }
  section { padding: 3rem 0; }
  .room-grid { grid-template-columns: 1fr; }
  .price-card.highlight { transform: none; }
  .arrival-info { grid-template-columns: 1fr; }
}
