/*
Theme Name: HH-Inkasso
Theme URI: https://hh-inkasso.com
Author: Hubert Hammer
Description: Minimalistische Landingpage für HH-Inkasso
Version: 1.2
License: Private
Text Domain: hh-inkasso
*/

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

:root {
  --navy:      #0c2340;
  --blue:      #1a56a0;
  --blue-mid:  #2a6ec8;
  --blue-lt:   #dbeafe;
  --blue-bg:   #f0f6ff;
  --gray-lt:   #f4f6f9;
  --gray:      #8fa3bc;
  --white:     #ffffff;
  --text:      #1a2940;
  --text-muted:#5a7090;
  --border:    #d0dcea;
  --accent:    #e8b800;

  --ff-display: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --max:        1240px;
  --radius:     6px;
}

html { scroll-behavior: smooth; margin-top: 0 !important; }

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  margin-top: 0 !important;
}

#wpadminbar { display: none !important; }

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

/* ─── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.site-logo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.site-logo span { color: var(--blue-mid); }

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); text-decoration: none; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy) !important; }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #16406e 60%, #1a56a0 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(42,110,200,0.2) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  text-align: center;
}

/* Stats row – always one line, centered */
.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num span { font-size: 1.6rem; }

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-divider {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--blue-lt);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ─── STRIP ─────────────────────────────────────────────────── */
.strip {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 1.2rem 0;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 3rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.strip-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* strip-break forces a new row */
.strip-break {
  flex-basis: 100%;
  height: 0;
}

/* ─── Sections ──────────────────────────────────────────────── */
section { padding: 5.5rem 0; }
.section-bg { background: var(--gray-lt); }

/* ─── ÜBER MICH ─────────────────────────────────────────────── */
.intro-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.intro-heading .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.highlight-box {
  background: var(--blue-bg);
  border-left: 3px solid var(--blue);
  padding: 1.1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
}

.fact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(12,35,64,0.04);
  transition: box-shadow 0.2s;
}
.fact-card:hover { box-shadow: 0 4px 18px rgba(12,35,64,0.09); }
.fact-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.fact-card h4 {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.fact-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ─── VORTEILE ──────────────────────────────────────────────── */
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}
.services-header .section-title { margin-bottom: 0.75rem; }
.services-header p { color: var(--text-muted); font-size: 0.95rem; max-width: 500px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(26,86,160,0.1);
}
.service-card h3 {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ─── KONDITIONEN ───────────────────────────────────────────── */
.kond-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.kond-header .section-title { margin-bottom: 0.75rem; }
.kond-header p { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; margin: 0 auto; }

.kond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.kond-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(12,35,64,0.04);
}
.kond-card.featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, #eef5ff 0%, var(--white) 100%);
}
.kond-card h3 {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.kond-list { list-style: none; }
.kond-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
}
.kond-list li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─── WARNUNG ───────────────────────────────────────────────── */
.warnung {
  background: #fff8e1;
  border-top: 3px solid #e8b800;
  border-bottom: 3px solid #e8b800;
}
.warnung-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.warnung .section-label { color: #c47a00; }
.warnung h2 { color: #7a5000; margin-bottom: 0.75rem; }
.warnung p { font-size: 0.92rem; color: #6b4500; line-height: 1.75; margin-bottom: 0.6rem; }
.warnung strong { color: #4a2d00; }

/* ─── KONTAKT ───────────────────────────────────────────────── */
.kontakt-wrap {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.kontakt-wrap p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(12,35,64,0.07);
  text-align: left;
}

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,160,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--navy); transform: translateY(-1px); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}

.footer-brand .site-logo {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.6rem;
  display: block;
}
.footer-brand .site-logo span { color: var(--blue-mid); }

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col address {
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--white); }

/* ─── IMPRESSUM PAGE ────────────────────────────────────────── */
.impressum-page {
  max-width: 780px;
  margin: 4rem auto;
  padding: 0 2rem 5rem;
}
.impressum-page h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.impressum-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 2rem;
  font-weight: 500;
}
.impressum-page .back-link:hover { text-decoration: underline; }

.impressum-block {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.impressum-block:last-child { border-bottom: none; }
.impressum-block h2 {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.impressum-block p,
.impressum-block address {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 0.5rem;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .intro-grid, .kond-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
  .hero-divider { display: none; }
  .stat { padding: 0 1rem; }
}
