/* =============================
   RESET & BASE STYLES (MOBILE FIRST)
   ============================= */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body { line-height: 1.5; background: #FFF9EE; color: #2D251F; font-family: 'Roboto', Arial, sans-serif; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 8px; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }

/* ================== VINTAGE RETRO KEY PALETTE ================== */
:root {
  --color-primary: #1C1C1F;          /* Deep Ebony */
  --color-secondary: #D6C08A;        /* Retro Champagne Gold */
  --color-accent: #A64D2B;           /* Nostalgic Burnt Orange */
  --color-cream: #FFF9EE;            /* Vintage Ivory */
  --color-darkbrown: #382E26;        /* Used for cards and shadows */
  --color-mint: #A5C8AA;             /* Clean retro highlight */
  --color-rose: #DCA784;             /* Complimentary retro accent */
}

/* ================== TYPOGRAPHY ===================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Roboto:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -1px;
}
h1   { font-size: 2.2rem; line-height: 1.13; margin-bottom: 24px; font-weight: 900; }
h2   { font-size: 1.6rem; line-height: 1.2; margin-bottom: 18px; }
h3   { font-size: 1.14rem; margin-bottom: 12px; }
p, ul, ol, li, dl, dd, dt {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-darkbrown);
  margin-bottom: 12px;
}
strong { font-weight: 700; color: var(--color-accent); }
em { color: var(--color-rose); }

/* Retro blockquote/text stylistic touches */
blockquote, .testimonial-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.17rem;
  font-style: italic;
  color: var(--color-accent);
  background: var(--color-cream);
  border-left: 4px solid var(--color-secondary);
  padding: 10px 24px;
}


/* ================== CONTAINER, SECTION, WRAPPERS ============== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ================= NAVIGATION & HEADER ================== */
header {
  background: var(--color-cream);
  border-bottom: 4px solid var(--color-secondary);
  box-shadow: 0 4px 12px 0 rgba(56, 46, 38, 0.06);
  padding: 0;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
header img {
  height: 48px;
  margin-right: 16px;
}
.desktop-nav {
  display: none;
}
.desktop-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin: 0 16px;
  padding: 6px 3px;
  position: relative;
  letter-spacing: 1px;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline dotted var(--color-secondary) 2px;
}
.cta-button.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.04rem;
  border-radius: 18px;
  padding: 10px 30px;
  box-shadow: 0 2px 8px 0 rgba(56,46,38,0.10);
  border: 2px solid var(--color-secondary);
  margin-left: 0;
  min-width: 120px;
  transition: background 0.23s, color 0.23s, box-shadow 0.2s;
}
.cta-button.primary:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px 0 rgba(166,77,43,0.12);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px; width: 46px;
  background: var(--color-secondary);
  border-radius: 50%;
  font-size: 1.6rem;
  border: none;
  box-shadow: 0 1px 4px 0 rgba(56,46,38,0.13);
  color: var(--color-primary);
  margin-left: 8px;
  cursor: pointer;
  z-index: 101;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ================= MOBILE MENU =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-cream);
  z-index: 202;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.85,0,.18,1), opacity 0.20s;
  box-shadow: 0 0 0 #fff;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 22px 10px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 300;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 32px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 10px 6px;
  border-radius: 10px;
  letter-spacing: 2px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}


/* =========== DESKTOP NAVIGATION SHOW-on-lg BREAKPOINT ========== */
@media (min-width: 970px) {
  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 0 12px;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================== SECTION, SPACING, FLEX LAYOUTS =============== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-cream);
  border: 2px solid var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(56,46,38,0.10);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, border-color 0.19s;
}
.card:hover { box-shadow: 0 4px 32px 0 rgba(56,46,38,0.16); border-color: var(--color-accent); }

