/* ============================
   Fizzy Dragon Reisen - style.css
   Soft Pastel Dreamy Responsive Design with Flexbox-Only Layouts
   ============================ */

/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FAF7FA;
  color: #262626;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  /* Brand and pastel palette */
  --primary: #0B3954;
  --secondary: #F26430;
  --accent: #F6F5F3;
  --pastel-blue: #B5D6EB;
  --pastel-coral: #FFD1C1;
  --pastel-yellow: #FFF6C1;
  --pastel-green: #D0F5DF;
  --pastel-lavender: #E6D5F7;
  --white: #FFFFFF;
  --gray-light: #F7F7FA;
  --gray: #E3E6ED;
  --black: #262626;
  --shadow: 0 4px 32px 0 rgba(80, 80, 128, 0.09);
  --radius-s: 12px;
  --radius-m: 18px;
  --shadow-soft: 0 2px 12px 0 rgba(205, 191, 255, 0.14);
  --focus-ring: 0 0 0 3px #B5D6EB99;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  body { font-size: 15px; }
}
p {
  margin-bottom: 14px;
  color: var(--black);
}

/* ============ CONTAINER and BASIC STRUCTURE ============ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-soft);
  padding: 24px 20px;
  min-width: 260px;
  max-width: 100%;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(56, 90, 140, 0.10);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pastel-blue);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonial-card p {
  color: var(--black);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: scale(1.018);
  box-shadow: 0 6px 30px 0 rgba(11, 57, 84, 0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ HEADER + NAV ============ */
header {
  width: 100%;
  background: linear-gradient(90deg, #F7F8FF 0%, #F6F5F3 100%);
  box-shadow: 0px 3px 20px 0 rgba(189, 189, 212, 0.06);
  position: relative;
  z-index: 8;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.92;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-lavender);
  color: var(--secondary);
}
.cta-btn {
  background: linear-gradient(90deg, #F26430 0%, #FFD1C1 100%);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-m);
  padding: 12px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 18px 0 rgba(243, 151, 130, 0.14);
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.12s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #0B3954 0%, #B5D6EB 100%);
  color: var(--white);
  box-shadow: 0 4px 28px 0 rgba(11, 57, 84, 0.20);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--primary);
  margin-left: 18px;
  cursor: pointer;
  z-index: 20;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-ring);
}

/* Only show nav as hamburger below breakpoint */
@media (max-width: 1024px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 8px;
    padding: 12px 20px;
  }
}

/* ============== MOBILE MENU ============== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80vw;
  max-width: 340px;
  background: #F7F6FF;
  box-shadow: -7px 0 32px 0 rgba(134, 131, 180, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.60,0, 0.22,1);
  z-index: 333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 22px 30px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 20px;
  padding: 3px 11px 5px 5px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-blue);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.2rem;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid var(--pastel-blue);
  transition: color 0.14s, background 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
  background: var(--pastel-coral);
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay behind mobile menu? (optional: for dimming bg) */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(80, 80, 128, 0.15);
  z-index: 320;
  transition: opacity 0.3s;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

/* ============ HERO ============ */
.hero-section {
  width: 100%;
  background: linear-gradient(100deg, #FFF6C1 0%, #E6D5F7 89%, #D0F5DF 100%);
  border-bottom: 1.5px solid #F3DEFF;
  padding-bottom: 0;
  padding-top: 42px;
  min-height: 350px;
}
.hero-section .container {
  align-items: flex-start;
  padding-top: 12px;
}
.hero-section .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero-section h1 {
  color: var(--primary);
  text-shadow: 0 2px 10px #FFD1C122;
}
.hero-section p {
  font-size: 1.12rem;
  color: #32314c;
  margin-bottom: 6px;
  max-width: 680px;
}

/* ============ SECTIONS, LISTS, FEATURES ============ */
.features-section, .testimonials, .contact-section, .contact-info-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features-section .content-wrapper ul,
.features-section ul,
.section ul, .section ol, .text-section ul, .text-section ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.features-section li, .text-section li, .section li {
  padding: 10px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border-left: 4px solid var(--pastel-blue);
  border-radius: 0 15px 15px 0;
  padding-left: 16px;
  font-size: 1.04rem;
  color: var(--primary);
}
.features-section li img, .text-section li img {
  width: 26px; height: 26px; vertical-align: middle;
  margin-right: 8px;
}
.features-section li strong, .text-section li strong {
  font-weight: 700;
  color: var(--secondary);
  margin-right: 2px;
}
@media (max-width: 768px) {
  .features-section, .testimonials, .contact-section, .contact-info-section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .hero-section {
    padding-top: 23px;
  }
}

/* Highlight boxes in Tipps & Inspiration */
.highlight-boxes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.quick-guide {
  background: var(--pastel-green);
  border-radius: var(--radius-s);
  padding: 18px 16px 18px 16px;
  box-shadow: 0 2px 10px 0 rgba(80,155,124,0.08);
  min-width: 220px;
  flex: 1 0 215px;
  transition: box-shadow 0.16s;
}
.quick-guide h3 {
  color: #16B878;
  margin-bottom: 8px;
}
.quick-guide:hover { box-shadow: 0 4px 16px rgba(35, 160, 111, 0.11); }
@media (max-width: 650px) {
  .highlight-boxes { flex-direction: column; gap: 10px; }
  .quick-guide { min-width: 0; }
}

/* Featured article in Blog */
.featured-article {
  background: var(--pastel-coral);
  border-radius: var(--radius-m);
  padding: 28px 20px;
  margin-top: 12px;
  box-shadow: 0 2px 17px rgba(231, 116, 60, 0.08);
  transition: box-shadow 0.16s;
}
.featured-article h3 { color: var(--secondary); }
.featured-article:hover { box-shadow: 0 4px 17px rgba(252, 155, 49, 0.11); }

.category-filter {
  margin: 22px 0 10px 0;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}
.category-filter span {
  background: var(--pastel-yellow);
  border-radius: 7px;
  padding: 4px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  opacity: 0.92;
}

/* Kontakt map placeholder */
.map-placeholder {
  background: var(--gray-light);
  padding: 18px 14px;
  border-radius: var(--radius-s);
  font-size: 1rem;
  color: #404050;
  margin: 12px 0 0 0;
  display: inline-block;
}

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(90deg, #F6F5F3 0%, #E6D5F7 90%);
  border-top: 1.5px solid #F3DEFF;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0px -2px 20px 0 rgba(123, 113, 145, 0.08);
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 20px 22px 20px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.86;
  transition: color 0.1s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  color: #626268;
}
@media (max-width: 600px) {
  footer .container { padding: 20px 8px 18px 8px; }
  .footer-nav { gap: 10px; }
}

/* ============ BUTTONS & LINKS ============ */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: var(--radius-s);
  padding: 10px 22px;
  background: var(--secondary);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.12s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 2px 12px 0 rgba(11,57,84,.13);
  outline: none;
}

