/* style.css – Amber Sails Duisburg: Elegant Classic Flexbox CSS */

/* CSS RESET & BASELINE ---------------------------------------- */
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, menu, 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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 16px;
  background: #F8F7F4;
  color: #2B4450;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #2B4450;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9AA33;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

/* TYPOGRAPHY ------------------------------------------------ */
:root {
  --brand-primary: #2B4450;
  --brand-secondary: #F9AA33;
  --brand-accent: #FFFFFF;
  --brand-muted: #DDDDD7;
  --brand-bg: #F8F7F4;
  --font-display: 'Merriweather', 'Georgia', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(41,56,92,0.05);
  --shadow-md: 0 4px 18px rgba(41,56,92,0.10);
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--brand-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 1.75rem;
  }
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}
@media (max-width: 768px) {
  h2, .h2 {
    font-size: 1.35rem;
  }
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 400;
  color: var(--brand-primary);
}
p, .subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #2B4450;
}
.subtitle {
  font-size: 1.15rem;
  color: #7A8776;
  font-style: italic;
  margin-bottom: 32px;
  font-family: var(--font-body);
}
li {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 8px;
}
ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

/* GENERAL UI/UTILITY CLASSES -------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  width: 100%;
  background: transparent;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  padding: 20px 26px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  font-family: var(--font-body);
}

/* Add contrast for text in testimonials and reviews */
.testimonial-card p,
.testimonial-card span,
.testimonial-card strong {
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Section-specific Layouts ------------------------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-md);
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
}
.service-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #7A8776;
  background: #F8F6F2;
  border-radius: 6px;
  padding: 10px 20px;
  margin: 16px 0 12px 0;
}
.featured-articles {
  margin-top: 32px;
  margin-bottom: 12px;
  padding: 18px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.featured-articles h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-family: var(--font-display);
}
.featured-articles ul {
  margin-bottom: 0;
}
.featured-articles li {
  margin-bottom: 7px;
}

