/* Mohajerane Bartar – Marketing site (fa / RTL) */
:root {
  --ink: #0c1c24;
  --ink-soft: #16323f;
  --mist: #e8eef1;
  --paper: #f7f4ef;
  --sand: #d9cbb8;
  --amber: #b8873b;
  --amber-deep: #8f6728;
  --sea: #2f6f7e;
  --sea-deep: #1f4f5a;
  --text: #14242c;
  --text-muted: #4a5c66;
  --white: #fffdf9;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(12, 28, 36, 0.22);
  --font-fa: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Literata", "Vazirmatn", Georgia, serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-fa);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(47, 111, 126, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(184, 135, 59, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper), #efe8dc 45%, var(--paper));
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--sea-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--amber-deep);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.86);
  border-bottom: 1px solid rgba(12, 28, 36, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}

.brand-mark__logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: min(200px, 42vw);
  background: transparent;
  /* kein Kreis, kein Schatten – echtes transparentes Logo */
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 720px) {
  .brand-mark__logo {
    height: 56px;
  }
}

@media (max-width: 420px) {
  .brand-mark__logo {
    height: 48px;
  }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--amber-deep);
}

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
}

.nav-cta:hover {
  background: var(--sea-deep);
  color: var(--white) !important;
}

/* Hero – one composition */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 28, 36, 0.92) 18%, rgba(12, 28, 36, 0.55) 52%, rgba(31, 79, 90, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(12, 28, 36, 0.85) 100%),
    radial-gradient(ellipse at 70% 35%, rgba(184, 135, 59, 0.28), transparent 45%),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 253, 249, 0.035) 0 1px,
      transparent 1px 14px
    ),
    linear-gradient(160deg, #123040, #0c1c24 40%, #1a3d48);
}

.hero__skyline {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(232, 238, 241, 0.08) 8% 10%, transparent 10% 18%,
      rgba(232, 238, 241, 0.1) 18% 21%, transparent 21% 33%,
      rgba(232, 238, 241, 0.07) 33% 38%, transparent 38% 55%,
      rgba(232, 238, 241, 0.11) 55% 58%, transparent 58% 72%,
      rgba(232, 238, 241, 0.08) 72% 78%, transparent 78% 100%);
  mask-image: linear-gradient(180deg, transparent, #000 35%);
  opacity: 0.85;
  animation: skyline-drift 18s ease-in-out infinite alternate;
}

.hero__haze {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(184, 135, 59, 0.12), rgba(12, 28, 36, 0.5));
  animation: haze-pulse 10s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 38rem;
  margin-inline: auto 0;
  margin-inline-end: max(0px, calc((100% - min(1120px, 100% - 2.5rem)) / 2));
  width: min(38rem, calc(100% - 2.5rem));
  animation: rise-in 0.9s ease-out both;
}

.hero__brand {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sand);
  line-height: 1.25;
}

.hero__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: 18ch;
}

.hero__support {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 253, 249, 0.88);
  max-width: 36ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  border: 1px solid transparent;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--amber);
  color: var(--ink);
}

.btn--primary:hover {
  background: #c9984a;
  color: var(--ink);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 253, 249, 0.45);
}

.btn--secondary:hover {
  border-color: var(--sand);
  color: var(--white);
}

/* Outline auf hellem Papier-Hintergrund (Kontakt etc.) */
.btn--outline {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(12, 28, 36, 0.28);
}

.btn--outline:hover {
  border-color: var(--amber);
  color: var(--ink);
  background: rgba(184, 135, 59, 0.1);
}

.btn--outline .btn__meta {
  color: var(--ink-soft);
  opacity: 1;
  font-weight: 600;
}

.postal-address {
  display: block;
  font-style: normal;
  margin: 0.35rem 0 0;
  line-height: 1.7;
}

.postal-address--inline {
  display: inline;
}

.postal-address__label {
  margin-inline-end: 0.35rem;
}

.postal-address__lines {
  unicode-bidi: isolate;
}

.postal-address__country {
  display: inline-block;
  margin-inline-start: 0.15rem;
}

.postal-address:not(.postal-address--inline) .postal-address__country {
  display: block;
  margin-inline-start: 0;
}

.btn--disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn__meta {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--ink);
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--about {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.7), transparent);
}

.section--steps {
  border-block: 1px solid rgba(12, 28, 36, 0.08);
  background: rgba(255, 253, 249, 0.55);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.steps__num {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--sand);
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
}

.section--trust p {
  border-inline-start: 3px solid var(--amber);
  padding-inline-start: 1rem;
}

/* Legal / Kontakt */
.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.legal h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.legal h2 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.15rem;
}

.legal__note,
.hint {
  background: rgba(184, 135, 59, 0.12);
  border: 1px solid rgba(184, 135, 59, 0.28);
  padding: 0.85rem 1rem;
  color: var(--ink-soft);
}

