/* =============================================================
   FESTIVAFAMILIA – MONOCHROME_SOPHISTICATED STYLE.CSS
   Author: Senior CSS Developer & UI Designer
   =============================================================
*/

/* === 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, 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;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: #fff;
}
body {
  background: #fff;
  color: #171717;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style-position: outside;
  padding-left: 1.4em;
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}
li+li {
  margin-top: .5em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #222;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
tbody tr:nth-child(even) {
  background: #f3f3f3;
}
tbody tr:nth-child(odd) {
  background: #fff;
}
td {
  color: #222;
  font-size: 16px;
}

/* === BRAND & PALETTE === */
:root {
  --primary: #33343C;
  --brand-main: #2C537E;
  --brand-highlight: #F5E061;
  --text-main: #171717;
  --text-muted: #666;
  --bg: #fff;
  --bg-alt: #f7f7f7;
  --border: #d7d7d7;
  --card-shadow: 0 4px 24px rgba(20,20,20,0.05);
  --shadow-soft: 0 1.5px 6px rgba(30,30,30,0.055);
  --shadow-strong: 0 4px 32px rgba(0,0,0,0.05);
  --border-radius: 14px;
  --radius-btn: 25px;
  --btn-bg: #1b1b1b;
  --btn-text: #fff;
  --btn-hover-bg: #2C537E;
  --btn-hover-text: #fff;
  --focus-ring: 0 0 0 3px #F5E061;
}

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.625rem;
  font-weight: 900;
  line-height: 1.13;
  margin-bottom: 26px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #232323;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