/* HEADER & NAVIGATION ---------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43,68,80,0.04);
  position: relative;
  z-index: 888;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav[aria-label="Hauptnavigation"] {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav[aria-label="Hauptnavigation"] a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 0.94;
  padding: 2px 3px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s, background .2s;
}
nav[aria-label="Hauptnavigation"] a:hover,
nav[aria-label="Hauptnavigation"] a:focus {
  color: var(--brand-secondary);
  background: #F4E5CB;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(43,68,80,0.07);
  outline: none;
  position: relative;
  z-index: 1;
}
.btn.primary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  border: 1.5px solid var(--brand-primary);
}
.btn.primary:hover, .btn.primary:focus {
  background: #344F5E;
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}
.btn.secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  display: none;
  padding: 8px 12px;
  transition: color 0.18s;
  z-index: 1301;
}
.mobile-menu-toggle:focus {
  color: var(--brand-secondary);
  outline: 3px solid var(--brand-secondary);
}

/* MOBILE NAVIGATION ------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-80%);
  transition: opacity 0.3s, transform 0.35s cubic-bezier(.83,-0.01,.31,1.02);
  box-shadow: 0px 0px 18px 2px rgba(43,68,80,0.15);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  align-self: flex-end;
  margin: 22px 24px 8px 0;
  cursor: pointer;
  z-index: 1302;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 32px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--font-body);
  color: var(--brand-primary);
  padding: 12px 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4E5CB;
  color: var(--brand-secondary);
}

/* Only visible on mobile */
@media (max-width: 992px) {
  nav[aria-label="Hauptnavigation"] {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN CONTENT ----------------------------------------------- */
main {
  margin-top: 0;
  min-height: 60vh;
}

section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
section > .container {
  width: 100%;
}

/* HERO SECTION ------------------------------------------------*/
section:first-of-type {
  background: #F8F6F2;
}
section:first-of-type h1 {
  font-size: 2.6rem;
  color: var(--brand-primary);
}
@media (max-width: 768px) {
  section:first-of-type h1 {
    font-size: 1.6rem;
  }
}

/* FOOTER ----------------------------------------------------- */
footer {
  width: 100%;
  background: #2B4450;
  color: #fff;
  padding: 44px 0 22px 0;
  font-size: 1rem;
  font-family: var(--font-body);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
}
.footer-brand img {
  height: 42px;
  width: auto;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #fff;
}
.footer-nav a {
  color: #F9AA33;
  text-decoration: none;
  margin: 0 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: none;
  color: #fff;
  font-size: 0.98rem;
  font-family: var(--font-body);
}
.footer-contact a {
  color: #F9AA33;
  text-decoration: underline;
  word-break: break-all;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social img {
  width: 26px;
  height: 26px;
  filter: grayscale(0) brightness(1.2);
  opacity: 0.85;
  transition: opacity 0.17s;
}
.footer-social img:hover {
  opacity: 1;
  filter: brightness(1.5) drop-shadow(0 2px 6px #F9AA33 );
}

@media (max-width: 992px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(248,247,244,0.96);
  color: #2B4450;
  font-family: var(--font-body);
  box-shadow: 0 -2px 12px rgba(43,68,80,0.08);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 14px 20px 14px;
  transition: transform 0.27s cubic-bezier(.52,1.11,.54,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner p {
  margin-bottom: 0;
}
.cookie-btn-row {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.cookie-btn {
  padding: 8px 22px;
  border-radius: 24px;
  border: 1px solid var(--brand-secondary);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--brand-primary);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  margin-right: 2px;
}
.cookie-btn.primary {
  background: var(--brand-secondary);
  color: #fff;
  border: 1px solid var(--brand-secondary);
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #ffd276;
  color: var(--brand-primary);
  border-color: #ffd276;
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F9AA33;
  color: #fff;
  border-color: #F9AA33;
}
/* Modal overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,68,80,0.32);
  z-index: 4010;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s cubic-bezier(.44,1.28,.51,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  max-width: 420px;
  width: 96vw;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 8px 34px rgba(43,68,80,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: modalPopIn .23s cubic-bezier(.44,1.28,.51,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.7) translateY(38px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.7rem;
  position: absolute;
  right: 18px;
  top: 13px;
  cursor: pointer;
  z-index: 30;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: var(--brand-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 18px;
  border-radius: 12px;
  background: var(--brand-muted);
  position: relative;
  outline: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--brand-secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(43,68,80,0.14);
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 19px;
}

/* Button Row in Modal */
.cookie-modal .cookie-btn-row {
  margin-top: 17px;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}

/* FORM ELEMENTS ---------------------------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #DDDDD7;
  margin-bottom: 16px;
  font-size: 1rem;
  min-width: 180px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--brand-secondary);
}
label {
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 5px;
}

/* RESPONSIVE DESIGN ----------------------------------------- */
@media (max-width: 1100px) {
  .service-cards {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer-social {
    gap: 8px;
  }
}
@media (max-width: 992px) {
  .feature-grid,
  .service-cards,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-social {
    margin-top: 4px;
  }
  .footer-brand span {
    font-size: 1.03rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper,
  .text-section,
  .feature-item,
  .testimonial-card,
  .footer-contact {
    gap: 12px;
    padding: 0;
  }
  section,
  .section {
    padding: 22px 0;
    margin-bottom: 38px !important;
  }
  .text-image-section,
  .content-grid,
  .feature-grid {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch !important;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 16px 12px;
  }
  .service-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    padding: 18px 10px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 96vw;
    padding: 18px 10px;
  }
  footer {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 20px 0 12px 0;
  }
}
@media (max-width: 520px) {
  h1, .h1 {
    font-size: 1.1rem;
  }
  h2, .h2 {
    font-size: 1rem;
  }
  .btn { font-size: 0.96rem; }
  .footer-brand img {
    height: 32px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS -------------------------- */
.btn, .cookie-btn, .cookie-toggle,
nav[aria-label="Hauptnavigation"] a,
.mobile-nav a {
  transition: background 0.2s, color 0.18s, border-color 0.14s, box-shadow 0.18s;
}
.card, .service-card, .feature-grid > div {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .service-card:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 19px rgba(41,56,92,0.13);
  transform: translateY(-5px) scale(1.01);
}
nav[aria-label="Hauptnavigation"] a, .footer-nav a{
  transition: color 0.18s, background 0.18s;
}

/* MISC VISUAL TWEAKS ----------------------------------------- */
hr {
  border: 0;
  border-top: 1px solid #dedcd8;
  margin: 28px 0;
}

::-webkit-input-placeholder { color: #A9B0B7; }
::-moz-placeholder { color: #A9B0B7; }
:-ms-input-placeholder { color: #A9B0B7; }
::placeholder { color: #A9B0B7; }

/* PRINT FRIENDLY -------------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-consent-banner, footer, .btn, .cookie-btn-row {
    display: none !important;
  }
  main, .container, section {
    box-shadow: none !important;
    background: #fff !important;
    color: #2B4450 !important;
  }
}
