/* CSS RESET & NORMALIZE */
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,
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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  width: 100%;
  min-height: 100vh;
  background: #fff;
  color: #1C2630;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #194F7C;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
a:hover,
a:focus {
  color: #15793E;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 8px;
}
th {
  background: #E4EAF2;
  font-weight: 600;
}

/* TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #194F7C;
  margin-bottom: 16px;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: #283548;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: #194F7C;
}
.subheadline {
  font-size: 1.125rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #15793E;
  margin-bottom: 24px;
  font-weight: 400;
}

/* CONTAINER & LAYOUT ALIGNMENT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

/* FLEXBOX DESIGN SYSTEM */
.feature-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(37,61,84,0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(25,79,124,0.12);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
.testimonials, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F8FAFC;
  border: 1px solid #E4EAF2;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(25,79,124,0.05);
  padding: 20px 28px 24px 28px;
  flex: 1 1 300px;
  min-width: 265px;
  max-width: 375px;
}
.testimonial-card p {
  color: #1C2630;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #194F7C;
}
.testimonial-card img[alt^='5 Sterne'],
.testimonial-card img[alt^='Erfahrung'],
.testimonial-card img[src*='icon-star'] {
  width: 22px;
  height: 22px;
  margin-right: 2px;
  display: inline-block;
}

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

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #E4EAF2;
  box-shadow: 0 2px 10px rgba(25,79,124,0.04);
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header img[alt='Virelle Loop'] {
  height: 46px;
  width: auto;
  margin-right: 26px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1 0 auto;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #194F7C;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E4EAF2;
  color: #15793E;
}

.cta-btn {
  display: inline-flex;
  background: #15793E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(37,61,84,0.07);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  cursor: pointer;
  margin-left: 16px;
  text-align: center;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #194F7C;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 18px rgba(25,79,124,0.16);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #194F7C;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 61;
  cursor: pointer;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E4EAF2;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.44,.13,.31,1.12);
  box-shadow: 0 8px 32px rgba(25,79,124,0.16);
  padding: 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #194F7C;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E4EAF2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  color: #194F7C;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  transition: color 0.14s, background 0.13s;
  width: 100%;
  display: inline-block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E4EAF2;
  color: #15793E;
}

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO SECTION */
.hero {
  background: #E4EAF2;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 600px;
}

/* CARDS & FEATURES */
.feature-grid > div {
  background: #fff;
  border: 1px solid #E4EAF2;
  border-radius: 14px;
  padding: 24px 18px 22px 18px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 330px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1.5px 7px rgba(25,79,124,0.05);
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px rgba(37,61,84,0.08);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

/* ADDRESS HIGHLIGHTS */
.address-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.address-highlights p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #194F7C;
}
.address-highlights img {
  height: 22px;
  width: 22px;
}

/* TABLES */
.availability-table, .schedule-table {
  margin: 14px 0 18px 0;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(25,79,124,0.04);
}
.availability-table th, .schedule-table th {
  background: #E4EAF2;
  color: #194F7C;
  font-weight: 700;
}
.availability-table td, .schedule-table td {
  color: #283548;
}
.availability-table tr:nth-child(even), .schedule-table tr:nth-child(even) {
  background-color: #F6F8FB;
}

/* ALERT BANNER, NEWS FEED, ETC */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #E4EAF2;
  color: #194F7C;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.alert-banner img {
  height: 24px;
  width: 24px;
}
.news-feed, .highlighted-changes, .archived-announcements {
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #e6edf3;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.news-feed h3, .highlighted-changes h3, .archived-announcements h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #15793E;
}
.news-feed ul, .highlighted-changes ul, .archived-announcements ul {
  margin-left: 16px;
  list-style: disc;
}

/* CHECKLIST */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  color: #15793E;
  font-weight: 500;
}
.checklist img {
  margin-right: 8px;
  height: 20px;
}