.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: 2px solid var(--color-secondary);
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(56,46,38,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  text-align: left;
  min-width: 240px;
  max-width: 500px;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 16px 0 rgba(56,46,38,0.13);
  border-color: var(--color-accent);
}
.testimonial-card p {
  color: var(--color-accent);
  background: none;
  border-left: 0;
  padding: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-darkbrown);
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.9;
  margin-bottom: 4px;
}
.testimonial-card div {
  font-family: 'Playfair Display', serif;
  color: var(--color-secondary);
  font-size: 1.13rem;
  letter-spacing: 6px;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  background: var(--color-cream);
  border-radius: 14px;
  border: 2px dashed var(--color-secondary);
  min-width: 192px;
}

/* ================== BUTTONS, LINKS, CTAs =========== */
.cta-button {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.04rem;
  border-radius: 18px;
  padding: 10px 26px;
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
  box-shadow: 0 1px 6px 0 rgba(166,77,43,0.07);
  margin-top: 12px;
  margin-bottom: 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, border-color 0.19s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 2px 16px 0 rgba(214,192,138,0.13);
}


/* ================== LISTS, TABLES, ETC. ================ */
ul, ol, dl {
  margin-bottom: 12px;
  padding-left: 16px;
}
ul li, ol li, dl dd, dl dt {
  margin-bottom: 8px;
  line-height: 1.7;
  position: relative;
}
ul li::before {
  content: '\25C9';
  color: var(--color-secondary);
  display: inline-block;
  margin-right: 8px;
  font-size: 0.9em;
}
ol li {
  counter-increment: li;
}
ol li::before {
  content: counter(li) '.';
  color: var(--color-accent);
  margin-right: 8px;
  font-family: 'Playfair Display', serif;
}
table {
  width: 100%;
  margin-bottom: 22px;
  background: #FFF;
  border-radius: 6px;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 2px 10px 0 rgba(56,46,38,0.05);
  overflow: hidden;
  font-size: 0.98rem;
}
th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
td {
  background: #fff;
  color: var(--color-darkbrown);
}
tr:nth-child(even) td {
  background: #f9f5ed;
}

/* ============ FAQ/Definition list ========== */
dl { margin-bottom: 24px; }
dl dt {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 8px;
}
dl dd { margin-bottom: 18px; margin-left: 12px; }


/* ================== TEXT-SECTIONS, GRIDS, ETC. ========== */
.text-section { margin-bottom: 20px; }
.text-image-section { margin-bottom: 40px; }

