/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Use a modern system font stack for better readability */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #222;
}

header {
  /* White header with full width; inner content is constrained */
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

/* Inner wrapper to align header content with the page container */
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .phone {
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #f4f8fb;
  padding: 6px 10px;
  border-radius: 4px;
  /* Dark grey to match the new palette */
  color: #666;
}

header .logo {
  width: 180px;
  height: 55px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Remove underline from phone link */
header .phone a {
  color: inherit;
  text-decoration: none;
}

/* Navigation */
/* Navigation */
.navbar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Light grey navigation bar */
  background-color: #f3f3f3;
}

.navbar li {
  margin: 0 12px;
}

.navbar a {
  display: block;
  padding: 12px 10px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, border-bottom 0.2s;
}

.navbar a:hover {
  color: #666;
}

.navbar a.active {
  border-bottom: 3px solid #999;
  color: #666;
}

/* Hero section */
/* Hero section */
.hero {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: none;
}

/* Typography spacing */
.main p {
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.main h1,
.main h2,
.main h3 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.main ul,
.main ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}

.main ul li,
.main ol li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}

/* Content layout */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 20px auto;
  padding: 0 15px;
}

.main {
  flex: 2 1 600px;
  padding-right: 15px;
}

.sidebar {
  flex: 1 1 250px;
  padding-left: 15px;
}

/* Sidebar boxes */
.sidebar .box {
  background-color: #f9fcfe;
  margin-bottom: 20px;
  padding: 15px;
  border-left: 4px solid #b0b0b0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar .box h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #666;
}

/* Tables */
/* Price tables */
table.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

table.price-table th, table.price-table td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
}

table.price-table th {
  background-color: #f4f8fb;
}

/* Guestbook styles removed as the guestbook page no longer exists */
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  background-color: #f9fcfe;
  font-size: 0.9rem;
  color: #666;
}

/* Global link styles – schlichte, dezente Gestaltung */
a {
  color: #333;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: #666;
  text-decoration: none;
}

/* Floating call button for mobile devices */
.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f3f3f3;
  color: #333;
  padding: 12px 16px;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border: 1px solid #d8d8d8;
}

/* Show the call button only on small screens */
@media (min-width: 769px) {
  .call-button {
    display: none;
  }
}

@media (max-width: 768px) {
  .call-button {
    display: block;
  }
}

/* Responsive adjustments and hamburger menu using checkbox */
/* Hide the navigation toggle checkbox by default */
.nav-toggle-input {
  display: none;
}

/* Style for the hamburger button (label) */
.nav-toggle {
  display: none;
  /* Simplified styling: remove button-like appearance */
  background-color: transparent;
  border: none;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  padding: 4px 8px;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  /* Stack main and sidebar on small screens */
  .container {
    flex-direction: column;
  }
  .main, .sidebar {
    flex: 1 1 100%;
    padding-right: 0;
    padding-left: 0;
  }
  /* Ensure header items stay in a row */
  .header-inner {
    flex-direction: row;
    align-items: center;
    padding: 15px;
  }
  /* Show hamburger button and align icon with text */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  /* Hide navigation list by default */
  .navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 15px;
  }
  /* Make list items full width */
  .navbar li {
    margin: 0;
    width: 100%;
  }
  .navbar a {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
  }
  /* When the nav-toggle checkbox is checked, show the nav */
  #nav-toggle:checked ~ nav .navbar {
    display: flex;
  }
}