/* impressum_styles.css (IMPRESSUM ONLY) */

/* -------------------------------------------------------
   Fonts (local)
-------------------------------------------------------- */

/* HUMANE */
@font-face {
  font-family: "Humane";
  src: url("fonts/humane/Web-PS/Humane-Bold.woff2") format("woff2"),
       url("fonts/humane/Web-TT/Humane-Bold.woff2") format("woff2"),
       url("fonts/humane/Web-TT/Humane-Bold.woff") format("woff"),
       url("fonts/humane/OpenType-TT/Humane-Bold.ttf") format("truetype"),
       url("fonts/humane/OpenType-PS/Humane-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* STACK SANS TEXT */
@font-face {
  font-family: "StackSansText";
  src: url("fonts/stack/fonts/Text/webfonts/StackSansText-Regular.woff2") format("woff2"),
       url("fonts/stack/fonts/Text/ttf/StackSansText-Regular.ttf") format("truetype"),
       url("fonts/stack/fonts/Text/otf/StackSansText-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "StackSansText";
  src: url("fonts/stack/fonts/Text/webfonts/StackSansText-Medium.woff2") format("woff2"),
       url("fonts/stack/fonts/Text/ttf/StackSansText-Medium.ttf") format("truetype"),
       url("fonts/stack/fonts/Text/otf/StackSansText-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "StackSansText";
  src: url("fonts/stack/fonts/Text/webfonts/StackSansText-Bold.woff2") format("woff2"),
       url("fonts/stack/fonts/Text/ttf/StackSansText-Bold.ttf") format("truetype"),
       url("fonts/stack/fonts/Text/otf/StackSansText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------
   Base + colors (keep as-is)
-------------------------------------------------------- */

:root{
  --bg: #bfc3c7;     /* keep */
  --text: #1c1c1c;   /* keep */
  --card: rgba(255,255,255,0.38);
  --card-border: rgba(28,28,28,0.20);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.impressum{
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "StackSansText","Sarabun",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

/* -------------------------------------------------------
   Layout
-------------------------------------------------------- */

.impressum-wrap{
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 28px 42px;
}

.impressum-header{
  margin-bottom: 22px;
}

.impressum-title{
  margin: 0 0 8px;
  font-family: "Humane","League Gothic","Arial Narrow",Arial,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 64px;
  line-height: 0.95;
}

.impressum-lead{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 70ch;
}

/* Cards */
.impressum-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 18px;
  margin-top: 14px;
  backdrop-filter: blur(2px);
}

.impressum-h2{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.impressum-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Definition list as a clean grid */
.impressum-dl{
  margin: 0;
  padding: 0;
}

.impressum-dl .row{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(28,28,28,0.10);
}

.impressum-dl .row:first-child{
  border-top: 0;
  padding-top: 2px;
}

.impressum-dl dt{
  font-weight: 700;
  margin: 0;
}

.impressum-dl dd{
  margin: 0;
  line-height: 1.55;
}

/* Links */
a{
  color: var(--text);
  text-decoration: underline;
}

a:hover{
  text-decoration-thickness: 2px;
}

/* Contact actions (tap-friendly) */
.impressum-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.impressum-action{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(28,28,28,0.18);
  background: rgba(255,255,255,0.28);
  text-decoration: none;
}

.impressum-action .label{
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}

.impressum-action .value{
  font-size: 15px;
  font-weight: 500;
}

/* Footer buttons/icons row */
.impressum-links{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: flex-start; /* left by default */
}

/* push only the back button to the far right */
.impressum-links .back-button{
  margin-left: auto;
}

/* Social icons (keep original size, no invert) */
.social-icon img{
  width: 40px;
  height: 40px;
  filter: none;
  transition: none;
}

/* Buttons (same look as before for impressum, but nicer sizing) */
.agb-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 38px;
  min-width: 110px;
  padding: 0 14px;
  white-space: nowrap;

  border: 2px solid var(--text);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  color: var(--text);
  text-decoration: none;

  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.agb-button:hover{
  background-color: var(--text);
  color: var(--bg);
}

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

@media (max-width: 900px){
  .impressum-wrap{
    padding: 40px 18px 34px;
  }
  .impressum-title{
    font-size: 56px;
  }
  .impressum-dl .row{
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 700px){
  .impressum-title{
    font-size: 48px;
    white-space: normal;
  }
  .impressum-dl .row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .impressum-actions{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .impressum-wrap{
    padding: 28px 14px 26px;
  }
  .impressum-title{
    font-size: 42px;
  }
  .impressum-card{
    padding: 14px 14px;
    border-radius: 12px;
  }
  .social-icon img{
    width: 36px;
    height: 36px;
  }
  .agb-button{
    height: 36px;
    min-width: 100px;
    padding: 0 12px;
  }
}

@media (max-width: 480px){
	  .social-icon{ height: 36px; }
}

/* make icon anchors align like buttons */
.social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;          /* match icon size */
}

/* remove baseline gap under inline images */
.social-icon img{
  display: block;
}
