/* ================================================================
   WEBDESIGN-IT-SERVICES.DE — MAIN STYLESHEET
   ================================================================ */

:root {
  --primary:       #1a3c5e;
  --primary-light: #2563a8;
  --accent:        #e8601a;
  --accent-dark:   #c74f0f;
  --bg:            #ffffff;
  --bg-light:      #f4f7fb;
  --bg-dark:       #0d1f35;
  --text:          #2c3e50;
  --text-light:    #6b7280;
  --success:       #27ae60;
  --border:        #e2e8f0;
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 36px rgba(0,0,0,0.14);
  --radius:        14px;
  --radius-sm:     8px;
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-w:         1200px;
  --transition:    0.28s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { color: var(--primary); line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--bg-dark); color: #fff; }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__header p { color: var(--text-light); font-size: 1.1rem; max-width: 620px; margin: 0.75rem auto 0; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 2.25rem; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; line-height: 1; }
.btn--primary  { background: var(--accent);  color: #fff; border-color: var(--accent); }
.btn--primary:hover  { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn--white  { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg-light); text-decoration: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── Navigation ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-size: 1.3rem; font-weight: 900; color: var(--primary); text-decoration: none; }
.nav__logo span { color: var(--accent); }
.nav__menu { display: flex; align-items: center; gap: 2.5rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links li a { color: var(--text); font-weight: 500; font-size: .95rem; transition: color var(--transition); }
.nav__links li a:hover { color: var(--accent); text-decoration: none; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ── Hero ── */
.hero { padding: 9rem 0 6rem; background: linear-gradient(135deg, #091828 0%, #1a3c5e 60%, #1e5480 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,96,26,.15) 0%, transparent 70%); pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: #f9a55a; }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.82); margin-bottom: 2rem; max-width: 520px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); padding: .4rem 1.1rem; border-radius: 50px; font-size: .875rem; }
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 2rem; backdrop-filter: blur(12px); width: 100%; max-width: 380px; }
.hero__card-title { color: rgba(255,255,255,.7); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; font-weight: 600; }
.hero__card-item { display: flex; align-items: center; gap: 1rem; padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero__card-item:last-child { border-bottom: none; }
.hero__card-icon { font-size: 1.75rem; width: 44px; text-align: center; flex-shrink: 0; }
.hero__card-text strong { display: block; color: #fff; font-size: .95rem; }
.hero__card-text span { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ── Service Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 2.25rem; transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); border-color: var(--primary-light); }
.card__icon { font-size: 2.75rem; margin-bottom: 1rem; }
.card__tag { display: inline-block; background: var(--accent); color: #fff; padding: .25rem .9rem; border-radius: 50px; font-size: .8rem; font-weight: 700; margin-bottom: .875rem; }
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--text-light); font-size: .95rem; margin-bottom: 1.25rem; }
.card ul { margin-bottom: 1.75rem; }
.card ul li { padding: .35rem 0 .35rem 1.6rem; color: var(--text-light); font-size: .9rem; position: relative; }
.card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.card__link { color: var(--primary-light); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .35rem; }
.card__link:hover { color: var(--accent); text-decoration: none; }

/* ── USPs ── */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.usp-item { text-align: center; }
.usp-item__icon { font-size: 2.5rem; margin-bottom: .875rem; }
.usp-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.usp-item p { color: var(--text-light); font-size: .9rem; }

/* ── Process Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 15%; right: 15%; height: 2px; background: var(--border); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.25rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border: 4px solid var(--bg-light); }
.step h3 { font-size: 1rem; margin-bottom: .4rem; }
.step p { color: var(--text-light); font-size: .875rem; }

/* ── Contact Form ── */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-info p { color: var(--text-light); }
.contact-detail { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
.contact-detail__icon { font-size: 1.5rem; width: 44px; height: 44px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: .875rem; color: var(--text-light); }
.contact-detail span { font-weight: 600; }
.contact-form-box { background: var(--bg); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .875rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select { padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 1rem; transition: border-color var(--transition); background: #fff; color: var(--text); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; align-items: flex-start; gap: .875rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; accent-color: var(--primary-light); cursor: pointer; }
.form-consent label { font-size: .85rem; color: var(--text-light); line-height: 1.55; cursor: pointer; }
.form-consent a { color: var(--primary-light); }
.ssl-notice { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--success); font-weight: 500; }
#form-success { display: none; background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 500; }

/* ── Pricing Cards ── */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.pricing-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; transition: all var(--transition); position: relative; background: var(--bg); }
.pricing-card:hover { box-shadow: var(--shadow-hover); }
.pricing-card--featured { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.pricing-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: .3rem 1.25rem; border-radius: 50px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pricing-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pricing-card h3 { margin-bottom: .5rem; }
.pricing-card__price { font-size: 2.75rem; font-weight: 900; color: var(--primary); margin: 1rem 0 .25rem; line-height: 1; }
.pricing-card__price-sub { color: var(--text-light); font-size: .875rem; margin-bottom: 1.5rem; }
.pricing-card ul { text-align: left; margin-bottom: 2rem; }
.pricing-card ul li { padding: .4rem 0 .4rem 1.75rem; position: relative; font-size: .9rem; color: var(--text-light); }
.pricing-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ── Testimonials ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .875rem; letter-spacing: .1em; }
.testimonial__text { font-style: italic; color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.7; font-size: .95rem; }
.testimonial__author strong { display: block; font-weight: 700; }
.testimonial__author span { font-size: .875rem; color: var(--text-light); }

/* ── Cookie Banner ── */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--bg-dark); color: #fff; padding: 1.5rem 0; box-shadow: 0 -4px 32px rgba(0,0,0,.35); display: none; border-top: 3px solid var(--accent); }
#cookie-banner.visible { display: block; }
.cookie-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text h3 { color: #fff; font-size: 1rem; margin-bottom: .375rem; }
.cookie-text p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; line-height: 1.55; }
.cookie-text a { color: #f9a55a; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cookie-btn { padding: .625rem 1.5rem; border-radius: 50px; border: none; font-size: .875rem; font-weight: 700; cursor: pointer; transition: all var(--transition); font-family: var(--font); }
.cookie-btn--accept { background: var(--accent); color: #fff; }
.cookie-btn--accept:hover { background: var(--accent-dark); }
.cookie-btn--reject { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.cookie-btn--reject:hover { background: rgba(255,255,255,.2); }
.cookie-btn--settings { background: none; color: rgba(255,255,255,.6); font-size: .8rem; text-decoration: underline; padding: .5rem; }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand .logo { font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: .875rem; display: inline-block; }
.footer__brand .logo span { color: var(--accent); }
.footer__brand p { font-size: .9rem; line-height: 1.7; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.25rem; }
.footer__col li { margin-bottom: .625rem; }
.footer__col li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer__col li a:hover { color: #fff; text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .85rem; }
.footer__ssl { display: flex; align-items: center; gap: .4rem; color: var(--success); font-weight: 500; }

/* ── Page Hero (subpages) ── */
.page-hero { padding: 8.5rem 0 4rem; background: linear-gradient(135deg, #091828 0%, #1a3c5e 100%); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 620px; }
.page-hero__breadcrumb { color: rgba(255,255,255,.5); font-size: .875rem; margin-bottom: 1rem; }
.page-hero__breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero__breadcrumb a:hover { color: #fff; text-decoration: none; }

/* ── Feature List ── */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-item { display: flex; gap: 1.25rem; }
.feature-item__icon { font-size: 1.75rem; width: 52px; height: 52px; background: var(--bg-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-item p { color: var(--text-light); font-size: .9rem; margin: 0; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 1.25rem 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 1.25rem; color: var(--text-light); }

/* ── Legal ── */
.legal-content { max-width: 820px; margin: 0 auto; padding: 3rem 0 6rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2.75rem 0 .875rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.legal-content h3 { font-size: 1.1rem; margin: 2rem 0 .75rem; color: var(--primary-light); }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .4rem; line-height: 1.7; }
.placeholder { display: inline-block; background: #fff3cd; border: 1px dashed #f59e0b; padding: .15rem .6rem; border-radius: 4px; color: #92400e; font-size: .875rem; font-family: monospace; }
.legal-toc { background: var(--bg-light); border-radius: var(--radius-sm); padding: 1.5rem 2rem; margin-bottom: 2rem; }
.legal-toc h3 { font-size: 1rem; margin-bottom: .875rem; }
.legal-toc ol { padding-left: 1.25rem; }
.legal-toc li { margin-bottom: .35rem; font-size: .9rem; }
.legal-toc a { color: var(--primary-light); }

/* ── CTA Band ── */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ── Responsive: Tablet ── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__sub { margin: 0 auto 2rem; }
  .hero__badges { justify-content: center; }
  .btn-group { justify-content: center; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr !important; }
}

/* ── Responsive: Mobil ── */
@media (max-width: 700px) {

  /* ─ Navigation ─ */
  .nav { overflow: visible; }
  .nav__menu { gap: .75rem; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  /* Menü ausgeblendet */
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 2px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,.13);
    z-index: 9998;
    padding: 0;
    margin: 0;
  }
  /* Menü geöffnet */
  .nav__links.open {
    display: flex;
  }
  .nav__links li {
    border-bottom: 1px solid var(--border);
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links li a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    width: 100%;
  }
  .nav__links li a:hover { color: var(--accent); text-decoration: none; background: var(--bg-light); }

  /* ─ Allgemein ─ */
  .section { padding: 3rem 0; }
  .section__header { margin-bottom: 2rem; }
  .hero { padding: 6.5rem 0 3.5rem; }
  .page-hero { padding: 7rem 0 2.5rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .cta-band { padding: 3rem 0; }

  /* ─ Hero ─ */
  .hero h1 { font-size: 1.85rem; }
  .hero__sub { font-size: 1rem; }
  .hero__badge { font-size: .78rem; padding: .3rem .75rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; text-align: center; }

  /* ─ Cards & Grids ─ */
  .cards { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps::before { display: none; }

  /* ─ Kontaktformular ─ */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 1.5rem 1rem; }
  .contact-info { display: none; }

  /* ─ Footer ─ */
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* ─ Cookie Banner ─ */
  .cookie-inner { flex-direction: column; gap: 1rem; }
  .cookie-buttons { flex-direction: column; width: 100%; }
  .cookie-btn--accept,
  .cookie-btn--reject { width: 100%; text-align: center; }

  /* ─ Rechtliche Seiten ─ */
  .legal-content { padding: 2rem 0 4rem; }

  /* ─ Pricing Card Abstand ─ */
  .pricing-card--featured { margin-top: 1rem; }
}

/* ─ Sehr kleine Geräte ─ */
@media (max-width: 420px) {
  .usp-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
}
