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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.5;
  background: #F7F4EF;
  color: #25313C;
  font-family: 'Roboto', Arial, sans-serif;
  word-break: break-word;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  appearance: none;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #A8824B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #25313C;
}
ul, ol {
  margin: 0;
  padding-left: 1.3em;
}

/* --- BRAND COLORS & VARIABLES --- */
:root {
  --primary: #25313C;
  --secondary: #A8824B;
  --accent: #F7F4EF;
  --creative1: #B27EAB;
  --creative2: #E26060;
  --creative3: #55B7A8;
  --creative4: #EADA49;
  --text-dark: #22222A;
  --text-light: #fff;
  --shadow: 0 8px 28px rgba(37,49,60,0.08),0 1.5px 4px rgba(168,130,75,0.05);
  --radius-big: 32px;
  --radius-med: 18px;
  --radius-small: 8px;
  --transition-quick: 0.2s cubic-bezier(.64,0,.78,.01);
  --transition-smooth: 0.35s cubic-bezier(.66,.11,.27,.98);
}

/* --- TYPOGRAPHY & CREATIVE HEADINGS --- */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.14;
  color: var(--primary);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  text-shadow: 2px 8px 24px rgba(178,126,171,0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--creative1);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--creative2);
}
h4 {
  font-size: 1.1rem;
}

p, ul, ol, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 14px;
}
strong {
  color: var(--secondary);
  font-weight: 700;
}
blockquote {
  font-size: 1.16rem;
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  margin: 0 0 12px 0;
  padding: 18px 24px 14px 20px;
  font-style: italic;
  border-radius: var(--radius-med);
}
cite {
  display: block;
  font-size: 0.98rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 500;
}

/* --- GENERAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEX & GAPS --- */
.card-container, .card-grid, .service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card, .service-grid article, .service-list article {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 100%;
}
.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-radius: var(--radius-big);
  box-shadow: 0 2px 8px rgba(168,130,75,0.10);
  margin-bottom: 24px;
  min-width: 0;
}
.feature-item, .features ul li, .features ol li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 18px 18px;
  background: var(--accent);
  border-radius: var(--radius-med);
  margin-bottom: 20px;
  box-shadow: 0 1.5px 4px rgba(178,126,171,0.05);
  transition: box-shadow 0.25s;
}
.features ul, .features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.features ul li,
.features ol li {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 100%;
}
.features img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 6px rgba(37,49,60,0.09));
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(120deg,var(--creative1) 0%, var(--accent) 65%, var(--creative3) 100%);
  border-bottom-left-radius: 90px 40px;
  border-bottom-right-radius: 0 120px;
  box-shadow: 0 8px 48px rgba(168,130,75,0.08);
  min-height: 340px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  padding-top: 28px;
  gap: 20px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  font-family: 'Montserrat', cursive, sans-serif;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}
.hero p {
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 18px;
}

/* --- BUTTONS & CTA --- */
.cta, a.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 13px 32px;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 2px 24px rgba(168,130,75,0.14);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.18s, box-shadow 0.22s;
  margin-top: 6px;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: var(--creative2);
  color: #fff;
  transform: translateY(-2px) scale(1.03) rotate(-1.5deg);
  box-shadow: 0 6px 32px rgba(226,96,96,0.14);
}

/* --- NAVIGATION --- */
header {
  background: var(--primary);
  color: var(--accent);
  width: 100%;
  box-shadow: 0 2px 12px rgba(37,49,60,0.10);
  z-index: 20;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 0;
  width: 100%;
}
nav > a img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  align-items: center;
}
nav ul li a {
  display: inline-block;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  text-transform: uppercase;
  border-radius: var(--radius-small);
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--secondary);
  color: #fff;
}
nav .cta {
  margin-left: 16px;
}