/* ================== FOOTER =============== */
footer {
  background: var(--color-cream);
  border-top: 4px solid var(--color-secondary);
  padding: 32px 0 18px 0;
  font-size: 1rem;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
footer nav {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1em;
  color: var(--color-primary);
}
footer nav a {
  color: var(--color-primary);
  margin: 0 4px;
  text-decoration: underline dotted var(--color-secondary) 2px;
  transition: color 0.16s;
}
footer nav a:hover { color: var(--color-accent); }
footer div { color: var(--color-darkbrown); opacity: 0.82; }

/* =================== COOKIE BANNER & MODAL ============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 20px 22px;
  z-index: 2222;
  box-shadow: 0 -1px 24px 0 rgba(56,46,38,0.13);
  animation: slideUpCookie 0.4s;
}
@keyframes slideUpCookie {
  from { transform: translateY(80%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 0.99rem;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.cookie-actions button {
  font-family: 'Playfair Display', serif;
  font-size: .98rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  padding: 8px 22px;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.14s, color 0.14s, border-color 0.11s;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
}
.cookie-actions .cookie-settings {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-weight: 700;
}
.cookie-actions .cookie-settings:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #fff;
  color: var(--color-darkbrown);
  box-shadow: 0 8px 36px rgba(56,46,38,0.14);
  border-radius: 20px;
  z-index: 3333;
  min-width: 90vw;
  max-width: 460px;
  padding: 32px 26px 28px 26px;
  display: none;
  flex-direction: column;
  gap: 1.7em;
  border: 2px solid var(--color-secondary);
  animation: modalAppear .34s cubic-bezier(.19,1,.22,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalAppear {
  from { transform: translate(-50%, -68%) scale(0.90); opacity: 0; }
  to { transform: translate(-50%, -60%) scale(0.98); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  flex: 1;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  border-radius: 5px;
}
.cookie-modal .category-essential {
  color: var(--color-darkbrown);
  opacity: .93;
}
.cookie-modal .cookie-modal-close {
  margin-top: 6px;
  align-self: flex-end;
  font-size: 1.11em;
  background: none;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  padding: 6px 12px 2px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.17s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ================== RETRO / VINTAGE ELEMENTS =============== */
.section {
  border-radius: 18px;
  background: linear-gradient(90deg,#FFF9EE 65%,#FFF3D6 100%);
  box-shadow: 0 2px 22px 0 rgba(214,192,138,0.08);
  border: 2px dotted var(--color-secondary);
}
.content-wrapper > h2, .content-wrapper > h1 {
  border-bottom: 2px dashed var(--color-secondary);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
}

/* Vintage sticker / badge for logo (optional for decoration)
.logo-badge {
  position: absolute;
  left: -30px; top: -10px;
  border-radius: 99px 26px 99px 26px / 26px 99px 26px 99px;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  font-size: .98rem;
  font-weight: 700;
  padding: 8px 24px;
  box-shadow: 0 2px 12px 0 rgba(166,77,43,0.09);
  letter-spacing: 2px;
  transform: rotate(-3deg);
  z-index: 9;
}
*/

/* ============== FORMS (Kontaktpage, Cookie, etc) ============= */
input, textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--color-secondary);
  background: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 1px 10px 0 rgba(214,192,138,0.05);
  transition: border-color 0.13s;
}
input:focus, textarea:focus {
  border-color: var(--color-accent);
}
button[type='submit'] {
  background: var(--color-accent);
  color: #fff;
  border-radius: 18px;
  font-family: 'Playfair Display', serif;
  padding: 10px 24px;
  font-size: 1.06rem;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background 0.17s;
}
button[type='submit']:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==================== RESPONSIVE & ADAPTIVE =============== */
@media (max-width: 970px) {
  header .container { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .desktop-nav { display: none !important; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 32px 4px; margin-bottom: 36px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .content-grid, .card-container, .text-image-section { flex-direction: column !important; gap: 16px; }
  .testimonial-card { max-width: 100%; }
  header img { height: 42px; margin-bottom: 4px; }
  .cta-button, .cta-button.primary { width: 100%; padding: 12px 0; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 18px 1px; margin-bottom: 24px; }
  .testimonial-card { padding: 16px; }
  footer .container { gap: 10px; padding: 0; }
}


/* ================== MICRO ANIMATIONS & HOVER EFFECTS ============ */
.card, .feature-item, .testimonial-card, .cta-button, .cta-button.primary {
  transition: box-shadow 0.19s, border-color 0.15s, background 0.15s, color 0.15s;
}
.card:hover, .feature-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px 0 rgba(214,192,138,0.13);
}

/* ================= SUPPORT FOR ICONS AND IMAGES ============= */
li img {
  width: 28px; height: 28px; vertical-align: middle;
  background: var(--color-secondary);
  border-radius: 50%;
  margin-right: 4px;
  display: inline-block;
  padding: 3px;
  box-shadow: 0 1px 4px 0 rgba(214,192,138,0.13);
}

/* ============== Z-INDEX Safety for overlays ============== */
.mobile-menu { z-index: 202; }
.mobile-menu-toggle { z-index: 205; }
.cookie-banner { z-index: 2222; }
.cookie-modal { z-index: 3333; }


/* ================== CLARITY & CONTRAST IN TESTIMONIALS =============== */
.testimonial-card,
.testimonial-card p,
.testimonial-card span {
  color: var(--color-primary) !important;
  background: #fff !important;
  font-weight: 400;
}

/* ========== MISC. ELEMENTS & RETRO DETAILS ========= */
hr {
  border: 0;
  border-top: 2px dashed var(--color-secondary);
  margin: 28px 0 16px 0;
  width: 100%;
}

/* ============= MINIMAL PRINT STYLES =============== */
@media print {
  body, .container, section, header, footer, .section {
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    border: none !important;
  }
  nav, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display: none !important; }
}
