/* =========================================================
   Darkling Pulse Reisen – Elegant Classic Responsive CSS
   Author: Professional UI & CSS Developer
   ========================================================= */

/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ===== BRAND VARIABLES ===== */
:root {
  --brand-primary: #23223A;
  --brand-secondary: #D4AD7A;
  --brand-accent: #F5F6FA;
  --brand-black: #15151F;
  --brand-white: #fff;
  --gray-100: #F5F5F3;
  --gray-200: #E2E2DD;
  --gray-300: #D6D6D0;
  --gray-900: #1D1C26;
  --shadow-card: 0 6px 22px rgba(35,34,58,0.07);
  --radius-lg: 20px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--brand-accent);
  color: var(--brand-primary);
  letter-spacing: 0.005em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.1;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.14rem;
  font-family: var(--font-body);
  letter-spacing: .01em;
  color: var(--brand-secondary);
  margin-bottom: 32px;
}
.cta-text {
  font-size: 1.22rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--brand-primary);
}
strong {
  font-weight: 600;
}
ul {
  list-style-type: disc;
  margin-bottom: 16px;
}

/* ===== LAYOUT & SPACING ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Flexbox structured card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--brand-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 22px;
  min-width: 270px;
  flex: 1 1 330px;
  transition: box-shadow 0.26s;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(35,34,58,0.10);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(35,34,58,0.06);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--brand-accent);
  box-shadow: 0 1px 6px rgba(35,34,58,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
nav.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}
.cta-btn {
  background: var(--brand-primary);
  color: var(--brand-white);
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  box-shadow: 0 4px 22px rgba(35,34,58,0.09);
  transition: background 0.26s, color 0.18s, box-shadow 0.20s;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 24px rgba(35,34,58,0.14);
  text-decoration: none;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2.1rem;
  border-radius: var(--radius-sm);
  padding: 4px 15px;
  margin-left: 16px;
  border: none;
  box-shadow: 0 2px 10px rgba(35,34,58,0.07);
  cursor: pointer;
  transition: background .13s, color .13s;
  z-index: 106;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
}

/* Mobile Menu Overlay and Slide-in */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,34,58,0.98);
  box-shadow: 0 8px 32px rgba(35,34,58,0.28);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.44,.14,.18,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  color: var(--brand-secondary);
  font-size: 2.1rem;
  border: none;
  z-index: 122;
  padding: 4px 8px;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-white);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 92px;
  margin-left: 38px;
}
nav.mobile-nav a {
  font-size: 1.22rem;
  color: var(--brand-white);
  font-family: var(--font-display);
  letter-spacing: .02em;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 0;
  transition: color .17s, text-decoration .17s, border-bottom .17s;
}
nav.mobile-nav a:hover, nav.mobile-nav a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}


/* ===== HERO & SECTIONS ===== */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main section:first-child {
  margin-top: 28px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: space-between;
}
.feature-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 16px rgba(35,34,58,0.06);
  flex: 1 1 230px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 280px;
  transition: box-shadow .2s;
  border-left: 6px solid var(--brand-secondary);
}
.feature-card img {
  width: 48px;
  height: 48px;
}
.feature-card h3 {
  color: var(--brand-primary);
  font-size: 1.18rem;
}
.feature-card p {
  font-size: 1rem;
  letter-spacing: .01em;
}
.feature-card:hover {
  box-shadow: 0 8px 24px rgba(35,34,58,0.11);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-teaser {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  flex: 1 1 215px;
  min-width: 220px;
  max-width: 320px;
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.19s, background 0.17s;
}
.service-teaser:hover {
  background: var(--brand-white);
  box-shadow: 0 8px 32px rgba(35,34,58,0.14);
}
.price-highlight {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 10px;
}
.exclusive-extras ul {
  padding-left: 1.2em;
  list-style: disc;
  color: var(--brand-primary);
  font-size: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 13px rgba(35,34,58,0.06);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 650px;
  border-left: 5px solid var(--brand-secondary);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--brand-primary);
}
.testimonial-card span {
  color: var(--brand-secondary);
  font-size: 1rem;
  font-family: var(--font-body);
}
.star-rating-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 1.09rem;
}
.star-rating-summary img {
  width: 80px;
  height: 18px;
}

/* ===== TEXT SECTION EXTRA ===== */
.text-section {
  margin-bottom: 18px;
  padding-bottom: 4px;
}
.text-section p, .text-section ul {
  color: var(--brand-primary);
}

/* ===== FOOTER ===== */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  margin-top: 60px;
  padding: 42px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}
nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
nav.footer-nav a {
  color: var(--brand-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .18s;
}
nav.footer-nav a:hover, nav.footer-nav a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
}
.footer-contact p, .footer-contact a {
  color: var(--brand-accent);
  font-size: 0.98rem;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.footer-contact a {
  text-decoration: underline;
  word-break: break-all;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--brand-secondary);
  text-decoration: none;
}

/* ===== CARDS: GENERAL USE ===== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 2px var(--gray-200);
  outline: none;
}
label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 5px;
}

/* ===== BUTTONS & INTERACTIVE ===== */
button, .btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background 0.24s, color 0.18s, box-shadow .15s;
  padding: 12px 28px;
  background: var(--brand-primary);
  color: var(--brand-accent);
}
button.btn-alt, .btn-alt {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 5px 18px rgba(35,34,58,0.08);
}

/* Hover effect for .cta-btn already above */
a:active, button:active {
  opacity: 0.88;
}


/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brand-white);
  color: var(--brand-primary);
  box-shadow: 0 -1px 18px rgba(35,34,58,0.10);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 26px 20px 20px 20px;
  z-index: 180;
  animation: slidein-banner .45s cubic-bezier(.38,.13,.27,1);
}
@keyframes slidein-banner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-text {
  max-width: 720px;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .btn {
  font-size: 1rem;
  padding: 10px 23px;
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  border: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transition: background 0.21s, color 0.17s;
}
.cookie-banner button:hover, .cookie-banner .btn:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
}
.cookie-banner .btn-settings {
  background: var(--brand-primary);
  color: var(--brand-white);
  border: 1px solid var(--brand-secondary);
}
.cookie-banner .btn-settings:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* Cookie modal preferences */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35,34,58,0.56);
  z-index: 201;
  display: none;
  animation: fadein-backdrop .28s;
}
.cookie-modal-backdrop.active {
  display: block;
}
@keyframes fadein-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%) scale(0.97);
  background: var(--brand-white);
  color: var(--brand-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(35,34,58,0.17);
  width: 95vw;
  max-width: 420px;
  z-index: 205;
  padding: 34px 24px 28px 24px;
  opacity: 1;
  animation: modalIn .35s cubic-bezier(.45,.13,.13,1);
  display: none;
}
.cookie-modal.active {
  display: block;
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -60%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -52%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: var(--brand-primary);
  margin-bottom: 18px;
  font-family: var(--font-display);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal input[type='checkbox'] {
  width: 22px; height: 22px;
  accent-color: var(--brand-secondary);
}
.cookie-modal .cookie-category.essential label {
  color: var(--brand-secondary);
  font-weight: bold;
}
.cookie-modal .modal-btn-group {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 21px;
}
.cookie-modal button {
  font-size: 1rem;
  padding: 10px 18px;
  background: var(--brand-primary);
  color: var(--brand-white);
  border: none;
  border-radius: var(--radius-sm);
}
.cookie-modal button.btn-secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: transparent;
  color: var(--brand-primary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: var(--brand-secondary);
}

/* ===== MEDIA QUERIES (MOBILE-FIRST) ===== */
@media (max-width: 990px) {
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
  .features-grid, .services-list {
    justify-content: flex-start;
  }
}
@media (max-width: 780px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 64px;
    gap: 8px;
  }
  nav.main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.22rem;
  }
  .container {
    padding: 0 7px;
  }
  .card-container, .features-grid, .services-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .section, main section {
    padding: 22px 0;
    margin-bottom: 32px;
  }
  .footer-contact p {
    font-size: .93rem;
  }
  .footer-logo img {
    height: 36px;
  }
  .star-rating-summary img {
    width: 68px;
    height: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px 10px;
    max-width: 100%;
  }
}
@media (max-width: 620px) {
  .container, footer .container {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: flex-start !important;
  }
  .footer-logo {
    margin-bottom: 6px;
  }
  nav.footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
  }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  nav.main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    font-size: 1rem;
    padding: 12px 17px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 530px) {
  .section, main section {
    padding: 12px 0;
    margin-bottom: 24px;
  }
  .feature-card, .service-teaser, .card {
    padding: 16px 12px;
  }
  .testimonial-card {
    padding: 12px 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 17px 7px 18px 7px;
    font-size: .97rem;
  }
}

/* ===== UTILITY & ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.7s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Spacing helpers */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }

/* Elegant Class for Classic Effects */
.elegant-shadow {
  box-shadow: 0 4px 36px rgba(35,34,58,0.09) !important;
}
.rounded-lg {
  border-radius: var(--radius-lg) !important;
}

/* Accessibility: Focus outlines */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* Remove default outline on blur */
a, button { outline: none; }

/*-- Remove last element extra margin --*/
.content-wrapper > *:last-child, .section > *:last-child { margin-bottom: 0 !important; }

/* ===== END OF CSS ===== */
