/* 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;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  background: #F0F5F9;
  color: #43403E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}

ul, ol {
  list-style: none;
  margin-left: 0;
}
a {
  text-decoration: none;
  color: #015483;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C25721;
}

/* VINTAGE RETRO BRAND STYLES */
:root {
  --color-primary: #015483;
  --color-secondary: #09A8C9;
  --color-accent: #F0F5F9;
  --color-retro-orange: #E7B469;
  --color-retro-brown: #78593A;
  --color-retro-blue: #53B1AE;
  --color-retro-cream: #FFF7EC;
  --color-retro-dark: #222114;
  --color-retro-shadow: rgba(120, 86, 48, 0.10);
  --color-contrast: #36312F;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  color: #222114;
  font-weight: 700;
  letter-spacing: .02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-family: 'Open Sans', 'Arial', Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-retro-dark);
  margin-bottom: 0.7em;
}
strong, b {
  font-weight: 700;
  color: var(--color-retro-brown);
}

section {
  background: var(--color-retro-cream);
  border-radius: 16px;
  box-shadow: 0 6px 28px var(--color-retro-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

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

.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card, .testimonial-card {
  background: #FFF7EC;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-retro-shadow);
  padding: 28px 26px;
  margin-bottom: 20px;
  border: 1.5px solid #E7B469;
  position: relative;
  transition: box-shadow 0.25s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(120, 86, 48, 0.16);
  transform: translateY(-2px) scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 220px;
  background: #FFF7EC;
  border: 1.5px solid #E7B469;
  color: #222114;
}
.testimonial-card p {
  font-style: italic;
  color: #36312F;
  font-size: 1.1rem;
}
.testimonial-card strong {
  font-family: 'Roboto Slab', serif;
  font-size: 1.03rem;
  color: #C25721;
  margin-left: 8px;
}

/* HEADER & NAV */
header {
  background: #E7B469;
  border-bottom: 4px solid #015483;
  box-shadow: 0 0 14px rgba(55,30,10,0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.logo img {
  height: 46px;
  width: auto;
  filter: sepia(23%) contrast(110%);
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #222114;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFF7EC;
  color: #C25721;
}
.cta-button {
  background: #015483;
  color: #FFF7EC;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 28px;
  font-size: 1.1rem;
  margin-left: 22px;
  box-shadow: 0 1px 12px rgba(67,55,37,0.07);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #E7B469;
  color: #222114;
  box-shadow: 0 7px 24px 0 var(--color-retro-shadow);
  transform: scale(1.05);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #015483;
  cursor: pointer;
  margin-left: 18px;
  z-index: 85;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E7B469;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(117deg, #E7B469 60%, #FFF7EC 100%);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.74,.1,.33,1.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 42px 28px 28px 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #015483;
  background: none;
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #015483;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.23rem;
  color: #222114;
  background: #FFF7EC;
  border-radius: 16px;
  padding: 12px 18px;
  margin: 4px 0;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E7B469;
  color: #015483;
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 14px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 540px) {
  header .container { padding: 7px 6px;}
  .cta-button { padding: 8px 13px; font-size: 1rem; }
}

/* HERO */
.hero {
  background: linear-gradient(100deg,#E7B469 85%,#FFF7EC 100%);
  border-top-right-radius: 48px;
  border-bottom-left-radius: 48px;
  margin-bottom: 60px;
  padding: 56px 20px 52px 20px;
  box-shadow: 0 6px 24px var(--color-retro-shadow);
}
.hero h1 {
  color: #222114;
  font-size: 2.4rem;
}
.hero p{
  font-size: 1.25rem;
  color: #78593A;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.hero .cta-button{
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero { padding: 32px 8px 32px 8px; }
  .hero h1{ font-size: 1.64rem; }
  .content-wrapper { gap: 16px; }
}

.features .feature-grid > div {
  flex: 1 1 200px;
  min-width: 220px;
  background: #53B1AE18;
  border-radius: 14px;
  border: 1px solid #E7B46944;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px var(--color-retro-shadow);
  transition: box-shadow 0.18s, transform 0.14s;
}
.features .feature-grid > div:hover {
  box-shadow: 0 7px 16px rgba(43,32,11,0.11);
  transform: translateY(-3px) scale(1.027);
}
.features .feature-grid img {
  height: 40px;
  margin-bottom: 8px;
}
.features .feature-grid h3 {
  font-size: 1.14rem;
  color: #015483;
  letter-spacing: .02em;
}
.features .feature-grid p {
  font-size: 1rem;
}

/* SECTION DEFAULT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS / UL */
.services ul,
.legal ul,
.faq-list ul,
.text-section ul {
  padding-left: 18px;
  margin-bottom: 10px;
  color: #78593A;
}
.services ul li, .legal ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.services ul li:before, .legal ul li:before {
  content: "✦";
  color: #C25721;
  font-size: 1rem;
  position: absolute;
  left: 0;
  top: 2px;
}
.text-section ul li img {
  vertical-align: middle;
  margin-right: 6px;
}

/* CTA BLOCKS */
.cta {
  background: linear-gradient(110deg,#53B1AE0c 50%, #E7B46922 100%);
  border-radius: 22px;
  box-shadow: 0 4px 18px var(--color-retro-shadow);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta .cta-button {
  margin-top: 8px;
  font-size: 1.16rem;
  background: #015483;
  color: #FFF7EC;
}

/* ABOUT PAGE / TEXT-SECTION */
.text-section {
  background: #FFF7EC;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(67,55,37,0.05);
  padding: 24px 20px;
}

/* CONTACT PAGE */
.contact .content-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.contact .text-section, .contact .location-map {
  flex: 1 1 270px;
  background: #FFFBF2;
  border-radius: 14px;
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(232,200,169,0.08);
}
.location-map img {
  height: 88px;
  width: auto;
  margin-bottom: 10px;
  opacity: .9;
}

/* LEGAL (IMPRESSUM, DSGVO, COOKIE) */
.legal .content-wrapper {
  background: #FFF7EC;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(232,200,169,0.07);
  margin-bottom: 10px;
}

/* FAQ */
.faq-list h2 {
  color: #015483;
  font-size: 1.17rem;
  margin-bottom: 7px;
  margin-top: 24px;
}
.faq-list p {
  margin-bottom: 3px;
}

/* THANK YOU PAGE */
.thanks .content-wrapper {
  align-items: center;
  text-align: center;
}

/* FOOTER */
footer {
  background: #78593A;
  color: #FFF7EC;
  padding: 32px 0 14px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 13px rgba(67,55,37,0.12);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFF7EC;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  opacity: 0.92;
  border-bottom: 1px dotted #FFF7EC;
  padding-bottom: 1px;
  transition: color 0.16s, border 0.2s;
}
.footer-nav a:hover{
  color: #E7B469;
  border-bottom: 2px solid #E7B469;
}
.footer-contact p, .footer-contact a {
  font-size: .98rem;
  color: #F9EFE3;
  opacity: .96;
}
.footer-contact a:hover {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .content-wrapper, .hero .container, .features .container, .services .container, .cta .container {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .contact .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  section,
  .hero,
  .cta {
    padding: 24px 7px;
    margin-bottom: 30px;
    border-radius: 12px;
  }
  h1 {font-size: 1.29rem;}
  h2 {font-size: 1.13rem;}
}
@media (max-width: 540px) {
  .footer-contact p { font-size: .87rem; }
  .footer-nav { gap: 10px; }
  section, .hero, .cta { padding: 10px 2px; }
  .testimonial-card, .card { padding: 13px 10px; border-radius: 7px; }
}

/* BUTTON & LINKS STYLES */
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}
button:focus {
  outline: 2px solid #015483;
  outline-offset: 2px;
}

/* BUTTONS WITH RETRO STYLE */
.cta-button, .cookie-btn {
  display: inline-block;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  border-radius: 25px;
  padding: 11px 32px;
  font-size: 1.09rem;
  background: #015483;
  color: #FFF7EC;
  box-shadow: 0 2px 12px var(--color-retro-shadow);
  border: 2px solid #E7B469;
  margin-top: 7px;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.17s, box-shadow 0.24s, border 0.18s, transform 0.17s;
}
.cta-button:hover, .cta-button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #E7B469;
  color: #222114;
  border-color: #015483;
  box-shadow: 0 8px 24px 0 var(--color-retro-shadow);
  transform: scale(1.03);
}

/* Micro-Interaction Animation */
.cta-button, .cookie-btn {
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.22s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 200;
  background: #E7B469;
  color: #222114;
  padding: 24px 14px 18px 14px;
  box-shadow: 0 -7px 36px rgba(120,89,58,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-top: 3px solid #015483;
  animation: cookieIn 0.6s;
}
.cookie-banner .cookie-banner-text {
  max-width: 650px;
  line-height: 1.45;
  text-align: center;
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  min-width: 120px;
  padding: 9px 18px;
  font-size: 1rem;
  background: #015483;
  color: #FFF7EC;
  border: 1.5px solid #222114;
  cursor: pointer;
}
.cookie-btn.secondary {
  background: #FFF7EC;
  color: #015483;
  border: 1.5px solid #E7B469;
}
.cookie-btn.settings {
  background: #09A8C9;
  color: #FFF7EC;
  border: 1.5px solid #015483;
}
.cookie-btn.settings:hover {
  background: #53B1AE;
  color: #FFF7EC;
}
@keyframes cookieIn {
  0% {transform:translateY(60px);opacity:0;}
  100%{transform:translateY(0);opacity:1;}
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 230;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(34,33,20,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100%{opacity:1;}
}
.cookie-modal-content {
  background: #FFF7EC;
  border: 2.4px solid #E7B469;
  border-radius: 22px;
  box-shadow: 0 10px 40px 0 var(--color-retro-shadow);
  padding: 32px 32px 24px 32px;
  min-width: 300px;
  max-width: 98vw;
  width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  animation: modalIn 0.3s cubic-bezier(.38,.41,.5,1.36);
}
@keyframes modalIn {
  0%{transform:scale(.8);opacity:0;}
  100%{transform:none;opacity:1;}
}
.cookie-modal-content h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  color: #015483;
}
.cookie-modal-content .modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 2rem;
  color: #015483;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-content .modal-close:hover {
  color: #C25721;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #E7B46911;
  border-radius: 9px;
  padding: 8px 12px;
}
.cookie-option-row label {
  font-size: 1rem;
  color: #36312F;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-option-row input[type="checkbox"] {
  accent-color: #015483;
  width: 18px;
  height: 18px;
}
.cookie-option-row .locked {
  color: #A99A7A;
  font-size: .94em;
  opacity: 0.66;
  margin-left: 6px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 9px;
  justify-content: flex-end;
}

/* Hide modal/banner via .hidden class */
.cookie-banner.hidden, .cookie-modal.hidden {
  display: none !important;
}

/* UTILS & DECORATIVE */
hr {
  border: none;
  height: 1.5px;
  background: #E7B469;
  margin: 28px 0;
}

/* VINTAGE PATTERNS & NOSTALGIC DETAILS */
section:before, section:after {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
}
section:before {
  top: -13px; left: -37px; width: 70px; height: 70px;
  background: url('data:image/svg+xml;utf8,<svg fill="tan" fill-opacity=".2" width="70" height="70" xmlns="http://www.w3.org/2000/svg"><rect width="70" height="11" /><rect y="26" width="70" height="11" /><rect y="52" width="70" height="11" /></svg>');
  background-repeat: no-repeat;
  border-radius: 50%;
}
section:after {
  bottom: -8px; right: -27px; width: 60px; height: 60px;
  background: url('data:image/svg+xml;utf8,<svg fill="orange" fill-opacity=".19" width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="30" /></svg>');
  background-repeat: no-repeat;
  border-radius: 50%;
}

@media (max-width: 540px) {
  section:before, section:after { display: none; }
}

/* Hide scrollbars for mobile menu */
.mobile-menu {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  overflow-y: auto;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* Z-Index fixes */
header { z-index: 100;}
.mobile-menu { z-index: 180; }
.cookie-banner { z-index: 200; }
.cookie-modal { z-index: 230; }

/* Accessibility helper (for skip links etc.) */
.sr-only {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Misc spacing adjustments for all components */
section + section { margin-top: 10px; }

/* END OF CSS */
