/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/* ── Basis ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --c-bg:        #f8f7f4;
  --c-surface:   #ffffff;
  --c-text:      #1a1a1a;
  --c-mid:       #4a4a4a;
  --c-accent:    #1b4f72;
  --c-accent2:   #2980b9;
  --c-divider:   #d8d3cc;
  --c-highlight: #eaf3fb;
  --r: 6px;
  --max: 860px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 17px;
  line-height: 1.75;
}

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

/* ── Header ── */
header {
  background: var(--c-accent);
  color: #fff;
  padding: 18px 0;
  border-bottom: 4px solid var(--c-accent2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; }
.logo span { color: var(--c-accent2); }
.header-claim { font-size: .85rem; opacity: .85; text-align: right; line-height: 1.3; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--c-accent) 0%, #154360 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  opacity: .92;
  color: #fff !important;
}
.hero p strong { color: #fff !important; }
.hero-badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .88rem;
  font-weight: 600;
}
.btn-primary {
  display: inline-block;
  background: var(--c-accent2);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s;
}
.btn-primary:hover { background: #1a6fa0; }

/* ── Main content ── */
main { padding: 0; }
section { margin-bottom: 60px; }
.elementor-shortcode { margin-bottom: 60px; }
h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-divider);
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: 22px 0 8px;
}
p { color: var(--c-mid); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 20px; color: var(--c-mid); }
ul li { margin-bottom: 7px; }

/* ── Karten ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: var(--r);
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin-top: 0; font-size: 1rem; }
.card p  { font-size: .93rem; }

/* ── Infobox ── */
.infobox {
  background: var(--c-highlight);
  border-left: 4px solid var(--c-accent2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.infobox p { margin: 0; color: #1a3a50; font-size: .95rem; }

/* ── Warnung ── */
.warning {
  background: #fdf6ec;
  border-left: 4px solid #e67e22;
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 22px;
  margin: 24px 0;
}
.warning p { color: #7d4e10; font-size: .93rem; margin: 0; }

/* ── Methoden-Tabelle ── */
.method-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .93rem; }
.method-table th {
  background: var(--c-accent);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
}
.method-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--c-divider);
  color: var(--c-mid);
  vertical-align: top;
}
.method-table tr:nth-child(even) td { background: #f2f0ec; }

/* ── FAQ ── */
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-divider);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--c-accent);
  font-size: 1rem;
  cursor: default;
}
.faq-q::before { content: "Q: "; color: var(--c-accent2); }
.faq-a {
  padding: 0 20px 16px;
  color: var(--c-mid);
  font-size: .95rem;
}

/* ── Prozess-Schritte ── */
.steps { margin-top: 24px; }
.step {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-divider);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.step-body h3 { margin: 0 0 6px; font-size: 1rem; color: var(--c-accent); }
.step-body p  { font-size: .93rem; margin: 0; }

/* ── CTA-Sektion ── */
.cta-section {
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r);
  padding: 40px 32px;
  text-align: center;
}
.cta-section h2 { color: #fff; border: none; }
.cta-section p  { color: rgba(255,255,255,.88); margin-bottom: 24px; }

/* ── Footer ── */
footer {
  background: #111;
  color: #999;
  text-align: center;
  font-size: .82rem;
  padding: 28px 24px;
}
footer a { color: #bbb; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .header-inner { flex-direction: column; gap: 8px; text-align: center; }
  .header-claim { text-align: center; }
  .hero { padding: 44px 20px 40px; }
}

/* Desktop: normale Tabelle */


/* Mobile: Karten-Layout ab 700px */
@media (max-width: 700px) {
  .method-table thead {
    display: none;
  }

  .method-table,
  .method-table tbody,
  .method-table tr,
  .method-table td {
    display: block;
    width: 100%;
  }

  .method-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
  }

  .method-table td {
    padding: 0.4rem 0;
    border: none;
    text-align: left;
    background-color: rgba(0,0,0,0) !important;
  }

  .method-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.15rem;
  }
}
