/* Polish Whisper - Luxury Premium CSS (Flexbox only) */

/*-------------
  CSS RESET & BASELINES
--------------*/
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,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, body {height:100%;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {display:block;}
body {line-height:1.5;background:#fff; color:#194659;}
img {max-width:100%;height:auto;display:block;}
ul, ol {list-style:none;}
a {text-decoration:none; color:inherit;}
button, input, select, textarea {font-family:inherit; font-size:inherit; border:none; background:none; outline:none;}

/*-------------
  CSS VARIABLES
--------------*/
:root {
  --color-primary: #194659;
  --color-secondary: #ffffff;
  --color-bg: #f6f8fa;
  --color-accent: #957634;
  --color-accent-light: #e8d9ba;
  --color-light-grey: #E5F1F5;
  --color-dark: #122634;
  --color-border: #e4e6ea;
  --color-shadow: rgba(25,70,89,0.08);
  --color-shadow-strong: rgba(25,70,89,0.14);
  --color-card-bg: #fff;
  --color-card-border: #ece6db;

  --font-display: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 2px 16px var(--color-shadow);
  --shadow-elevated: 0 6px 20px var(--color-shadow-strong);
  --transition: all 0.33s cubic-bezier(.4,0,.2,1);
  --border-width: 1.5px;
}

/*-------------
  BRAND TYPOGRAPHY
--------------*/
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 400;
  font-smooth: always;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 {font-size: 2.375rem; line-height:1.14; letter-spacing: -0.8px; margin-bottom: 20px;}
h2 {font-size: 1.75rem; line-height: 1.18; letter-spacing: -0.42px; margin-bottom: 16px;}
h3 {font-size: 1.25rem; line-height: 1.24; margin-bottom: 12px;}
h4 {font-size: 1.125rem; line-height: 1.24;}

@media (max-width:600px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.18rem;}
}
p, ul, ol, li {font-size: 1rem; margin-bottom: 12px; color: var(--color-primary); font-family: var(--font-body);}
strong, b {font-weight: 600;}

/*----------------
  BASE CONTAINER & LAYOUTS
-----------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Section Space */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section, section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}


/*-------------
  HEADER + NAVIGATION
--------------*/
header {
  background: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo img {
  max-height: 48px;
}
nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 8px 10px 8px;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  position: relative;
  transition: var(--transition);
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--color-light-grey);
  color: var(--color-accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px -10px var(--color-accent);
  letter-spacing: 0.02em;
  border: none;
  outline: none;
  cursor: pointer;
  min-width: 140px;
  min-height: 48px;
  margin-left: 20px;
  transition: var(--transition);
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b89d60;
  color: #fff;
  box-shadow: 0 6px 32px -10px var(--color-accent-light), 0 2px 16px var(--color-shadow);
}

@media (max-width: 1100px) {
  nav.main-nav { gap: 16px; }
  .cta-btn { min-width: 112px; padding: 10px 18px; }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    min-height: unset;
    gap: 8px;
  }
}

/*-------------
  MOBILE NAVIGATION
--------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 1200;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  border: none;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px var(--color-shadow-strong);
  transition: var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #b89d60;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 90vw;
  max-width: 340px;
  background: var(--color-secondary);
  box-shadow: 8px 0 32px -6px var(--color-shadow-strong);
  z-index: 1999;
  transform: translateX(-110%);
  transition: transform .34s cubic-bezier(.37,.1,.36,1.15);
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
av.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  transition: background .17s, color .17s;
}
av.mobile-nav a:hover, nav.mobile-nav a:focus {
  background: var(--color-light-grey);
  color: var(--color-accent);
}

/* Overlay on body when menu open */
body.mobile-menu-open::after {
  content: "";
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,70,89,0.35);
  z-index: 1998;
  pointer-events: auto;
  display: block;
}
body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  nav.main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/*-------------
  HERO SECTION
  (e.g. index, thank-you)
--------------*/
.hero {
  background: linear-gradient(114deg, #fff 80%, var(--color-light-grey) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 4px 40px -12px var(--color-shadow);
  position: relative;
}
.hero .container {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.13;
}
.hero p {
  font-size: 1.14rem;
  margin-bottom: 20px;
  color: var(--color-dark);
}

@media (max-width: 600px) {
  .hero .container {
    min-height: 180px;
    padding-left: 0; padding-right: 0;
  }
  .hero h1 {font-size: 1.32rem;}
}

/*-------------
  FEATURE GRIDS, CARDS, FLEX SECTIONS
--------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-card);
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), border-color .15s;
  position: relative;
  margin-bottom: 20px;
}
.feature img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 12px var(--color-shadow));
}
.feature h3, .feature h2 {
  color: var(--color-primary);
  font-size: 1.14rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0px;
}
.feature p {
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 0;
}
.feature:hover, .feature:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-elevated);
}

@media (max-width: 850px) {
  .feature-grid { flex-direction: column; gap: 20px; }
}

/*-------------
  SERVICE LIST/PRICING GRIDS
--------------*/
.service-list,.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 18px 18px 18px;
  min-width: 180px;
  flex: 1 1 180px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color .15s;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.service:hover, .service:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-elevated);
}
.service h3 {
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-bottom: 0px;
}
.service p {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0;
}

@media (max-width: 750px) {
  .service-list, .pricing-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service {min-width: 0;}
}