.kontakt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.kontakt-actions .btn--outline {
  min-width: 11rem;
}

.kontakt-actions .btn--primary {
  color: var(--ink);
}

.kontakt-actions .btn--secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* Auth – Login / Logout */
.auth-section {
  padding-block: clamp(3.5rem, 10vw, 5.5rem);
}

.auth-card {
  background:
    linear-gradient(165deg, rgba(255, 253, 249, 0.96), rgba(247, 244, 239, 0.92));
  border: 1px solid rgba(12, 28, 36, 0.08);
  box-shadow: 0 20px 48px rgba(12, 28, 36, 0.08);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 28rem;
  margin-inline: auto;
}

.auth-card--center {
  text-align: center;
}

.auth-card__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: 0.02em;
}

.auth-card__logo {
  display: block;
  width: min(200px, 70%);
  height: auto;
  margin: 0 auto 1.1rem;
}

.auth-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.1rem);
  color: var(--ink);
  line-height: 1.3;
}

.auth-card__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.auth-alert {
  margin: 0 0 1.1rem;
  padding: 0.8rem 1rem;
  background: rgba(184, 60, 60, 0.08);
  border: 1px solid rgba(184, 60, 60, 0.28);
  color: #6b1f1f;
  font-size: 0.95rem;
}

.auth-alert--warn {
  background: rgba(184, 135, 59, 0.12);
  border-color: rgba(184, 135, 59, 0.35);
  color: var(--ink-soft);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.35rem;
}

.auth-field__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.auth-field__input {
  width: 100%;
  border: 1px solid rgba(12, 28, 36, 0.18);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.auth-field__input:focus {
  outline: 2px solid rgba(47, 111, 126, 0.35);
  outline-offset: 1px;
  border-color: var(--sea);
}

.auth-form__submit {
  width: 100%;
  align-items: center;
  margin-top: 0.35rem;
}

.auth-card__foot {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.auth-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.auth-card__actions .btn {
  align-items: center;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(255, 253, 249, 0.82);
  padding: 2.5rem 0 2rem;
}

.site-footer a {
  color: var(--sand);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  gap: 1.25rem;
}

.site-footer__brand strong {
  display: block;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.site-footer__logo {
  display: block;
  width: min(180px, 70%);
  height: auto;
  margin-bottom: 0.75rem;
}

.site-footer__brand p,
.site-footer__note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Chat modal */
.chat-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(420px, calc(100% - 2rem));
}

.chat-modal::backdrop {
  background: rgba(12, 28, 36, 0.62);
  backdrop-filter: blur(3px);
}

.chat-modal__panel {
  background: var(--paper);
  color: var(--text);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 28, 36, 0.08);
}

.chat-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.chat-modal__head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.chat-modal__close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

.chat-modal__lead {
  margin: 0.85rem 0 1.2rem;
  color: var(--text-muted);
}

.chat-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.channel-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
}

.channel-btn--phone { background: #1a4a5c; }
.channel-btn--wa { background: #1f6b4a; }
.channel-btn--tg { background: #2a5f8f; }
.channel-btn--ig { background: #8a3d55; }

.channel-btn__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.92;
}

.channel-btn:hover {
  filter: brightness(1.08);
  color: var(--white);
}

/* --- Cookie banner (TTDSG/DSGVO) --- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner__panel {
  pointer-events: auto;
  max-width: 720px;
  margin-inline: auto;
  background: #fffdf9;
  border: 1px solid rgba(12, 28, 36, 0.16);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(12, 28, 36, 0.22);
  padding: 1.1rem 1.25rem 1.2rem;
}

.cookie-banner__lang {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.cookie-banner__lang-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(12, 28, 36, 0.16);
  background: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
}

.cookie-banner__lang-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.cookie-banner__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.cookie-banner__copy p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cookie-banner__prefs {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.85rem;
  background: rgba(47, 111, 126, 0.08);
  border-radius: 10px;
}

.cookie-pref {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
}

.cookie-reopen {
  position: fixed;
  inset-inline-start: 0.85rem;
  bottom: 0.85rem;
  z-index: 80;
  border: 1px solid rgba(12, 28, 36, 0.18);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(12, 28, 36, 0.12);
}

.error-page__inner {
  text-align: center;
  padding: 3rem 0 4rem;
}

.error-page__code {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--sea);
  line-height: 1;
}

.error-page h1 {
  margin: 0.4rem 0 0.75rem;
}

.error-page__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
}

.chat-channels__empty {
  font-size: 0.92rem;
  color: var(--text-muted);
  background: rgba(12, 28, 36, 0.04);
  padding: 0.9rem;
}

.chat-channels__empty code {
  font-size: 0.85em;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skyline-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-2%); }
}

@keyframes haze-pulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .hero__content {
    margin-inline: auto;
    width: min(100%, calc(100% - 2rem));
  }

  .hero__headline {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
