/* =============================================
   ihr-lettershop.de – Stylesheet
   Design: Apple-inspiriert, minimalistisch
   ============================================= */

/* ---------- Reset & Basis ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #ffffff;
  --color-surface:   #f5f5f7;
  --color-text:      #1d1d1f;
  --color-muted:     #6e6e73;
  --color-border:    #d2d2d7;
  --color-accent:    #0071e3;
  --color-accent-h:  #0077ed;
  --font-main:       -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius:          14px;
  --transition:      0.25s ease;
  --max-width:       1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.section {
  padding: 96px 0;
}

.section--surface {
  background: var(--color-surface);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-subline {
  font-size: 19px;
  color: var(--color-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}

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

.text-center .section-subline {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 400;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav__cta {
  font-size: 14px;
  font-weight: 500;
  background: var(--color-accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 980px;
  transition: background var(--transition);
}

.nav__cta:hover {
  background: var(--color-accent-h);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 96px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-h);
  text-decoration: none;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn--ghost:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

/* Hero Image Placeholder */
.hero__image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}

.placeholder-img {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}

.placeholder-img--hero {
  height: 480px;
}

.placeholder-img--medium {
  height: 320px;
}

.placeholder-img--small {
  height: 200px;
  border-radius: var(--radius);
}

/* ---------- Was ist ein Lettershop ---------- */
.explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.explainer__text p {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 17px;
}

.explainer__image {
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- Leistungen ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card__text {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  color: var(--color-accent);
}

.card__link::after {
  content: "→";
  transition: transform var(--transition);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* ---------- Vorteile ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.benefit {
  text-align: center;
}

.benefit__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.benefit__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit__text {
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- Prozess ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- Zielgruppen ---------- */
.targets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.target {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.target__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.target__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.target__text {
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- CTA-Banner ---------- */
.cta-banner {
  background: var(--color-text);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--color-text);
  font-size: 17px;
}

.cta-banner .btn--primary:hover {
  background: var(--color-surface);
}

/* ---------- Trust-Bar ---------- */
.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  background: var(--color-bg);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
}

.trust-item::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: rgba(255,255,255,0.6);
}

.footer__legal a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--color-border);
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ---------- Page Hero (Unterseiten) ---------- */
.page-hero {
  padding: 80px 0 64px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 680px;
}

.page-hero__sub {
  font-size: 19px;
  color: var(--color-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ---------- Prose (Fließtext Unterseiten) ---------- */
.prose {
  max-width: 720px;
}

.prose p {
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.7;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 56px 0 16px;
  color: var(--color-text);
}

.prose h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--color-text);
}

.prose ul {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose ul li {
  padding-left: 20px;
  position: relative;
  color: var(--color-muted);
}

.prose ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Content Layout mit Sidebar ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 72px;
}

.sidebar-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-box__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.sidebar-box__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-box__links a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color var(--transition);
}

.sidebar-box__links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.sidebar-box__links a.active {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Ratgeber / Artikel ---------- */
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--color-muted);
  flex-wrap: wrap;
}

.article-tag {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  font-weight: 600;
  background: var(--color-surface);
  color: var(--color-text);
}

.comparison-table td {
  color: var(--color-muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.info-box {
  background: #eaf4ff;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: #004080;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .explainer {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .explainer__image {
    order: -1;
  }

  .process-steps::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