/* --- BURGER / MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 201;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(168,130,75,0.10);
  transition: background 0.18s, box-shadow 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--creative2);
  box-shadow: 0 6px 26px rgba(226,96,96,0.14);
}
.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;
  background: var(--primary);
  z-index: 200;
  transform: translateX(-102%);
  transition: transform 0.33s cubic-bezier(.53,.33,.53,.93);
  box-shadow: 0 2px 32px rgba(37,49,60,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.6rem;
  background: var(--creative2);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 6px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  padding: 44px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  padding: 14px 8px 14px 0;
  border-radius: var(--radius-small);
  transition: background 0.18s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* Hide desktop nav on mobile, show mobile burger */
@media (max-width: 1020px) {
  nav ul, nav .cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- CARD & SERVICE LAYOUT --- */
.service-list, .service-grid {
  gap: 32px;
}
.service-list article, .service-grid article {
  background: #fff;
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  min-width: 200px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.service-list article:hover, .service-grid article:hover {
  box-shadow: 0 8px 32px rgba(37,49,60,0.12);
  transform: translateY(-5px) scale(1.03);
}
.service-list article strong, .service-grid article span {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--creative4);
  padding-top: 34px;
  padding-bottom: 38px;
}
.testimonials h2 {
  color: var(--creative2);
}
.testimonial-card {
  background: #fff;
  color: var(--primary);
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  border-radius: var(--radius-big);
  box-shadow: 0 1.5px 4px rgba(178,126,171,0.07);
  min-width: 220px;
  max-width: 540px;
}
.testimonial-card blockquote {
  color: var(--primary);
  background: transparent;
  border-left: 4px solid var(--creative3);
  border-radius: var(--radius-med) 0 0 var(--radius-med);
  margin-bottom: 0;
  font-size: 1.08rem;
}
.testimonial-card cite {
  color: var(--creative2);
  font-size: 0.94rem;
  margin-top: 15px;
  font-weight: 600;
}

/* --- FEATURED TIMELINE (prozess.html) --- */
.timeline {
  padding: 23px 14px 14px 22px;
  border-left: 4px dotted var(--secondary);
  background: linear-gradient(90deg,#fff 75%,var(--creative4) 100%);
  border-radius: var(--radius-med);
  margin-top: 28px;
  margin-bottom: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 28px 0 0 0;
  width: 100%;
  font-size: 1rem;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1.5px solid var(--secondary);
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  min-width: 240px;
}
.footer-branding img {
  width: 40px;
  height: 40px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-branding span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--accent);
}
.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
  flex: 1 1 160px;
}
.footer-links a, .footer-legal a {
  color: var(--creative4);
  opacity: 0.96;
  font-size: 1.03rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  border-radius: var(--radius-small);
  padding: 4px 0;
  transition: color 0.2s, background 0.16s;
}
.footer-links a:hover, .footer-links a:focus,
.footer-legal a:hover, .footer-legal a:focus {
  color: var(--creative2);
  background: var(--accent);
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  min-width: 60px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(178,126,171,0.2);
  transition: box-shadow 0.22s, filter 0.14s;
}
.footer-social img:hover {
  filter: brightness(1.23) drop-shadow(0 3px 10px rgba(168,130,75,0.22));
  box-shadow: 0 4px 13px rgba(168,130,75,0.15);
}

/* --- LEGAL SECTIONS --- */
.legal {
  background: var(--accent);
  border-radius: var(--radius-med);
  box-shadow: 0 1.5px 4px rgba(168,130,75,0.08);
  padding: 32px 20px 32px 18px;
  margin-bottom: 55px;
}
.legal h1, .legal h2 {
  color: var(--primary);
}
.legal ul {
  margin-bottom: 18px;
}
.legal a {
  text-decoration: underline;
}