/* BUTTONS (for cookies) */
.button,
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  font-family: 'Montserrat', sans-serif;
  background: #15793E;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 10px 0 0;
  cursor: pointer;
  transition: background 0.17s, transform 0.12s;
}
.button:hover, .button:focus,
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #194F7C;
  transform: scale(1.04);
}
.cookie-reject-btn,
.button.secondary {
  background: #E4EAF2;
  color: #194F7C;
  border: 1.5px solid #194F7C;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus,
.button.secondary:hover, .button.secondary:focus {
  background: #194F7C;
  color: #fff;
}
.cookie-settings-btn {
  background: #F6F8FB;
  color: #15793E;
  border: 1.1px solid #15793E;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #E4EAF2;
  color: #194F7C;
}

/* COOKIE CONSENT BANNER*/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2.5px solid #E4EAF2;
  box-shadow: 0 -4px 16px rgba(25,79,124,0.09);
  z-index: 160;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 15px;
  transition: transform 0.28s cubic-bezier(.44,.13,.31,1.12), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
  gap: 18px;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
#cookie-banner .cookie-text {
  max-width: 540px;
  color: #283548;
  font-size: 1rem;
  margin-right: 26px;
}
#cookie-banner button {
  margin-right: 10px;
}
/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 98vw;
  max-width: 420px;
  background: #fff;
  border: 2.5px solid #E4EAF2;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(25,79,124,0.17);
  transform: translate(-50%, -50%) scale(0.98);
  z-index: 2000;
  opacity: 1;
  padding: 34px 22px 22px 22px;
  display: none;
  flex-direction: column;
  gap: 15px;
  animation: fadeInModal 0.33s cubic-bezier(.44, .13, .31, 1.12);
}
@keyframes fadeInModal {
  from { opacity:0; transform:translate(-50%,-50%) scale(0.90); }
  to   { opacity:1; transform:translate(-50%,-50%) scale(0.98); }
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal h2 {
  font-size: 1.22rem;
  color: #194F7C;
  margin-bottom: 10px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-category label {
  font-size: 1rem;
  color: #283548;
  font-weight: 500;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  border-radius: 18px;
  background: #E4EAF2;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch input[type='checkbox'] {
  display: none;
}
.cookie-switch span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #15793E;
  border-radius: 50%;
  transition: left 0.18s, background 0.16s;
  z-index: 2;
}
.cookie-switch input:checked + span {
  left: 21px;
  background: #194F7C;
}
.cookie-category.essential .cookie-switch {
  background: #F6F8FB;
}
.cookie-category.essential label {
  color: #aaa;
  font-style: italic;
}
#cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #E4EAF2;
  color: #283548;
  font-size: 0.98rem;
  padding: 32px 0 18px 0;
  margin-top: 60px;
  border-top: 2.5px solid #E4EAF2;
}
footer .container {
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: #194F7C;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.9;
}
.footer-links a:hover {
  color: #15793E;
}
.footer-contact,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.footer-social img {
  width: 26px;
  height: 26px;
  margin-right: 9px;
  cursor: pointer;
  transition: opacity 0.13s, transform 0.13s;
  opacity: 0.7;
}
.footer-social img:hover,
.footer-social img:focus {
  opacity: 1;
  transform: scale(1.09);
}
.footer-city {
  text-align: center;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  color: #657084;
}

/* BASIC SECTION & CONTENT STYLES */
.text-section ul, .content-wrapper ul {
  margin-left: 26px;
  color: #283548;
  list-style: disc;
  margin-bottom: 20px;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1rem;
}
.text-section {
  font-size: 1.07rem;
}

/******************
 * RESPONSIVE DESIGN *
 ******************/
@media (max-width: 1023px) {
  /* Nav & hero */
  .hero { padding: 38px 0 28px 0; }
  .container,
  footer .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .hero .container { flex-direction: column; padding: 0 2px; }
  .feature-grid,
  .testimonials,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section, .hero, .cta {
    padding: 28px 6px;
    margin-bottom: 44px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-links, .footer-contact, .footer-social { flex-direction: column; gap: 6px; }
  .footer-city { font-size: 0.94rem; }
  .cta-btn { width: 100%; min-width: unset; justify-content: center; }
}
@media (max-width: 440px) {
  .feature-grid > div, .card, .testimonial-card { min-width: 100px; max-width: 99vw; padding: 18px 6px 18px 12px; }

  #cookie-modal { padding: 22px 7px 14px 7px; }
  #cookie-banner { flex-direction: column; gap: 9px; padding: 14px 2px; }
}

/* MICROINTERACTIONS */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s;
}
a, .main-nav a, .cta-btn, .footer-social img, .button, .mobile-menu-toggle, .mobile-menu-close, .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  transition: color 0.14s, background 0.13s, box-shadow 0.13s, transform 0.14s;
}

/* HIDE default outline but preserve strong focus indication */
a, button, .cta-btn, .button, input, select, textarea {
  outline: none;
}
a:focus-visible, .cta-btn:focus-visible,
button:focus-visible, .button:focus-visible {
  outline: 2px solid #15793E;
  outline-offset: 2px;
}

/* CTA SECTION */
.cta {
  background: #194F7C;
  color: #fff;
  padding: 48px 20px;
  border-radius: 14px;
  text-align: center;
}
.cta h2 {
  color: #fff;
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
gap-8 { gap: 8px !important; }
gap-16 { gap: 16px !important; }

/* Hide elements utility (JS can toggle) */
.is-hidden { display: none !important; }

/**** END VIRELLE LOOP SCANDINAVIAN CLEAN THEME ****/