/* ============================================
   arw-consulting.at – Stylesheet
   Farbpalette (ausschließlich diese Farben):
   #328916 (Grün), #D5E7D0 (Hellgrün), #F58800 (Orange),
   #FDE7CC (Hellorange), #575756 (Text), #F2F4D0 (Hintergrund)
   Schrift: ausschließlich lokal gespeicherte Inter
   ============================================ */

/* Inter self-hosted: Dateien in fonts/ ablegen (Inter-Regular.woff2,
   Inter-Medium.woff2, Inter-SemiBold.woff2) */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #328916;
  --green-light: #D5E7D0;
  --orange: #F58800;
  --orange-light: #FDE7CC;
  --text: #575756;
  --bg: #F2F4D0;
  --radius: 2px;

  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-light);
  color: var(--green);
  transition: box-shadow 0.2s ease;
}

header.site.scrolled {
  box-shadow: 0 1px 0 var(--orange);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 132px;
  transition: height 0.25s ease;
}

header.site.scrolled .wrap {
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--green);
}

.brand img.logo {
  height: 72px;
  width: auto;
  display: block;
  transition: height 0.25s ease;
}

header.site.scrolled .brand img.logo {
  height: 40px;
}

/* Fallback-Textmarke, falls noch kein Logo eingebunden ist */
.brand .brand-fallback {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand .brand-fallback span {
  color: var(--orange);
}

nav.main ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

nav.main a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

nav.main a:hover,
nav.main a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--green);
  color: var(--orange-light);
  padding: 96px 0 120px;
}

.hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  max-width: 15ch;
  margin: 0 0 28px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-graphic {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero p.lead {
  max-width: 52ch;
  font-size: 1.12rem;
  color: var(--green-light);
  margin: 0 0 40px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--text);
}

.btn-primary:hover { background: var(--orange-light); }

.btn-ghost {
  border: 1px solid var(--green-light);
  color: var(--orange-light);
  margin-left: 14px;
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Section basics ---------- */

section { padding: 96px 0; }

.section-head {
  margin-bottom: 56px;
  max-width: 60ch;
}

.section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0;
}

/* ---------- Leistungen ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--green-light);
  border: 1px solid var(--green-light);
}

.service {
  background: var(--bg);
  padding: 36px 32px;
}

.service .num {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: block;
}

.service h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--orange);
}

.service p {
  color: var(--text);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Über mich (Teaser) ---------- */

.about-teaser { background: var(--green-light); }

.about-teaser .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-teaser .portrait {
  aspect-ratio: 3 / 4;
  background: var(--bg);
  border: 1px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}

.about-teaser .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser p { color: var(--text); }

.about-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.link-arrow {
  text-decoration: none;
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.link-arrow:hover { color: var(--orange); }

.link-arrow-orange { color: var(--orange); }
.link-arrow-orange:hover { color: var(--green); }

/* ---------- Kontakt ---------- */

.contact { background: var(--green); color: var(--orange-light); }

.contact .section-head h2 { color: var(--orange-light); }
.contact .section-head .eyebrow { color: var(--orange); }

.contact-wrap {
  max-width: 1080px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact-graphic img {
  display: block;
  width: auto;
  max-height: 190px;
}

.contact-info {
  flex: 1;
}

.contact-info dt {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-top: 24px;
}

.contact-info dt:first-child { margin-top: 0; }

.contact-info dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  color: var(--green-light);
}

/* ---------- Footer ---------- */

footer.site {
  background: var(--green);
  color: var(--green-light);
  border-top: 1px solid var(--orange-light);
  padding: 32px 0;
  font-size: 0.85rem;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

footer.site a { text-decoration: none; color: var(--green-light); }
footer.site a:hover { color: var(--orange); }

/* ---------- Inner pages (Lebenslauf, Impressum, Datenschutz) ---------- */

.page-hero {
  background: var(--green);
  color: var(--orange-light);
  padding: 64px 0;
}

.page-hero h1 {
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
  overflow-wrap: break-word;
}

.page-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}

.legal, .cv {
  padding-top: 72px;
  padding-bottom: 96px;
}

.legal h2, .cv h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin: 40px 0 14px;
  color: var(--green);
}

.legal h2:first-child, .cv h2:first-child { margin-top: 0; }

.legal p, .cv p, .legal li {
  color: var(--text);
  max-width: 700px;
}

.legal ul { max-width: 700px; }

.cv-entry {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--green-light);
  max-width: 760px;
}

.cv-entry .period {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--orange);
}

.cv-entry h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.cv .regular {
  font-weight: 400;
  font-size: 0.95rem;
}

.cv-entry p { margin: 0; font-size: 0.95rem; }

.cv-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.cv-list li:first-child { margin-top: 0; }

.cv-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  transform: translateY(-2px);
}

.cv-personal {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
  max-width: 760px;
}

.cv-personal .photo {
  aspect-ratio: 3 / 4;
  background: var(--green-light);
  border: 1px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.75rem;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.cv-personal .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv-personal dl {
  margin: 0;
}

.cv-personal dt {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-top: 14px;
}

.cv-personal dt:first-child { margin-top: 0; }

.cv-personal dd {
  margin: 2px 0 0;
  font-size: 0.98rem;
}

@media (max-width: 560px) {
  .cv-personal { grid-template-columns: 120px 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-light);
    border-top: 1px solid var(--orange);
  }
  nav.main ul {
    flex-direction: column;
    gap: 0;
  }
  nav.main li {
    border-bottom: 1px solid var(--orange-light);
  }
  nav.main a {
    display: block;
    padding: 16px 32px;
  }
  .nav-toggle { display: inline-block; }
  .services { grid-template-columns: 1fr; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-graphic { max-width: 260px; }
  .about-teaser .wrap,
  .contact .wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-row { display: block; text-align: center; }
  .contact-graphic img { max-height: 140px; margin: 0 auto 20px; }
  .about-teaser .portrait { max-width: 260px; }
  .cv-entry { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