h5,
h6 {
  font-size: 1rem;
  font-weight: 700;
}
p, ul, ol, blockquote {
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.subtitle {
  color: #555;
  font-size: 1.13rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.blockquote,
blockquote {
  font-style: italic;
  border-left: 4px solid #222;
  color: #222;
  background: #f7f7f7;
  padding: 14px 22px;
  margin-bottom: 10px;
  margin-top: 6px;
}
strong {
  font-weight: 700;
}
a {
  color: var(--brand-main);
  text-decoration: underline;
  transition: color 0.15s cubic-bezier(.67,.13,.1,.81);
}
a:hover, a:focus {
  color: #222 !important;
  text-decoration: none;
}

/* === LAYOUT BASE === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 250px;
}
.card:last-child { margin-bottom: 0; }

.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: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 22px;
  border-left: 3px solid var(--brand-main);
  max-width: 700px;
}
.testimonial-card blockquote {
  border: none;
  padding: 0;
  color: #232323;
  background: none;
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.testimonial-card div {
  color: #666;
  font-size: 1rem;
  font-style: normal;
  margin-left: 2px;
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
}
.service-list > div {
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 26px 22px;
  border-radius: var(--border-radius);
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #ececec;
  transition: box-shadow 0.22s cubic-bezier(.38,.21,.24,.96), transform 0.18s cubic-bezier(.6,.21,.1,.93);
}
.service-list > div:hover,
.card:hover {
  box-shadow: 0 7px 32px rgba(30,30,30,0.105);
  transform: translateY(-2px) scale(1.015);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.next-steps {
  background: #f7f7f7;
  border-radius: var(--border-radius);
  padding: 22px 20px;
  margin-bottom: 18px;
}

/* === HERO & SECTION STYLES === */
.hero {
  background: linear-gradient(100deg, #fff 60%, #eaeaea 110%);
  padding: 58px 0 38px;
  margin-bottom: 48px;
  box-shadow: 0 4px 18px rgba(40,40,40,0.045);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  color: #1b1b1b;
}

/* === BUTTONS === */
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-btn);
  outline: none;
  box-shadow: 0 1.5px 6px rgba(20,20,20,0.04);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  transition: background 0.21s cubic-bezier(.4,.22,.13,.97), box-shadow 0.21s cubic-bezier(.44,.19,.29,.87), color 0.12s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  box-shadow: 0 3px 16px rgba(44,83,126,0.16);
  outline: none;
}
.btn-primary:active {
  background: #33343c;
}

/* === HEADER & NAV BAR === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(37,39,44,0.05);
  position: relative;
  z-index: 103;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 18px;
  padding-bottom: 16px;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 10px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
header nav a {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  color: #232323;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  position: relative;
  transition: color 0.16s cubic-bezier(.8,.27,.14,.94);
}
header nav a:hover, header nav a:focus {
  color: var(--brand-main);
}
header nav a.active {
  color: var(--brand-main);
  font-weight: 700;
}
header .btn-primary {
  margin: 0;
  margin-left: 12px;
  font-size: 16px;
}

/* MOBILE MENU (Hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #222;
  cursor: pointer;
  padding: 4px 12px;
  margin-left: auto;
  margin-right: 1px;
  z-index: 205;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-ring);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,247,247, 0.98);
  transform: translateX(-102vw);
  transition: transform 0.3s cubic-bezier(.82,.29,.09,.99);
  z-index: 9999;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2C537E;
  cursor: pointer;
  margin: 22px 26px 6px 0;
  padding: 0 6px;
  z-index: 10001;
  transition: color 0.13s;
}
.mobile-menu-close:focus {
  outline: var(--focus-ring);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 36px;
  gap: 18px;
  padding-left: 36px;
}
.mobile-nav a {
  display: block;
  color: #232323;
  background: none;
  padding: 13px 14px 13px 4px;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaeaea;
  color: var(--brand-main);
  outline: none;
}

/* === MAIN & FOOTER === */
main {
  flex: 1 1 auto;
  width: 100%;
}
footer {
  background: #222;
  color: #fff;
  padding: 36px 0 22px 0;
  margin-top: 56px;
  box-shadow: 0 -3px 14px rgba(44,44,44,0.036), 0 -4px 18px rgba(34,34,44,0.02);
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 14px;
}
footer nav a {
  color: #f3f3f3;
  font-size: 0.99rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-decoration: underline;
  opacity: 0.92;
  transition: color 0.12s, opacity 0.14s;
}
footer nav a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}
footer p {
  font-size: 0.97rem;
  color: #b2b2b2;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #232323;
  color: #fff;
  z-index: 11001;
  padding: 22px 16px;
  box-shadow: 0 -2px 12px rgba(30,30,30,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.27s cubic-bezier(.79,.29,.09,1.09), opacity 0.22s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
}
.cookie-banner__text {
  color: #fff;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  background: #fff;
  color: #232323;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.16s, color .14s, box-shadow 0.14s;
  box-shadow: 0 1px 6px rgba(10,10,10,0.02);
}
.cookie-btn.accept {
  background: var(--brand-main);
  color: #fff;
}
.cookie-btn.reject {
  background: #232323;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-highlight);
  color: #171717 !important;
  outline: none;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 10px 23px;
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 12000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,25,25,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s cubic-bezier(.51,.01,1,.88);
}
.cookie-modal {
  background: #fff;
  color: #131313;
  padding: 32px 20px;
  border-radius: 22px;
  min-width: 300px;
  max-width: 97vw;
  max-width: 400px;
  box-shadow: 0 7px 38px rgba(30,30,30,0.13);
  z-index: 12010;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: cookie-modal-in .32s cubic-bezier(.85,-0.12,.38,1.18);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(48px) scale(.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: #1b1b1b;
  font-size: 1.33rem;
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
  width: 100%;
}
.cookie-pref {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 5px 0;
}
.cookie-pref label {
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  color: #232323;
  flex: 1 1 80%;
}
.cookie-toggle {
  width: 44px; height: 24px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  transition: background 0.12s;
  margin-left: 8px;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--brand-main);
}
.cookie-toggle .toggle-thumb {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4px rgba(12,12,12,0.10);
  transition: transform 0.16s cubic-bezier(.83,.24,.22,1.07);
}
.cookie-toggle[aria-checked="true"] .toggle-thumb {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #232323;
  font-size: 1.25rem;
  cursor: pointer;
  position: absolute;
  right: 23px; top: 17px;
  padding: 2px 9px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 900px) {
  .service-list { gap: 16px; }
  .card-container { gap: 16px; }
  .content-grid { gap: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  .card, .service-list > div {
    max-width: 100%;
    min-width: 180px;
    padding: 18px 10px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    max-width: 100vw;
    padding: 0;
  }
  .card-container { gap: 10px; }
  .testimonial-card { padding: 12px; gap: 10px; }
  .feature-item { gap: 9px; }
  .hero { padding: 32px 0 22px; }
  .next-steps { padding: 12px 6px; }
}
@media (max-width: 650px) {
  header .container {
    gap: 18px;
  }
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  .testimonial-card, .card, .service-list > div {
    padding: 10px 4px;
  }
  .cookie-modal {
    padding: 15px 6vw;
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* === INTERACTION & MICRO-ANIMATION === */
.btn-primary, .cookie-btn, .mobile-nav a, .service-list > div, .card {
  transition: background .18s, color .15s, box-shadow .15s, border .12s, transform 0.13s;
}
.card:focus-within, .service-list > div:focus-within {
  box-shadow: 0 0 0 3px var(--brand-highlight);
  outline: none;
}
.mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  will-change: transform, opacity;
}

/* === UTILITIES === */
.text-muted { color: var(--text-muted); }
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.hide { display: none !important; }

/* === TABLE STYLES (Pakete & Preise) === */
table {
  background: #f9f9f9;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 6px rgba(33,33,33,0.04);
  overflow: hidden;
  width: 100%;
  margin-bottom: 28px;
}
theade tr, theade th {
  background: #222;
  color: #fff;
}
tbody td {
  color: #222;
  border-bottom: 1px solid #dedede;
}

/* === THANK YOU BLOCK === */
.thankyou-message {
  font-size: 1.18rem;
  margin-bottom: 22px;
}

/* === ACCESSIBILITY === */
:focus {
  outline: 2.5px solid #2C537E;
  outline-offset: 1.5px;
}
