/* ===================================================================
   FESTIVALEINDRUCK – "modern_bold" CSS: style.css
   ===================================================================
   - Modern bold design: bold fonts, high contrast, strong colors
   - Consistent spacing, geometric elements, professional effects
   - Flexbox everywhere for layout (NO grid/columns)
   - Responsive/mobile-friendly, interactive navigation & cookie banner
=================================================================== */

/* -----------------------------
   0. CSS 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, 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, 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 { height: 100%; scroll-behavior: smooth; }
body { height: 100%; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a { color: inherit; text-decoration: none; }
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  box-sizing: border-box;
}

/* -----------------------------
   1. Variables (fallbacks)
----------------------------- */
:root {
  --primary: #26547C;
  --secondary: #FFD166;
  --accent: #F2F2F2;
  --text: #091A28;
  --text-dark: #101828;
  --white: #fff;
  --black: #000;
  --radius: 18px;
  --shadow: 0 6px 32px rgba(38,84,124,0.09);
  --shadow-hover: 0 8px 38px rgba(38,84,124,0.14);
  --transition: 0.2s cubic-bezier(.53,.13,.63,.97);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--accent);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }

strong, b { font-weight: 800; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* -----------------------
   2. Structure & Layout
------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 26px;
  position: relative;
  min-width: 270px;
  flex: 1 1 330px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02);
}

/* content-grid: flexible layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}
.text-image-section img {
  max-width: 200px;
  min-width: 110px;
  border-radius: var(--radius);
}

/* Testimonial */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F9FBFE;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(38, 84, 124, 0.11);
  color: var(--text-dark);
  font-size: 1.08rem;
  max-width: 500px;
  min-width: 0;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 6px;
  text-align: center;
}
.testimonial-card span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.85;
}

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

.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

ul li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .testimonial-card { padding: 15px; }
}

/* -----------------------------
   3. Header & Main Navigation
----------------------------- */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 3px 20px rgba(38,84,124,0.08);
  z-index: 100;
  width: 100%;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  position: relative;
}
header a img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition), background var(--transition);
  position: relative;
  padding: 4px 10px;
  border-radius: 6px;
}
header nav a:not(.btn-primary):hover, header nav a:not(.btn-primary):focus {
  color: var(--secondary);
  background: rgba(255,209,102,0.13);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary) !important;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1.09rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(38,84,124,0.09);
  border: 2px solid var(--secondary);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary) !important;
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.2rem;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  transition: background var(--transition);
  z-index: 104;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(255,209,102,0.18);
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -----------------------------
   4. Mobile Navigation Overlay
----------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,84,124,0.96);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.19,.45,.99);
  width: 100vw;
  height: 100vh;
  padding-top: 25px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--secondary);
  font-size: 2.5rem;
  padding: 12px;
  border-radius: 7px;
  margin-right: 18px;
  margin-top: 4px;
  cursor: pointer;
  z-index: 108;
  transition: background var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,209,102,0.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 36px 36px 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  background: transparent;
  border-radius: 8px;
  padding: 13px 0 13px 8px;
  margin-left: 0;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1000px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu { display: none; }
}

/* -----------------------------
   5. Footer
----------------------------- */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 44px 0 20px 0;
  width: 100%;
  letter-spacing: 0.025em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 30px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
footer nav a {
  color: var(--secondary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  border-radius: 5px;
  padding: 4px 8px;
  transition: background var(--transition);
}
footer nav a:focus, footer nav a:hover {
  background: rgba(255,209,102,0.21);
  color: var(--primary);
}
footer img {
  height: 35px;
}
footer p {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--secondary);
  opacity: 0.82;
  margin-top: 18px;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; align-items: center; gap: 18px; }
}

/* --------------------------------------
   6. Forms, Inputs, Buttons, Interactions
--------------------------------------- */
input, textarea, select {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 7px;
  padding: 10px 16px;
  margin-bottom: 14px;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 2px 12px rgba(255,209,102,0.19);
}
button {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
  padding: 9px 22px;
  border: 2px solid var(--secondary);
  font-size: 1.09rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-right: 6px;
  margin-bottom: 0;
}
button:hover, button:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 450px){
  input, textarea, select { font-size: 0.975rem; padding: 10px 7px; }
}

/* --------------------------------------
   7. Cookie Consent Banner & Modal
--------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 -2px 16px rgba(38,84,124,0.09);
  padding: 19px 10% 19px 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
}
.cookie-consent-banner .cookie-consent-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner button {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 7px;
  border: 0;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 8px 22px;
  margin-right: 0;
  margin-bottom: 0;
  box-shadow: 0 1px 5px rgba(38,84,124,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: var(--shadow-hover);
}
.cookie-consent-banner .cookie-settings-btn {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-weight: 900;
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 16px;
    gap: 12px;
  }
  .cookie-consent-banner .cookie-consent-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(9,26,40,0.72);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.26s ease, visibility 0.22s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius);
  box-shadow: 0 6px 48px rgba(38,84,124,0.19);
  max-width: 372px;
  width: 100%;
  padding: 32px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.36rem;
}
.cookie-modal ul {
  margin-bottom: 12px;
  margin-left: 0;
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 10px;
  gap: 7px;
  align-items: center;
  display: flex;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  margin-right: 7px;
  margin-left: 2px;
}
.cookie-modal label strong {
  font-weight: 800;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 17px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  margin: 0;
  font-weight: 700;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 12px;
  color: var(--primary);
  background: transparent;
  border: none;
  font-size: 1.75rem;
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 500px) {
  .cookie-modal { padding: 22px 7px 16px 7px; }
}

/* --------------------------------------
   8. Micro-Interactions & Visual Effects
--------------------------------------- */
.card, .btn-primary, button, .testimonial-card, .section, nav a, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.card::before, .section::before {
  content: '';
  display: block;
  position: absolute;
  top: -12px;
  left: 24px;
  width: 55px;
  height: 7px;
  background: var(--secondary);
  border-radius: 4px;
  opacity: 0.86;
  z-index: 1;
}
.card:hover::before, .section:hover::before {
  width: 80px;
  transition: width var(--transition);
}
@media (max-width: 500px) {
  .card::before, .section::before {
    left: 12px; width: 35px;
  }
}

/* Shadows (micro) */
.testimonial-card:hover, .testimonial-card:focus{
  box-shadow: var(--shadow-hover);
}

/* --------------------------------------
   9. Responsive Adaption & Typography
--------------------------------------- */
@media (max-width: 880px) {
  .container { max-width: 98%; padding-left: 9px; padding-right: 9px; }
  .card { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
}

/* ------ Spacing & Layout Gaps ------ */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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; margin-bottom: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------ Utility/Helpers ------ */
.uppercase { text-transform: uppercase; }
.text-center { text-align: center !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-dark { color: var(--text-dark) !important; }

/* ---------------------------
   10. Accessibility
---------------------------- */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
  z-index: 103;
}
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--primary);
}

/* ---------------------------
   11. Custom Scrollbar
---------------------------- */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--accent);
}

/* ---------------------------
   END of CSS
---------------------------- */