/* PutzPartner design system — premium, restrained, German-professional. */

:root {
  --navy: #0b2a4a;
  --navy-deep: #071b31;
  --turquoise: #2ec4b6;
  --turquoise-dark: #1a9c8f;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --border: #e3e8ee;
  --text: #22262b;
  --text-muted: #5b6673;
  --text-inverse: #ffffff;
  --danger: #c0392b;
  --success: #1a9c6e;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 14px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 42, 74, 0.14);
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }
.btn-primary { background: var(--turquoise); color: var(--navy-deep); }
.btn-primary:hover { background: var(--turquoise-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--text-inverse); border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* Hero promo badge */
.hero-promo-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  background: rgba(46,196,182,.12); border: 1px solid rgba(46,196,182,.4);
  color: #eafffb; font-size: .82rem; font-weight: 600; line-height: 1.4;
  padding: 10px 18px; border-radius: 999px; max-width: 100%;
  transition: background-color .15s ease, transform .15s ease;
}
.hero-promo-badge:hover { background: rgba(46,196,182,.2); transform: translateY(-1px); }
@media (max-width: 560px) { .hero-promo-badge { font-size: .76rem; padding: 9px 14px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo-link { display: inline-flex; }
.logo-full { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; border-radius: 10px; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.logo span { color: var(--turquoise); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: .93rem; font-weight: 500; color: var(--text); }
.main-nav a:hover { color: var(--turquoise-dark); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px; background: none; border: none;
  font-family: var(--font); font-size: .93rem; font-weight: 500; color: var(--text);
  cursor: pointer; padding: 0;
}
.nav-dropdown-toggle:hover { color: var(--turquoise-dark); }
.nav-dropdown-toggle .chevron { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-dropdown.open .nav-dropdown-toggle .chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 16px; display: none; z-index: 60;
}
.nav-dropdown-menu-inner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 230px; padding: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 12px; border-radius: 8px; font-size: .9rem; font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--turquoise-dark); }

.mobile-nav-group-label {
  padding: 18px 4px 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted);
}
.mobile-nav a.mobile-nav-sub {
  padding-inline-start: 16px; font-size: .96rem; font-weight: 500;
}
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switcher { position: relative; }
.lang-current { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; background: #fff; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 160px; padding: 6px; display: none; z-index: 50;
}
.lang-menu.open { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: .9rem; }
.lang-menu a:hover { background: var(--bg-soft); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none; position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 90;
  padding: 24px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 20px; }

@media (max-width: 920px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .header-actions .btn.desktop-only { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 15% -10%, #123a63 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--text-inverse);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 100%, rgba(46,196,182,.18), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 720px; position: relative; }
.hero-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--turquoise); background: rgba(46,196,182,.12); border: 1px solid rgba(46,196,182,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p.lead { color: #cfe0ee; font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Service cards */
.grid { display: grid; gap: 24px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(46,196,182,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--turquoise-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .35em; }
.card p { flex: 1; font-size: .93rem; }
.card-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 16px; }
.why-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--turquoise-dark); }
.why-icon svg { width: 20px; height: 20px; }
.check-bullet-icon { color: var(--turquoise-dark); flex-shrink: 0; display: flex; }
.check-bullet-icon svg { width: 20px; height: 20px; }

/* CTA banners */
.cta-banner {
  border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner.navy { background: var(--navy); color: #fff; }
.cta-banner.navy p { color: #cfe0ee; }
.cta-banner.soft { background: var(--bg-soft); border: 1px solid var(--border); }
.cta-banner h2 { margin-bottom: .3em; }
.cta-banner.navy h2 { color: #fff; }
.cta-banner .cta-text { max-width: 520px; }

/* Testimonials empty state */
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--text-muted); }

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: start; background: none; border: none; cursor: pointer;
  padding: 20px 4px; font-size: 1rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-question .chevron { width: 20px; height: 20px; transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 4px 20px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #cfe0ee; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.site-footer .logo { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: .9rem; color: #a9bdd0; }
.site-footer a:hover { color: var(--turquoise); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8ba0b6; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: .95rem; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(46,196,182,.18); }
textarea { resize: vertical; min-height: 100px; }
.field-error { color: var(--danger); font-size: .82rem; margin-top: 5px; }
.field-hint { color: var(--text-muted); font-size: .82rem; margin-top: 5px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 3px; }
.checkbox-row label { font-weight: 400; font-size: .87rem; color: var(--text-muted); margin: 0; }

.alert { padding: 14px 18px; border-radius: 8px; font-size: .9rem; margin-bottom: 20px; }
.alert-success { background: #e7f8f1; color: var(--success); border: 1px solid #b9e8d4; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }

/* Booking wizard */
.wizard { max-width: 760px; margin: 0 auto; }
.wizard-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.wizard-step-pill {
  font-size: .78rem; font-weight: 700; padding: 7px 16px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-muted);
}
.wizard-step-pill.active { background: var(--navy); color: #fff; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }

.duration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 560px) { .duration-grid { grid-template-columns: repeat(2, 1fr); } }
.duration-option {
  position: relative;
  border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center;
  cursor: pointer; background: #fff; transition: border-color .15s, background .15s;
}
.duration-option:hover { border-color: var(--turquoise); }
.duration-option.selected { border-color: var(--turquoise); background: rgba(46,196,182,.08); }
.duration-option .hours { font-size: 1.3rem; font-weight: 800; color: var(--navy); display: block; }
.duration-option .price { font-size: .82rem; color: var(--text-muted); }
.duration-option .volume-badge {
  position: absolute; top: -10px; right: -8px; background: var(--turquoise); color: var(--navy-deep);
  font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; line-height: 1;
}

.service-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .service-picker { grid-template-columns: 1fr; } }
.service-option {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 18px; cursor: pointer;
  display: flex; align-items: center; gap: 14px; background: #fff; transition: border-color .15s, background .15s;
}
.service-option:hover { border-color: var(--turquoise); }
.service-option.selected { border-color: var(--turquoise); background: rgba(46,196,182,.08); }
.service-option .card-icon { margin-bottom: 0; width: 42px; height: 42px; flex-shrink: 0; }
.service-option strong { display: block; font-size: .95rem; color: var(--navy); }
.service-option span.desc { font-size: .8rem; color: var(--text-muted); }

.summary-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-weight: 600; color: var(--navy); text-align: end; }
.summary-row.total .value { font-size: 1.15rem; color: var(--turquoise-dark); }

/* Confirmation */
.confirmation-box { max-width: 640px; margin: 0 auto; text-align: center; }
.confirmation-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(46,196,182,.14); color: var(--turquoise-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirmation-icon svg { width: 36px; height: 36px; }
.ref-badge { display: inline-block; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-weight: 700; letter-spacing: .03em; color: var(--navy); margin: 10px 0 28px; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 200; background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(11,42,74,.12); padding: 22px 24px; display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: .87rem; flex: 1; min-width: 240px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-settings-panel { max-width: 640px; margin: 40px auto; }
.cookie-cat { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--turquoise); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: .6; cursor: not-allowed; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 1.6em; }
.legal-content .placeholder { color: var(--danger); font-weight: 700; }
.skip-link {
  position: absolute; left: -999px; top: auto; background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* RTL adjustments */
html[dir="rtl"] .hero-inner { margin-inline-start: auto; margin-inline-end: 0; }
html[dir="rtl"] .service-option { flex-direction: row-reverse; }
