/* ----------------------------------------------------------- */
/*           PROFESSIONAL CORPORATE STYLE CSS v1.0             */
/*   Iodop Tosca Mobilität - Modern blue/gray corporate look   */
/*    Mobile-first, Flexbox-only, Brand Consistent, Responsive */
/* ----------------------------------------------------------- */

/* --- 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;
}
body {
  background: #F7F8FA;
  color: #1A2330;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
}
a {
  color: #19334D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B100;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #19334D;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 1em;
  color: #294563;
  font-size: 1rem;
}
strong {
  color: #19334D;
}

/* --- LAYOUT CONTAINERS / SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(25,51,77,0.04);
}

/* override .section for hero for paddingless look */
.hero.section {
  background: none;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  padding: 0;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Card containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25,51,77,0.07);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  min-height: 120px;
}

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

/* --- FEATURE GRID & ITEMS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F7F8FA;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(25,51,77,0.04);
  padding: 24px 20px 20px 20px;
  gap: 15px;
  min-width: 0;
  flex: 1 1 220px;
  max-width: 340px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 18px rgba(25,51,77,0.09);
  transform: translateY(-2px) scale(1.025);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #EDF1F6;
  color: #18324C;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(25,51,77,0.06);
  position: relative;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #19334D;
  font-style: italic;
  margin: 0;
  flex: 1 1 0%;
}
.testimonial-card span {
  color: #435773;
  font-weight: 600;
  min-width: 120px;
  text-align: right;
}

/* --- BUTTONS --- */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  padding: 12px 32px;
  background: #19334D;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.11s, box-shadow 0.15s;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(25,51,77,0.09);
}
.button-primary:hover, .button-primary:focus {
  background: #F2B100 !important;
  color: #19334D !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 15px rgba(25,51,77,0.13);
  text-decoration: none !important;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 22px;
  background: #E5E4E2;
  color: #19334D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #B9C4D2;
  cursor: pointer;
  transition: background 0.2s, transform 0.11s, box-shadow 0.14s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #F2B100;
  color: #19334D;
  border-color: #F2B100;
  transform: translateY(-1px) scale(1.02);
}

