/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #1A2233;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
  height: auto;
}
a {
  color: #20436B;
  text-decoration: none;
  transition: color 0.18s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #F6A90D;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* Brand Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #20436B;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, li, blockquote, strong {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2233;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #20436B;
  padding-left: 16px;
  color: #20436B;
  margin-bottom: 12px;
}
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
}

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

/* Flex utility classes per spec */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,67,107,0.08);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(32,67,107,0.14);
}
.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: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(32,67,107,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 560px;
}
.testimonial-card blockquote {
  color: #20436B;
  font-size: 1.125rem;
  border: none;
  background: transparent;
  padding-left: 0;
  margin-bottom: 10px;
}
.testimonial-card p {
  color: #1A2233;
  font-size: 1rem;
  opacity: 0.85;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(32,67,107,0.06);
  padding: 28px 20px 20px 20px;
  min-width: 160px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.13s;
}
.feature-grid > div img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-grid > div h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  margin-top: 0;
}
.feature-grid > div p {
  font-size: 0.98rem;
  opacity: 0.93;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px rgba(32, 67, 107, 0.13);
}

/* About Preview */
.about-preview {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(32,67,107,0.06);
  padding: 20px 20px 20px 20px;
  margin-bottom: 20px;
}
.about-preview img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.services-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.services-preview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.services-preview li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.services-preview li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.services-preview a {
  margin-top: 5px;
  color: #20436B;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.16s;
}
.services-preview a:hover {
  color: #F6A90D;
}

/* CTA Button */
.cta {
  display: inline-block;
  background: #20436B;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 13px 32px;
  font-size: 1.07rem;
  transition: background 0.13s, box-shadow 0.17s, color 0.14s;
  box-shadow: 0 2px 12px rgba(32,67,107,0.10);
  border: none;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  min-width: 160px;
}
.cta:hover,
.cta:focus {
  background: #F6A90D;
  color: #20436B;
  box-shadow: 0 4px 16px rgba(246,169,13,0.12);
  outline: none;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 101;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E5E0D2;
  padding: 0 0 0 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header > a {
  margin-right: 28px;
  display: flex;
  align-items: center;
  height: 64px;
}
header img {
  height: 38px;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 2px 10px;
  color: #20436B;
  border-radius: 20px;
  transition: background 0.14s, color 0.13s;
}
header nav a:hover,
header nav a:focus {
  background: #F6A90D;
  color: #20436B;
}
header nav .cta {
  background: #F6A90D;
  color: #20436B;
  margin-left: 20px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(246,169,13,0.13);
}
header nav .cta:hover,
header nav .cta:focus {
  background: #20436B;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  margin-left: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #20436B;
  cursor: pointer;
  z-index: 120;
  outline: none;
  transition: color 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #F6A90D;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 67, 107, 0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.74,.01,.35,1.02);
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.33s;
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  position: absolute;
  top: 23px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F6A90D;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  width: 100%;
  margin-top: 100px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 15px 0px;
  width: 100vw;
  text-align: center;
  border-radius: 0;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6A90D;
  color: #20436B;
}

/* Footer Styles */
footer {
  background: #F8F8F8;
  border-top: 1px solid #E5E0D2;
  padding: 40px 0 0 0;
}
footer .container {
  padding-bottom: 20px;
}
footer .content-wrapper {
  flex-wrap: wrap;
  gap: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer a {
  color: #20436B;
  font-weight: 500;
  font-size: 1rem;
}
footer a:hover {
  color: #F6A90D;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
footer img[alt^="Adresse"],
footer img[alt^="Telefon"],
footer img[alt^="E-Mail"],
footer img[alt^="Öffnungszeiten"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
footer div:last-child a {
  margin-right: 10px;
}
footer small {
  color: #A9A9A9;
  display: block;
  padding-top: 20px;
  font-size: 0.96rem;
  text-align: right;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #20436B;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  box-shadow: 0 -2px 10px rgba(32,67,107,.07);
  padding: 22px 18px 22px 18px;
  gap: 14px;
  animation: cookieAppear 0.35s;
}
@keyframes cookieAppear {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  margin: 0 0 4px 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 5px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 22px;
  padding: 9px 22px;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(246,169,13,0.13);
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #F6A90D;
  color: #20436B;
}
.cookie-btn.reject {
  background: #fff;
  color: #20436B;
  border: 1px solid #E5E0D2;
}
.cookie-btn.settings {
  background: #20436B;
  color: #fff;
  border: 1px solid #F6A90D;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.9;
  outline: none;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1211;
  left: 0; top: 0; right: 0; bottom:0;
  background: rgba(32, 67, 107, .30);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.23s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #20436B;
  border-radius: 20px;
  max-width: 420px;
  width: 98vw;
  box-shadow: 0 8px 40px rgba(32,67,107,0.14);
  padding: 38px 28px 28px 28px;
  position: relative;
  animation: modalAppear 0.26s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@keyframes modalAppear {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #20436B;
  margin-bottom: 12px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #20436B;
  user-select: none;
}
.cookie-modal-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  appearance: none;
  border-radius: 4px;
  border: 1.5px solid #20436B;
  outline: none;
  margin-right: 6px;
  background: #F5F7FA;
  position: relative;
  cursor: pointer;
  transition: border 0.13s;
}
.cookie-modal-category input[type="checkbox"]:checked {
  background: #F6A90D;
  border: 1.5px solid #F6A90D;
}
.cookie-modal-category input[disabled] {
  background: #20436B;
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 15px;
  background: none;
  border: none;
  color: #20436B;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #F6A90D;
  outline: none;
}

/* General UI Elements */
ul {
  margin: 0 0 14px 0;
  list-style: inside disc;
}
ol {
  list-style: inside decimal;
}
ul ul {
  margin: 0 0 7px 20px;
}
li {
  margin-bottom: 7px;
}

/* Section & spacing overrides (matches requirements) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

main {
  min-height: 65vh;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  header nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 99vw;
  }
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px 0 10px;
    height: 64px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section,
  section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
  .feature-grid,
  .content-grid,
  .about-preview,
  .services-preview ul {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .about-preview {
    gap: 8px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  footer small {
    text-align: left;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  .cta { font-size: 0.97rem; padding: 10px 18px; }
}

/* Animations & Micro-Interactions */
.card, .feature-grid > div, .about-preview, .section, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover,
.about-preview:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 6px 24px rgba(32,67,107,0.15);
}
.cta, .cookie-btn {
  transition: background 0.14s, color 0.13s, box-shadow 0.16s, transform 0.15s;
}
.cta:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* Accessibility: focus styles */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus, .cookie-btn:focus, .cookie-modal-close:focus {
  outline: 2px solid #F6A90D;
  outline-offset: 2px;
  z-index: 10003;
}

/* Hide elements visually but keep them accessible for screenreaders */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Miscellaneous */
::-webkit-input-placeholder { color: #A9A9A9; opacity: 1; }
::-moz-placeholder { color: #A9A9A9; opacity:1; }
:-ms-input-placeholder { color: #A9A9A9; opacity:1; }
::placeholder { color: #A9A9A9; opacity:1; }

/* End of style.css */