/*-------------
  TESTIMONIAL CARDS
--------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px 22px 32px;
  margin-bottom: 20px;
  background: #fafdff;
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1.5px 14px var(--color-shadow);
  color: #222;
  transition: box-shadow var(--transition), border-color .14s;
}
.testimonial-card p {
  color: #27343b;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 700;
  font-style: normal;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-elevated);
}

@media (max-width:650px){
  .testimonial-card {padding:17px 11px;}
}

/*-------------
  FLEXBOX UTILITIES & CONTENT PATTERNS
--------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*-------------
  CONTACT DETAILS (kontakt.html)
--------------*/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 36px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fcfcfc;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  min-width: 210px;
  font-size: 1.02rem;
  color: var(--color-primary);
  box-shadow: 0 0.5px 6px var(--color-shadow);
}
.contact-item img {
  width: 28px; height: 28px;
}
.contact-map {
  margin-top: 16px;
}
@media (max-width:740px) {
  .contact-details {flex-direction: column;gap: 14px;}
}

/*-------------
  FOOTER
--------------*/
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 40px 0 12px 0;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #dfd7c4;
  transition: color .16s;
  font-family: var(--font-display);
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  min-width: 200px;
  font-size: 0.94rem;
  color: #f4eddc;
}
.footer-contact a {color: var(--color-accent); text-decoration: underline;}

@media (max-width:700px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/*-------------
  INTERACTIVE ELEMENTS
--------------*/
a, .cta-btn, .feature, .service, .testimonial-card, .mobile-menu, button, .cookie-banner-btn, .cookie-modal {
  transition: var(--transition);
}
::-webkit-scrollbar {background: var(--color-secondary);width: 8px;}
::-webkit-scrollbar-thumb {background: #e3e4e5;border-radius: 6px;}
::-webkit-selection {background: var(--color-accent-light);}

/* Button (cookie, modal, general small) */
.cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin: 8px 6px 8px 0;
  box-shadow: 0 2px 8px -2px var(--color-accent-light);
  border: none;
  cursor: pointer;
}
.cookie-banner-btn.secondary {
  background: var(--color-light-grey);
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: none;
}
.cookie-banner-btn.settings {
  background: var(--color-card-bg);
  color: var(--color-accent);
  border: 1px solid var(--color-card-border);
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #b89d60;
  color: #fff;
}
.cookie-banner-btn.secondary:hover, .cookie-banner-btn.secondary:focus {
  background: #dde8ee;
  color: var(--color-primary);
}
.cookie-banner-btn.settings:hover, .cookie-banner-btn.settings:focus {
  border-color: var(--color-accent); color: var(--color-primary); background: var(--color-accent-light);
}

/*-------------
  COOKIE CONSENT BANNER & MODAL
--------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ed;
  color: #222;
  box-shadow: 0 -2px 28px var(--color-shadow-strong);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 26px 12px 24px 12px;
  z-index: 3000;
  flex-direction: row;
  transition: transform .34s cubic-bezier(.7,-0.07,.29,1.17);
  border-top: 1.5px solid var(--color-accent-light);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  font-size: 1.04rem;
  max-width: 540px;
  color: #333;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 6px 16px 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(20,32,48,0.46);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .33s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 40px -8px var(--color-shadow-strong);
  padding: 32px 24px 26px 24px;
  min-width: 320px; 
  max-width: 99vw;
  max-width: 420px;
  color: #16223e;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3550;
  position: relative;
  animation: fadeInModal .34s cubic-bezier(.31,.7,.41,1.19);
}
@keyframes fadeInModal {
  from {transform: translateY(50px) scale(.97);opacity:0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 9px 0;
  border-bottom: 1px solid var(--color-card-border);
  font-size: 1.01rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #d8d4c6;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-modal .cookie-toggle:before {
  content: "";
  position: absolute;
  top: 3px; left: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: transform .2s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 9px;
  background: none;
  border: none;
  font-size: 1.23rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}

@media (max-width: 430px) {
  .cookie-modal { min-width:0; max-width:95vw; padding:18px 6px 13px 9px;}
}

/*-------------
  CARD & ELEVATION SHADOWS
--------------*/
.card, .service, .feature, .testimonial-card {
  box-shadow: var(--shadow-card);
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
}

/*-------------
  FINE LUXURY ACCENTS
--------------*/
.card, .service, .feature, .testimonial-card {
  border: var(--border-width) solid var(--color-card-border);
}
.card:hover, .service:hover, .feature:hover, .testimonial-card:hover, 
.card:focus-within, .service:focus-within, .feature:focus-within, .testimonial-card:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-elevated);
}
hr {
  border: none;
  border-top: 1px solid var(--color-card-border);
  margin: 24px 0;
}

/*-------------
  MISCELLANEOUS / UTILS
--------------*/
.mt-0 {margin-top: 0 !important;}
.mb-0 {margin-bottom: 0 !important;}
.mt-20 {margin-top: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}
.text-center {text-align: center;}

/*-------------
  RESPONSIVE TYPOGRAPHY & SPACING
--------------*/
@media (max-width: 600px) {
  h1, .hero h1 {font-size: 1.28rem;}
  h2 {font-size: 1.10rem;}
  .service, .feature, .testimonial-card {padding: 12px 7px 11px 9px;}
}

/*-------------
  ACCESSIBILITY
--------------*/
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/*-------------
  PRINT COLOR OPTIMIZATION
--------------*/
@media print {
  * { box-shadow: none !important; background: none !important; color: #222 !important;}
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important;}
}