.button-link {
  background: none;
  color: #19334D;
  font-weight: 500;
  text-decoration: underline;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.button-link:hover, .button-link:focus {
  color: #F2B100;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 7px rgba(25,51,77,0.08);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  width: 100%;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  width: 100%;
  padding: 18px 16px 18px 16px;
  justify-content: flex-start;
}
.main-nav > a {
  color: #1A2330;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.13s;
  padding: 6px 8px;
  border-radius: 5px;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #F2B100;
  background: #F8FAFB;
}
.main-nav > a.button-primary {
  margin-left: auto;
  margin-right: 0;
}
.main-nav img {
  height: 37px;
  width: auto;
  margin-right: 10px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #19334D;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 51;
  padding: 4px;
  transition: color 0.2s, transform 0.15s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F2B100;
  transform: scale(1.10);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #19334D;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 56px 26px 26px 26px;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.81,.17,.21,.71);
  box-shadow: 2px 0 24px 0 rgba(25,51,77,.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2.1rem;
  color: #F2B100;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.22s, transform 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B100;
  color: #19334D;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 10px 15px;
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: 1rem;
    gap: 6px 8px;
    padding-left: 2px;
    padding-right: 2px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO --- */
.hero {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(90deg,#19334D 70%,#E5E4E2 100%);
  color: #fff;
  padding: 70px 0 60px 0;
  display: flex;
  align-items: center;
  margin-bottom: 35px;
}
.hero .container {
  max-width: 1100px;
}
.hero .content-wrapper {
  color: #fff;
  background: none;
  text-align: left;
  max-width: 650px;
  padding: 0 10px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 2.2rem;
  line-height: 1.15;
}
.hero p {
  color: #E6E9EF;
  font-size: 1.18rem;
  margin-bottom: 25px;
}
.hero .button-primary {
  background: #F2B100;
  color: #19334D;
}
.hero .button-primary:hover, .hero .button-primary:focus {
  background: #fff;
  color: #19334D;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 1.01rem;
}
.contact-details img {
  width: 20px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
}

/* --- FOOTER --- */
footer {
  background: #19334D;
  color: #fff;
  padding: 28px 0 16px 0;
  margin-top: 60px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.17s;
  padding: 6px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B100;
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: center;
  align-items: center;
  font-size: 0.99rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

@media (max-width: 620px) {
  .footer-contact {
    flex-direction: column;
    gap: 12px 0;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 0;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #19334D;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(12,16,52,0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 16px;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.37s, opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-message {
  flex: 1 1 60vw;
  max-width: 700px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner .button-primary,
.cookie-banner .button-secondary {
  min-width: 115px;
  font-size: 1rem;
  padding: 9px 18px;
  margin-top: 0;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,51,77,0.33);
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #18324C;
  border-radius: 16px;
  padding: 36px 26px 28px 26px;
  min-width: 320px;
  max-width: 97vw;
  box-shadow: 0 8px 35px rgba(25,51,77,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInModal 0.29s;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: translateY(28px) scale(0.99); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.03rem;
}
.cookie-category label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type='checkbox'] {
  width: 19px;
  height: 19px;
}
.cookie-category input[disabled] {
  opacity: 0.65;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #19334D;
  cursor: pointer;
  transition: color 0.18s, transform 0.1s;
  padding: 0 3px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #F2B100;
  transform: scale(1.09);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1000px) {
  .hero {
    padding: 50px 0 40px 0;
  }
  .hero .content-wrapper {
    max-width: 500px;
    padding: 0 0px;
    font-size: 95%;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-item {
    max-width: 340px;
    flex: 1 1 200px;
    padding: 18px 12px 15px 16px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .content-wrapper { max-width: 97vw; }
  .hero { padding: 34px 0 30px 0; }
  .hero .content-wrapper { padding: 0; }
  .section {
    padding: 26px 8px;
    margin-bottom: 30px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 22px 6px;
    border-radius: 9px;
  }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.06rem; }
  .hero {
    min-height: 170px;
    padding: 14vw 0 17vw 0;
  }
  .content-grid,
  .feature-grid,
  .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-item {
    max-width: 100%;
    width: 100%;
    padding: 13px 7px 13px 11px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.98rem;
    padding: 13px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 430px) {
  html { font-size: 15px; }
  .container { padding: 0 3vw; }
  .hero { padding: 10vw 0 10vw 0; }
  .cookie-modal { min-width: 97vw; padding: 17vw 4vw 8vw 4vw; }
  .cookie-banner { flex-direction: column; padding: 17px 5px; }
}

/* --- LISTS --- */
ul, ol {
  padding-left: 18px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 12px;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: #E5E4E2;
}
::-webkit-scrollbar-thumb {
  background: #B9C4D2;
  border-radius: 6px;
}

/* --- FORM ELEMENTS (in contact form if any) --- */
input, select, textarea {
  font-family: inherit;
  border: 1px solid #D5D8DA;
  border-radius: 6px;
  color: #19334D;
  font-size: 1rem;
  padding: 11px 13px;
  margin-bottom: 18px;
  background: #F7F8FA;
  box-shadow: 0 1px 3px rgba(25,51,77,.03);
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.4px solid #F2B100;
  outline: none;
}
label {
  display: block;
  margin-bottom: 5px;
  color: #1A2330;
  font-size: 1.05rem;
  font-weight: 500;
}
::placeholder {
  color: #8FA1B9;
  opacity: 1;
}

/* --- UTILITY CLASSES --- */
.mt-0    { margin-top: 0 !important; }
.mb-0    { margin-bottom: 0 !important; }
.mt-16   { margin-top: 16px !important; }
.mb-16   { margin-bottom: 16px !important; }
.mt-24   { margin-top: 24px !important; }
.mb-24   { margin-bottom: 24px !important; }
.pt-0    { padding-top: 0 !important; }
.pb-0    { padding-bottom: 0 !important; }

/* --- ANIMATIONS --- */
.button-primary, .button-secondary, .feature-item, .card, .testimonial-card, .mobile-menu, .cookie-banner {
  transition: box-shadow 0.19s, background 0.20s, color 0.16s, transform 0.15s;
}

/* --- PRINT --- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, header, footer {
    display: none !important;
  }
  .section, .container, .content-wrapper {
    background: #fff !important;
    box-shadow: none !important;
    color: #000 !important;
  }
  body { background: #fff !important; }
}

/* --- BRAND FONT IMPORTS (Google Fonts CDN fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
