: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);
}

/* Hamburger-Button: Desktop ausgeblendet, mobil sichtbar */
.menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


.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-wrapper p {
  color: #ffffff !important;
}

.contact-wrapper .section-kicker {
  color: #8b1e2d !important;
}
.contact-wrapper .kontakt-label,
.kontakt-label {
  color: #8b0f12 !important;
}
.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 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 180px;
  gap: 40px;
  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-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-logo img {
  width: 165px;
  height: auto;
  max-width: 100%;
  display: block;
}

.footer-logo img:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

.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,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr 180px;
  }
}

@media (max-width: 760px) {
  .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;
  }

  header {
    position: sticky;
    top: 0;
  }

  .brand-area {
    padding: 18px 72px 18px 0;
    text-align: left;
  }

  .brand-area h1 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    width: auto;
    margin: 0;
    padding: 14px;
    background: rgba(255,255,255,0.98);
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 17px;
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.active {
    background: #f5e8e8;
    color: var(--primary);
    border-color: transparent;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }

  .topbar-left,
  .topbar-right {
    display: grid;
    gap: 6px;
  }

  .topbar-left span:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
    background-image: url("/img/Schlossansicht-handy.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    padding: 68px 20px 50px;
  }

  .hero-grid > div:first-child {
    order: 1;
  }

  .hero-booking-shell {
    order: 2;
    margin-top: 20px;
  }

  .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;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    width: 140px;
  }
}
.cookie-banner {
  position: fixed;
  inset: auto 20px 20px 20px;
  z-index: 99999;
}

.cookie-box {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  padding: 22px;
}

.cookie-box h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.cookie-box p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 14px;
}

.cookie-box a {
  color: var(--primary);
  font-weight: bold;
}

.cookie-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: bold;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button,
.cookie-settings {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: bold;
  cursor: pointer;
}

#cookie-accept-all {
  background: var(--primary);
  color: #fff;
}

#cookie-save {
  background: #efefef;
  color: var(--text);
}

#cookie-reject {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.cookie-settings {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99998;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}

@media (max-width: 760px) {
  .cookie-banner {
    inset: auto 12px 12px 12px;
  }

  .cookie-box {
    padding: 18px;
    border-radius: 18px;
  }

  .cookie-actions {
    display: grid;
  }

  .cookie-actions button {
    width: 100%;
  }

  .cookie-settings {
    left: 12px;
    bottom: 12px;
  }
}

.hero-mobile-card{
  display:none;
}

@media (max-width:760px){

  .desktop-hero-content{
    display:none;
  }

  .hero{
    min-height:auto;
  }

  .hero-content{
    min-height:58vh;
    padding:46px 20px 34px;
    justify-content:flex-start;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.48) 100%),
      url('/img/Schlossansicht-handy.jpg') center center / cover no-repeat;
  }

  .hero h2{
    margin-top:18px;
  }

  .hero-mobile-card{
    display:block;
    background:#fff;
    padding:34px 0 38px;
  }

  .hero-mobile-card p{
    font-size:17px;
    line-height:1.7;
    color:var(--text);
    margin-bottom:24px;
  }

  .hero-mobile-card .hero-actions{
    display:block;
    margin-bottom:24px;
  }

  .hero-mobile-card .btn-outline{
    display:block;
    width:100%;
    text-align:center;
    background:var(--primary);
    color:#fff;
    border:none;
    padding:16px 22px;
  }

  .hero-mobile-card .hero-points{
    display:grid;
    gap:12px;
    color:var(--text);
  }

  .hero-mobile-card .hero-points span{
    display:block;
    background:#f7f7f7;
    border-radius:16px;
    padding:12px 14px;
  }
}
#kontakt .subtitle,
#kontakt .section-kicker,
.kontakt-label {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: block;
  text-transform: uppercase;
}

.wappen-mit-bild img {
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  object-fit: contain;
}
.cta-band h2 {
  color: #ffffff !important;
}
.umgebung-hero {
  margin: 40px 0 34px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.umgebung-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.saarschleife-info {
  padding: 38px;
  margin-bottom: 34px;
}

.saarschleife-content h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}

.saarschleife-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 980px;
  margin-bottom: 18px;
}

@media (max-width: 760px) {

  .umgebung-hero {
    margin: 28px 0 24px;
    border-radius: 22px;
  }

 .umgebung-hero img {
  height: auto;
  object-fit: contain;
  }

  .saarschleife-info {
    padding: 24px;
    margin-bottom: 24px;
  }

  .saarschleife-content h2 {
    font-size: 34px;
  }

  .saarschleife-content p {
    font-size: 16px;
    line-height: 1.7;
  }
}
.brand-title {
  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;
}

@media (max-width: 760px) {
  .brand-title {
    font-size: clamp(34px, 10vw, 50px);
  }
}