:root {
  --bg: #f5f5f5;
  --bg-soft: #ffffff;
  --text: #2f2f2f;
  --text-light: #5f5f5f;
  --primary: #8b0f12;
  --primary-dark: #64090b;
  --accent: #bcbcbc;
  --border: #dddddd;
  --shadow: 0 10px 28px rgba(0,0,0,0.08);
  --radius: 18px;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.topbar {
  background: #ececec;
  border-bottom: 1px solid #d8d8d8;
  color: #555;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,245,245,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
}

.brand-area {
  padding: 22px 0 10px;
  text-align: center;
}

.brand-area h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1;
  color: var(--primary);
  text-shadow: 2px 2px 0 #ffffff, 4px 4px 0 rgba(0,0,0,0.18);
  letter-spacing: 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 0 18px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 17px;
  color: #303030;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: url('http://www.hilbringerschloss.de/img/Schlossansicht.jpg') center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.56) 0%,
    rgba(0, 0, 0, 0.40) 32%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.06) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: end;
  padding: 84px 0 66px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 760px;
  position: relative;
  z-index: 2;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.50);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.96);
  max-width: 760px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.50);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.btn,
.btn-outline {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.25s ease;
}

.btn {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.18);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
  color: rgba(255,255,255,0.94);
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.booking-box {
  background: rgba(255,255,255,0.97);
  color: var(--text);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  position: relative;
  z-index: 2;
}

.booking-box h3 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.booking-box p {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 15px;
  text-shadow: none;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  font-size: 14px;
  font-weight: bold;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 15px;
  background: white;
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,15,18,0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.section-head .subtitle {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-light);
  font-size: 17px;
  max-width: 780px;
}

.card,
.feature-card,
.info-card,
.timeline-item,
.faq-item,
.review,
.note-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.intro-grid,
.two-col,
.pool-grid,
.business-grid,
.guide-grid,
.history-grid,
.contact-grid,
.faq-grid,
.footer-top {
  display: grid;
  gap: 24px;
  align-items: center;
}

.intro-grid,
.two-col,
.pool-grid,
.business-grid,
.guide-grid,
.contact-grid,
.faq-grid {
  grid-template-columns: 1fr 1fr;
}

.intro-image,
.history-image,
.pool-image,
.guide-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.intro-image img,
.history-image img,
.pool-image img,
.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-card,
.text-block,
.contact-box {
  padding: 34px;
}

.intro-card p,
.text-block p,
.contact-box p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pill-list span {
  background: #efefef;
  color: var(--primary-dark);
  border: 1px solid #ddd;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.info-card p,
.info-card li {
  color: var(--text-light);
  font-size: 15px;
}

.info-card ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.location-tag {
  color: var(--primary);
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

.card p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta span {
  background: #f0f0f0;
  border: 1px solid #ddd;
  color: #555;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.cta-band {
  background: linear-gradient(135deg, #7d0d11 0%, #a31216 100%);
  color: white;
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
  font-size: 17px;
  max-width: 900px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 28px;
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f1e3e3;
  color: var(--primary-dark);
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 24px;
}

.timeline-item h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  padding: 28px;
}

.review .stars {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}

.review p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.review strong {
  color: var(--primary-dark);
}

.faq-item {
  padding: 22px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.faq-item p {
  color: var(--text-light);
}

.contact-wrapper {
  background: #2b2b2b;
  color: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-box {
  background: rgba(255,255,255,0.05);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-details div {
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-form {
  background: rgba(255,255,255,0.96);
  color: var(--text);
  border-radius: 22px;
  padding: 24px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

footer {
  margin-top: 70px;
  background: #e8e8e8;
  border-top: 1px solid #d2d2d2;
  color: #444;
  padding: 34px 0;
}

.footer-top {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.footer-top h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.footer-top p,
.footer-top li,
.footer-top a {
  color: #555;
  font-size: 15px;
}

.footer-top ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #cfcfcf;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #666;
}

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .two-col,
  .pool-grid,
  .business-grid,
  .guide-grid,
  .history-grid,
  .contact-grid,
  .faq-grid,
  .apartments-grid,
  .feature-grid,
  .reviews-grid,
  .footer-top,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .intro-grid,
  .two-col,
  .pool-grid,
  .business-grid,
  .guide-grid,
  .history-grid,
  .contact-grid,
  .faq-grid,
  .apartments-grid,
  .feature-grid,
  .reviews-grid,
  .footer-top,
  .info-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .brand-area h1 {
    font-size: 50px;
  }

  .hero {
    min-height: auto;
    background-position: center center;
  }

  .hero-grid {
    padding: 68px 20px 50px;
    width: 100%;
    gap: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-points {
    gap: 12px;
    font-size: 14px;
  }

  .intro-card,
  .text-block,
  .contact-box,
  .contact-wrapper {
    padding: 24px;
  }

  .nav {
    justify-content: flex-start;
  }
}