/* === 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #181E24;
  color: #E6EAF0;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-bottom: 1.5em;
  padding-left: 1.3em;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
address {
  font-style: normal;
}

/* === FONT FACE === (Webfonts must be included via <link> in HTML for best cross-platform support) */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.22;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 18px;
  color: #C1CEE0;
  line-height: 1.7;
}

/* === UTILITY CLASSES === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 920px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background-color: #222D36;
  box-shadow: 0 4px 16px rgba(24,30,36,0.13);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 0 18px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #C1CEE0;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta-primary {
  background: #229A86;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 10px 20px;
  box-shadow: 0 1px 5px 0 rgba(34,154,134,0.11);
  transition: background 0.18s, color 0.18s, transform 0.08s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #146358;
  color: #fff;
  transform: translateY(-1px) scale(1.035);
}
.main-nav a:hover, .main-nav a:focus {
  background: #23415D;
  color: #fff;
}
.main-nav a img {
  height: 40px;
  vertical-align: middle;
  margin-right: 8px;
  padding: 0;
  border-radius: 0;
}
.mobile-menu-toggle {
  display: none;
  background: #181E24;
  border-radius: 8px;
  color: #F8FAFD;
  font-size: 2rem;
  margin-left: auto;
  padding: 6px 16px;
  border: 1px solid #324259;
  transition: background 0.16s, box-shadow 0.2s;
  position: relative;
  z-index: 1020;
}
.mobile-menu-toggle:active {
  background: #25384A;
}

/* === MOBILE NAV === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 340px;
  height: 100vh;
  background: #232D36;
  box-shadow: -8px 0 32px rgba(24,30,36,0.18);
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.55,.2,.24,1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 8px 16px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover {
  color: #229A86;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 34px 34px 34px;
}
.mobile-nav a {
  color: #C1CEE0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  padding: 14px 6px;
  border-radius: 6px;
  font-weight: 600;
  background: none;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  background: #229A86;
  color: #fff;
}

@media (max-width: 980px) {
  .main-nav a {
    font-size: 0.96rem;
    padding: 8px 6px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-top: 2px;
  }
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}

/* === LAYOUT SECTION SPACING (MANDATORY) === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* === FLEXBOX LAYOUT PATTERNS (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222D36;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(34,65,93,0.10), 0 1.5px 6px rgba(34,65,93,0.06);
  padding: 24px;
  min-width: 275px;
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4F6FA;
  color: #181E24;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(35,65,93,0.10);
  flex-direction: column;
  max-width: 580px;
}
.testimonial-info {
  margin-top: 14px;
  font-size: 1rem;
  color: #146358;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom grids for features/services */
.feature-grid, .service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature, .service-block {
  background: #212932;
  color: #E6EAF0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,65,93,0.07);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #293847;
  transition: box-shadow 0.21s, border-color 0.17s, transform 0.14s;
}
.feature img, .service-block img {
  height: 38px;
  margin-bottom: 10px;
}
.feature:hover, .service-block:hover {
  box-shadow: 0 6px 32px rgba(34,154,134,0.08);
  border-color: #229A86;
  transform: translateY(-2px) scale(1.022);
}

.cert-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #9DB8C8;
  margin-top: 14px;
  font-size: 1rem;
}
.cert-awards img {
  height: 24px;
  margin-right: 8px;
}

/* === BUTTONS && CTA === */
.cta-primary {
  background: linear-gradient(90deg,#229A86 85%,#146358 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  padding: 13px 32px;
  box-shadow: 0 2px 12px rgba(34,154,134,0.09);
  transition: background 0.16s, box-shadow 0.2s, transform 0.08s;
  margin-top: 12px;
  margin-bottom: 12px;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg,#146358 85%,#229A86 100%);
  color: #e0fcf9;
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 4px 30px rgba(34,154,134,0.16);
}
/* Button generic fallback (for cookie banner, etc) */
.btn {
  background: #222D36;
  color: #E6EAF0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 10px 28px;
  margin: 0 10px 0 0;
  border: 1.5px solid #23415D;
  box-shadow: 0 1.5px 6px rgba(35,65,93,0.06);
  transition: background 0.16s, color 0.16s, border 0.16s;
  cursor: pointer;
}
.btn:hover, .btn:focus {
  background: #229A86;
  color: #fff;
  border-color: #229A86;
}

/* === FOOTER === */
footer {
  background: #232D36;
  color: #C4CDD9;
  padding: 46px 0 30px 0;
  font-size: 1rem;
  box-shadow: 0 -4px 24px rgba(24,30,36,0.13);
}
.footer-menu {
  text-align: center;
  margin-bottom: 12px;
  font-size: 0.98rem;
}
.footer-menu a {
  color: #92A5BB;
  text-decoration: underline;
  margin: 0 5px;
  font-weight: 500;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  margin-top: 8px;
  flex-direction: row;
}
.footer-contact img {
  height: 38px;
  margin-right: 14px;
}
.footer-contact address,
.footer-contact div {
  color: #C4CDD9;
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}
.footer-contact img[alt^="Telefon"], .footer-contact img[alt^="E-Mail"] {
  height: 22px;
  margin-right: 6px;
}

/* === FORMS (if any input later) === */
input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 8px;
  border: 1.5px solid #29405D;
  padding: 10px 15px;
  background: #232D36;
  color: #E6EAF0;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  border-color: #229A86;
}

