/*
Theme Name: SecurCon
Theme URI: https://www.securcon.de
Author: SecurCon GmbH & Co. KG
Author URI: https://www.securcon.de
Description: Professionelles Theme für SecurCon – Datenschutz & Informationssicherheit
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: securcon
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --teal:       #1a9a8e;
  --teal-dark:  #0d6b62;
  --teal-light: #e8f7f6;
  --gray:       #f5f5f3;
  --text:       #222222;
  --muted:      #666666;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --radius:     8px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }

/* ── NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

/* LOGO – kein Stauchen, kein Verzerren */
.site-branding { display: flex; align-items: center; }
.site-branding a { display: flex; align-items: center; text-decoration: none; }
.site-branding img,
.site-branding a img,
.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0;
}

.main-navigation ul { list-style: none; display: flex; gap: 32px; align-items: center; }
.main-navigation ul li a {
  text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 500; transition: color .2s;
}
.main-navigation ul li a:hover { color: var(--teal); }
.main-navigation ul li.menu-cta a {
  background: var(--teal); color: #fff !important;
  padding: 9px 20px; border-radius: var(--radius);
}
.main-navigation ul li.menu-cta a:hover { background: var(--teal-dark); }

/* ── HERO – HELL mit SVG-Hintergrund ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px;
  gap: 60px;
  background: #f0faf9;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-text { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid rgba(26,154,142,0.3);
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 3.8vw, 54px);
  color: #111; line-height: 1.15; margin-bottom: 20px;
}
.hero h1 span { color: var(--teal); }
.hero-sub {
  color: var(--muted);
  font-size: 17px; max-width: 480px;
  margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--teal); color: #fff;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  text-decoration: none; transition: background .2s; display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--muted);
  background: white;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Hero cards – 2×2 Grid */