/* --- CONFIRMATION (thanks.php) --- */
.confirmation {
  background: var(--creative3);
  border-radius: var(--radius-med);
  box-shadow: 0 5px 34px rgba(85,183,168,0.09);
  padding: 36px 18px 32px 22px;
  margin-bottom: 65px;
  text-align: center;
}
.confirmation h1 {
  color: var(--primary);
}
.confirmation .cta {
  margin: 20px auto 0 auto;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(247,244,239,0.98);
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -3px 20px rgba(168,130,75,0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 6vw 22px 5vw;
  z-index: 5003;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1.02rem;
  color: var(--primary);
  flex: 2 1 380px;
  max-width: 60vw;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  background: var(--secondary);
  color: #fff;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 32px;
  padding: 10px 22px;
  border: none;
  margin: 0;
  box-shadow: 0 1.5px 4px rgba(168,130,75,0.07);
  cursor: pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-banner button.cookie-settings {
  background: var(--creative3);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--creative2);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,49,60,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-big);
  box-shadow: 0 8px 64px rgba(178,126,171,0.16);
  padding: 36px 30px 22px 30px;
  min-width: 320px;
  max-width: 410px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--secondary);
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  cursor: pointer;
  margin-bottom: 11px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px;
  height: 19px;
}
.cookie-modal-category {
  margin-bottom: 16px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px;
  top: 13px;
  background: var(--creative4);
  color: var(--primary);
  font-size: 1.4rem;
  border-radius: 50%;
  padding: 2px 9px 2px 11px;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-cookie-modal:hover {
  background: var(--creative2);
  color: #fff;
}

/* --- SPACING & VISUAL HIERARCHY --- */
.section, .hero, .testimonials, .features, .services, .about, .contact, .cta, .about-us, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 17px;
  }
  .footer .content-wrapper {
    gap: 20px;
  }
  .footer-branding span {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .card-container, .card-grid, .service-list, .service-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item, .features ul, .features ol, .testimonials, .testimonial-card, .section, .hero, .about, .about-us, .legal {
    padding: 24px 8px;
  }
  .timeline {
    padding: 14px 7px 7px 14px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .footer-branding, .footer-links, .footer-legal, .footer-social {
    min-width: unset;
    align-items: flex-start;
  }
  .testimonials {
    padding-top: 18px;
    padding-bottom: 22px;
  }
  .testimonials h2 { margin-bottom: 15px; }
  .testimonial-card {
    box-shadow: none;
    min-width: unset;
    max-width: unset;
    margin-bottom: 18px;
    padding: 16px 10px 14px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 12px 4vw 12px 4vw;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-text {
    max-width: 100vw;
    font-size: 0.95rem;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 19px 7vw 22px 7vw;
  }
}
/* Mobile flex fixes for text-image and content-grid */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--transition-smooth),transform 0.6s var(--transition-smooth);
}
[data-anim].active {
  opacity: 1;
  transform: none;
}

/* --- UNIQUE / ARTISTIC ELEMENTS --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -72px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  background: var(--creative2);
  opacity: 0.09;
  border-radius: 50%;
  z-index: 0;
  filter: blur(1.5px);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  left: -89px;
  top: -60px;
  width: 180px;
  height: 140px;
  background: var(--creative1);
  opacity: 0.10;
  border-radius: 50% 35% 90% 18%;
  z-index: 0;
}
.hero .content-wrapper {
  position: relative;
  z-index: 1;
}

.features ul li:hover, .features ol li:hover, .feature-item:hover {
  box-shadow: 0 8px 32px rgba(85,183,168,0.12);
  background: #fffbe9;
  transform: scale(1.03) rotate(-1.5deg);
}
h2 span.artistic {
  color: var(--creative2);
  font-family: 'Montserrat', 'Brush Script MT', cursive;
  font-style: italic;
  letter-spacing: .07em;
}

/* --- FORMS (kontakt.html) --- */
.contact form,
.contact .form-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 34px;
}
.contact input,
.contact textarea {
  background: #fff;
  border: 2px solid var(--creative4);
  border-radius: var(--radius-small);
  padding: 11px 14px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--primary);
  transition: border-color 0.2s;
}
.contact input:focus,
.contact textarea:focus {
  border-color: var(--secondary);
}
.contact button[type=submit] {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 27px;
  border-radius: 999px;
  border: none;
  font-size: 1.13rem;
  transition: background 0.2s;
  margin-top: 11px;
  margin-bottom: 3px;
}
.contact button[type=submit]:hover {
  background: var(--creative2);
}

/* --- UTILITY & OVERRIDES --- */
.hide {
  display: none !important;
}

/* --- END OF CSS --- */
