/* ==== ArcFlare Reisen soft pastel Responsive Styles ==== */

/*=============== CSS RESET & BASE ===================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F7FAFC;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #17405E;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { transition: color .2s; color: #17405E; text-decoration: none; }
a:hover, a:focus { color: #A275D4; text-decoration: underline; }
ul, ol { margin: 0 0 20px 20px; padding-left: 20px; }
img { max-width: 100%; display: block; height: auto; border: 0; }

/*=============== BRAND SOFT PASTEL PALETTE =================*/
:root {
  --primary: #17405E;
  --secondary: #FECE4E;
  --accent: #F4F7FA;
  /* Soft pastel extensions */
  --pastel-lavender: #E4E7FA;
  --pastel-pink: #FCE5F6;
  --pastel-mint: #EAF9F2;
  --pastel-blue: #EAF3FB;
  --pastel-yellow: #FFF8E1;
  --pastel-green: #E9F7EB;
  --pastel-coral: #FFE9E4;
  --shadow: 0 4px 16px 0 rgba(140,140,160,0.09);
  --radius: 20px;
  --focus-outline: 0 0 0 3px #a4dbf8;
}

/*=============== TYPOGRAPHY HIERARCHY =================*/
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #326481;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #326481;
}
strong {
  font-weight: bold;
}