/* === ICONS === */
img[alt^="Icon"] {
  filter: grayscale(20%) brightness(1.2) contrast(115%) sepia(12%) hue-rotate(10deg);
}

/* === LISTS / AWARDS === */
ul li, ol li {
  color: #C1CEE0;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
ul li img, ol li img {
  height: 1.2em;
  vertical-align: middle;
  margin-right: 7px;
}

/* === LOCATION SECTION === */
.location-description {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  padding-top: 8px;
}
.location-map {
  flex: 1 1 250px;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section {
    padding: 24px 8px 34px 8px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 17px;
  }
  .feature-grid, .service-list, .service-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service-block {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
  .location-description {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 425px) {
  .footer-contact img[alt^="AltoPunto"] {
    height: 28px;
  }
  .footer-contact img[alt^="Telefon"], .footer-contact img[alt^="E-Mail"] {
    height: 18px;
  }
  .mobile-menu {
    max-width: 99vw;
  }
}

/* === VISUAL EFFECTS & INDUSTRIAL MODERN AESTHETIC === */
body {
  background: #181E24;
  color: #C1CEE0;
}
.card, .feature, .service-block {
  border: 1.5px solid #23415D;
  box-shadow: 0 2px 12px rgba(34,65,93,0.09);
  background: linear-gradient(120deg, #232D36 0%, #1C2227 100%);
}
.testimonial-card {
  border: 1.5px solid #BDCBD6;
  background: #fff;
  color: #232D36;
}
.testimonial-card p {
  color: #232D36;
}

/* Metallic/urban accent: borders/shadows/lines */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 1px 2px rgba(34,65,93,0.14);
}
.feature, .service-block {
  border-left: 5px solid #229A86;
  border-radius: 14px;
}
.feature:hover, .service-block:hover {
  border-color: #146358;
  box-shadow: 0 4px 28px rgba(20,99,88,0.23);
}
.cert-awards span {
  background: #1C252C;
  border-radius: 8px;
  padding: 6px 16px;
  border: 1.5px solid #6DB0AA22;
  color: #229A86;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}

/* === MICRO-INTERACTIONS === */
a, .btn, .cta-primary {
  transition: background 0.17s, color 0.13s, box-shadow 0.17s, border-color 0.17s, transform 0.12s;
}
a:active, .btn:active, .cta-primary:active {
  transform: scale(0.98);
}
/* Feature- & Service cards hover above */

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232D36;
  color: #fff;
  z-index: 1200;
  box-shadow: 0 -4px 28px rgba(24,30,36,0.21);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s, transform 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(160px);
}
.cookie-banner p {
  flex: 1 1 240px;
  color: #E6EAF0;
  margin-bottom: 0;
  font-size: 1.01rem;
}
.cookie-banner .banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner .btn {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 22px;
}
.cookie-banner .btn.accept {
  background: #229A86;
  color: #fff;
  border-color: #229A86;
  font-weight: 700;
}
.cookie-banner .btn.accept:hover {
  background: #146358;
  border: 1.5px solid #146358;
}
.cookie-banner .btn.settings {
  background: #181E24;
  color: #C1CEE0;
  border-color: #324259;
}
.cookie-banner .btn.reject {
  background: #324259;
  color: #fff;
  border-color: #23415D;
}
.cookie-banner .btn.reject:hover {
  background: #b93c2d;
  border-color: #b93c2d;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 6px;
    gap: 13px;
    align-items: stretch;
  }
  .cookie-banner .banner-buttons {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top:0; left:0; width: 100vw; height: 100vh;
  background: rgba(24,30,36,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  width: 97vw;
  max-width: 430px;
  background: #222D36;
  color: #E6EAF0;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(24,30,36,0.21);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modalIn 0.45s cubic-bezier(.28,1.32,.44,1) backwards;
  position: relative;
}
@keyframes modalIn {
  0% {opacity:0; transform:scale(0.86) translateY(120px);}
  75% {opacity:0.73;}
  100% {opacity:1; transform:none}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #293847;
  font-size: 1.05rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.03rem;
  color: #229A86;
  font-weight: 700;
}
.cookie-toggle input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #229A86;
  margin-right: 3px;
}
.cookie-toggle input[disabled] {
  opacity: 0.5;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal button {
  min-width: 110px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .btn.save {
  background: #229A86;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
}
.cookie-modal .btn.cancel {
  background: #293847;
  color: #C1CEE0;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top:12px; right:18px;
  font-size: 1.7rem;
  color: #92A5BB;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #229A86;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px 14px 6px;
    max-width: 98vw;
  }
}

/* === ACCESSIBILITY & FOCUS STATES === */
a:focus, .cta-primary:focus, .btn:focus, button:focus {
  outline: 2px solid #229A86;
  outline-offset: 2px;
  background: #1B2A37;
}

/* === TYPOGRAPHY === */
strong {
  font-weight: 700;
  color: #229A86;
}
small {
  font-size: 0.89em;
  color: #8296ae;
}
hr {
  border: 0;
  border-bottom: 1.5px solid #293847;
  margin: 24px 0;
}

/* === THANK YOU PAGE SPECIAL === */
.thankyou-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F4F6FA;
  color: #222D36;
  border-radius: 12px;
  padding: 40px 32px 32px 32px;
  box-shadow: 0 2.5px 14px rgba(34,65,93,0.13);
}

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