/* =====================================================
   Fervor Rechtshilfe Modern Bold CSS – style.css
   Modern Bold: Bold fonts, bright colors, geometric shapes, high contrast
   Author: professional CSS/UI expert
   ===================================================== */

/* 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #17394d;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #17394d;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px dashed #ffaf2e; outline-offset: 2px; }
a:hover, a:active { color: #ffaf2e; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
  border: none;
  background: none;
}

/* UTILITIES --------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

/* TYPOGRAPHY -------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-weight: 700;
  color: #17394d;
  letter-spacing: -1.2px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.4rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li {
  color: #273845;
  font-weight: 400;
}
p {
  font-size: 1.13rem;
  line-height: 1.7;
}
strong, b {
  font-weight: bold;
  color: #17394d;
}

/* Layout: section spacing ----------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURE/GRID LAYOUTS ------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #e3eef6;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(23,57,77,0.065);
  padding: 28px 28px 24px 28px;
  min-width: 240px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  font-size: 1.18rem;
  color: #17394d;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 28px rgba(255,175,46,0.12);
  border-color: #ffaf2e;
  transform: translateY(-5px) scale(1.04);
}

/* HERO ------------------------------------- */
.hero {
  background: #17394d;
  color: #fff;
  padding: 64px 0 40px 0;
  border-radius: 0 0 56px 0;
  position: relative;
  box-shadow: 0 16px 36px -20px rgba(23,57,77,0.09);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #e3eef6;
}
.hero .cta-primary {
  margin-top: 20px;
}

/* NAVIGATION -------------------------------- */
header {
  background: #fff;
  border-bottom: 2px solid #e3eef6;
  box-shadow: 0 2px 10px rgba(23,57,77,0.03);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto Slab',serif;
  font-weight: bold;
  font-size: 1.07rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #17394d;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e3eef6;
  color: #ffaf2e;
}
.cta-primary {
  display: inline-block;
  background: #ffaf2e;
  color: #17394d;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  font-size: 1.11rem;
  padding: 12px 28px;
  border-radius: 36px;
  box-shadow: 0 2px 10px rgba(23,57,77,0.08);
  transition: background 0.17s, color 0.17s, transform 0.13s;
  text-align: center;
  margin-left: 18px;
  letter-spacing: 0.02em;
}
.cta-primary:focus {
  outline: 2px solid #17394d;
}
.cta-primary:hover, .cta-primary:active {
  background: #17394d;
  color: #fff;
  transform: scale(1.04);
}

