/* ============================================================
   go.gutermann.gmbh — Linktree-Seite
   Design konsistent mit gutermann.gmbh:
     Gutermann Green #204921, Gold #fdc511, Barlow
   Mobile-first.
   ============================================================ */

@import url('fonts.css');

:root {
  --green-dark: #204921;
  --green-mid: #2d6b2d;
  --gold: #fdc511;
  --gold-dark: #e0ad0e;
  --white: #ffffff;
  --off-white: #faf9f6;
  --paper: #f5f4ef;
  --gray-200: #e3e1dc;
  --gray-500: #8a8a85;
  --gray-700: #4a4a46;
  --text: #1e1e1e;

  --font-main: 'Barlow', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(253,197,17,.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--green-dark) 0%, #173817 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Layout --- */
.wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 3rem;
}

/* --- Hero: Bild + Branding nebeneinander (Mobile) --- */
.hero {
  display: flex;
  flex-direction: row-reverse;   /* Bild auf der rechten Seite — Philipp blickt in den Content rein */
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-portrait {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
  background: var(--green-dark);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 28%;
}
.hero-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--white);
}
.hero-logo {
  display: inline-block;
  margin-bottom: .55rem;
  line-height: 0;
}
.hero-logo img {
  height: 44px;
  width: auto;
  opacity: .95;
}
.hero-text h1 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: .15rem;
}
.hero-text .role {
  font-size: .95rem;
  color: rgba(255,255,255,.78);
  font-weight: 400;
  line-height: 1.3;
}
.hero-text .location {
  display: inline-block;
  margin-top: .45rem;
  padding: .18rem .65rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  font-size: .74rem;
  color: rgba(255,255,255,.85);
}

/* --- Sektion-Trenner --- */
.group { margin-bottom: 1rem; }
.group-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin: 0 0 .5rem .25rem;
}

/* --- Standard-Link-Button --- */
.link-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  padding: .85rem 1.1rem;
  background: rgba(255,255,255,.96);
  color: var(--green-dark);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  margin-bottom: .5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.link-btn:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.link-btn .ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}
.link-btn .ico svg { width: 22px; height: 22px; display: block; }
.link-btn .label { flex: 1; line-height: 1.25; }
.link-btn .sub {
  display: block;
  font-size: .76rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-top: 1px;
}
.link-btn .arrow {
  flex: 0 0 auto;
  color: var(--gray-500);
  font-size: 1rem;
  transition: transform .18s ease, color .18s ease;
}
.link-btn:hover .arrow { color: var(--gold-dark); transform: translateX(3px); }

/* --- Primärer CTA (Gold) --- */
.link-btn.primary {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
  border-color: var(--gold);
}
.link-btn.primary .ico,
.link-btn.primary .arrow { color: var(--green-dark); }
.link-btn.primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 22px rgba(253,197,17,.4);
}

/* --- Schnellkontakt-Reihe --- */
.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}
.quick-contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .75rem .4rem;
  background: rgba(255,255,255,.96);
  color: var(--green-dark);
  border-radius: var(--radius);
  font-size: .76rem;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.quick-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.quick-contact a svg { width: 20px; height: 20px; }

/* --- vCard-Block --- */
.vcard-block {
  margin-top: .25rem;
  margin-bottom: 1.25rem;
}
.vcard-block .link-btn {
  background: rgba(255,255,255,.08);
  border: 1.5px dashed rgba(253,197,17,.55);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.vcard-block .link-btn .ico,
.vcard-block .link-btn .arrow { color: var(--gold); }
.vcard-block .link-btn .sub { color: rgba(255,255,255,.6); }
.vcard-block .link-btn:hover {
  background: rgba(253,197,17,.15);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(253,197,17,.18);
}

/* --- Footer --- */
.foot {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.foot a { color: rgba(255,255,255,.7); margin: 0 .4rem; }
.foot a:hover { color: var(--gold); }
.foot .copyright { display: block; margin-top: .4rem; font-size: .72rem; }

/* --- Desktop: großes Bild rechts, Branding + Buttons links --- */
@media (min-width: 900px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
  }
  .wrap {
    display: grid;
    grid-template-columns: minmax(380px, 480px) minmax(380px, 540px);
    gap: 3rem;
    align-items: stretch;          /* Spalten gleich hoch */
    max-width: 1100px;
    padding: 0;
  }
  /* hero-Wrapper auflösen, damit Kinder direkt ins Grid kommen */
  .hero { display: contents; }
  .hero-portrait {
    grid-column: 2;
    grid-row: 1 / span 2;          /* spannt von Header bis Footer */
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: var(--radius-lg);
    border-width: 4px;
  }
  .hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 25%;
  }

  .hero-text {
    display: block;
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 1.5rem;
    padding-top: .25rem;
  }
  .hero-logo { margin-bottom: .85rem; }
  .hero-logo img { height: 56px; }
  .hero-text h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: .35rem; }
  .hero-text .role { font-size: 1.1rem; }
  .hero-text .location { font-size: .85rem; margin-top: .65rem; }

  .content {
    grid-column: 1;
    grid-row: 2;
    align-self: start;             /* Buttons direkt unter Header, nicht zentriert */
  }
}

@media (min-width: 1200px) {
  .wrap {
    gap: 4rem;
    grid-template-columns: minmax(420px, 500px) minmax(400px, 560px);
  }
  .hero-text h1 { font-size: 2.4rem; }
}

/* --- A11y --- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .link-btn:hover, .quick-contact a:hover { transform: none; }
}