.hero-visual {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 18px;
  transition: box-shadow .2s;
}
.hero-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.hc-icon {
  width: 36px; height: 36px;
  background: var(--teal-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.hc-icon svg { width: 18px; height: 18px; fill: var(--teal); }
.hero-card h3 { color: #111; font-size: 13px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; }
.hero-card p  { color: var(--muted); font-size: 12px; line-height: 1.55; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--teal); padding: 18px 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; fill: rgba(255,255,255,.75); flex-shrink: 0; }

/* ── SECTION BASE ── */
.sc-section { padding: 96px 48px; }
.sc-section--gray { background: var(--gray); }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.sc-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2; margin-bottom: 16px; color: #111;
}
.section-intro { color: var(--muted); max-width: 560px; font-size: 17px; margin-bottom: 52px; }

/* ── LEISTUNGEN ── */
.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.leistung-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 30px 26px;
  transition: box-shadow .2s, transform .2s;
}
.leistung-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); transform: translateY(-3px); }
.lc-icon { width: 50px; height: 50px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.lc-icon svg { width: 24px; height: 24px; fill: var(--teal); }
.leistung-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: #111; }
.leistung-card p  { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.leistung-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tag { font-size: 11px; font-weight: 500; background: var(--teal-light); color: var(--teal-dark); border: 1px solid rgba(26,154,142,.2); padding: 3px 10px; border-radius: 20px; }

/* ── BILD-TEASER ── */
.image-teaser { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.image-teaser-img { overflow: hidden; }
.image-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.image-teaser-text {
  background: #111; padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.image-teaser-text .section-label { color: var(--teal); }
.image-teaser-text h2 { color: #fff; margin-bottom: 16px; }
.image-teaser-text p  { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.75; margin-bottom: 28px; }

/* ── WARUM ── */
.warum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.warum-visual { background: #111; border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.wv-row { display: flex; align-items: flex-start; gap: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 16px 20px; }
.wv-num { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--teal); flex-shrink: 0; min-width: 44px; }
.wv-text { color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.6; }
.wv-text strong { color: #fff; display: block; margin-bottom: 2px; }
.warum-list { display: flex; flex-direction: column; gap: 22px; }
.warum-item { display: flex; gap: 14px; }
.wi-check { width: 22px; height: 22px; flex-shrink: 0; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.wi-check svg { width: 11px; height: 11px; fill: var(--teal); }
.wi-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; color: #111; }
.wi-text p  { font-size: 14px; color: var(--muted); }

/* ── ZIELGRUPPEN ── */
.zg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.zg-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 36px 26px; text-align: center; }
.zg-icon { font-size: 38px; margin-bottom: 16px; }
.zg-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.zg-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── KONTAKT ── */
.kontakt-einfach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-info { display: flex; flex-direction: column; gap: 22px; }
.ki-item { display: flex; gap: 14px; align-items: flex-start; }
.ki-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--teal-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ki-icon svg { width: 18px; height: 18px; fill: var(--teal); }
.ki-text { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ki-text strong { color: #111; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: 3px; font-weight: 600; }
.ki-text a { color: var(--teal); text-decoration: none; }
.ki-text a:hover { text-decoration: underline; }

.kontakt-cta {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kontakt-cta-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.kontakt-email-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}
.kontakt-email-link:hover { text-decoration: underline; }

.wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form select,
.wpcf7-form textarea {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 15px;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 14px; width: 100%; transition: border-color .2s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { outline: none; border-color: var(--teal); }
.wpcf7-form textarea { height: 120px; resize: vertical; }
.wpcf7-form input[type=submit] {
  background: var(--teal); color: #fff; border: none;
  border-radius: var(--radius); padding: 13px 28px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background .2s;
  align-self: flex-start;
}
.wpcf7-form input[type=submit]:hover { background: var(--teal-dark); }

/* Fallback-Kontaktformular (ohne CF7) */
form.kontakt-fallback { display: flex; flex-direction: column; gap: 12px; }
form.kontakt-fallback .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.kontakt-fallback input[type=text],
form.kontakt-fallback input[type=email],
form.kontakt-fallback select,
form.kontakt-fallback textarea {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 15px;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 14px; width: 100%; transition: border-color .2s;
}
form.kontakt-fallback input[type=submit] {
  background: var(--teal); color: #fff; border: none;
  border-radius: var(--radius); padding: 13px 28px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background .2s;
  align-self: flex-start;
}
form.kontakt-fallback input[type=submit]:hover { background: var(--teal-dark); }

/* ── FOOTER ── */
.site-footer {
  background: #f0f0ee; border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

/* FOOTER LOGO – kein Stauchen */
.footer-logo { display: flex; align-items: center; }
.footer-logo a { display: flex; align-items: center; text-decoration: none; }
.footer-logo img,
.footer-logo a img,
.footer-logo .custom-logo {
  height: 34px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-nav ul { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav ul li a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-nav ul li a:hover { color: var(--teal); }
.footer-copy { color: #aaa; font-size: 12px; }

/* ── INHALTSSEITEN ── */
.page-header { background: var(--gray); padding: 64px 48px 48px; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.content-wrap { max-width: 760px; margin: 0 auto; padding: 64px 48px 96px; }
.content-section { margin-bottom: 44px; }
.content-section h2 { font-size: 17px; font-weight: 600; color: #111; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.content-section h3 { font-size: 15px; font-weight: 600; color: #111; margin: 20px 0 6px; }
.content-wrap p  { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 10px; }
.content-wrap ul { margin: 8px 0 12px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.content-wrap a  { color: var(--teal); }
.intro-box { background: var(--teal-light); border: 1px solid rgba(26,154,142,.2); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; font-size: 15px; color: #111; line-height: 1.7; }
.address-box { background: var(--gray); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 12px 0 16px; font-size: 15px; color: var(--muted); line-height: 1.9; }
.address-box strong { color: #111; }
.address-box a { color: var(--teal); text-decoration: none; }
.uppercase-notice { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .main-navigation { display: none; }
  .hero { grid-template-columns: 1fr; padding: 56px 20px; min-height: auto; }
  .hero-visual { display: none; }
  .sc-section { padding: 60px 20px; }
  .warum-grid, .zg-grid, .kontakt-einfach { grid-template-columns: 1fr; gap: 32px; }
  .image-teaser { grid-template-columns: 1fr; }
  .image-teaser-img { height: 260px; }
  .trust-bar { padding: 18px 20px; gap: 20px; }
  .site-footer { flex-direction: column; padding: 28px 20px; text-align: center; }
  .page-header { padding: 48px 20px 36px; }
  .content-wrap { padding: 40px 20px 64px; }
}