/* MOBILE MENU -------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #ffaf2e;
  color: #17394d;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(23,57,77,0.09);
  cursor: pointer;
  z-index: 2001;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #17394d;
  color: #ffaf2e;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #17394d;
  color: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.95,.02,.75,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #ffaf2e;
  color: #17394d;
  border-radius: 50%;
  border: none;
  font-size: 2.4rem;
  margin: 26px 26px 0 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #fff;
  color: #17394d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 32px 16px 32px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  color: #fff;
  padding: 10px 0;
  border-radius: 9px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #ffaf2e;
  color: #17394d;
}

/* CARD + FLEX PATTERNS -------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 24px rgba(23,57,77,0.10);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px rgba(255,175,46,0.11);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS ------------------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 26px 28px;
  background: #fafbfc;
  border: 2px solid #e3eef6;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(23,57,77,0.05);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 540px;
  color: #17394d;
  font-size: 1.12rem;
}
.testimonial-card p {
  color: #17394d;
  font-weight: 500;
  margin-bottom: 10px;
}
.testimonial-card strong {
  font-size: 1.05rem;
  color: #ffaf2e;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* COOKIE CONSENT BANNER --------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #17394d;
  color: #fff;
  width: 100vw;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
  box-shadow: 0 -2px 16px rgba(23,57,77,0.14);
  flex-wrap: wrap;
  gap: 24px;
  transition: transform 0.4s;
  border-radius: 28px 28px 0 0;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  appearance: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-family: 'Roboto Slab',serif;
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
  border: none;
  box-shadow: 0 2px 10px rgba(23,57,77,0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #ffaf2e;
  color: #17394d;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #17394d;
}
.cookie-btn.reject {
  background: #fff;
  color: #17394d;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffaf2e;
  color: #17394d;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid #ffaf2e;
  color: #ffaf2e;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffaf2e;
  color: #17394d;
}
/* COOKIE MODAL (PREFERENCES) */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  justify-content: center;
  align-items: center;
  z-index: 3010;
  background: rgba(23,57,77,0.78);
}
.cookie-modal.open {
  display: flex;
  animation: fadein .3s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #17394d;
  border-radius: 20px;
  padding: 32px 24px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 10px 40px rgba(23,57,77,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffaf2e;
  color: #17394d;
  border-radius: 50%;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-close:hover { background: #eee; color: #17394d; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.07rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top:0; left:0; right:0; bottom:0;
  background: #e3eef6;
  border-radius: 20px;
  transition: background .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #ffaf2e;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  height: 18px;
  width: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-category.essential .cookie-switch {
  opacity: 0.5;
  pointer-events: none;
}

/* FOOTER ---------------------------------- */
footer {
  background: #17394d;
  color: #fff;
  padding: 36px 0 20px 0;
  margin-top: 40px;
  border-radius: 56px 0 0 0;
  box-shadow: 0 -10px 44px -30px rgba(23,57,77,0.08);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 2px 0;
  opacity: 0.94;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ffaf2e;
  background: rgba(227,238,246,0.06);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e3eef6;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
}
.footer-contact img {
  width: 21px;
  height: 21px;
}

/* MAP SNIPPET (Kontakt) ----------------------- */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 24px;
  border-radius: 14px;
  background: #e3eef6;
  color: #17394d;
  font-size: 1.07rem;
}

/* CLIENT LOGIN PROMPT ------------------------- */
.client-login-prompt {
  margin: 26px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ICON ROW / FEATURE ICONS --------------------- */
.feature-icons {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  align-items: center;
}
.feature-icons img {
  width: 46px;
}

/* LISTS -------------------------------------- */
ul, ol {
  margin-left: 0;
  margin-right: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0;
}
ul li, ol li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
  font-size: 1.04rem;
  color: #17394d;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #ffaf2e;
  border-radius: 4px;
  position: absolute;
  left: 6px;
  top: 3px;
}
ul li img {
  width: 17px;
  height: 17px;
  margin-right: 7px;
  vertical-align: middle;
  position: absolute;
  left: 7px;
  top: 2px;
  background: transparent;
}
ul li strong {
  color: #ffaf2e;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
th, td {
  border: 1px solid #e3eef6;
  padding: 10px 16px;
  text-align: left;
}

/* RESPONSIVE: MOBILE FIRST ------------------------- */
@media (max-width: 1200px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .card-container,
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .card {
    min-width: unset;
    width: 100%;
  }
  .section {
    padding: 28px 8px;
  }
  .text-section {
    max-width: 96vw;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 70px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-primary {
    margin-left: 4px;
    padding: 10px 19px;
    font-size: 1rem;
  }
  .hero {
    padding: 36px 0 22px 0;
    border-radius: 0 0 28px 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2  {
    font-size: 1.35rem;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 17px 14px;
    font-size: 1rem;
  }
  .map-snippet {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    padding: 13px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 530px) {
  header .container, footer .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .hero .container {
    padding-left: 0;
    padding-right: 0;
  }
  .section {
    padding: 12px 2px;
    margin-bottom: 36px;
  }
  .footer-contact span {
    font-size: 0.94rem;
  }
  .feature-item, .card {
    padding: 16px 10px;
  }
}

/* MICRO-INTERACTIONS/ANIMATIONS --------------- */
.cta-primary, .cookie-btn, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}
.cta-primary:active {
  transform: scale(0.96);
}
.feature-item:active, .card:active {
  transform: scale(0.98);
}
.mobile-menu,
.cookie-banner,
.cookie-modal-content {
  will-change: transform, opacity;
}

/* FOCUS VISIBLE POLISH FOR A11Y --------------- */
a:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #ffaf2e;
  outline-offset: 2px;
}

/* GEOMETRIC ACCENTS (Optional) ------------------ */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  background: rgba(255,175,46,0.09);
  border-radius: 54px 90px 82px 55px;
  z-index: 0;
  pointer-events: none;
}

/* Z-INDEX ORDERING ----------------------------- */
.mobile-menu,
.cookie-modal {
  z-index: 2000;
}
header {
  z-index: 1001;
}

/* Hide visually (for burger, modals, etc) ------ */
.hide { display: none !important; }

/* ========== END OF STYLE.CSS ============= */
