/*
 Theme Name: SAP HXM Onepager
 Theme URI: https://example.com/
 Author: ChatGPT
 Description: Ein moderner Onepager für einen SAP HXM Berater im Apple-ähnlichen Stil.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: sap-hxm-onepager
*/

:root {
  --bg-main: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #111111;
  --border-subtle: #e5e5e5;
  --text-main: #111111;
  --text-muted: #555555;
  --text-light: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0a84ff;
  --radius-card: 24px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.06);
  --content-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent-hover);
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(229,229,229,0.6);
}

.site-header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #0071e3);
  box-shadow: 0 10px 25px rgba(0, 113, 227, 0.55);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.main-nav a {
  color: #333333;
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav .nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #111111;
  color: #ffffff;
  font-weight: 500;
}

.main-nav .nav-cta:hover {
  background: #000000;
}

/* Mobile menu */

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 56px;
    right: 12px;
    flex-direction: column;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.mobile-open a {
    padding: 6px 0;
  }
}

/* Sections */

.section {
  padding: 96px 20px;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 18px;
}

.section-subtitle {
  font-size: 18px;
  max-width: 620px;
  color: var(--text-muted);
}

/* Hero */

.hero {
  padding-top: 72px;
  padding-bottom: 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.06;
  margin: 0 0 18px;
}

.hero-title span.accent {
  background: linear-gradient(120deg, #0071e3, #00cfff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero-meta strong {
  color: #111111;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 13px 22px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #000000;
}

.btn-secondary-link {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.btn-secondary-link span.arrow {
  font-size: 16px;
}

.hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-card {
  border-radius: 32px;
  padding: 26px 24px;
  background: radial-gradient(circle at top left, #ffffff, #f5f5f7);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-soft);
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.chip {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
}

.hero-kpi {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-kpi-big {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-pill {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
}

/* Profil / USP */

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.profile-text p {
  margin-top: 0;
  margin-bottom: 16px;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.profile-meta-item {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 14px;
}

.profile-meta-item-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.profile-avatar {
  border-radius: 32px;
  padding: 22px;
  background: radial-gradient(circle at 10% 0%, #ffffff, #f0f0f5);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-soft);
}

.profile-avatar-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  border: 1px dashed rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Cards / grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.card {
  padding: 22px 20px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
  font-size: 14px;
}

.card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.step {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}

.step-number {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Projekte */

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.case-item {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}

.case-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-title {
  font-size: 17px;
  margin-bottom: 10px;
}

.case-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-list ul {
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
}

/* Skills */

.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  margin-top: 32px;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg-alt);
}

.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.cert-list li {
  margin-bottom: 8px;
}

/* Kontakt */

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark .section-label {
  color: rgba(245,245,247,0.7);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: rgba(245,245,247,0.8);
}

.contact-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 40px;
}

.contact-details {
  font-size: 14px;
}

.contact-details a {
  color: #ffffff;
}

.contact-panel {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  font-size: 14px;
}

.contact-panel-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

/* Footer */

.site-footer {
  padding: 24px 20px 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .profile-grid,
  .skills-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 16px;
  }

  .cards-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 34px;
  }

  .site-header-inner {
    padding: 10px 16px;
  }
}

/* Speziell für die Überschriften im Skills-Block */
#skills .section-title {
  font-size: 28px;
}