/*=============== LAYOUT STRUCTURE =================*/
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/*================ HEADER ========================*/
header {
  background: linear-gradient(90deg, var(--pastel-blue), var(--pastel-yellow));
  box-shadow: 0 2px 12px rgba(60,120,160,0.045);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.logo img {
  height: 52px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--primary);
  transition: background .18s, color .18s;
}
.main-nav a.button-primary {
  background: linear-gradient(90deg,#fcb0c9,#fff5ec);
  color: var(--primary);
  font-weight: 700;
  border: none;
  margin-left: 12px;
  padding: 8px 22px;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(254,206,78,.09);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.main-nav a.button-primary:hover, .main-nav a.button-primary:focus {
  background: linear-gradient(90deg,#fff5ec,#fcb0c9);
  color: #7361E6;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-lavender);
  color: #7361E6;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  padding: 9px 14px;
  border-radius: 14px;
  color: var(--primary);
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(140,140,160,0.07);
  transition: box-shadow .18s, background .18s;
}
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: var(--focus-outline);
}

/*============= MOBILE MENU ==============*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(150deg, var(--pastel-pink) 70%, var(--pastel-blue));
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.52,.02,.4,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 0 30px 24px 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #e07eaf;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 0;
  color: var(--primary);
  border-bottom: 1px solid var(--pastel-lavender);
  transition: background .16s, color .16s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7361E6;
  background: var(--pastel-lavender);
}

/*================ HERO / SECTION LAYOUTS =============*/
.hero {
  background: linear-gradient(145deg, #F7FAFC 70%, var(--pastel-coral) 100%);
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 56px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: var(--primary);
  margin-bottom: 12px;
  text-shadow: 0 1px 0 #fff5f9;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: #4e517e;
}

/*=============== FEATURE GRID & SERVICE CARDS/ITEMS ================*/
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.feature, .service-card {
  background: var(--pastel-lavender);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 22px 26px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .18s, transform .18s;
  margin-bottom: 20px;
}
.feature img, .service-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  filter: saturate(0.92) brightness(1.05);
}
.feature:hover, .service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(60,70,150,0.11);
  transform: translateY(-5px) scale(1.022);
  background: var(--pastel-blue);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-item {
  background: var(--pastel-mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price {
  color: var(--primary);
  font-weight: bold;
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 7px 18px;
  margin-top: 10px;
  font-size: 1.08rem;
  align-self: flex-start;
  letter-spacing: 0.04em;
}

/*======== Testimonial Cards/Slider =======*/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  background: var(--pastel-blue);
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(53,90,107,0.07);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 210px;
  max-width: 420px;
  color: #17324d;
  margin-bottom: 20px;
  align-items: flex-start;
  position: relative;
  border: 1px solid #e8f3ff;
}
.testimonial-card p {
  color: #26336c;
  font-size: 1.06rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #49538c;
  font-size: .98rem;
  font-weight: 500;
}

/*=============== TEXT-IMAGE & FLEX SECTIONS ===============*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-green);
  padding: 22px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .17s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(80,130,190,0.11);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*========== BUTTONS ==========*/
.button-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  border-radius: 28px;
  background: linear-gradient(90deg, var(--secondary) 76%, #fcb0c9 100%);
  color: var(--primary);
  padding: 12px 30px;
  margin: 8px 0;
  border: none;
  box-shadow: 0 2px 10px rgba(254,206,78,0.06);
  cursor: pointer;
  transition: box-shadow .18s, background .21s, color .15s;
  text-decoration: none;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #fcb0c9 45%, var(--secondary));
  color: #7b3883;
  box-shadow: 0 5px 15px rgba(140, 106, 255, 0.14);
  outline: none;
}
.button-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 26px;
  background: var(--pastel-lavender);
  color: var(--primary);
  padding: 10px 26px;
  border: 1.6px solid #e5dffe;
  margin: 8px 0;
  box-shadow: 0 2px 6px rgba(76, 50, 110, 0.06);
  cursor: pointer;
  transition: color .15s, background .19s, border-color .13s;
  text-decoration: none;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #fbeeff;
  color: #993c7f;
  border-color: #DEC3F6;
  outline: none;
}

/*======= FOOTER ========*/
footer {
  background: linear-gradient(90deg, var(--pastel-lavender) 70%, var(--pastel-mint) 100%);
  padding: 44px 0 29px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}
.footer-nav a, .footer-menu a {
  color: var(--primary);
  font-size: .97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 5px 8px;
  border-radius: 8px;
  background: none;
  transition: background .16s, color .16s;
}
.footer-nav a:hover, .footer-menu a:hover, .footer-nav a:focus, .footer-menu a:focus {
  background: var(--pastel-lavender);
  color: #7361E6;
  outline: none;
}
.contact-info {
  margin-top: 12px;
  font-size: .97rem;
  color: #4e6175;
}
.contact-info a {
  color: #517a95;
  text-decoration: underline;
  transition: color .17s;
}
.contact-info a:hover {
  color: #b37fda;
}

/*============= COOKIE CONSENT BANNER & MODAL =============*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 111;
  background: linear-gradient(90deg, var(--pastel-yellow) 80%, var(--pastel-pink) 100%);
  color: #49538c;
  box-shadow: 0 -4px 22px 0 rgba(140,140,140,0.07);
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  letter-spacing: .01em;
  border-radius: 28px 28px 0 0;
  font-size: 1.02rem;
  animation: fadeInBanner .55s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 5px;
}
.cookie-btn-accept {
  background: linear-gradient(90deg,#fcb0c9,#fff5ec);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 19px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(254,206,78,0.07);
  transition: background .19s, color .12s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: linear-gradient(90deg,#fff5ec,#fcb0c9);
  color: #7a338f;
}
.cookie-btn-reject {
  background: var(--pastel-lavender);
  color: #686899;
  border: 1.6px solid #e5dffe;
  border-radius: 16px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 16px;
  cursor: pointer;
  transition: background .16s, color .17s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #fbeeff;
  color: #993c7f;
}
.cookie-btn-settings {
  background: var(--pastel-blue);
  color: #4e6175;
  border: 1px solid #c2d6ec;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .14s, color .15s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #eaf3fb;
  color: #4d68b4;
}

/*--- Cookie modal/popup ---*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 121;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60, 90, 120, 0.20);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: linear-gradient(120deg, var(--pastel-blue) 90%, var(--pastel-lavender) 100%);
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(140,140,160,0.17);
  padding: 44px 34px 32px 34px;
  max-width: 420px;
  min-width: 280px;
  width: 95vw;
  color: #224d6b;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal .34s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(.97) translateY(35px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #3C4979;
  margin-bottom: 14px;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: space-between;
  font-size: 1.01rem;
}
.cookie-cat-row .cookie-cat-toggle {
  appearance: none;
  background-color: #e5e6f5;
  border: 1px solid #d3d1f0;
  width: 36px; height: 20px;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background .15s;
  margin-left: 10px;
  flex-shrink: 0;
}
.cookie-cat-row .cookie-cat-toggle:checked {
  background-color: #c8f6e2;
  border-color: #76e1b2;
}
.cookie-cat-toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(174,180,200,.10);
  transition: left .17s;
}
.cookie-cat-toggle:checked::after {
  left: 18px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}

/*========= FORM ELEMENTS ========*/
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #d7e8f8;
  background: #fff;
  margin-bottom: 10px;
  width: 100%;
  transition: border-color .15s;
}
input:focus,
select:focus,
textarea:focus {
  border: 1.5px solid #a0bdec;
  outline: none;
}
label {
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
  color: #2f4162;
}

/* =========== MEDIA QUERIES (RESPONSIVE) ======== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .feature-grid, .service-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .feature-grid, .service-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature, .service-card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 950px) {
  .footer-nav, .footer-menu {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 800px) {
  .footer-nav, .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 1em 0.6em;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    padding: 25px 8px;
    margin-bottom: 38px;
  }
  .hero {
    min-height: 192px;
    padding: 36px 0 18px 0;
  }
  h1, .h1 { font-size: 1.55rem; }
  h2, .h2 { font-size: 1.19rem; }
  .feature-grid, .service-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav, .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .container {
    max-width: 100vw;
  }
  .section {
    padding: 10px 2vw;
    margin-bottom: 24px;
  }
  .hero .content-wrapper {
    padding-top: 18px; padding-bottom: 18px;
  }
  .testimonial-card {
    padding: 18px 10px;
    max-width: 100vw;
  }
  .footer-nav, .footer-menu {
    padding: 0 0 5px 0;
    font-size: .97rem;
  }
  .mobile-menu {
    padding-top: 14px;
  }
}

/*======= VISUAL HIERARCHY SPACING ==========*/
.section + .section { margin-top: 10px; }
.section h2, .section h3 { margin-bottom: 8px; }
.card + .card,
.feature + .feature,
.service-card + .service-card, 
.service-item + .service-item, 
.testimonial-card + .testimonial-card {
  margin-left: 0;
  margin-top: 20px;
}

/*==== MICRO-INTERACTIONS & TRANSITIONS ====*/
.button-primary, .button-secondary, .mobile-menu-toggle, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: all .18s; -webkit-tap-highlight-color: transparent;
}
.feature, .service-card, .card, .testimonial-card {
  transition: box-shadow .18s, transform .13s, background .21s;
}

/*======= Z-INDEX MANAGEMENT FOR MENUS & BANNERS ==========*/
header { z-index: 10; position: relative; }
.mobile-menu { z-index: 99; }
.cookie-banner { z-index: 111; }
.cookie-modal-overlay { z-index: 121; }

/*====== ACCESSIBILITY FOCUS STYLES =====*/
a:focus, button:focus, .button-primary:focus, .button-secondary:focus, .cookie-btn-accept:focus, .cookie-btn-reject:focus, .cookie-btn-settings:focus {
  outline: none;
  box-shadow: var(--focus-outline);
}

/*============== OTHER UTILITIES ============*/
.hide { display: none !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/*========= END ArcFlare Reisen Styles =========*/