/* ============ TABLES (if ever used) ============ */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 20px;
}
th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
th {
  background: var(--pastel-lavender);
  color: var(--primary);
}

/* ============ FORMS (if used in Kontakt) ============ */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--pastel-blue);
  border-radius: var(--radius-s);
  background: var(--white);
  margin-bottom: 14px;
  box-shadow: none;
  width: 100%;
  transition: border 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: var(--focus-ring);
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FFF6C1 0%, #FFD1C1 48%, #E6D5F7 100%);
  box-shadow: 0 -2px 24px 0 rgba(206, 169, 60, 0.10);
  z-index: 7600;
  padding: 24px 14px 22px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  opacity: 1;
  transition: opacity 0.27s, transform 0.33s;
  font-size: 1.08rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner .cookie-banner-text {
  color: var(--primary);
  max-width: 670px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 20px 7px 18px 7px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }
}
.cookie-accept-btn {
  background: linear-gradient(90deg, #0B3954 0%, #B5D6EB 100%);
  color: var(--white);
  border-radius: var(--radius-s);
  padding: 11px 21px;
  font-weight: 700;
  border: none;
  margin-right: 6px;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: linear-gradient(90deg, #16B878 0%, #0B3954 100%);
}
.cookie-reject-btn {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-s);
  padding: 11px 21px;
  font-weight: 700;
  transition: background 0.11s, border-color 0.11s, color 0.12s;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--pastel-coral);
  color: var(--primary);
}
.cookie-settings-btn {
  background: var(--pastel-yellow);
  color: var(--primary);
  border-radius: var(--radius-s);
  padding: 11px 21px;
  font-weight: 700;
  border: none;
  transition: background 0.11s, color 0.12s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(70,55,80,0.17);
  z-index: 7670;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 312px;
  max-width: 97vw;
  background: linear-gradient(110deg,#E6D5F7 0%, #FFF6C1 100%);
  border-radius: 23px;
  padding: 38px 28px 24px 28px;
  z-index: 7690;
  box-shadow: 0 8px 38px 0 rgba(80,60,100,0.20);
  opacity: 1;
  transition: opacity 0.20s;
}
.cookie-modal h2 {
  font-size: 1.32rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  cursor: pointer;
  font-size: 1rem;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  border-radius: 4px;
  margin-right: 3px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  color: var(--primary);
  font-size: 1.51rem;
  border: none;
  align-self: flex-end;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--secondary);
}
@media (max-width: 500px) {
  .cookie-modal { min-width: 0; max-width: 100vw; padding: 17px 7vw 19px 7vw; }
}

/* ============ UTILITY/STATE CLASSES ============ */
.d-none {
  display: none !important;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-section, .section, .testimonials, .contact-section, .contact-info-section {
  animation: fadeInUp 0.8s cubic-bezier(.43,.02,.39,.97);
  animation-fill-mode: both;
}

/* ============ SPACING RULES ============ */
main > section, .section, .testimonials {
  margin-bottom: 60px;
}
.card + .card, .testimonial-card + .testimonial-card, .section + .section, .content-grid > *, .card-container > * {
  margin-left: 0;
  margin-top: 0;
  margin-right: 0;
}
/* Gaps handled by flex gaps only; no absolute positioning for content. */

/* ============ FOCUS & ACCESSIBILITY ============ */
a:focus, button:focus, .cta-btn:focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  height: 13px;
  width: 8px;
  background: var(--pastel-yellow);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-lavender);
  border-radius: 8px;
}

/* ============ MOBILE ADJUSTMENTS ============ */
@media (max-width: 400px) {
  html { font-size: 92%; }
  h1 { font-size: 1.25rem; }
}

/* ======================
   End of Fizzy Dragon Reisen Styles
   ====================== */
